[jira] [Commented] (CARBONDATA-640) Insert Query with Hardcoded values is not working

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-640) Insert Query with Hardcoded values is not working

Akash R Nilugal (Jira)

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

Ravindra Pesala commented on CARBONDATA-640:
--------------------------------------------

[~vyom_huawei] Please verify this scenario once with Hive and check the behavior.

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