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

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

dzcxzl created SPARK-38979:
------------------------------

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


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