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

Using store.parquet.reader.int96_as_timestamp gives IOOB whereas convert_from works

    XMLWordPrintableJSON

Details

    Description

      Using store.parquet.reader.int96_as_timestamp gives IOOB whereas convert_from works.
      The below query succeeds:

      select c, convert_from(d, 'TIMESTAMP_IMPALA') from dfs.`/drill/testdata/parquet_timestamp/spark_generated/d3`;
      

      The below query fails:

      0: jdbc:drill:zk=10.10.100.190:5181> alter session set `store.parquet.reader.int96_as_timestamp` = true;
      +-------+---------------------------------------------------+
      |  ok   |                      summary                      |
      +-------+---------------------------------------------------+
      | true  | store.parquet.reader.int96_as_timestamp updated.  |
      +-------+---------------------------------------------------+
      1 row selected (0.231 seconds)
      0: jdbc:drill:zk=10.10.100.190:5181> select c, d from dfs.`/drill/testdata/parquet_timestamp/spark_generated/d3`;
      Error: SYSTEM ERROR: IndexOutOfBoundsException: readerIndex: 0, writerIndex: 131076 (expected: 0 <= readerIndex <= writerIndex <= capacity(131072))
      
      Fragment 0:0
      
      [Error Id: bd94f477-7c01-420f-8920-06263212177b on qa-node190.qa.lab:31010] (state=,code=0)
      
      

      Attachments

        1. data.snappy.parquet
          58 kB
          Vitalii Diravka

        Issue Links

          Activity

            People

              vitalii Vitalii Diravka
              vitalii Vitalii Diravka
              Krystal Krystal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: