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

Allocation bug in splitAndTransfer method causing some flatten queries to fail

    XMLWordPrintableJSON

Details

    Description

      Data for reproduction:

      {
           "config": [
               [],
               [ "a string" ]
           ]
      }
      
      select flatten(config) as flat from cp.`/store/json/null_list.json`
      

      This was carved out of a larger use case that was failing, so in the course of coming up with a minimal reproduction I fixed the bug. I will be posting a patch shortly.

      Attachments

        1. DRILL-2754.patch
          10 kB
          Jason Altekruse

        Issue Links

          Activity

            People

              jaltekruse Jason Altekruse
              jaltekruse Jason Altekruse
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: