LsomeYeah opened a new pull request, #8194:
URL: https://github.com/apache/paimon/pull/8194

   ### Purpose
   Improve the error message when a file index column option is set without 
declaring the column in `file-index.<type>.columns`.
   
   ### Case
   A table had `file-index.bloom-filter.vin.items` and 
`file-index.bloom-filter.vin.fpp`, but missed `file-index.bloom-filter.columns 
= vin`. The old path reported a confusing map top-level option error.
   
   ### Changes
   - Keep the same lookup order for normal columns and map nested columns.
   - Avoid throwing the map-specific error during optional fallback lookup.
   - Add a validation test for the missing columns declaration case.
   
   ### Tests
   `mvn -s ~/.m2/settings.xml.paimon-ali -pl paimon-core -am -Pfast-build 
-DfailIfNoTests=false 
-Dtest=SchemaValidationTest#testFileIndexColumnOptionWithoutColumnsDeclaration 
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]

Reply via email to