alamb commented on PR #11827:
URL: https://github.com/apache/datafusion/pull/11827#issuecomment-2350011912

   I just ran this with some new queries on 
https://github.com/apache/datafusion/pull/12438 and this branch goes about 2x 
faster
   
   * Elapsed 9.777 seconds. --> Elapsed 5.361 seconds.
   * Elapsed 6.919 seconds. --> Elapsed 3.952 seconds.
   
   
   ```shell
   ./datafusion-cli-intermediate-state   -f tq1.sql
   DataFusion CLI v41.0.0
   0 row(s) fetched.
   Elapsed 0.019 seconds.
   
   +-------------+---------------------+---+------+------+------+
   | ClientIP    | WatchID             | c | tmin | tp95 | tmax |
   +-------------+---------------------+---+------+------+------+
   | 1611957945  | 6655575552203051303 | 2 | 0    | 0    | 0    |
   | -1402644643 | 8566928176839891583 | 2 | 0    | 0    | 0    |
   +-------------+---------------------+---+------+------+------+
   2 row(s) fetched.
   Elapsed 5.361 seconds.
   
   +-------------+---------------------+---+------+------+------+
   | ClientIP    | WatchID             | c | tmin | tmed | tmax |
   +-------------+---------------------+---+------+------+------+
   | 1611957945  | 6655575552203051303 | 2 | 0    | 0    | 0    |
   | -1402644643 | 8566928176839891583 | 2 | 0    | 0    | 0    |
   +-------------+---------------------+---+------+------+------+
   2 row(s) fetched.
   Elapsed 3.952 seconds.
   
   andrewlamb@Andrews-MacBook-Pro-2 Downloads % datafusion-cli    -f tq1.sql
   datafusion-cli    -f tq1.sql
   DataFusion CLI v41.0.0
   0 row(s) fetched.
   Elapsed 0.020 seconds.
   
   +-------------+---------------------+---+------+------+------+
   | ClientIP    | WatchID             | c | tmin | tp95 | tmax |
   +-------------+---------------------+---+------+------+------+
   | 1611957945  | 6655575552203051303 | 2 | 0    | 0    | 0    |
   | -1402644643 | 8566928176839891583 | 2 | 0    | 0    | 0    |
   +-------------+---------------------+---+------+------+------+
   2 row(s) fetched.
   Elapsed 9.777 seconds.
   
   +-------------+---------------------+---+------+------+------+
   | ClientIP    | WatchID             | c | tmin | tmed | tmax |
   +-------------+---------------------+---+------+------+------+
   | 1611957945  | 6655575552203051303 | 2 | 0    | 0    | 0    |
   | -1402644643 | 8566928176839891583 | 2 | 0    | 0    | 0    |
   +-------------+---------------------+---+------+------+------+
   2 row(s) fetched.
   Elapsed 6.919 seconds.
   ```


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