[jira] [Commented] (SPARK-37476) udaf doesnt work with nullable (or option of) case class result

2021-12-01 Thread koert kuipers (Jira)
[ https://issues.apache.org/jira/browse/SPARK-37476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17452118#comment-17452118 ] koert kuipers commented on SPARK-37476: --- note that changing my case class to: {code:java} case

[jira] [Commented] (SPARK-37476) udaf doesnt work with nullable (or option of) case class result

2021-12-01 Thread koert kuipers (Jira)
[ https://issues.apache.org/jira/browse/SPARK-37476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17452101#comment-17452101 ] koert kuipers commented on SPARK-37476: --- i get that scala Double cannot be null. however i dont

[jira] [Commented] (SPARK-37476) udaf doesnt work with nullable (or option of) case class result

2021-12-01 Thread Hyukjin Kwon (Jira)
[ https://issues.apache.org/jira/browse/SPARK-37476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17452099#comment-17452099 ] Hyukjin Kwon commented on SPARK-37476: -- Awesome! In Scala, their double cannot be null: {code}

[jira] [Commented] (SPARK-37476) udaf doesnt work with nullable (or option of) case class result

2021-12-01 Thread koert kuipers (Jira)
[ https://issues.apache.org/jira/browse/SPARK-37476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17451921#comment-17451921 ] koert kuipers commented on SPARK-37476: --- yes it works well     {code:java} import

[jira] [Commented] (SPARK-37476) udaf doesnt work with nullable (or option of) case class result

2021-11-30 Thread Hyukjin Kwon (Jira)
[ https://issues.apache.org/jira/browse/SPARK-37476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17451496#comment-17451496 ] Hyukjin Kwon commented on SPARK-37476: -- can you try {{java.lang.Double}} that can legitimately be