chovy-3012 commented on PR #13435: URL: https://github.com/apache/seatunnel/pull/13435#issuecomment-7151598557
Thanks @DanielLeens for the detailed review! Both issues are addressed in 097914c904. **Issue 1 — exact S3 readback assertions (High, blocking)** `countRows` now opens the dataset through the allocator overload — `Dataset.open(new RootAllocator(), uri, readOptions)` — and the `NoClassDefFoundError`/`ExceptionInInitializerError` catch is removed, so a JNI initialization failure fails the test instead of weakening it. `assertRowCountEventually` unconditionally asserts the exact committed row count (100/200); the MinIO object listing (`assertDatasetObjectsExist`) now runs only after the count passes, as a supplementary layout check. **Issue 2 — explain storage translation and shared option builders** Contract javadoc added on the five declarations: `LanceCatalogLoader.buildNamespaceProps`/`translateStorageKey` (the namespace layer over OpenDAL does not understand the Lance-native `aws_*` keys, so they are translated to flat keys and prefixed with `storage.`; other keys pass through; unset options add no property) and `LanceCommonConfig.getStorageOptions`/`toReadOptions`/`toWriteParams` (shared by sink and catalog; lance-core resolves credentials per call, so every remote operation must carry them; null becomes an empty map and local paths are unchanged). On the `FragmentConverter.reconvert` signature note: it is a connector-internal helper with no callers outside the connector (per your source scan as well), so I kept the single 6-arg form instead of adding a forwarding overload. -- 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]
