bharos opened a new pull request, #15105: URL: https://github.com/apache/gravitino/pull/15105
### What changes were proposed in this pull request? Replaces `StringUtils.startsWithIgnoreCase` in `LanceRESTCatalogProvider` with a case-insensitive `String.regionMatches` check, and adds a test for which properties count as headers. ### Why are the changes needed? #14755 added the call, and #13019 then added the Spark 4.1 connector, which compiles `spark-common` against a commons-lang3 version that deprecates it. With `-Werror`, `:spark-connector:spark-4.1:compileJava` fails, so the build fails on main and on every open PR. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Compiled the Spark 3.5, 4.0 and 4.1 connectors, and ran `TestLanceRESTCatalogProvider`, including the new test. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
