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

Nullpointer exception in case of drop table

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None

      Description

      Drop table is failing with nullpointer in below scenario with datamap

      This issue will happen once the PR #3339 is merged, because with that PR refresh table happens correctly and then this fails.

      CREATE TABLE datamap_test_1 (id int,name string,salary float,dob date)STORED BY 'carbondata' TBLPROPERTIES('SORT_COLUMNS'='id');
      CREATE DATAMAP dm_datamap_test_1_2 ON TABLE datamap_test_1 USING 'bloomfilter' DMPROPERTIES ('INDEX_COLUMNS' = 'salary,name', 'BLOOM_SIZE'='640000', 'BLOOM_FPP'='0.00001', 'BLOOM_COMPRESS'='true');
      CREATE DATAMAP dm_datamap_test3 ON TABLE datamap_test_1 USING 'bloomfilter' DMPROPERTIES ('INDEX_COLUMNS' = 'dob', 'BLOOM_SIZE'='640000', 'BLOOM_FPP'='0.00001', 'BLOOM_COMPRESS'='true');
      drop table if exists datamap_test_1;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                akashrn5 Akash R Nilugal
                Reporter:
                akashrn5 Akash R Nilugal
              • 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 - 50m
                  50m