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

2022-04-27 Thread Sean R. Owen (Jira)


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

Sean R. Owen reassigned SPARK-38979:


Assignee: dzcxzl

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



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

2022-04-21 Thread Apache Spark (Jira)


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



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

2022-04-21 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-38979:


Assignee: (was: 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
>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 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