You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:03:06 UTC

[jira] [Updated] (SPARK-20829) var_samp returns Nan while other vendors return a null value

     [ https://issues.apache.org/jira/browse/SPARK-20829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon updated SPARK-20829:
---------------------------------
    Labels: bulk-closed  (was: )

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org