fastflowtransform.executors.query_stats.runtime.duckdb¶
DuckQueryStatsRuntime ¶
Bases: BaseQueryStatsRuntime[QueryStatsExecutor]
DuckDB-specific runtime logic for stats extraction.
Source code in src/fastflowtransform/executors/query_stats/runtime/duckdb.py
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |
record_result ¶
record_result(result, *, timer=None, duration_ms=None, estimated_bytes=None, adapter=None, sql=None, rowcount_extractor=None, extra_stats=None, post_estimate_fn=None)
Collect stats from a result object and record them on the executor.
Either pass a timer (from start_timer) or an explicit duration_ms. If no adapter is given, a simple QueryStats with bytes/duration is recorded.
Source code in src/fastflowtransform/executors/query_stats/runtime/base.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | |