ycycse commented on code in PR #773:
URL: https://github.com/apache/tsfile/pull/773#discussion_r3068368311


##########
python/tsfile/dataset/dataframe.py:
##########
@@ -557,14 +576,31 @@ def _load_metadata(self):
         if not self._index.series_refs_ordered:
             raise ValueError("No valid time series found in the provided 
TsFile files")
 
+    def _show_loading_progress(self, done: int, total: int, total_series: int 
= None):
+        if not self._show_progress or total <= 0:
+            return
+
+        if total_series is None:
+            sys.stderr.write(f"\rLoading TsFile shards: {done}/{total}")

Review Comment:
   progress output intentionally goes to stderr to keep stdout clean



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

Reply via email to