You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2019/11/07 01:18:00 UTC
[jira] [Commented] (CALCITE-3154) RelToSqlConverter generated Nulls
Last and Nulls First when convert RexOver to sql using MysqlSqlDialect.
[ https://issues.apache.org/jira/browse/CALCITE-3154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16968839#comment-16968839 ]
Haisheng Yuan commented on CALCITE-3154:
----------------------------------------
[~winipanda] Can you rebase on latest master please? Thanks. I will merge it once the rebase is done.
> RelToSqlConverter generated Nulls Last and Nulls First when convert RexOver to sql using MysqlSqlDialect.
> ---------------------------------------------------------------------------------------------------------
>
> Key: CALCITE-3154
> URL: https://issues.apache.org/jira/browse/CALCITE-3154
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.19.0
> Reporter: TANG Wen-hui
> Assignee: TANG Wen-hui
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h
> Remaining Estimate: 0h
>
> As for sql :
> {code:java}
> String query = "SELECT row_number() over (order by \"hire_date\") FROM \"employee\"";
> {code}
> using RelToSqlConverter to generate a sql for mysql , the result is :
> {code:java}
> SELECT ROW_NUMBER() OVER (ORDER BY `hire_date` NULLS LAST)
> FROM `foodmart`.`employee`
> {code}
> However, mysql does not support NULLS LAST.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)