warrenzhu25 commented on issue #7752:
URL: 
https://github.com/apache/datafusion-comet/issues/7752#issuecomment-7325441614

   I'd like to take this one.
   
   Looking at `main`, the native side already keys ABFS stores on the 
container: since #6753, `object_store_authority` keeps the userinfo for 
`abfs`/`abfss`, and `CometObjectStoreRegistry` registers each container 
separately. `userInfoBearingAuthorityReason` in `DeltaScanSupport` predates 
that and still declines every userinfo-bearing URI.
   
   Plan:
   1. Let `abfs`/`abfss` URIs through `userInfoBearingAuthorityReason`; keep 
declining userinfo on every other scheme (where it can only be credentials and 
the store key drops it).
   2. ABFS auth is resolved for one container and forwarded under global keys, 
so require data files, deletion vectors and the table root to share one ABFS 
container and account, and decline otherwise (e.g. a cross-container shallow 
clone) with the same reason `NativeConfig.extractScanObjectStoreOptions` gives.
   3. Update the stale comments (`mergedObjectStoreOptions`, the native 
`ObjectStoreAuthority` doc), and replace the `DeltaScanContribSuite` tests that 
pin the decline with tests for single-container pass, cross-container decline, 
and non-ABFS userinfo still declining.
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to