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

xiong duan commented on CALCITE-6929:
-------------------------------------

Based on the PR submitted under the assumption, I believe our test cases can 
cover this part. When PG's behavior changes, it will cause the Presto test 
cases to fail. If we currently have such test cases, then I think this PR is 
unnecessary.

> PrestoSqlDialect unparseCall should not reuse from PostgreSqlDialect
> --------------------------------------------------------------------
>
>                 Key: CALCITE-6929
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6929
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.39.0
>            Reporter: Yu Xu
>            Assignee: Yu Xu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.40.0
>
>
> Currently PrestoSqlDialect#unparseCall default condition reuse 
> PostgreSqlDialect directly which would handle with floor function, it is not 
> suitable when PostgreSqlDialect change in future but not consistent with 
> Presto would bring risk in compatibility.



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

Reply via email to