Re: [SQL] PERCENTILE is not working

2014-11-05 Thread Yin Huai
ues.apache.org/jira/browse/SPARK-4263, can > you also add some information there? > > Thanks, > Cheng Hao > > -Original Message- > From: Kevin Paul [mailto:kevinpaulap...@gmail.com] > Sent: Thursday, November 6, 2014 7:09 AM > To: user > Subject: [SQL] PERCE

RE: [SQL] PERCENTILE is not working

2014-11-05 Thread Cheng, Hao
aulap...@gmail.com] Sent: Thursday, November 6, 2014 7:09 AM To: user Subject: [SQL] PERCENTILE is not working Hi all, I encounter this error when execute the query sqlContext.sql("select percentile(age, array(0, 0.5, 1)) from people").collect() java.lang.Cla

[SQL] PERCENTILE is not working

2014-11-05 Thread Kevin Paul
Hi all, I encounter this error when execute the query sqlContext.sql("select percentile(age, array(0, 0.5, 1)) from people").collect() java.lang.ClassCastException: scala.collection.mutable.ArrayBuffer cannot be cast to [Ljava.lang.Object; at org.apache.hadoop.hive.serde2.objectinspector.Standa