You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2018/06/14 01:10:00 UTC

[jira] [Resolved] (SPARK-24546) InsertIntoDataSourceCommand make dataframe with wrong schema

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

Hyukjin Kwon resolved SPARK-24546.
----------------------------------
          Resolution: Won't Fix
    Target Version/s:   (was: 2.3.1)

> InsertIntoDataSourceCommand make dataframe with wrong schema
> ------------------------------------------------------------
>
>                 Key: SPARK-24546
>                 URL: https://issues.apache.org/jira/browse/SPARK-24546
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.1, 2.3.0, 2.3.1, 3.0.0
>            Reporter: yangz
>            Priority: Major
>
> I have a hdfs table with schema 
> {code:java}
> hdfs_table(a int, b int, c int){code}
>  
> and a kudu table with schema
>  
> {code:java}
> kudu_table(b int primary key, a int,c int)
> {code}
>  
> When I have a sql insert, I got data misorder.
> {code:java}
> insert into kudu_table from hdfs_table
> {code}
> The reason to cause the problem is create data frame with wrong schema



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org