Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6365

Bogus AmbiguousTableException in query with aliases on local indexed tables

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.1.0, 4.16.0
    • None
    • core
    • None
    • Hide
      Phoenix now follows the SQL standard when handling table aliases (correlation names). The aliased tables can no longer be referenced by their unaliased name.
      I.e. queries like "select t.c from t as a" will no longer be accepted, and have to be rewritten as "select a.c from t as a"
      Show
      Phoenix now follows the SQL standard when handling table aliases (correlation names). The aliased tables can no longer be referenced by their unaliased name. I.e. queries like "select t.c from t as a" will no longer be accepted, and have to be rewritten as "select a.c from t as a"

    Description

      Certain queries with aliases on tbales with local indexes throw AmbiguousTableException

      Attachments

        Issue Links

          Activity

            People

              stoty Istvan Toth
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: