[
https://issues.apache.org/jira/browse/SPARK-48724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei Guo updated SPARK-48724:
----------------------------
Description:
The code as follows:
{code:java}
withSQLConf(SQLConf.IGNORE_CORRUPT_FILES.key -> sqlConf) {
withSQLConf(SQLConf.IGNORE_CORRUPT_FILES.key -> "false") {
}{code}
he inner withSQLConf (SQLConf.IGNORE_CORRUPT_FILES.key -> "false") will
overwrite the outer configuration, making it impossible to test the situation
where sqlConf is true.
was:
The code as belows:
> Fix incorrect conf settings of ignoreCorruptFiles related tests case in
> ParquetQuerySuite
> -----------------------------------------------------------------------------------------
>
> Key: SPARK-48724
> URL: https://issues.apache.org/jira/browse/SPARK-48724
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Wei Guo
> Priority: Minor
>
> The code as follows:
> {code:java}
> withSQLConf(SQLConf.IGNORE_CORRUPT_FILES.key -> sqlConf) {
> withSQLConf(SQLConf.IGNORE_CORRUPT_FILES.key -> "false") {
> }{code}
> he inner withSQLConf (SQLConf.IGNORE_CORRUPT_FILES.key -> "false") will
> overwrite the outer configuration, making it impossible to test the situation
> where sqlConf is true.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]