You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Chenliang Xu (JIRA)" <ji...@apache.org> on 2016/09/27 22:04:21 UTC

[jira] [Created] (SPARK-17694) convert DataFrame to DataSet should check columns match

Chenliang Xu created SPARK-17694:
------------------------------------

             Summary: convert DataFrame to DataSet should check columns match
                 Key: SPARK-17694
                 URL: https://issues.apache.org/jira/browse/SPARK-17694
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 1.6.2, 1.6.1
            Reporter: Chenliang Xu
            Priority: Minor


The {{as}} method, which converts a DataFrame to DataSet requires the user to ensure the columns are match. And it success even the columns do not match, and cause error at later steps.

It would be better, to let {{as}} match the columns, and fail/warn when the match fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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