Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2241 CTAS fails when writing a repeated list
  3. DRILL-2768

Improve error message for CTAS fails when writing a repeated list

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.0.0
    • Future
    • Storage - Parquet
    • None

    Description

      Using the following json file:

      { "a" : null, "b" : [ ["B1", "B2"] ] }
      

      The following CTAS query fails because parquet doesn't support a list directly nested inside another. We should improve the error message to better explain this:

      0: jdbc:drill:zk=local> create table t2241 as select * from `2241.json`;
      Query failed: Unsupported type LIST
      
      [04423be8-706d-47c2-b73f-384201163d10 on abdel-11.qa.lab:31010]
      

      Attachments

        Issue Links

          Activity

            People

              bohdan Bohdan Kazydub
              adeneche Abdel Hakim Deneche
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: