alan910127 commented on issue #13586:
URL: https://github.com/apache/datafusion/issues/13586#issuecomment-2509009124

   Hi @Dandandan, I tried profiling the execution with the following command:
   
   ```bash
   CARGO_PROFILE_RELEASE_DEBUG=true cargo flamegraph -o q8.svg -- -f q8.sql
   ```
   
   > Note: I have an `x` directory generated by falsa with
   > ```bash
   > falsa groupby --path-prefix=./x --size MEDIUM --data-format PARQUET
   > ```
   
   From the flamegraph, I see that the `concat_batches` function you mentioned 
only takes < 5% of the total time. Since I'm not very familiar with this type 
of performance optimization, I'm unsure whether this is the primary issue. I 
may need more time to investigate further.


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