You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/04/21 07:34:00 UTC

[jira] [Assigned] (SPARK-38979) Improve error log readability in OrcUtils.requestedColumnIds

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

Apache Spark reassigned SPARK-38979:
------------------------------------

    Assignee: Apache Spark

> Improve error log readability in OrcUtils.requestedColumnIds
> ------------------------------------------------------------
>
>                 Key: SPARK-38979
>                 URL: https://issues.apache.org/jira/browse/SPARK-38979
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.1
>            Reporter: dzcxzl
>            Assignee: Apache Spark
>            Priority: Trivial
>
> In OrcUtils#requestedColumnIds sometimes it fails because orcFieldNames.length > dataSchema.length, the log is not very clear.
> {code:java}
> java.lang.AssertionError: assertion failed: The given data schema struct<field1:int> has less fields than the actual ORC physical schema, no idea which columns were dropped, fail to read. {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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