Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2180

Star is not expanded when being used with flatten

    XMLWordPrintableJSON

Details

    Description

      For example,
      select *, "flatten(j.topping) tt " +
      "from dfs_test.`%s` j "
      (using the same data set in DRILL-2012)

      • tt
        null {"id":"5001","type":"None"}

        null

        {"id":"5002","type":"Glazed"}

        null

        {"id":"5005","type":"Sugar"}

        null

        {"id":"5007","type":"Powdered Sugar"}

        null

        {"id":"5006","type":"Chocolate with Sprinkles"}

        null

        {"id":"5003","type":"Chocolate"}

        null

        {"id":"5004","type":"Maple"}

      Note that the first column is messed.

      Attachments

        1. DRILL-2180.1.patch
          6 kB
          Sean Hsuan-Yi Chu

        Issue Links

          Activity

            People

              seanhychu Sean Hsuan-Yi Chu
              seanhychu Sean Hsuan-Yi Chu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: