You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Jacky Li (JIRA)" <ji...@apache.org> on 2018/08/15 16:14:00 UTC

[jira] [Assigned] (CARBONDATA-2858) Schema not correct when user gives schema in CREATE EXTERNAL TABLE

     [ https://issues.apache.org/jira/browse/CARBONDATA-2858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacky Li reassigned CARBONDATA-2858:
------------------------------------

    Assignee: Jacky Li

> 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
>
> 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)