You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2017/03/20 14:19:41 UTC

[jira] [Commented] (SPARK-12621) ArrayIndexOutOfBoundsException when running sqlContext.sql(...)

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

Hyukjin Kwon commented on SPARK-12621:
--------------------------------------

[~sasi2103] Would you be able to reproduce against higher versions or master? It seems no one except for you can reproduce this JIRA. If you are unable to test this currently, maybe, we maybe should better resolve this for now.

> ArrayIndexOutOfBoundsException when running sqlContext.sql(...)
> ---------------------------------------------------------------
>
>                 Key: SPARK-12621
>                 URL: https://issues.apache.org/jira/browse/SPARK-12621
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Sasi
>
> 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
> 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.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org