carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ravindra Pesala (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CARBONDATA-1033) using column with array<string> type bucket table is created but exception thrown when select performed
Date Tue, 09 May 2017 15:58:04 GMT

     [ https://issues.apache.org/jira/browse/CARBONDATA-1033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ravindra Pesala resolved CARBONDATA-1033.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0

> using column with array<string> type bucket table is created but exception thrown
when select performed
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CARBONDATA-1033
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1033
>             Project: CarbonData
>          Issue Type: Bug
>          Components: data-query
>    Affects Versions: 1.1.0
>         Environment: 3 node cluster 
>            Reporter: Chetan Bhat
>            Assignee: Kunal Kapoor
>             Fix For: 1.1.0
>
>   Original Estimate: 504h
>          Time Spent: 1h 10m
>  Remaining Estimate: 502h 50m
>
> User tries to create a bucket table with array<string>.
> Table is successful as shown below.
> 0: jdbc:hive2://172.168.100.199:23040> CREATE TABLE uniqData_t4(ID Int, date Timestamp,
country String,name String, phonetype String, serialname String, salary Int,mobile array<string>)USING
org.apache.spark.sql.CarbonSource OPTIONS("bucketnumber"="1", "bucketcolumns"="name","tableName"="uniqData_t4");
> +---------+--+
> | Result  |
> +---------+--+
> +---------+--+
> No rows selected (0.061 seconds)
> User executes select query on bucket table with column type having array<string>.
> Actual Issue :
> When user performs select query on bucket table with column type having array<string>
the UncheckedExecutionException is thrown.
> 0: jdbc:hive2://172.168.100.199:23040> select count(*) from uniqData_t4;
> Error: org.spark_project.guava.util.concurrent.UncheckedExecutionException: java.lang.Exception:
Do not have default and uniqdata_t4 (state=,code=0)
> 0: jdbc:hive2://172.168.100.199:23040> select * from uniqData_t4;
> Error: org.spark_project.guava.util.concurrent.UncheckedExecutionException: java.lang.Exception:
Do not have default and uniqdata_t4 (state=,code=0)
> Expected : The bucket table creation with array<string> type should not be created.
If its created then the select query should return correct result set without throwing exception.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message