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.

        Attachments

          Issue Links

            Activity

              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: