[ 
https://issues.apache.org/jira/browse/SPARK-12621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081281#comment-15081281
 ] 

Sasi edited comment on SPARK-12621 at 1/4/16 3:40 PM:
------------------------------------------------------

Sometimes i'm getting this exception while trying to do "select * from table". 
I'm using Spark 1.5.0, with Spark SQL 2.10


was (Author: sasi2103):
Sometimes i'm getting this exception while trying to do "select * from table". 
I'm using Spark 1.5.0.

> ArrayIndexOutOfBoundsException when running sqlContext.sql(...)
> ---------------------------------------------------------------
>
>                 Key: SPARK-12621
>                 URL: https://issues.apache.org/jira/browse/SPARK-12621
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Sasi
>
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
>         at 
> org.apache.spark.sql.catalyst.expressions.GenericRow.get(rows.scala:199)
>         at org.apache.spark.sql.Row$class.getAs(Row.scala:316)
>         at 
> org.apache.spark.sql.catalyst.expressions.GenericRow.getAs(rows.scala:191)
>         at org.apache.spark.sql.Row$class.getString(Row.scala:249)
>         at 
> org.apache.spark.sql.catalyst.expressions.GenericRow.getString(rows.scala:191)
>         at 
> com.cxtrm.mgmt.subscriber.spark.SparkDataAccessorBean.doQuery(SparkDataAccessorBean.java:138)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to