diqiu50 opened a new pull request, #15106:
URL: https://github.com/apache/gravitino/pull/15106

   ### What changes were proposed in this pull request?
   
   Use `String.regionMatches` to identify the `headers.` prefix when collecting 
and removing Lance REST catalog header properties. The check remains 
case-insensitive.
   
   ### Why are the changes needed?
   
   The Commons Lang version used by Spark 4.1 deprecates 
`StringUtils.startsWithIgnoreCase`. With `-Werror`, the two calls in 
`LanceRESTCatalogProvider` caused compilation to fail in #15093.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Ran `TestLanceRESTCatalogProvider` on Spark 3.5, 4.0, and 4.1.
   


-- 
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]

Reply via email to