[ https://issues.apache.org/jira/browse/SPARK-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-3362. ------------------------------------- Resolution: Fixed Fix Version/s: 1.2.0 Assignee: Adrian Wang > [SQL] bug in CaseWhen resolve > ----------------------------- > > Key: SPARK-3362 > URL: https://issues.apache.org/jira/browse/SPARK-3362 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Adrian Wang > Assignee: Adrian Wang > Fix For: 1.2.0 > > > select case x when 0 then null else y/x end from t; > will lead to an match error in toHiveString() when output, because spark > would consider the output is always NullType, which is not right. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org