-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-54638][SQL][TEST] Reuse statement instances if possible in SparkConnectJdbcDataTypeSuite
#53385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
LGTM, but you may want to merge this one after #53371, from a new contributor, suppose the author can quickly address the comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, LGTM. Thank you, @cloud-fan and @pan3793 .
I'm going to land this first. Pending CIs.
|
To @cloud-fan , please fix the linter failure. |
SparkConnectJdbcDataTypeSuite
SparkConnectJdbcDataTypeSuiteSparkConnectJdbcDataTypeSuite
…arkConnectJdbcDataTypeSuite` ### What changes were proposed in this pull request? Improve `SparkConnectJdbcDataTypeSuite` to reuse the statement instances in `withExecuteQuery` if possible ### Why are the changes needed? use less resources in tests ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? existing tests ### Was this patch authored or co-authored using generative AI tooling? cursor 2.1.50 Closes #53385 from cloud-fan/test. Lead-authored-by: Wenchen Fan <wenchen@databricks.com> Co-authored-by: Wenchen Fan <cloud0fan@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit ce9dcab) Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
|
Merged to master/4.1 for Apache Spark 4.1.0. |
…arkConnectJdbcDataTypeSuite` Improve `SparkConnectJdbcDataTypeSuite` to reuse the statement instances in `withExecuteQuery` if possible use less resources in tests no existing tests cursor 2.1.50 Closes apache#53385 from cloud-fan/test. Lead-authored-by: Wenchen Fan <wenchen@databricks.com> Co-authored-by: Wenchen Fan <cloud0fan@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
What changes were proposed in this pull request?
Improve
SparkConnectJdbcDataTypeSuiteto reuse the statement instances inwithExecuteQueryif possibleWhy are the changes needed?
use less resources in tests
Does this PR introduce any user-facing change?
no
How was this patch tested?
existing tests
Was this patch authored or co-authored using generative AI tooling?
cursor 2.1.50