pengxu created SPARK-5792:
-----------------------------

             Summary: hive udfs like "get_json_object and json_tuple" doesnot 
work in spark 1.2.0
                 Key: SPARK-5792
                 URL: https://issues.apache.org/jira/browse/SPARK-5792
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.2.0
            Reporter: pengxu


I'm using spark 1.2.0 now. After several testing, I found that the hive udfs 
like get_json_object and json_tuple doesnot take effect.

the testing environment is like the below.
beeline==>thriftServer==>Spark Cluster

For example, the output of such query is null instead of expected value.
'select get_json_object('{"hello":"world"}','hello') from demo_tbl'

I issued the same query in hive also, the return value is "world", which was I 
expected.





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