You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sasi (JIRA)" <ji...@apache.org> on 2016/01/04 16:36:39 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=15081281#comment-15081281 ] 

Sasi commented on SPARK-12621:
------------------------------

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org