You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2016/05/22 19:42:12 UTC
[jira] [Commented] (CALCITE-1228) Bind variables in INSERT
[ https://issues.apache.org/jira/browse/CALCITE-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295697#comment-15295697 ]
Julian Hyde commented on CALCITE-1228:
--------------------------------------
Make the validator deduce the types of bind parameters in all DML (INSERT, UPDATE, DELETE, MERGE, UPSERT).
> Bind variables in INSERT
> ------------------------
>
> Key: CALCITE-1228
> URL: https://issues.apache.org/jira/browse/CALCITE-1228
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.7.0
> Reporter: Maryann Xue
> Assignee: Julian Hyde
> Fix For: 1.8.0
>
>
> INSERT/UPSERT with values as bind parameters throws exception in SqlValidator. Example:
> {code}
> insert into t(c1, c2) values(?, ?)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)