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

Schema not correct when user gives schema in CREATE EXTERNAL TABLE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.1
    • None
    • None
    • None

    Description

      A bug can be reproduced by following step:
      1. create a normal table and load data. For example
      CREATE TABLE origin (key int, value string)
      STORED AS carbondata

      2. create an external table on table folder of "origin", and specify a new schema for it
      CREATE EXTERNAL TABLE source (value string)
      STORED AS carbondata
      LOCATION 'path-to-origin'

      3. query the external table and show, it should show only value column but currently it is showing key and value columns

      Attachments

        Issue Links

          Activity

            People

              jackylk Jacky Li
              jackylk Jacky Li
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m