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

[jira] [Updated] (CALCITE-3486) In JDBC adapter, when generating ROW value expression, generates the ROW keyword only if the dialect allows it

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

Stamatis Zampetakis updated CALCITE-3486:
-----------------------------------------
    Fix Version/s:     (was: next)
                   1.22.0

> In JDBC adapter, when generating ROW value expression, generates the ROW keyword only if the dialect allows it
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-3486
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3486
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.21.0
>            Reporter: quxiucheng
>            Assignee: Danny Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.22.0
>
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> when we use mysql dialect unparse sql,the Mysql dialect does not have a ROW keyword,
> but the ROW keyword does exist in SQL
> SQL
> {code:java}
> insert into emps values (1,'Fredkin')
> {code}
> SqlNode.toString(MysqlSqlDialect.DEFAULT)
> {code:java}
> insert into emps values ROW(1,'Fredkin')
> {code}
> This syntax is problematic in mysql
>  



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