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

Trying to flatten an empty list should return an empty result

    XMLWordPrintableJSON

Details

    Description

      git.commit.id.abbrev=3d863b5

      Data Set :

      {"empty":[[],[[]]]}
      

      Query :

      select flatten(empty) from `data1.json`;
      Query failed: RemoteRpcException: Failure while running fragment.[ 1b3123d9-92bc-45d5-bef8-b5f1be9def07 on qa-node191.qa.lab:31010 ]
      [ 1b3123d9-92bc-45d5-bef8-b5f1be9def07 on qa-node191.qa.lab:31010 ]
      

      I also attached the error from the logs

      Attachments

        1. error.log
          5 kB
          Rahul Kumar Challapalli

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rkins Rahul Kumar Challapalli
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: