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

shradha commented on CALCITE-4455:
----------------------------------

Sorry i missed adding description earlier. Yeah changes will be in BABEL parser 
not core. I am working on it and will create a PR. Thanks

> 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
>            Priority: Major
>
> 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.3.4#803005)

Reply via email to