[jira] [Commented] (CARBONDATA-1203) insert data caused many duplicated data on spark 1.6.2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CARBONDATA-1203) insert data caused many duplicated data on spark 1.6.2

Akash R Nilugal (Jira)

    [ https://issues.apache.org/jira/browse/CARBONDATA-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060436#comment-16060436 ]

Ravindra Pesala commented on CARBONDATA-1203:
---------------------------------------------

when you select constant from any table it returns the same number of rows which are existed in that table. So there is no issue here.

> insert data caused  many duplicated data on spark 1.6.2
> -------------------------------------------------------
>
>                 Key: CARBONDATA-1203
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1203
>             Project: CarbonData
>          Issue Type: Bug
>            Reporter: Jarck
>
> I use branch-1.1 do insert test on spark 1.6.2 in my local machine
> I try to  run the sql as below to insert a data
>       spark.sql(s"""
>              insert into $tableName select $id,'$date','$country','$testName'
>              ,'$phoneType','$serialname',$salary from $tableName
>              """).show()
> at last the data has been inserted successfully, but it inserted many duplicated data



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)