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

Danny Chen resolved CALCITE-4526.
---------------------------------
    Fix Version/s: next
       Resolution: Fixed

Fixed in 
[75b9440|https://github.com/apache/calcite/commit/75b944067d3511fc60ed0b112f1ea66dd34c7b1b],
 thanks for the contribution, [~yr] ~

> Fixup the unparse's output of SqlSnapshot when the table has alias
> ------------------------------------------------------------------
>
>                 Key: CALCITE-4526
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4526
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.26.0
>            Reporter: jibiyr
>            Assignee: jibiyr
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: next
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> hi,community. now calcite support SqlSnapshot. 
> when a sql like _*SELECT orders.order_id, products.pro_id, 
> products.product_name*_
> _*FROM default_catalog.default_database.orders AS orders*_
> _*LEFT JOIN default_catalog.default_database.products FOR SYSTEM_TIME AS OF 
> orders.proctime AS products ON orders.product_id = products.pro_id .*_
>  
> _*default_catalog.default_database.products FOR SYSTEM_TIME AS OF 
> orders.proctime AS products*_  parse to SqlSnapshot .however, when unparse. 
> it is _*default_catalog.default_database.products AS products FOR SYSTEM_TIME 
> AS OF orders.proctime.*_ which can not be parsed again.
>  
> if we should consider this condition.
> the same problem when I found in FLINK-19670.
>  



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

Reply via email to