[
https://issues.apache.org/jira/browse/CARBONDATA-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16583965#comment-16583965 ]
Jacky Li commented on CARBONDATA-2858:
--------------------------------------
This is currently not support. CARBONDATA-2866 is created to block this feature
> 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
> Assignee: Jacky Li
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> 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)