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

UNNEST with join

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.8.0
    • None
    • None

    Description

      UNNEST does not seem to be able to reference a column from another table in the same FROM clause. For example,

      SELECT a.*, b.*
      FROM table1 AS a,
       UNNEST(a.items) AS b
      

      gives table A not found.

      org.apache.calcite.test.JdbcTest.testUnnestArrayColumn tests this but is currently flagged 'Ignore'.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: