Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.8.0
    • Component/s: core
    • Labels:
      None

      Description

      INSERT/UPSERT with values as bind parameters throws exception in SqlValidator. Example:

      insert into t(c1, c2) values(?, ?)
      

        Activity

        Hide
        julianhyde Julian Hyde added a comment -

        Make the validator deduce the types of bind parameters in all DML (INSERT, UPDATE, DELETE, MERGE, UPSERT).

        Show
        julianhyde Julian Hyde added a comment - Make the validator deduce the types of bind parameters in all DML (INSERT, UPDATE, DELETE, MERGE, UPSERT).
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/f191a386 .
        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.8.0 (2016-06-13).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.8.0 (2016-06-13).

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            maryannxue Maryann Xue
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development