Commit 2a0553f
[SPARK-54638][SQL][TEST] Reuse statement instances if possible in
### 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>SparkConnectJdbcDataTypeSuite
1 parent 24df26b commit 2a0553f
File tree
2 files changed
+451
-436
lines changed- sql/connect/client/jdbc/src/test/scala/org/apache/spark/sql/connect/client/jdbc
- test
2 files changed
+451
-436
lines changed
0 commit comments