You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "comphead (via GitHub)" <gi...@apache.org> on 2026/04/10 18:08:22 UTC

[I] Scan performance regression after DataFusion 53 [datafusion-comet]

comphead opened a new issue, #3926:
URL: https://github.com/apache/datafusion-comet/issues/3926

   ### Describe the bug
   
   There is observable performance degradation for `native_datafusion` scan operations after #3574.
   It was bunch of crates upgraded `datafusion`, `arrow`, `parquet`, `opendal`, `object_store` that directly involved into scan. 
   
   Currently I can see degradation on HDFS only, the scan task for typical test went from 3 minutes per task to 5 minutes
   
   ### Steps to reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscribe@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Scan performance regression after OpenDAL upgrade [datafusion-comet]

Posted by "mbutrovich (via GitHub)" <gi...@apache.org>.
mbutrovich closed issue #3926: Scan performance regression after OpenDAL upgrade
URL: https://github.com/apache/datafusion-comet/issues/3926


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Scan performance regression after DataFusion 53 [datafusion-comet]

Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #3926:
URL: https://github.com/apache/datafusion-comet/issues/3926#issuecomment-4229940282

   > I found that `get_ranges `in HDFS ObjectStore implementation was reading all byte ranges sequentially inside a single blocking task (one open, then a loop of read_range calls). Parquet tends to issue many scattered ranges per file, so that pattern stacks HDFS latency.
   
   hey @0lai0 that was also my suspicion 


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Scan performance regression after DataFusion 53 [datafusion-comet]

Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #3926:
URL: https://github.com/apache/datafusion-comet/issues/3926#issuecomment-4230074674

   I tried local fix on opendal on local HDFS cluster and it seems working


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Scan performance regression after DataFusion 53 [datafusion-comet]

Posted by "0lai0 (via GitHub)" <gi...@apache.org>.
0lai0 commented on issue #3926:
URL: https://github.com/apache/datafusion-comet/issues/3926#issuecomment-4229399707

   I found that `get_ranges `in HDFS ObjectStore implementation was reading all byte ranges sequentially inside a single blocking task (one open, then a loop of read_range calls). Parquet tends to issue many scattered ranges per file, so that pattern stacks HDFS latency.


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Scan performance regression after DataFusion 53 [datafusion-comet]

Posted by "0lai0 (via GitHub)" <gi...@apache.org>.
0lai0 commented on issue #3926:
URL: https://github.com/apache/datafusion-comet/issues/3926#issuecomment-4241037657

   Hi @comphead, thanks for looking into this and opening the upstream PRs in OpenDAL!
   
   I'm not very familiar with the OpenDAL internals, so I'm not sure how much I can contribute on that side. I
   'm wondering:
   1. Is there any workaround we could do on the Comet side in the meantime, while waiting for the OpenDAL fix to land?
   2. Is there anything I can help with, such as testing or validating the fix once it's ready?
   
   Happy to help however I can!


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Scan performance regression after DataFusion 53 [datafusion-comet]

Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #3926:
URL: https://github.com/apache/datafusion-comet/issues/3926#issuecomment-4241065621

   It was not much we can do in Comet unfortunately, unless copy the `OpenDalStore` and stop overriding the `get_ranges`, I came up with solution which utilizes moderate memory and also faster as before, perhaps a little bit more faster


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org


Re: [I] Scan performance regression after DataFusion 53 [datafusion-comet]

Posted by "0lai0 (via GitHub)" <gi...@apache.org>.
0lai0 commented on issue #3926:
URL: https://github.com/apache/datafusion-comet/issues/3926#issuecomment-4229154726

   take


-- 
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: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org