[ https://issues.apache.org/jira/browse/SPARK-5550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14302850#comment-14302850 ]
Apache Spark commented on SPARK-5550: ------------------------------------- User 'chenghao-intel' has created a pull request for this issue: https://github.com/apache/spark/pull/4326 > Custom UDF is case sensitive for HiveContext > -------------------------------------------- > > Key: SPARK-5550 > URL: https://issues.apache.org/jira/browse/SPARK-5550 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Cheng Hao > > SQL in HiveContext, should be case insensitive, however, the following query > will fail. > ``` > udf.register("random0", () => { Math.random()}) > assert(sql("SELECT RANDOM0() FROM src LIMIT 1").head().getDouble(0) >= 0.0) > ``` -- 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