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

Insert Into Select Operation is throwing exception for hive read/write operation in carbon.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    Description

      CREATE TABLE hive_carbon_table1(id INT, name STRING, scale DECIMAL, country STRING, salary DOUBLE) stored by 'org.apache.carbondata.hive.CarbonStorageHandler';

      INSERT into hive_carbon_table1 SELECT 1, 'RAM', '2.3', 'INDIA', 3500";

      CREATE TABLE hive_carbon_table2(id INT, name STRING, scale DECIMAL, country STRING, salary DOUBLE) stored by 'org.apache.carbondata.hive.CarbonStorageHandler';

      INSERT into hive_carbon_table2 SELECT * FROM hive_carbon_table1"; -> Throwing exception as "CarbonData file is not present in the table location"

      Attachments

        Activity

          People

            Unassigned Unassigned
            nihal Nihal kumar ojha
            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 - 2h 20m
                2h 20m