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

ASF GitHub Bot updated CALCITE-4455:
------------------------------------
    Labels: pull-request-available  (was: )

> Calcite SQLParser: Provide support for INSERT OVERWRITE
> -------------------------------------------------------
>
>                 Key: CALCITE-4455
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4455
>             Project: Calcite
>          Issue Type: Sub-task
>          Components: spark
>            Reporter: shradha
>            Assignee: Jiajun Xie
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Enhance Calcite SQLParser to support INSERT OVERWRITE:  
> Current Behavior: Parsing queries having  INSERT OVERWRITE throws exception
>  
> {color:#008000}INSERT OVERWRITE TABLE sbg_schema.tableA
>  select distinct SURV_MARK_CUST_IDEN
>  ,latest_surv_oci
>  ,tran_mark_cust_iden
>  ,surv_tran_mci
>  ,orgz_mark_cust_iden from tableB{color}
> {color:#008000}StatementMetadataFragment(com.intuit.superglue.pipeline.parsers.CalciteStatementParser,UNKNOWN,List(),List(),List(org.apache.calcite.sql.parser.SqlParseException:
>  Encountered "OVERWRITE" at line 2, column 8.{color}
>  
> {color:#008000}All these queries are correctly being parsed via SPARK SQL . 
> But calcite's parser grammer file doesn't suport these tokens{color}
> Since this is SPARK SQL specific , these changes will be implemented in BABEL 
> Parser



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to