explain() method shows the execution plan for a DataStore query, helping you understand what operations will be performed and what SQL will be generated.
Basic Usage
Syntax
Output Format
Standard Output
Icons Legend
Verbose Output
Three Execution Phases
The explain output shows operations in three phases:Phase 1: SQL Query Building (Lazy)
Operations that compile to SQL:Phase 2: Execution Point
When a trigger occurs:Phase 3: DataFrame Operations
Operations after execution:Understanding the Plan
Source Information
file()- ClickHouse file() table function'CSVWithNames'- File format with header
Filter Operations
GroupBy and Aggregate
Sort Operations
Limit Operations
Engine Information
When using verbose mode, you can see which engine will be used:Pushdown
- Yes: Operation will be executed at the data source (SQL)
- No: Operation requires pandas execution