Jacky Li created CARBONDATA-2858:
------------------------------------

             Summary: Schema not correct when user gives schema in CREATE 
EXTERNAL TABLE
                 Key: CARBONDATA-2858
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2858
             Project: CarbonData
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Jacky Li


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




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to