EeshanBembi commented on PR #17867: URL: https://github.com/apache/datafusion/pull/17867#issuecomment-3362305845
> I tried it locally and it's not working, it's always 0% during execution > > data generation: https://github.com/clflushopt/tpchgen-rs/tree/main/tpchgen-cli > > ``` > CREATE EXTERNAL TABLE lineitem > STORED AS PARQUET > LOCATION '/Users/yongting/Code/datafusion-sqlstorm/data/lineitem.parquet'; > > select * from lineitem; > ``` > > I also tried several queries takes longer to execute, the result is the same. Do you have a working example to demo this feature? @2010YOUY01 Thanks for reporting this! The 0% progress issue has been fixed (changes will be in the next commit). **Root Cause**: The metric name extraction was hardcoded, so no metrics were being matched and accumulated. **Fix Applied**: Updated `metrics_poll.rs` to properly extract metric names from all `MetricValue` variants (lines 80-95). **Verification**: Tested with your exact scenario, it now show real progress: - ✅ Row counts update in real-time (e.g., `767,346` → `2,587,863` rows) - ✅ Time tracking works (`00:00` → `00:03`) - ✅ Both linear and Kalman estimators functional The progress bar now works correctly for all query types including your `CREATE EXTERNAL TABLE` + `SELECT` scenario. -- 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]
