kevinjqliu commented on PR #17790:
URL: https://github.com/apache/iceberg/pull/17790#issuecomment-7050870834

   Thanks for pushing this forward @tom-s-powell! This is a useful addition, 
but right now the PR mixes a few different things together, which makes it hard 
to review:
   
   - **a new public API in `api/`**, which needs the most scrutiny since it's 
hard to change once it's released
   - **4 FileIO implementations**, each with its own quirks (S3 directory 
buckets, GCS paging, ADLS/Hadoop listing directories instead of prefixes)
   - **walker changes**, including a behavior change to the existing 
`listDirRecursivelyWithFileIO`, plus new overloads that nothing calls yet
   
   To me the most logical split follows the dependency order:
   
   1. **API + Hadoop.** Agree on the contract first, with Hadoop as the 
reference implementation since it's tested in core. This is where we should 
figure out whether we can narrow the API, e.g. always `/` and require a 
trailing `/`. That would remove a lot of the complexity in the other 
implementations.
   2. **S3 / GCS / ADLS.** One PR each, all on top of (1). They can be reviewed 
in parallel by folks who know each store.
   3. **Walker + `remove_orphan_files`.** The new walker overload belongs with 
its caller, so we can see how it's actually used. The trailing slash fix to the 
existing walker can be its own small PR at any time.
   
   Happy to keep this PR open as a draft for reference while the smaller ones 
go in. lmk what you think 😄
   


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