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

CTAS (Parquet) followed by a select query fails via JDBC

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.9.0
    • Client - JDBC
    • None

    Description

      The following two queries when executed at once, sequentially via JDBC fail:

      create table world_bank_par as select * from `world_bank.json`
      [Succeeds]

      (ii) select * from world_bank_par limit 1

      Query failed: RuntimeException: maprfs:/drill/testdata/json_gaps/json_all_text_mode/world_bank_par/0_0_0.parquet is not a Parquet file (too small)

      (iii) select * from world_bank_par limit 1

      Query failed: RuntimeException: maprfs:/drill/testdata/json_gaps/json_all_text_mode/world_bank_par/0_0_0.parquet is not a Parquet file. expected magic number at tail [80, 65, 82, 49] but found [0, 0, 0, 0]

      Log attached.

      Attachments

        1. drillbit_ctas_par_jdbc.log
          63 kB
          Abhishek Girish

        Issue Links

          Activity

            People

              agirish Abhishek Girish
              agirish Abhishek Girish
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: