taoran92 opened a new pull request, #11420: URL: https://github.com/apache/paimon/pull/11420
### Purpose Closes #11418. Reading `$row_tracking` can return valid `_ROW_ID` and `_SEQUENCE_NUMBER` values while the Parquet reader warns that it will fill both fields with null. Users can also see the `_ROW_ID` warning in `full_text_search` and `vector_search` because those queries read the field internally. The append and Data Evolution readers now tell Parquet which tracking fields they can reconstruct for each file. Parquet uses that information when reporting missing columns. If a later read reuses the same physical schema and cannot supply a missing field, Parquet still warns. ### Tests - `RowTrackingTableTest` checks the returned values and warnings for ordinary append and Data Evolution tables. It also covers a file that stores its own row IDs and gets its sequence number from file metadata. - `ParquetMissingFieldLoggingTest` checks that unexpected missing columns still produce warnings, including when reads with different fallback fields share a cached schema. When the file lacks `price`, the test verifies that pruning for `price > 0` warns once about the missing column and returns no candidate rows. - Verified on Spark 3.5.9 that `$row_tracking`, `full_text_search`, and `vector_search` returned the expected rows without missing-field warnings. -- 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]
