snowshu.core.compile¶
-
class
snowshu.core.compile.RuntimeSourceCompiler¶ Bases:
object-
static
compile_queries_for_relation()¶ Generates the sql statements for the given relation
- Parameters
relation (Relation) – the relation to generate the sql for
dag (Graph) – the connected dependency graph that contains the relation
source_adapter (BaseSourceAdapter) – the source adapter for the sql dialect
analyze (bool) – whether to generate sql statements for analyze or actaul sampling
- Returns
the given relation with compiled_query populated
- Return type
Relation
-
static