Cheng Hao created SPARK-5550:
--------------------------------

             Summary: 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.
{panel}
udf.register("random0", () => { Math.random()})
assert(sql("SELECT RANDOM0() FROM src LIMIT 1").head().getDouble(0) >= 0.0)
{panel}



--
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

Reply via email to