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

Table aliases should follow case-sensitivity policy

    Details

    • Type: Test
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0
    • Component/s: None
    • Labels:
      None

      Description

      Table aliases should follow case-sensitivity policy. For example,

      SELECT * FROM dept "d", dept "D"
      

      should be allowed if identifiers are case-sensitive, should give error if identifiers are case-insensitive. Currently it is allowed under all policies, and that is wrong.

      See unit test in SqlValidatorTest.testCaseSensitive.

        Issue Links

          Activity

          Hide
          jcamachorodriguez Jesus Camacho Rodriguez added a comment -

          Resolved in release 1.9.0 (2016-09-22)

          Show
          jcamachorodriguez Jesus Camacho Rodriguez added a comment - Resolved in release 1.9.0 (2016-09-22)
          Show
          julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/54d29dc1 .

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development