easy_sql.sql_processor.backend.sql_dialect.bigquery
Module Contents
Classes
- class easy_sql.sql_processor.backend.sql_dialect.bigquery.BqSqlDialect(db, sql_expr)
Bases:
digraph inheritanced413a023d7 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "BqSqlDialect" [URL="#easy_sql.sql_processor.backend.sql_dialect.bigquery.BqSqlDialect",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "SqlDialect" -> "BqSqlDialect" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SqlDialect" [URL="../index.html#easy_sql.sql_processor.backend.sql_dialect.SqlDialect",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }easy_sql.sql_processor.backend.sql_dialect.SqlDialect
- Parameters
db (str) –
sql_expr (easy_sql.sql_processor.backend.sql_dialect.SqlExpr) –
- create_partition_automatically(self)
- create_table_like_sql(self, target_table_name, source_table_name, partitions)
- Parameters
target_table_name (str) –
source_table_name (str) –
partitions (List[easy_sql.sql_processor.backend.base.Partition]) –
- Return type
- create_table_sql(self, table_name, select_sql)
- create_table_with_partitions_sql(self, table_name, cols, partitions)
- Parameters
table_name (str) –
cols (List[Dict[str, sqlalchemy.types.TypeEngine]]) –
partitions (List[easy_sql.sql_processor.backend.base.Partition]) –
- create_view_sql(self, table_name, select_sql)
- delete_partition_sql(self, table_name, partitions)
- Parameters
partitions (List[easy_sql.sql_processor.backend.base.Partition]) –
- Return type
- delete_pt_metadata_sql(self, table_name, partitions)
- Parameters
table_name (str) –
partitions (List[easy_sql.sql_processor.backend.base.Partition]) –
- Return type
- extract_partition_cols(self, native_partitions_sql_result)
- insert_data_sql(self, table_name, col_names_expr, select_sql, partitions)
- Parameters
table_name (str) –
col_names_expr (str) –
select_sql (str) –
partitions (List[easy_sql.sql_processor.backend.base.Partition]) –
- insert_pt_metadata_sql(self, table_name, partitions)
- Parameters
table_name (str) –
partitions (List[easy_sql.sql_processor.backend.base.Partition]) –
- Return type
- native_partitions_sql(self, table_name)
- rename_table_sql(self, from_table, to_table)
- rename_view_sql(self, from_table, to_table)
- support_move_individual_partition(self)
- support_static_partition(self)