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

[jira] [Commented] (SPARK-23462) Improve the error message in `StructType`

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

Xiayun Sun commented on SPARK-23462:
------------------------------------

I will take this. 

> Improve the error message in `StructType`
> -----------------------------------------
>
>                 Key: SPARK-23462
>                 URL: https://issues.apache.org/jira/browse/SPARK-23462
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Xiao Li
>            Priority: Major
>              Labels: starter
>
> The error message {{s"""Field "$name" does not exist."""}} is thrown when looking up an unknown field in StructType. In the error message, we should also contain the information about which columns/fields exist in this struct. 



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