[ 
https://issues.apache.org/jira/browse/SPARK-20829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16844875#comment-16844875
 ] 

N Campbell commented on SPARK-20829:
------------------------------------

No reason was given.

A. Apache SPARK does not want to align to ISO-SQL and will document the delta
B. Apache SPARK will add an option for those who want ISO-SQL behaviour

> var_samp returns Nan while other vendors return a null value
> ------------------------------------------------------------
>
>                 Key: SPARK-20829
>                 URL: https://issues.apache.org/jira/browse/SPARK-20829
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: N Campbell
>            Priority: Minor
>              Labels: bulk-closed
>         Attachments: TSUPPLY
>
>
> SELECT
>         sno AS SNO, 
>         pno AS PNO, 
>         VAR_SAMP(qty) AS C1
>     FROM
>         tsupply 
>     GROUP BY 
>         sno, 
>         pno
> create table  if not exists TSUPPLY (RNUM int  , SNO string, PNO string, JNO 
> string, QTY int  )
>  ROW FORMAT DELIMITED FIELDS TERMINATED BY '|' LINES TERMINATED BY '\n' 
>  STORED AS textfile ;



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to