thswlsqls opened a new pull request, #9150: URL: https://github.com/apache/paimon/pull/9150
### Purpose fix #9149 - `LanceRowTypeVisitor` accepted VARIANT and BLOB, but the `paimon-arrow` bridge supports neither. - VARIANT writes succeed today, but `SELECT *` fails with a message-less `UnsupportedOperationException` in `Arrow2PaimonVectorConverter#visit(VariantType)` — the written column can never be read back. Rejecting it blocks silent data loss, not a working path. - BLOB reaches this visitor only through `blob-descriptor-field` / `blob-view-field`, which require `data-evolution.enabled = true`; those inline BLOBs already fail at INSERT. Managed BLOB columns in dedicated blob files are unaffected. - Matches `VortexFileFormat` and `MosaicFileFormat`, which reject both types, and follows #8678 (MULTISET). - Related: #9102 (ARRAY element types, merged) — a different method in the same visitor. ### Tests - Added `LanceFileFormatTest#testValidateDataFields_UnsupportedVariantType` and `#testValidateDataFields_UnsupportedBlobType`. - `mvn -pl paimon-lance -DfailIfNoTests=false clean install` (JDK 11) — 89 tests, 0 failures, 0 errors, 6 skipped. checkstyle, spotless and enforcer passed. -- 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]
