DanielLeens commented on issue #13431: URL: https://github.com/apache/seatunnel/issues/13431#issuecomment-7131183546
Classification: A / Connector-V2 Lance remote-storage option propagation. Thanks for the detailed configuration and failure trace. I rechecked current `dev` at `dfdee68897d5f85b5e39d9c9dd8b698d77dc1fd6` and the reported configuration boundary is real. `LanceSinkConfig` retains `lance.write.storage.options`, but `LanceSinkWriter` supplies that map only to the initial `Dataset.create(...)`. The initial existing-dataset open, the open immediately after creation, and the reopen after each append use `Dataset.open(path, allocator)`, whose default `ReadOptions` have no storage options. The flush path also reaches `FragmentConverter.reconvert(...)`, which builds `WriteParams` without the configured storage map before calling `Fragment.create(...)`. The Lance Java API has explicit `ReadOptions.Builder#setStorageOptions(...)` and `WriteParams.Builder#withStorageOptions(...)` paths, so no ambient `AWS_*` variables should be required for any of those remote-I/O calls. Please keep a fix scoped to the Lance connector and carry the same configured, secret-safe options through every read/create/fragment/append path that needs remote object-store access. Do not log the option values or credentials. Before opening a focused PR, please add a deterministic S3-compatible (for example MinIO) regression that provides credentials only through `lance.write.storage.options`, with no ambient AWS credentials. It needs to cover both a fresh dataset and reopening/appending an existing dataset, and verify the written rows can be read back. The test should fail with the current code at an unconfigured open or fragment path, so it proves propagation rather than only dataset creation. Please also state the Lance API/driver version used by the fixture and preserve local-filesystem behavior. Once that narrow regression and propagation boundary are in place, please link the PR here for review. -- 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]
