Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-4303

Columns mismatch when insert into table with static partition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.3.0
    • spark-integration
    • None

    Description

      Following insert will have null value:

      CREATE TABLE select_from (i int, b string) stored as carbondata;

      CREATE TABLE table1 (i int) partitioned by (a int, b string) stored as carbondata;

      insert into table select_from select 1, 'a';

      insert into table table1 partition(a='100',b) select 1, b from select_from;

      select * from table1;

      Expected:

      1, 100, a

      Actual result:

      1, 100, null

      Attachments

        Activity

          People

            Unassigned Unassigned
            jack86596 Yahui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 6.5h
                6.5h