Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18157

Vectorization : Insert in bucketed table is broken with vectorization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Transactions, Vectorization
    • None

    Description

      create temporary table foo (x int) clustered by into 4 buckets;
      insert overwrite table foo values(1),(2),(3),(4),(9);

      select , regexp_extract(INPUT_FILE_NAME, './(.*)', 1) from foo;
      OK
      9 000000_0
      4 000000_0
      3 000000_0
      2 000000_0
      1 000000_0

      set hive.vectorized.execution.enabled=false;
      insert overwrite table foo values(1),(2),(3),(4),(9);
      select , regexp_extract(INPUT_FILE_NAME, './(.*)', 1) from foo;
      OK
      4 000000_0
      9 000001_0
      1 000001_0
      2 000002_0
      3 000003_0

      Attachments

        1. HIVE-18157.1.patch
          9 kB
          Deepak Jaiswal
        2. HIVE-18157.3.patch
          10 kB
          Deepak Jaiswal

        Issue Links

          Activity

            People

              djaiswal Deepak Jaiswal
              djaiswal Deepak Jaiswal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: