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

Chunwei Lei updated CALCITE-3154:
---------------------------------
    Summary: RelToSqlConverter generates NULLA LAST and NULLS FIRST wrongly 
when converting RexOver to sql using MysqlSqlDialect.  (was: RelToSqlConverter 
generates Nulls Last and Nulls First wrongly when converting RexOver to sql 
using MysqlSqlDialect.)

> RelToSqlConverter generates NULLA LAST and NULLS FIRST wrongly when 
> converting 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)

Reply via email to