alamb commented on PR #26387: URL: https://github.com/apache/datafusion/pull/26387#issuecomment-7017035646
Thank you for the feedback @tschwarzinger In my mind the biggest open question is what the API / policy knobs look like for controlling I/O in parquet I worry that adding something like `progressive_io` is adding some knob that will then be hard to tune. This has come up a bunch recently (and @adriangb and I were talking about it too recently). I will try and find time to write up a coherent "what usecases are we trying to support" type issue shortly so we can discuss an API design more concretely > I think this is a good idea. Maybe in the future we could even have a ternary valued setting (off, adaptive, on). > > Adaptive would only do the oneshot i/o for row groups below a certain size threshold or for filters with a certain selectivity threshold (across row groups). But I think it's best to wait for a use case here. > > I've let Claude do a PoC by integrating one shot I/O into our system (querying graphs stored in Parquet on object storage). Here are some results: > > Dataset Requests Bytes Latency > BSBM 10000 (27 queries) 2660 → 1888 (-29%) 412.6 → 533.0 MiB (+29%) 129.7 → 103.9 s (-20%) > BSBM 1000 (27 queries) 934 → 644 (-31%) 108.6 → 141.2 MiB (+30%) 36.8 → 28.3 s (-23%) > dblp (6 queries) 600 → 415 (-31%) 64.2 → 110.1 MiB (+71%) 30.5 → 20.9 s (-32%) > The last dataset has larger row groups / data pages so I guess this could explain the higher increase. -- 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]
