Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12903

Querying virtual column FILE__POSITION for TEXT and JSON tables crashes Impala

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.4.0
    • Backend
    • None
    • ghx-label-3

    Description

      Repro:

      select file__position from functional.alltypes;  => CRASH
      
      select file__position from functional_json.alltypes; => CRASH

      Stack trace:

      ...
      #6  <signal handler called>
      #7  0x00000000031a671c in impala::ScannerContext::Stream::file_desc (this=0x0) at /home/boroknagyz/Impala/be/src/exec/scanner-context.h:157
      #8  0x0000000003351630 in impala::HdfsJsonScanner::Close (this=0xea22d80, row_batch=0xed63a20) at /home/boroknagyz/Impala/be/src/exec/json/hdfs-json-scanner.cc:99
      #9  0x00000000031c3eff in impala::HdfsScanner::Close (this=0xea22d80) at /home/boroknagyz/Impala/be/src/exec/hdfs-scanner.cc:176
      #10 0x00000000032f057f in impala::HdfsScanNode::ProcessSplit (this=0x14eb9000, filter_ctxs=..., expr_results_pool=0x7fa54b5cf400, scan_range=0xf2bb680, scanner_thread_reservation=0x7fa54b5cf328)
          at /home/boroknagyz/Impala/be/src/exec/hdfs-scan-node.cc:500
      #11 0x00000000032ef94c in impala::HdfsScanNode::ScannerThread (this=0x14eb9000, first_thread=true, scanner_thread_reservation=131072) at /home/boroknagyz/Impala/be/src/exec/hdfs-scan-node.cc:422

      At frame #7 stream is NULL.

      Attachments

        Activity

          People

            boroknagyz Zoltán Borók-Nagy
            boroknagyz Zoltán Borók-Nagy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: