carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vyom Rastogi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CARBONDATA-640) Insert Query with Hardcoded values is not working
Date Wed, 18 Jan 2017 06:33:26 GMT

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

Vyom Rastogi commented on CARBONDATA-640:
-----------------------------------------

Above Scenario is Working with Hive for insert queries 
 insert into employees select t.* from ( select 'harry','h2399','v788232',99823230205 ) t;

> Insert Query with Hardcoded values is not working
> -------------------------------------------------
>
>                 Key: CARBONDATA-640
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-640
>             Project: CarbonData
>          Issue Type: Bug
>          Components: sql
>    Affects Versions: 1.0.0-incubating
>            Reporter: Vyom Rastogi
>            Priority: Minor
>              Labels: Spark-1.6
>         Attachments: insert_data.png
>
>
> 1)Creating table employees,Managers
> create table employees(name string, empid string, mgrid string, mobileno bigint) stored
by 'carbondata';
> 2)create table managers(name string, empid string, mgrid string, mobileno bigint) stored
by 'carbondata';
> Insert into Select Queries
> insert into managers select 'harry','h2399','v788232',99823230205;
> Error Description:
> Error: org.apache.spark.sql.AnalysisException: Failed to recognize predicate '<EOF>'.
Failed rule: 'regularBody' in statement; line 1 pos 65 (state=,code=0)



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

Mime
View raw message