You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/04/13 07:25:40 UTC

[GitHub] [spark] MaxGekk opened a new pull request, #36175: [SPARK-38745][SQL][TESTS] Move the tests for `NON_PARTITION_COLUMN` to `QueryCompilationErrorsDSv2Suite`

MaxGekk opened a new pull request, #36175:
URL: https://github.com/apache/spark/pull/36175

   ### What changes were proposed in this pull request?
   Move test for the error class `NON_PARTITION_COLUMN` from `InsertIntoSQLOnlyTests` to `QueryCompilationErrorsDSv2Suite`.
   
   ### Why are the changes needed?
   To improve code maintenance - all tests for error classes are placed to Query.*ErrorsSuite. Also exception are raised from [QueryCompilationErrors](https://github.com/apache/spark/blob/bf75b495e18ed87d0c118bfd5f1ceb52d720cad9/sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala#L100-L104), so, tests should be in `QueryCompilationErrorsDSv2Suite` for consistency.
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   By running the moved tests:
   ```
   $ build/sbt "test:testOnly *QueryCompilationErrorsDSv2Suite"
   ```


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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] MaxGekk commented on pull request #36175: [SPARK-38745][SQL][TESTS] Move the tests for `NON_PARTITION_COLUMN` to `QueryCompilationErrorsDSv2Suite`

Posted by GitBox <gi...@apache.org>.
MaxGekk commented on PR #36175:
URL: https://github.com/apache/spark/pull/36175#issuecomment-1098133223

   All GAs passed: https://github.com/MaxGekk/spark/actions/runs/2159647797. Merging to master.
   Thank you, @HyukjinKwon for review.


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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] [spark] MaxGekk closed pull request #36175: [SPARK-38745][SQL][TESTS] Move the tests for `NON_PARTITION_COLUMN` to `QueryCompilationErrorsDSv2Suite`

Posted by GitBox <gi...@apache.org>.
MaxGekk closed pull request #36175: [SPARK-38745][SQL][TESTS] Move the tests for `NON_PARTITION_COLUMN` to `QueryCompilationErrorsDSv2Suite`
URL: https://github.com/apache/spark/pull/36175


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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org