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 2017/04/28 05:10:04 UTC

[jira] [Resolved] (CARBONDATA-923) InserInto read from one row not working

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

Jacky Li resolved CARBONDATA-923.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0

> InserInto read from one row not working
> ---------------------------------------
>
>                 Key: CARBONDATA-923
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-923
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: QiangCai
>            Assignee: QiangCai
>             Fix For: 1.1.0
>
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> Reproduce:
> create table OneRowTable(col1 string, col2 string, col3 int, col4 double) stored by 'carbondata'
> insert into OneRowTable select '0.1', 'a.b', 1, 1.2
> Exception:
> org.apache.spark.sql.AnalysisException: cannot resolve '`0.1`' given input columns: [0.1, a.b, 1, 1.2];;
> 'Project ['0.1, 'a.b]
> +- Project [0.1 AS 0.1#11, a.b AS a.b#12, 1 AS 1#13, 1.2 AS 1.2#14]
>    +- OneRowRelation$



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)