jackylee-ch opened a new pull request, #9569:
URL: https://github.com/apache/paimon/pull/9569
### Purpose
A variant extraction path is encoded into the projected field's description
as `__VARIANT_METADATA<path>;<failOnError>;<timeZoneId>` and split back on `;`
with no escaping. `VariantPathSegment` allows `;` in a key, so `$.a;b` decodes
as path `$.a` with `failOnError=false` and `ZoneId.of("true")`, while
`$.a;true;UTC` re-splits into a valid triple and reads a different field.
Skip the pushdown for such paths, and assert the invariant in the encoder.
The MAP selected-keys path already pairs the same two guards on this delimiter.
### Tests
`VariantMetadataUtilsTest`, `VariantPushDownUtilsTest`.
Written with Claude Code; reasoning and verification are mine.
--
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]