-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-52475][TESTS] Remove deprecated table.schema method from tests #51173
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
Here are a huge number of compilation warnings related to " |
And I think it's worth creating a JIRA ticket for this. |
Yea its a large number and a bit time consuming, so I was thinking to at least make progress and avoid conflict risk by reasonable size batches. Let me look at removing from all the tests |
Updated to remove from all tests and created a JIRA |
c8a5ed0
to
2194ea1
Compare
@szehon-ho Thank you for your work. However, it seems there are some compilation errors that need to be fixed first. |
sql-others has test failures:
In addition,
should be executed. @szehon-ho |
Sorry there's a lot of tests and I missed running some locally first, thanks for your help |
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, @szehon-ho and all.
Merged to master for Apache Spark 4.1.0. |
late LGTM, thanks @szehon-ho |
### What changes were proposed in this pull request? Fix many compile warnings like ``` [warn] /Users/szehon.ho/repos/apache-spark/spark/sql/catalyst/src/test/scala/org/apache/spark/sql/connector/catalog/CatalogSuite.scala:282:18: method schema in trait Table is deprecated (since 3.4.0) [warn] Applicable -Wconf / nowarn filters for this warning: msg=<part of the message>, cat=deprecation, site=org.apache.spark.sql.connector.catalog.CatalogSuite, origin=org.apache.spark.sql.connector.catalog.Table.schema, version=3.4.0 ``` ### Why are the changes needed? Reduce compiler warnings ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Test only ### Was this patch authored or co-authored using generative AI tooling? No Closes apache#51173 from szehon-ho/fix_warnings_other_tests. Authored-by: Szehon Ho <szehon.apache@gmail.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
What changes were proposed in this pull request?
Fix many compile warnings like
Why are the changes needed?
Reduce compiler warnings
Does this PR introduce any user-facing change?
No
How was this patch tested?
Test only
Was this patch authored or co-authored using generative AI tooling?
No