andygrove commented on issue #914:
URL: 
https://github.com/apache/datafusion-comet/issues/914#issuecomment-2331980612

   I found the answer. We convert each individual batch time to millis.
   
   ## real time
   
   ```
   > select sum(column_3)/1000000 from 'metrics.csv' where column_2 = 
'CometScanExec_hasNext';
   +--------------------------------------------+
   | sum(metrics.csv.column_3) / Int64(1000000) |
   +--------------------------------------------+
   | 41529                                      |
   +--------------------------------------------+
   1 row(s) fetched. 
   Elapsed 0.011 seconds.
   ```
   
   ## reported time
   
   ```
   > select sum(column_3/1000000) from 'metrics.csv' where column_2 = 
'CometScanExec_hasNext';
   +--------------------------------------------+
   | sum(metrics.csv.column_3 / Int64(1000000)) |
   +--------------------------------------------+
   | 22980                                      |
   +--------------------------------------------+
   1 row(s) fetched. 
   Elapsed 0.008 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