You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2022/04/27 13:39:00 UTC

[jira] [Resolved] (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 ]

Sean R. Owen resolved SPARK-38979.
----------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 36296
[https://github.com/apache/spark/pull/36296]

> 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: dzcxzl
>            Priority: Trivial
>             Fix For: 3.4.0
>
>
> 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