Re: get -101 error code when running select query

2014-04-23 Thread qingyang li
; select a, b, '' as c, d from foo > > I think the problem is the lack of type information when supplying a null > literal. > > > > -- > View this message in context: > http://apache-spark-developers-list.1001551.n3.nabble.com/get-101-error-code-when-running-se

Re: get -101 error code when running select query

2014-04-23 Thread Madhu
an empty string or other literal instead of null worked: select a, b, '' as c, d from foo I think the problem is the lack of type information when supplying a null literal. -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/get-101-error-code-wh

get -101 error code when running select query

2014-04-23 Thread qingyang li
hi, i have started one sharkserver2 , and using java code to send query to this server by hive jdbc, but i got such error: -- FAILED: Execution Error, return code -101 from shark.execution.SparkTask org.apache.hive.service.cli.HiveSQLException: Error while processing statement: FAILED: Execu