You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2021/04/14 22:58:02 UTC

[jira] [Commented] (CALCITE-4571) Conversion of PIG script with multiple store causing the merging of multiple sql statements

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

Julian Hyde commented on CALCITE-4571:
--------------------------------------

[~maheshk114], In your test case, you define two expected SQL statements {{sql}} and {{sql1}}, but only {{sql1}} is referenced in the test. I presume that the test should generate both? If so, can you fix up the test. (Please add a new commit to your PR, rather than amending the existing commit; it will make it easier for me as reviewer.)

> Conversion of PIG script with multiple store causing the merging of multiple sql statements
> -------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4571
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4571
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: mahesh kumar behera
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The sql write is not reset after sql statement is converted. This is causing the next sql statements to be merged with the previous one.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)