gengliangwang opened a new pull request #24745: [SPARK-27849][SQL][FollowUp] 
Fix the testing regex in DataSourceScanRedactionTest
URL: https://github.com/apache/spark/pull/24745
 
 
   ## What changes were proposed in this pull request?
   
   As explained in 
https://github.com/apache/spark/pull/24719#pullrequestreview-243064785, the 
regex `file:/[\\w-_@/]+` contains possible characters I have met in the Jenkins 
tests. 
   However, we still miss the  `.` symbol:
   
https://amplab.cs.berkeley.edu/jenkins/view/Spark%20QA%20Test%20(Dashboard)/job/spark-master-test-maven-hadoop-2.7/6415/testReport/junit/org.apache.spark.sql.execution/DataSourceV2ScanExecRedactionSuite/treeString_is_redacted/
 :
   ```
   orc 
*********(redacted).7/sql/core/target/tmp/spark-7ff5f81d-069a-4b5d-9d9a-808addeef115
   ```
   
   This PR is to fix it by matching any character except `]` or spaces.
   ## How was this patch tested?
   
   Unit test
   

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

Reply via email to