[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2017-04-07 Thread sam elamin (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15960549#comment-15960549 ] sam elamin commented on SPARK-12648: Is anyone working on this? if not then I am happy taking it over

[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2016-10-30 Thread Grant Neale (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15620882#comment-15620882 ] Grant Neale commented on SPARK-12648: - This works for single, argument UDFs. However, one may want

[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2016-01-10 Thread Mikael Valot (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15091556#comment-15091556 ] Mikael Valot commented on SPARK-12648: -- Thanks everyone. [~viirya] This behaviour can be handy.

[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2016-01-10 Thread kevin yu (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15091484#comment-15091484 ] kevin yu commented on SPARK-12648: -- Hello Jakob & Liang-Chi: Thanks for the help. Kevin > UDF with

[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2016-01-08 Thread kevin yu (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15089758#comment-15089758 ] kevin yu commented on SPARK-12648: -- Hi Mikael: I see, I am looking into to see if it is doable or not.

[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2016-01-08 Thread Liang-Chi Hsieh (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15090485#comment-15090485 ] Liang-Chi Hsieh commented on SPARK-12648: - You don't need to handle the null value. scala> val

[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2016-01-08 Thread Mikael Valot (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15089219#comment-15089219 ] Mikael Valot commented on SPARK-12648: -- It makes sense, but then I have to define an UDF that

[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2016-01-06 Thread Jakob Odersky (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15086388#comment-15086388 ] Jakob Odersky commented on SPARK-12648: --- In spark-shell: {code} val df = sc.parallelize(List(("a",

[jira] [Commented] (SPARK-12648) UDF with Option[Double] throws ClassCastException

2016-01-05 Thread kevin yu (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-12648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15083397#comment-15083397 ] kevin yu commented on SPARK-12648: -- I can recreate the problem, I will look into this issue. Thanks.