Skip to content

Conversation

@panbingkun
Copy link
Contributor

What changes were proposed in this pull request?

This pr aims to Add one test for the error class UNSUPPORTED_FEATURE.JDBC_TRANSACTION to QueryExecutionErrorsSuite.

Why are the changes needed?

Add one test for the error class UNSUPPORTED_FEATURE.JDBC_TRANSACTION to QueryExecutionErrorsSuite.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

  • Manual test:
./build/sbt "sql/testOnly *QueryExecutionErrorsSuite*"

All tests passed.

@github-actions github-actions bot added the SQL label Oct 22, 2022
@@ -0,0 +1 @@
mock-maker-inline No newline at end of file
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://www.baeldung.com/mockito-final#configure-mocktio
Configure Mockito for Final Methods and Classes
image

@panbingkun
Copy link
Contributor Author

cc @MaxGekk

@MaxGekk
Copy link
Member

MaxGekk commented Oct 22, 2022

@panbingkun Could you fix scala style failure:

[error] /home/runner/work/spark/spark/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala:34:0: org.apache.spark.sql.execution.datasources.jdbc. is in wrong order relative to 

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@panbingkun
Copy link
Contributor Author

@panbingkun Could you fix scala style failure:

[error] /home/runner/work/spark/spark/sql/core/src/test/scala/org/apache/spark/sql/errors/QueryExecutionErrorsSuite.scala:34:0: org.apache.spark.sql.execution.datasources.jdbc. is in wrong order relative to 

Done.

@MaxGekk
Copy link
Member

MaxGekk commented Oct 23, 2022

+1, LGTM. Merging to master.
Thank you, @panbingkun.

@MaxGekk MaxGekk closed this in 9d81f6e Oct 23, 2022
@panbingkun panbingkun deleted the SPARK-40391 branch November 7, 2022 01:53
SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
…BC_TRANSACTION

### What changes were proposed in this pull request?
This pr aims to Add one test for the error class UNSUPPORTED_FEATURE.JDBC_TRANSACTION to QueryExecutionErrorsSuite.

### Why are the changes needed?
Add one test for the error class UNSUPPORTED_FEATURE.JDBC_TRANSACTION to QueryExecutionErrorsSuite.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
- Manual test:

```
./build/sbt "sql/testOnly *QueryExecutionErrorsSuite*"
```

All tests passed.

Closes apache#38351 from panbingkun/SPARK-40391.

Authored-by: panbingkun <pbk1982@gmail.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants