jaceklaskowski commented on a change in pull request #24327: [SPARK-27418][SQL]
Migrate Parquet to File Data Source V2
URL: https://github.com/apache/spark/pull/24327#discussion_r279136632
##########
File path:
sql/core/src/test/scala/org/apache/spark/sql/execution/DataSourceScanExecRedactionSuite.scala
##########
@@ -28,8 +28,10 @@ import org.apache.spark.sql.test.SharedSQLContext
*/
class DataSourceScanExecRedactionSuite extends QueryTest with SharedSQLContext
{
+ // TODO: create test suite for Data source V2 as well.
override protected def sparkConf: SparkConf = super.sparkConf
.set("spark.redaction.string.regex", "file:/[\\w_]+")
+ .set(SQLConf.USE_V1_SOURCE_READER_LIST.key, "parquet")
Review comment:
That could benefit from the object with `val name = parquet`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]