dilipbiswal opened a new pull request #24333: [SQL][MINOR][TEST] In 
SQLQueryTestSuite ignore .swp and .swo files from processinge
URL: https://github.com/apache/spark/pull/24333
 
 
   ## What changes were proposed in this pull request?
   While using vi or vim to edit the test files the .swp or .swo files are 
created and attempt to run the test suite in the presence of these files causes 
errors like below :
   ```
   nfo] - subquery/exists-subquery/.exists-basic.sql.swp *** FAILED *** (117 
milliseconds)
   [info]   java.io.FileNotFoundException: 
/Users/dbiswal/mygit/apache/spark/sql/core/target/scala-2.12/test-classes/sql-tests/results/subquery/exists-subquery/.exists-basic.sql.swp.out
 (No such file or directory)
   [info]   at java.io.FileInputStream.open0(Native Method)
   [info]   at java.io.FileInputStream.open(FileInputStream.java:195)
   [info]   at java.io.FileInputStream.<init>(FileInputStream.java:138)
   [info]   at 
org.apache.spark.sql.catalyst.util.package$.fileToString(package.scala:49)
   [info]   at 
org.apache.spark.sql.SQLQueryTestSuite.runQueries(SQLQueryTestSuite.scala:247)
   [info]   at 
org.apache.spark.sql.SQLQueryTestSuite.$anonfun$runTest$11(SQLQueryTestSuite.scala:192)
   ```
   This minor pr adds these temp files in the ignore list.
   ## How was this patch tested?
   Verified manually.

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