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

Sunil commented on SPARK-6276:
------------------------------

table creation script ----

CREATE EXTERNAL TABLE test_par (a STRING,b STRING,c STRING,d INT,i STRING,j 
STRING,k STRING,l INT,m STRING,n STRING,o DOUBLE,p INT,q ARRAY<ARRAY<DOUBLE>>,r 
STRING) PARTITIONED BY(dt String) STORED AS PARQUET LOCATION 
'/home/abc/table/test_par';



> beeline client class cast exception on partitioned table Spark SQL
> ------------------------------------------------------------------
>
>                 Key: SPARK-6276
>                 URL: https://issues.apache.org/jira/browse/SPARK-6276
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.2.0
>            Reporter: Sunil
>
> When i am accessing partitioned hive table using spark thrift server and 
> beeline. Throwing following error on partitioned column
> java.lang.RuntimeException: java.lang.ClassCastException
>         at 
> org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:84)
>         at 
> org.apache.hive.service.cli.session.HiveSessionProxy.access$000(HiveSessionProxy.java:37)
> results shown if i remove the partitioned column from select.



--
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