The GitHub Actions job "Docs 404 check (beta)" on flink.git/FLINK-39049-variant-get has succeeded. Run started by GitHub user raminqaf (triggered by raminqaf).
Head commit for run: 498f238e69fdf60c9b79d297f8f46e758fdf01de / Ramin Gharib <[email protected]> [FLINK-39049][table] Add VARIANT_GET and TRY_VARIANT_GET `VARIANT_GET(variant, path[, returnType])` returns the value of a Variant at a path, cast to `returnType`, or as a Variant without `returnType`. `TRY_VARIANT_GET` returns NULL instead of an error when the value cannot be cast or a path that is not a literal is malformed. Paths follow FLIP-618: `$`, `.name`, `['name']`, `["name"]` and the 0-based `[n]`, without wildcards, filters, slices, negative indices or path modes. The internal `SimplePath` in flink-table-common parses them, so a malformed literal path fails at planning. A missing field, an index past the end, or a step on the wrong kind of value gives NULL. `returnType` is a string literal, as in Spark, parsed with `LogicalTypeParser`. The cast reuses `FromVariantConverter`, so `VARIANT_GET(v, p, 'T')` casts like `CAST`, and a variant null gives NULL unless `returnType` is `VARIANT`. The result is always nullable. The Table API and PyFlink get `variantGet` / `variant_get` and `tryVariantGet` / `try_variant_get`. `getLocalTimeZone(ReadableConfig)` moves from the planner's `TableConfigUtils` to `TableConfigValidation` in flink-table-api-java, so the runtime function can read the session time zone. The planner's method delegates to it. The docs add the function entries and a "Variant paths" section. They also correct `variant[INT]` and `variant[STRING]`, which throw on the wrong kind of value instead of returning NULL. Generated-by: Claude Code 2.1.310 (Claude Opus 5.5) Report URL: https://github.com/apache/flink/actions/runs/40723499100 With regards, GitHub Actions via GitBox
