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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to