yuqi1129 commented on PR #12120: URL: https://github.com/apache/gravitino/pull/12120#issuecomment-5055879069
Closing this PR based on the review discussion. As @diqiu50 pointed out, loading all partition assignments during `loadTable` is too expensive for tables with many partitions (e.g., Doris dynamic partitioning can produce thousands), and a partition parsing failure (e.g., multi-column range partitions) would break table loading entirely — a regression from the current behavior where assignments are simply empty. We'll keep the current semantics: `loadTable` returns only the partition definition, and partition assignments should be fetched lazily via `supportPartitions().listPartitions()`. See #12093 for the full reasoning. -- 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]
