Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-6706

Checked arithmetic does not take effect in subqueries

    XMLWordPrintableJSON

Details

    Description

      Seems this issue need to be continuation of [1] issue

      This test (placed into SqlOperatorTest) need to be failed but it passed:

        @Test void testCast0() {
          final SqlOperatorFixture f = fixture();
          f.checkFails("SELECT -CAST(-32768 AS SMALLINT)",
              ".*Value 32768 out of range", true);
        }
      

      [1] https://issues.apache.org/jira/browse/CALCITE-5990

      Attachments

        Issue Links

          Activity

            People

              mbudiu Mihai Budiu
              zstan Evgeny Stanilovsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: