SYMBOL INDEX (5289 symbols across 193 files) FILE: .github/scripts/get_integration_test_params.py function get_dialects_from_manual_trigger (line 38) | def get_dialects_from_manual_trigger(trigger: str) -> t.Set[str]: function get_dialects_from_git (line 68) | def get_dialects_from_git(base_ref: str, current_ref: str) -> t.Set[str]: FILE: benchmarks/compare.py function _fmt_time (line 8) | def _fmt_time(seconds): function _indicator (line 16) | def _indicator(ratio): function _diff_text (line 33) | def _diff_text(ratio): function compare (line 42) | def compare(main_file, pr_file): FILE: benchmarks/optimize.py function gen_condition (line 16) | def gen_condition(n): function get_tpch_setup (line 21) | def get_tpch_setup(): function get_tpcds_setup (line 28) | def get_tpcds_setup(): function get_condition_10_setup (line 35) | def get_condition_10_setup(): function get_condition_100_setup (line 39) | def get_condition_100_setup(): function get_condition_1000_setup (line 43) | def get_condition_1000_setup(): function optimize_queries (line 48) | def optimize_queries(expressions, schema): function run_benchmarks (line 53) | def run_benchmarks(): FILE: benchmarks/parse.py function sqlglot_parse (line 190) | def sqlglot_parse(sql): function sqltree_parse (line 196) | def sqltree_parse(sql): function sqlparse_parse (line 202) | def sqlparse_parse(sql): function moz_sql_parser_parse (line 208) | def moz_sql_parser_parse(sql): function sqloxide_parse (line 214) | def sqloxide_parse(sql): function sqlfluff_parse (line 220) | def sqlfluff_parse(sql): function polyglot_sql_parse (line 226) | def polyglot_sql_parse(sql): function _check_parser (line 256) | def _check_parser(parse_fn, queries): function _discover_parsers (line 294) | def _discover_parsers(): function _bench (line 314) | def _bench(name, fn, *args, iterations=5): function _bench_sqlglot (line 330) | def _bench_sqlglot(results): function _bench_third_party (line 340) | def _bench_third_party(results): function _fmt_ratio (line 355) | def _fmt_ratio(ratio): function _fmt_time (line 359) | def _fmt_time(seconds): function _print_table (line 367) | def _print_table(base_parser, all_parsers, results): function _has_so_files (line 412) | def _has_so_files(): function _run_subprocess (line 418) | def _run_subprocess(): function _parse_args (line 431) | def _parse_args(): FILE: pdoc/cli.py function mocked_import (line 17) | def mocked_import(*args, **kwargs): FILE: sqlglot/__init__.py function tokenize (line 90) | def tokenize(sql: str, read: DialectType = None, dialect: DialectType = ... function parse (line 105) | def parse( function parse_one (line 124) | def parse_one(sql: str, *, into: t.Type[E], **opts) -> E: ... function parse_one (line 128) | def parse_one(sql: str, **opts) -> Expr: ... function parse_one (line 131) | def parse_one( function transpile (line 165) | def transpile( FILE: sqlglot/dialects/__init__.py function __getattr__ (line 119) | def __getattr__(name): FILE: sqlglot/dialects/athena.py class Athena (line 11) | class Athena(Dialect): method __init__ (line 49) | def __init__(self, **kwargs): method tokenize (line 55) | def tokenize(self, sql: str, **opts) -> t.List[Token]: method parse (line 60) | def parse(self, sql: str, **opts) -> t.List[t.Optional[exp.Expr]]: method parse_into (line 65) | def parse_into( method generate (line 72) | def generate(self, expression: exp.Expr, copy: bool = True, **opts) ->... class Tokenizer (line 79) | class Tokenizer(tokens.Tokenizer): method __init__ (line 96) | def __init__(self, *args: t.Any, **kwargs: t.Any) -> None: method tokenize (line 105) | def tokenize(self, sql: str) -> t.List[Token]: class Generator (line 115) | class Generator(generator.Generator): method __init__ (line 116) | def __init__(self, *args: t.Any, **kwargs: t.Any) -> None: method generate (line 125) | def generate(self, expression: exp.Expr, copy: bool = True) -> str: function _tokenize_as_hive (line 134) | def _tokenize_as_hive(tokens: t.List[Token]) -> bool: function _generate_as_hive (line 159) | def _generate_as_hive(expression: exp.Expr) -> bool: function _is_iceberg_table (line 185) | def _is_iceberg_table(properties: exp.Properties) -> bool: function _location_property_sql (line 193) | def _location_property_sql(self: Athena.Generator, e: exp.LocationProper... function _partitioned_by_property_sql (line 207) | def _partitioned_by_property_sql(self: Athena.Generator, e: exp.Partitio... class _HiveGenerator (line 222) | class _HiveGenerator(Hive.Generator): method alter_sql (line 223) | def alter_sql(self, expression: exp.Alter) -> str: class _TrinoTokenizer (line 236) | class _TrinoTokenizer(Trino.Tokenizer): class _TrinoGenerator (line 245) | class _TrinoGenerator(Trino.Generator): FILE: sqlglot/dialects/bigquery.py function _derived_table_values_to_unnest (line 52) | def _derived_table_values_to_unnest(self: BigQuery.Generator, expression... function _returnsproperty_sql (line 77) | def _returnsproperty_sql(self: BigQuery.Generator, expression: exp.Retur... function _create_sql (line 86) | def _create_sql(self: BigQuery.Generator, expression: exp.Create) -> str: function _alias_ordered_group (line 104) | def _alias_ordered_group(expression: exp.Expr) -> exp.Expr: function _pushdown_cte_column_names (line 126) | def _pushdown_cte_column_names(expression: exp.Expr) -> exp.Expr: function _array_contains_sql (line 153) | def _array_contains_sql(self: BigQuery.Generator, expression: exp.ArrayC... function _ts_or_ds_add_sql (line 163) | def _ts_or_ds_add_sql(self: BigQuery.Generator, expression: exp.TsOrDsAd... function _ts_or_ds_diff_sql (line 167) | def _ts_or_ds_diff_sql(self: BigQuery.Generator, expression: exp.TsOrDsD... function _unix_to_time_sql (line 174) | def _unix_to_time_sql(self: BigQuery.Generator, expression: exp.UnixToTi... function _str_to_datetime_sql (line 191) | def _str_to_datetime_sql( function _levenshtein_sql (line 210) | def _levenshtein_sql(self: BigQuery.Generator, expression: exp.Levenshte... function _json_extract_sql (line 218) | def _json_extract_sql(self: BigQuery.Generator, expression: JSON_EXTRACT... class BigQuery (line 235) | class BigQuery(Dialect): method normalize_identifier (line 333) | def normalize_identifier(self, expression: E) -> E: class JSONPathTokenizer (line 362) | class JSONPathTokenizer(jsonpath.JSONPathTokenizer): class Tokenizer (line 368) | class Tokenizer(tokens.Tokenizer): class Generator (line 415) | class Generator(generator.Generator): method datetrunc_sql (line 746) | def datetrunc_sql(self, expression: exp.DateTrunc) -> str: method mod_sql (line 751) | def mod_sql(self, expression: exp.Mod) -> str: method column_parts (line 760) | def column_parts(self, expression: exp.Column) -> str: method table_parts (line 770) | def table_parts(self, expression: exp.Table) -> str: method timetostr_sql (line 785) | def timetostr_sql(self, expression: exp.TimeToStr) -> str: method eq_sql (line 801) | def eq_sql(self, expression: exp.EQ) -> str: method attimezone_sql (line 809) | def attimezone_sql(self, expression: exp.AtTimeZone) -> str: method trycast_sql (line 821) | def trycast_sql(self, expression: exp.TryCast) -> str: method bracket_sql (line 824) | def bracket_sql(self, expression: exp.Bracket) -> str: method in_unnest_op (line 854) | def in_unnest_op(self, expression: exp.Unnest) -> str: method version_sql (line 857) | def version_sql(self, expression: exp.Version) -> str: method contains_sql (line 862) | def contains_sql(self, expression: exp.Contains) -> str: method cast_sql (line 872) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... FILE: sqlglot/dialects/clickhouse.py function _unix_to_time_sql (line 36) | def _unix_to_time_sql(self: ClickHouse.Generator, expression: exp.UnixTo... function _lower_func (line 55) | def _lower_func(sql: str) -> str: function _quantile_sql (line 60) | def _quantile_sql(self: ClickHouse.Generator, expression: exp.Quantile) ... function _datetime_delta_sql (line 72) | def _datetime_delta_sql(name: str) -> t.Callable[[Generator, DATETIME_DE... function _timestrtotime_sql (line 88) | def _timestrtotime_sql(self: ClickHouse.Generator, expression: exp.TimeS... function _map_sql (line 140) | def _map_sql(self: ClickHouse.Generator, expression: exp.Map | exp.VarMa... function _json_cast_sql (line 160) | def _json_cast_sql(self: ClickHouse.Generator, expression: exp.JSONCast)... class ClickHouse (line 171) | class ClickHouse(Dialect): method generate_values_aliases (line 201) | def generate_values_aliases(self, expression: exp.Values) -> t.List[ex... class Tokenizer (line 227) | class Tokenizer(tokens.Tokenizer): class Generator (line 286) | class Generator(generator.Generator): method offset_sql (line 521) | def offset_sql(self, expression: exp.Offset) -> str: method strtodate_sql (line 532) | def strtodate_sql(self, expression: exp.StrToDate) -> str: method cast_sql (line 542) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... method trycast_sql (line 550) | def trycast_sql(self, expression: exp.TryCast) -> str: method _jsonpathsubscript_sql (line 558) | def _jsonpathsubscript_sql(self, expression: exp.JSONPathSubscript) ... method likeproperty_sql (line 562) | def likeproperty_sql(self, expression: exp.LikeProperty) -> str: method _any_to_has (line 565) | def _any_to_has( method eq_sql (line 582) | def eq_sql(self, expression: exp.EQ) -> str: method neq_sql (line 585) | def neq_sql(self, expression: exp.NEQ) -> str: method regexpilike_sql (line 588) | def regexpilike_sql(self, expression: exp.RegexpILike) -> str: method datatype_sql (line 593) | def datatype_sql(self, expression: exp.DataType) -> str: method cte_sql (line 625) | def cte_sql(self, expression: exp.CTE) -> str: method after_limit_modifiers (line 633) | def after_limit_modifiers(self, expression: exp.Expr) -> t.List[str]: method placeholder_sql (line 647) | def placeholder_sql(self, expression: exp.Placeholder) -> str: method oncluster_sql (line 650) | def oncluster_sql(self, expression: exp.OnCluster) -> str: method createable_sql (line 653) | def createable_sql(self, expression: exp.Create, locations: t.Defaul... method create_sql (line 671) | def create_sql(self, expression: exp.Create) -> str: method prewhere_sql (line 689) | def prewhere_sql(self, expression: exp.PreWhere) -> str: method indexcolumnconstraint_sql (line 693) | def indexcolumnconstraint_sql(self, expression: exp.IndexColumnConst... method partition_sql (line 705) | def partition_sql(self, expression: exp.Partition) -> str: method partitionid_sql (line 708) | def partitionid_sql(self, expression: exp.PartitionId) -> str: method replacepartition_sql (line 711) | def replacepartition_sql(self, expression: exp.ReplacePartition) -> ... method projectiondef_sql (line 716) | def projectiondef_sql(self, expression: exp.ProjectionDef) -> str: method nestedjsonselect_sql (line 719) | def nestedjsonselect_sql(self, expression: exp.NestedJSONSelect) -> ... method is_sql (line 722) | def is_sql(self, expression: exp.Is) -> str: method in_sql (line 731) | def in_sql(self, expression: exp.In) -> str: method not_sql (line 739) | def not_sql(self, expression: exp.Not) -> str: method values_sql (line 749) | def values_sql(self, expression: exp.Values, values_as_table: bool =... method timestamptrunc_sql (line 762) | def timestamptrunc_sql(self, expression: exp.TimestampTrunc) -> str: FILE: sqlglot/dialects/databricks.py function _jsonextract_sql (line 18) | def _jsonextract_sql( class Databricks (line 26) | class Databricks(Spark): class JSONPathTokenizer (line 40) | class JSONPathTokenizer(Spark.JSONPathTokenizer): class Tokenizer (line 43) | class Tokenizer(Spark.Tokenizer): class Generator (line 52) | class Generator(Spark.Generator): method columndef_sql (line 103) | def columndef_sql(self, expression: exp.ColumnDef, sep: str = " ") -... method jsonpath_sql (line 116) | def jsonpath_sql(self, expression: exp.JSONPath) -> str: method uniform_sql (line 120) | def uniform_sql(self, expression: exp.Uniform) -> str: FILE: sqlglot/dialects/dialect.py class Dialects (line 77) | class Dialects(str, Enum): class NormalizationStrategy (line 115) | class NormalizationStrategy(str, AutoName): class _Dialect (line 134) | class _Dialect(type): method __eq__ (line 137) | def __eq__(cls, other: t.Any) -> bool: method __hash__ (line 147) | def __hash__(cls) -> int: method classes (line 151) | def classes(cls): method _try_load (line 159) | def _try_load(cls, key: str | Dialects) -> None: method __getitem__ (line 213) | def __getitem__(cls, key: str) -> t.Type[Dialect]: method get (line 220) | def get( method __new__ (line 228) | def __new__(cls, clsname, bases, attrs): class Dialect (line 333) | class Dialect(metaclass=_Dialect): method get_or_raise (line 899) | def get_or_raise(cls, dialect: DialectType) -> Dialect: method format_time (line 958) | def format_time(cls, expression: t.Optional[str | exp.Expr]) -> t.Opti... method __init__ (line 971) | def __init__(self, **kwargs) -> None: method __eq__ (line 987) | def __eq__(self, other: t.Any) -> bool: method __hash__ (line 991) | def __hash__(self) -> int: method normalize_identifier (line 995) | def normalize_identifier(self, expression: E) -> E: method case_sensitive (line 1039) | def case_sensitive(self, text: str) -> bool: method can_quote (line 1051) | def can_quote(self, identifier: exp.Identifier, identify: str | bool =... method quote_identifier (line 1084) | def quote_identifier(self, expression: E, identify: bool = True) -> E: method to_json_path (line 1097) | def to_json_path(self, path: t.Optional[exp.Expr]) -> t.Optional[exp.E... method parse (line 1112) | def parse(self, sql: str, **opts) -> t.List[t.Optional[exp.Expr]]: method parse_into (line 1115) | def parse_into( method generate (line 1120) | def generate(self, expression: exp.Expr, copy: bool = True, **opts) ->... method transpile (line 1123) | def transpile(self, sql: str, **opts) -> t.List[str]: method tokenize (line 1129) | def tokenize(self, sql: str, **opts) -> t.List[Token]: method tokenizer (line 1132) | def tokenizer(self, **opts) -> Tokenizer: method jsonpath_tokenizer (line 1135) | def jsonpath_tokenizer(self, **opts) -> JSONPathTokenizer: method parser (line 1138) | def parser(self, **opts) -> Parser: method generator (line 1141) | def generator(self, **opts) -> Generator: method generate_values_aliases (line 1144) | def generate_values_aliases(self, expression: exp.Values) -> t.List[ex... function rename_func (line 1154) | def rename_func(name: str) -> t.Callable[[Generator, exp.Expr], str]: function bracket_to_element_at_sql (line 1158) | def bracket_to_element_at_sql(self: Generator, expression: exp.Bracket) ... function approx_count_distinct_sql (line 1172) | def approx_count_distinct_sql(self: Generator, expression: exp.ApproxDis... function if_sql (line 1176) | def if_sql( function arrow_json_extract_sql (line 1190) | def arrow_json_extract_sql(self: Generator, expression: JSON_EXTRACT_TYP... function inline_array_sql (line 1198) | def inline_array_sql(self: Generator, expression: exp.Expr) -> str: function inline_array_unless_query (line 1202) | def inline_array_unless_query(self: Generator, expression: exp.Expr) -> ... function no_ilike_sql (line 1209) | def no_ilike_sql(self: Generator, expression: exp.ILike) -> str: function no_paren_current_date_sql (line 1217) | def no_paren_current_date_sql(self: Generator, expression: exp.CurrentDa... function no_recursive_cte_sql (line 1222) | def no_recursive_cte_sql(self: Generator, expression: exp.With) -> str: function no_tablesample_sql (line 1229) | def no_tablesample_sql(self: Generator, expression: exp.TableSample) -> ... function no_pivot_sql (line 1234) | def no_pivot_sql(self: Generator, expression: exp.Pivot) -> str: function no_trycast_sql (line 1239) | def no_trycast_sql(self: Generator, expression: exp.TryCast) -> str: function no_comment_column_constraint_sql (line 1243) | def no_comment_column_constraint_sql( function no_map_from_entries_sql (line 1250) | def no_map_from_entries_sql(self: Generator, expression: exp.MapFromEntr... function property_sql (line 1255) | def property_sql(self: Generator, expression: exp.Property) -> str: function strposition_sql (line 1259) | def strposition_sql( function struct_extract_sql (line 1302) | def struct_extract_sql(self: Generator, expression: exp.StructExtract) -... function array_append_sql (line 1308) | def array_append_sql( function generate_series_sql (line 1358) | def generate_series_sql( function array_concat_sql (line 1377) | def array_concat_sql( function var_map_sql (line 1459) | def var_map_sql( function months_between_sql (line 1477) | def months_between_sql(self: Generator, expression: exp.MonthsBetween) -... function build_formatted_time (line 1530) | def build_formatted_time( function time_format (line 1556) | def time_format( function build_date_delta (line 1570) | def build_date_delta( function build_date_delta_with_interval (line 1592) | def build_date_delta_with_interval( function date_trunc_to_time (line 1609) | def date_trunc_to_time(args: t.List) -> exp.DateTrunc | exp.TimestampTrunc: function date_add_interval_sql (line 1618) | def date_add_interval_sql(data_type: str, kind: str) -> t.Callable[[Gene... function timestamptrunc_sql (line 1627) | def timestamptrunc_sql( function no_timestamp_sql (line 1639) | def no_timestamp_sql(self: Generator, expression: exp.Timestamp) -> str: function no_time_sql (line 1656) | def no_time_sql(self: Generator, expression: exp.Time) -> str: function no_datetime_sql (line 1663) | def no_datetime_sql(self: Generator, expression: exp.Datetime) -> str: function left_to_substring_sql (line 1679) | def left_to_substring_sql(self: Generator, expression: exp.Left) -> str: function right_to_substring_sql (line 1687) | def right_to_substring_sql(self: Generator, expression: exp.Left) -> str: function timestrtotime_sql (line 1696) | def timestrtotime_sql( function datestrtodate_sql (line 1715) | def datestrtodate_sql(self: Generator, expression: exp.DateStrToDate) ->... function encode_decode_sql (line 1720) | def encode_decode_sql( function min_or_least (line 1730) | def min_or_least(self: Generator, expression: exp.Min) -> str: function max_or_greatest (line 1735) | def max_or_greatest(self: Generator, expression: exp.Max) -> str: function count_if_to_sum (line 1740) | def count_if_to_sum(self: Generator, expression: exp.CountIf) -> str: function trim_sql (line 1750) | def trim_sql(self: Generator, expression: exp.Trim, default_trim_type: s... function str_to_time_sql (line 1767) | def str_to_time_sql(self: Generator, expression: exp.Expr) -> str: function concat_to_dpipe_sql (line 1771) | def concat_to_dpipe_sql(self: Generator, expression: exp.Concat) -> str: function concat_ws_to_dpipe_sql (line 1775) | def concat_ws_to_dpipe_sql(self: Generator, expression: exp.ConcatWs) ->... function regexp_extract_sql (line 1786) | def regexp_extract_sql( function regexp_replace_sql (line 1799) | def regexp_replace_sql(self: Generator, expression: exp.RegexpReplace) -... function pivot_column_names (line 1805) | def pivot_column_names(aggregations: t.List[exp.Expr], dialect: DialectT... function binary_from_function (line 1829) | def binary_from_function(expr_type: t.Type[B]) -> t.Callable[[t.List], B]: function build_timestamp_trunc (line 1834) | def build_timestamp_trunc(args: t.List) -> exp.TimestampTrunc: function build_trunc (line 1838) | def build_trunc( function any_value_to_max_sql (line 1878) | def any_value_to_max_sql(self: Generator, expression: exp.AnyValue) -> str: function bool_xor_sql (line 1882) | def bool_xor_sql(self: Generator, expression: exp.Xor) -> str: function is_parse_json (line 1888) | def is_parse_json(expression: exp.Expr) -> bool: function isnull_to_is_null (line 1894) | def isnull_to_is_null(args: t.List) -> exp.Expr: function generatedasidentitycolumnconstraint_sql (line 1898) | def generatedasidentitycolumnconstraint_sql( function arg_max_or_min_no_count (line 1906) | def arg_max_or_min_no_count(name: str) -> t.Callable[[Generator, exp.Arg... function ts_or_ds_add_cast (line 1914) | def ts_or_ds_add_cast(expression: exp.TsOrDsAdd) -> exp.TsOrDsAdd: function date_delta_sql (line 1927) | def date_delta_sql(name: str, cast: bool = False) -> t.Callable[[Generat... function date_delta_to_binary_interval_op (line 1942) | def date_delta_to_binary_interval_op( function unit_to_str (line 1972) | def unit_to_str(expression: exp.Expr, default: str = "DAY") -> t.Optiona... function unit_to_var (line 1983) | def unit_to_var(expression: exp.Expr, default: str = "DAY") -> t.Optiona... function map_date_part (line 1994) | def map_date_part(part: exp.Expr, dialect: DialectType = Dialect) -> exp... function map_date_part (line 1999) | def map_date_part( function map_date_part (line 2005) | def map_date_part(part, dialect: DialectType = Dialect): function no_last_day_sql (line 2017) | def no_last_day_sql(self: Generator, expression: exp.LastDay) -> str: function merge_without_target_sql (line 2025) | def merge_without_target_sql(self: Generator, expression: exp.Merge) -> ... function build_json_extract_path (line 2061) | def build_json_extract_path( function json_extract_segments (line 2102) | def json_extract_segments( function json_path_key_only_name (line 2133) | def json_path_key_only_name(self: Generator, expression: exp.JSONPathKey... function filter_array_using_unnest (line 2140) | def filter_array_using_unnest( function array_compact_sql (line 2161) | def array_compact_sql(self: Generator, expression: exp.ArrayCompact) -> ... function remove_from_array_using_filter (line 2172) | def remove_from_array_using_filter(self: Generator, expression: exp.Arra... function to_number_with_nls_param (line 2210) | def to_number_with_nls_param(self: Generator, expression: exp.ToNumber) ... function build_default_decimal_type (line 2219) | def build_default_decimal_type( function build_timestamp_from_parts (line 2232) | def build_timestamp_from_parts(args: t.List) -> exp.Func: function sha256_sql (line 2241) | def sha256_sql(self: Generator, expression: exp.SHA2) -> str: function sha2_digest_sql (line 2245) | def sha2_digest_sql(self: Generator, expression: exp.SHA2Digest) -> str: function sequence_sql (line 2249) | def sequence_sql(self: Generator, expression: exp.GenerateSeries | exp.G... function build_like (line 2297) | def build_like(expr_type: t.Type[E], not_like: bool = False) -> t.Callab... function build_regexp_extract (line 2312) | def build_regexp_extract(expr_type: t.Type[E]) -> t.Callable[[t.List, Di... function explode_to_unnest_sql (line 2334) | def explode_to_unnest_sql(self: Generator, expression: exp.Lateral) -> str: function timestampdiff_sql (line 2372) | def timestampdiff_sql(self: Generator, expression: exp.DatetimeDiff | ex... function no_make_interval_sql (line 2376) | def no_make_interval_sql(self: Generator, expression: exp.MakeInterval, ... function length_or_char_length_sql (line 2387) | def length_or_char_length_sql(self: Generator, expression: exp.Length) -... function groupconcat_sql (line 2392) | def groupconcat_sql( function build_timetostr_or_tochar (line 2439) | def build_timetostr_or_tochar(args: t.List, dialect: DialectType) -> exp... function build_replace_with_optional_replacement (line 2454) | def build_replace_with_optional_replacement(args: t.List) -> exp.Replace: function regexp_replace_global_modifier (line 2462) | def regexp_replace_global_modifier(expression: exp.RegexpReplace) -> exp... function getbit_sql (line 2478) | def getbit_sql(self: Generator, expression: exp.Getbit) -> str: function jarowinkler_similarity (line 2499) | def jarowinkler_similarity(func: str) -> t.Callable[[Generator, exp.Jaro... FILE: sqlglot/dialects/doris.py function _lag_lead_sql (line 15) | def _lag_lead_sql(self, expression: exp.Lag | exp.Lead) -> str: class Doris (line 24) | class Doris(MySQL): class Generator (line 31) | class Generator(MySQL.Generator): method uniquekeyproperty_sql (line 567) | def uniquekeyproperty_sql( method partitionrange_sql (line 576) | def partitionrange_sql(self, expression: exp.PartitionRange) -> str: method partitionbyrangepropertydynamic_sql (line 593) | def partitionbyrangepropertydynamic_sql( method partitionedbyproperty_sql (line 609) | def partitionedbyproperty_sql(self, expression: exp.PartitionedByPro... method table_sql (line 615) | def table_sql(self, expression: exp.Table, sep: str = " AS ") -> str: FILE: sqlglot/dialects/dremio.py function _date_delta_sql (line 16) | def _date_delta_sql(name: str) -> t.Callable[[Dremio.Generator, DATE_DEL... class Dremio (line 33) | class Dremio(Dialect): class Tokenizer (line 90) | class Tokenizer(tokens.Tokenizer): class Generator (line 95) | class Generator(generator.Generator): method datatype_sql (line 131) | def datatype_sql(self, expression: exp.DataType) -> str: method cast_sql (line 143) | def cast_sql(self, expression: exp.Cast, safe_prefix: str | None = N... FILE: sqlglot/dialects/drill.py function _str_to_date (line 19) | def _str_to_date(self: Drill.Generator, expression: exp.StrToDate) -> str: class Drill (line 27) | class Drill(Dialect): class Tokenizer (line 70) | class Tokenizer(tokens.Tokenizer): class Generator (line 79) | class Generator(generator.Generator): FILE: sqlglot/dialects/druid.py class Druid (line 6) | class Druid(Dialect): class Generator (line 9) | class Generator(generator.Generator): FILE: sqlglot/dialects/duckdb.py function _apply_base64_alphabet_replacements (line 97) | def _apply_base64_alphabet_replacements( function _base64_decode_sql (line 126) | def _base64_decode_sql(self: DuckDB.Generator, expression: exp.Expr, to_... function _last_day_sql (line 148) | def _last_day_sql(self: DuckDB.Generator, expression: exp.LastDay) -> str: function _is_nanosecond_unit (line 201) | def _is_nanosecond_unit(unit: t.Optional[exp.Expr]) -> bool: function _handle_nanosecond_diff (line 205) | def _handle_nanosecond_diff( function _to_boolean_sql (line 220) | def _to_boolean_sql(self: DuckDB.Generator, expression: exp.ToBoolean) -... function _date_sql (line 274) | def _date_sql(self: DuckDB.Generator, expression: exp.Date) -> str: function _timediff_sql (line 292) | def _timediff_sql(self: DuckDB.Generator, expression: exp.TimeDiff) -> str: function _date_delta_to_binary_interval_op (line 306) | def _date_delta_to_binary_interval_op( function _array_insert_sql (line 346) | def _array_insert_sql(self: DuckDB.Generator, expression: exp.ArrayInser... function _array_remove_at_sql (line 440) | def _array_remove_at_sql(self: DuckDB.Generator, expression: exp.ArrayRe... function _array_sort_sql (line 531) | def _array_sort_sql(self: DuckDB.Generator, expression: exp.ArraySort) -... function _array_contains_sql (line 535) | def _array_contains_sql(self: DuckDB.Generator, expression: exp.ArrayCon... function _array_overlaps_sql (line 551) | def _array_overlaps_sql(self: DuckDB.Generator, expression: exp.ArrayOve... function _struct_sql (line 593) | def _struct_sql(self: DuckDB.Generator, expression: exp.Struct) -> str: function _datatype_sql (line 640) | def _datatype_sql(self: DuckDB.Generator, expression: exp.DataType) -> str: function _json_format_sql (line 651) | def _json_format_sql(self: DuckDB.Generator, expression: exp.JSONFormat)... function _build_seq_expression (line 656) | def _build_seq_expression(base: exp.Expr, byte_width: int, signed: bool)... function _seq_to_range_in_generator (line 671) | def _seq_to_range_in_generator(expression: exp.Expr) -> exp.Expr: function _seq_sql (line 699) | def _seq_sql(self: DuckDB.Generator, expression: exp.Func, byte_width: i... function _unix_to_time_sql (line 720) | def _unix_to_time_sql(self: DuckDB.Generator, expression: exp.UnixToTime... function _arrow_json_extract_sql (line 753) | def _arrow_json_extract_sql(self: DuckDB.Generator, expression: JSON_EXT... function _implicit_datetime_cast (line 762) | def _implicit_datetime_cast( function _week_unit_to_dow (line 775) | def _week_unit_to_dow(unit: t.Optional[exp.Expr]) -> t.Optional[int]: function _build_week_trunc_expression (line 802) | def _build_week_trunc_expression( function _date_diff_sql (line 841) | def _date_diff_sql(self: DuckDB.Generator, expression: exp.DateDiff) -> ... function _generate_datetime_array_sql (line 869) | def _generate_datetime_array_sql( function _json_extract_value_array_sql (line 891) | def _json_extract_value_array_sql( function _cast_to_varchar (line 899) | def _cast_to_varchar(arg: t.Optional[exp.Expr]) -> t.Optional[exp.Expr]: function _cast_to_boolean (line 905) | def _cast_to_boolean(arg: t.Optional[exp.Expr]) -> t.Optional[exp.Expr]: function _is_binary (line 911) | def _is_binary(arg: exp.Expr) -> bool: function _gen_with_cast_to_blob (line 919) | def _gen_with_cast_to_blob(self: DuckDB.Generator, expression: exp.Expr,... function _cast_to_bit (line 926) | def _cast_to_bit(arg: exp.Expr) -> exp.Expr: function _prepare_binary_bitwise_args (line 936) | def _prepare_binary_bitwise_args(expression: exp.Binary) -> None: function _day_navigation_sql (line 943) | def _day_navigation_sql( function _anyvalue_sql (line 1013) | def _anyvalue_sql(self: DuckDB.Generator, expression: exp.AnyValue) -> str: function _bitwise_agg_sql (line 1022) | def _bitwise_agg_sql( function _literal_sql_with_ws_chr (line 1055) | def _literal_sql_with_ws_chr(self: DuckDB.Generator, literal: str) -> str: function _escape_regex_metachars (line 1073) | def _escape_regex_metachars( function _build_capitalization_sql (line 1101) | def _build_capitalization_sql( function _initcap_sql (line 1138) | def _initcap_sql(self: DuckDB.Generator, expression: exp.Initcap) -> str: function _boolxor_agg_sql (line 1151) | def _boolxor_agg_sql(self: DuckDB.Generator, expression: exp.BoolxorAgg)... function _bitshift_sql (line 1166) | def _bitshift_sql( function _scale_rounding_sql (line 1202) | def _scale_rounding_sql( function _ceil_floor (line 1243) | def _ceil_floor(self: DuckDB.Generator, expression: exp.Floor | exp.Ceil... function _regr_val_sql (line 1250) | def _regr_val_sql( function _maybe_corr_null_to_false (line 1304) | def _maybe_corr_null_to_false( function _date_from_parts_sql (line 1318) | def _date_from_parts_sql(self, expression: exp.DateFromParts) -> str: function _round_arg (line 1349) | def _round_arg(arg: exp.Expr, round_input: t.Optional[bool] = None) -> e... function _boolnot_sql (line 1355) | def _boolnot_sql(self: DuckDB.Generator, expression: exp.Boolnot) -> str: function _booland_sql (line 1360) | def _booland_sql(self: DuckDB.Generator, expression: exp.Booland) -> str: function _boolor_sql (line 1367) | def _boolor_sql(self: DuckDB.Generator, expression: exp.Boolor) -> str: function _xor_sql (line 1374) | def _xor_sql(self: DuckDB.Generator, expression: exp.Xor) -> str: function _explode_to_unnest_sql (line 1387) | def _explode_to_unnest_sql(self: DuckDB.Generator, expression: exp.Later... function _sha_sql (line 1416) | def _sha_sql( class DuckDB (line 1443) | class DuckDB(Dialect): method to_json_path (line 1481) | def to_json_path(self, path: t.Optional[exp.Expr]) -> t.Optional[exp.E... class Tokenizer (line 1493) | class Tokenizer(tokens.Tokenizer): class Generator (line 1550) | class Generator(generator.Generator): method _array_bag_sql (line 2257) | def _array_bag_sql(self, condition: exp.Expr, arr1: exp.Expr, arr2: ... method timeslice_sql (line 2263) | def timeslice_sql(self: DuckDB.Generator, expression: exp.TimeSlice)... method bitmapbucketnumber_sql (line 2299) | def bitmapbucketnumber_sql( method bitmapbitposition_sql (line 2326) | def bitmapbitposition_sql(self: DuckDB.Generator, expression: exp.Bi... method bitmapconstructagg_sql (line 2349) | def bitmapconstructagg_sql( method nthvalue_sql (line 2363) | def nthvalue_sql(self: DuckDB.Generator, expression: exp.NthValue) -... method randstr_sql (line 2370) | def randstr_sql(self: DuckDB.Generator, expression: exp.Randstr) -> ... method zipf_sql (line 2397) | def zipf_sql(self: DuckDB.Generator, expression: exp.Zipf) -> str: method tobinary_sql (line 2424) | def tobinary_sql(self: DuckDB.Generator, expression: exp.ToBinary) -... method _greatest_least_sql (line 2461) | def _greatest_least_sql( method generator_sql (line 2487) | def generator_sql(self, expression: exp.Generator) -> str: method greatest_sql (line 2501) | def greatest_sql(self: DuckDB.Generator, expression: exp.Greatest) -... method least_sql (line 2504) | def least_sql(self: DuckDB.Generator, expression: exp.Least) -> str: method lambda_sql (line 2507) | def lambda_sql( method show_sql (line 2520) | def show_sql(self, expression: exp.Show) -> str: method sortarray_sql (line 2523) | def sortarray_sql(self, expression: exp.SortArray) -> str: method install_sql (line 2550) | def install_sql(self, expression: exp.Install) -> str: method approxtopk_sql (line 2557) | def approxtopk_sql(self, expression: exp.ApproxTopK) -> str: method fromiso8601timestamp_sql (line 2563) | def fromiso8601timestamp_sql(self, expression: exp.FromISO8601Timest... method strposition_sql (line 2566) | def strposition_sql(self, expression: exp.StrPosition) -> str: method strtotime_sql (line 2581) | def strtotime_sql(self, expression: exp.StrToTime) -> str: method strtodate_sql (line 2606) | def strtodate_sql(self, expression: exp.StrToDate) -> str: method tsordstotime_sql (line 2616) | def tsordstotime_sql(self, expression: exp.TsOrDsToTime) -> str: method currentdate_sql (line 2633) | def currentdate_sql(self, expression: exp.CurrentDate) -> str: method parsejson_sql (line 2643) | def parsejson_sql(self, expression: exp.ParseJSON) -> str: method trunc_sql (line 2650) | def trunc_sql(self, expression: exp.Trunc) -> str: method normal_sql (line 2653) | def normal_sql(self, expression: exp.Normal) -> str: method uniform_sql (line 2679) | def uniform_sql(self, expression: exp.Uniform) -> str: method timefromparts_sql (line 2728) | def timefromparts_sql(self, expression: exp.TimeFromParts) -> str: method extract_sql (line 2774) | def extract_sql(self, expression: exp.Extract) -> str: method timestampfromparts_sql (line 2843) | def timestampfromparts_sql(self, expression: exp.TimestampFromParts)... method timestampltzfromparts_sql (line 2872) | def timestampltzfromparts_sql(self, expression: exp.TimestampLtzFrom... method timestamptzfromparts_sql (line 2881) | def timestamptzfromparts_sql(self, expression: exp.TimestampTzFromPa... method tablesample_sql (line 2899) | def tablesample_sql( method columndef_sql (line 2919) | def columndef_sql(self, expression: exp.ColumnDef, sep: str = " ") -... method join_sql (line 2924) | def join_sql(self, expression: exp.Join) -> str: method countif_sql (line 2941) | def countif_sql(self, expression: exp.CountIf) -> str: method bracket_sql (line 2948) | def bracket_sql(self, expression: exp.Bracket) -> str: method withingroup_sql (line 2970) | def withingroup_sql(self, expression: exp.WithinGroup) -> str: method length_sql (line 3012) | def length_sql(self, expression: exp.Length) -> str: method _validate_regexp_flags (line 3039) | def _validate_regexp_flags( method regexpcount_sql (line 3071) | def regexpcount_sql(self, expression: exp.RegexpCount) -> str: method regexpreplace_sql (line 3105) | def regexpreplace_sql(self, expression: exp.RegexpReplace) -> str: method regexplike_sql (line 3156) | def regexplike_sql(self, expression: exp.RegexpLike) -> str: method levenshtein_sql (line 3181) | def levenshtein_sql(self, expression: exp.Levenshtein) -> str: method pad_sql (line 3193) | def pad_sql(self, expression: exp.Pad) -> str: method minhash_sql (line 3224) | def minhash_sql(self, expression: exp.Minhash) -> str: method minhashcombine_sql (line 3238) | def minhashcombine_sql(self, expression: exp.MinhashCombine) -> str: method approximatesimilarity_sql (line 3243) | def approximatesimilarity_sql(self, expression: exp.ApproximateSimil... method arraydistinct_sql (line 3250) | def arraydistinct_sql(self, expression: exp.ArrayDistinct) -> str: method arrayintersect_sql (line 3270) | def arrayintersect_sql(self, expression: exp.ArrayIntersect) -> str: method arrayexcept_sql (line 3279) | def arrayexcept_sql(self, expression: exp.ArrayExcept) -> str: method arrayslice_sql (line 3287) | def arrayslice_sql(self, expression: exp.ArraySlice) -> str: method arrayszip_sql (line 3321) | def arrayszip_sql(self, expression: exp.ArraysZip) -> str: method lower_sql (line 3374) | def lower_sql(self, expression: exp.Lower) -> str: method upper_sql (line 3378) | def upper_sql(self, expression: exp.Upper) -> str: method reverse_sql (line 3382) | def reverse_sql(self, expression: exp.Reverse) -> str: method right_sql (line 3386) | def right_sql(self, expression: exp.Right) -> str: method rand_sql (line 3405) | def rand_sql(self, expression: exp.Rand) -> str: method base64encode_sql (line 3425) | def base64encode_sql(self, expression: exp.Base64Encode) -> str: method replace_sql (line 3465) | def replace_sql(self, expression: exp.Replace) -> str: method _bitwise_op (line 3474) | def _bitwise_op(self, expression: exp.Binary, op: str) -> str: method bitwisexor_sql (line 3479) | def bitwisexor_sql(self, expression: exp.BitwiseXor) -> str: method objectinsert_sql (line 3484) | def objectinsert_sql(self, expression: exp.ObjectInsert) -> str: method mapcat_sql (line 3499) | def mapcat_sql(self, expression: exp.MapCat) -> str: method mapcontainskey_sql (line 3507) | def mapcontainskey_sql(self, expression: exp.MapContainsKey) -> str: method mapdelete_sql (line 3512) | def mapdelete_sql(self, expression: exp.MapDelete) -> str: method mappick_sql (line 3528) | def mappick_sql(self, expression: exp.MapPick) -> str: method mapsize_sql (line 3551) | def mapsize_sql(self, expression: exp.MapSize) -> str: method mapinsert_sql (line 3555) | def mapinsert_sql(self, expression: exp.MapInsert) -> str: method startswith_sql (line 3580) | def startswith_sql(self, expression: exp.StartsWith) -> str: method space_sql (line 3587) | def space_sql(self, expression: exp.Space) -> str: method tablefromrows_sql (line 3596) | def tablefromrows_sql(self, expression: exp.TableFromRows) -> str: method unnest_sql (line 3609) | def unnest_sql(self, expression: exp.Unnest) -> str: method ignorenulls_sql (line 3631) | def ignorenulls_sql(self, expression: exp.IgnoreNulls) -> str: method split_sql (line 3647) | def split_sql(self, expression: exp.Split) -> str: method splitpart_sql (line 3667) | def splitpart_sql(self, expression: exp.SplitPart) -> str: method respectnulls_sql (line 3727) | def respectnulls_sql(self, expression: exp.RespectNulls) -> str: method arraytostring_sql (line 3736) | def arraytostring_sql(self, expression: exp.ArrayToString) -> str: method _regexp_extract_sql (line 3778) | def _regexp_extract_sql(self, expression: exp.RegexpExtract | exp.Re... method regexpextract_sql (line 3830) | def regexpextract_sql(self, expression: exp.RegexpExtract) -> str: method regexpextractall_sql (line 3833) | def regexpextractall_sql(self, expression: exp.RegexpExtractAll) -> ... method regexpinstr_sql (line 3836) | def regexpinstr_sql(self, expression: exp.RegexpInstr) -> str: method numbertostr_sql (line 3921) | def numbertostr_sql(self, expression: exp.NumberToStr) -> str: method autoincrementcolumnconstraint_sql (line 3929) | def autoincrementcolumnconstraint_sql(self, _) -> str: method aliases_sql (line 3933) | def aliases_sql(self, expression: exp.Aliases) -> str: method posexplode_sql (line 3940) | def posexplode_sql(self, expression: exp.Posexplode) -> str: method addmonths_sql (line 3978) | def addmonths_sql(self, expression: exp.AddMonths) -> str: method format_sql (line 4037) | def format_sql(self, expression: exp.Format) -> str: method hexstring_sql (line 4043) | def hexstring_sql( method datetrunc_sql (line 4049) | def datetrunc_sql(self, expression: exp.DateTrunc) -> str: method timestamptrunc_sql (line 4072) | def timestamptrunc_sql(self, expression: exp.TimestampTrunc) -> str: method trim_sql (line 4105) | def trim_sql(self, expression: exp.Trim) -> str: method round_sql (line 4113) | def round_sql(self, expression: exp.Round) -> str: method strtok_sql (line 4136) | def strtok_sql(self, expression: exp.Strtok) -> str: method approxquantile_sql (line 4199) | def approxquantile_sql(self, expression: exp.ApproxQuantile) -> str: method approxquantiles_sql (line 4208) | def approxquantiles_sql(self, expression: exp.ApproxQuantiles) -> str: method jsonextractscalar_sql (line 4245) | def jsonextractscalar_sql(self, expression: exp.JSONExtractScalar) -... method bitwisenot_sql (line 4252) | def bitwisenot_sql(self, expression: exp.BitwiseNot) -> str: method window_sql (line 4269) | def window_sql(self, expression: exp.Window) -> str: method filter_sql (line 4278) | def filter_sql(self, expression: exp.Filter) -> str: method _corr_sql (line 4284) | def _corr_sql( FILE: sqlglot/dialects/dune.py class Dune (line 9) | class Dune(Trino): class Tokenizer (line 12) | class Tokenizer(Trino.Tokenizer): class Generator (line 15) | class Generator(Trino.Generator): FILE: sqlglot/dialects/exasol.py function _sha2_sql (line 23) | def _sha2_sql(self: Exasol.Generator, expression: exp.SHA2) -> str: function _date_diff_sql (line 29) | def _date_diff_sql(self: Exasol.Generator, expression: exp.DateDiff | ex... function _add_local_prefix_for_aliases (line 40) | def _add_local_prefix_for_aliases(expression: exp.Expr) -> exp.Expr: function _trunc_sql (line 89) | def _trunc_sql(self: Exasol.Generator, kind: str, expression: exp.DateTr... function _date_trunc_sql (line 102) | def _date_trunc_sql(self: Exasol.Generator, expression: exp.DateTrunc) -... function _timestamp_trunc_sql (line 106) | def _timestamp_trunc_sql(self: Exasol.Generator, expression: exp.DateTru... function is_case_insensitive (line 110) | def is_case_insensitive(node: exp.Expr) -> bool: function _substring_index_sql (line 114) | def _substring_index_sql(self: Exasol.Generator, expression: exp.Substri... function _qualify_unscoped_star (line 151) | def _qualify_unscoped_star(expression: exp.Expr) -> exp.Expr: function _add_date_sql (line 210) | def _add_date_sql(self: Exasol.Generator, expression: DATE_ADD_OR_SUB) -... function _group_by_all (line 233) | def _group_by_all(expression: exp.Expr) -> exp.Expr: class Exasol (line 266) | class Exasol(Dialect): class Tokenizer (line 305) | class Tokenizer(tokens.Tokenizer): class Generator (line 321) | class Generator(generator.Generator): method datatype_sql (line 352) | def datatype_sql(self, expression: exp.DataType) -> str: method converttimezone_sql (line 929) | def converttimezone_sql(self, expression: exp.ConvertTimezone) -> str: method if_sql (line 937) | def if_sql(self, expression: exp.If) -> str: method collate_sql (line 943) | def collate_sql(self, expression: exp.Collate) -> str: method jsonextract_sql (line 946) | def jsonextract_sql(self, expression: exp.JSONExtract) -> str: method regexplike_sql (line 958) | def regexplike_sql(self, expression: exp.RegexpLike) -> str: FILE: sqlglot/dialects/fabric.py function _cap_data_type_precision (line 11) | def _cap_data_type_precision(expression: exp.DataType, max_precision: in... function _add_default_precision_to_varchar (line 31) | def _add_default_precision_to_varchar(expression: exp.Expr) -> exp.Expr: class Fabric (line 52) | class Fabric(TSQL): class Tokenizer (line 75) | class Tokenizer(TSQL.Tokenizer): class Generator (line 87) | class Generator(TSQL.Generator): method datatype_sql (line 117) | def datatype_sql(self, expression: exp.DataType) -> str: method cast_sql (line 129) | def cast_sql(self, expression: exp.Cast, safe_prefix: str | None = N... method attimezone_sql (line 153) | def attimezone_sql(self, expression: exp.AtTimeZone) -> str: method unixtotime_sql (line 172) | def unixtotime_sql(self, expression: exp.UnixToTime) -> str: FILE: sqlglot/dialects/hive.py function _add_date_sql (line 70) | def _add_date_sql(self: Hive.Generator, expression: DATE_ADD_OR_SUB) -> ... function _date_diff_sql (line 90) | def _date_diff_sql(self: Hive.Generator, expression: exp.DateDiff | exp.... function _json_format_sql (line 114) | def _json_format_sql(self: Hive.Generator, expression: exp.JSONFormat) -... function _array_sort_sql (line 136) | def _array_sort_sql(self: Hive.Generator, expression: exp.ArraySort) -> ... function _str_to_unix_sql (line 140) | def _str_to_unix_sql(self: Hive.Generator, expression: exp.StrToUnix) ->... function _unix_to_time_sql (line 144) | def _unix_to_time_sql(self: Hive.Generator, expression: exp.UnixToTime) ... function _str_to_date_sql (line 153) | def _str_to_date_sql(self: Hive.Generator, expression: exp.StrToDate) ->... function _str_to_time_sql (line 161) | def _str_to_time_sql(self: Hive.Generator, expression: exp.StrToTime) ->... function _to_date_sql (line 169) | def _to_date_sql(self: Hive.Generator, expression: exp.TsOrDsToDate) -> ... class Hive (line 180) | class Hive(Dialect): class JSONPathTokenizer (line 244) | class JSONPathTokenizer(jsonpath.JSONPathTokenizer): class Tokenizer (line 250) | class Tokenizer(tokens.Tokenizer): class Generator (line 287) | class Generator(generator.Generator): method ignorenulls_sql (line 477) | def ignorenulls_sql(self, expression: exp.IgnoreNulls) -> str: method unnest_sql (line 484) | def unnest_sql(self, expression: exp.Unnest) -> str: method _jsonpathkey_sql (line 487) | def _jsonpathkey_sql(self, expression: exp.JSONPathKey) -> str: method parameter_sql (line 494) | def parameter_sql(self, expression: exp.Parameter) -> str: method schema_sql (line 507) | def schema_sql(self, expression: exp.Schema) -> str: method constraint_sql (line 514) | def constraint_sql(self, expression: exp.Constraint) -> str: method rowformatserdeproperty_sql (line 522) | def rowformatserdeproperty_sql(self, expression: exp.RowFormatSerdeP... method arrayagg_sql (line 527) | def arrayagg_sql(self, expression: exp.ArrayAgg) -> str: method trunc_sql (line 537) | def trunc_sql(self, expression: exp.Trunc) -> str: method datatype_sql (line 540) | def datatype_sql(self, expression: exp.DataType) -> str: method version_sql (line 559) | def version_sql(self, expression: exp.Version) -> str: method struct_sql (line 563) | def struct_sql(self, expression: exp.Struct) -> str: method columndef_sql (line 575) | def columndef_sql(self, expression: exp.ColumnDef, sep: str = " ") -... method altercolumn_sql (line 586) | def altercolumn_sql(self, expression: exp.AlterColumn) -> str: method renamecolumn_sql (line 608) | def renamecolumn_sql(self, expression: exp.RenameColumn) -> str: method alterset_sql (line 612) | def alterset_sql(self, expression: exp.AlterSet) -> str: method serdeproperties_sql (line 626) | def serdeproperties_sql(self, expression: exp.SerdeProperties) -> str: method exists_sql (line 632) | def exists_sql(self, expression: exp.Exists) -> str: method timetostr_sql (line 638) | def timetostr_sql(self, expression: exp.TimeToStr) -> str: method fileformatproperty_sql (line 645) | def fileformatproperty_sql(self, expression: exp.FileFormatProperty)... FILE: sqlglot/dialects/materialize.py class Materialize (line 15) | class Materialize(Postgres): class Generator (line 18) | class Generator(Postgres.Generator): method propertyeq_sql (line 37) | def propertyeq_sql(self, expression: exp.PropertyEQ) -> str: method datatype_sql (line 40) | def datatype_sql(self, expression: exp.DataType) -> str: method list_sql (line 52) | def list_sql(self, expression: exp.List) -> str: method tomap_sql (line 58) | def tomap_sql(self, expression: exp.ToMap) -> str: FILE: sqlglot/dialects/mysql.py function _date_trunc_sql (line 34) | def _date_trunc_sql(self: MySQL.Generator, expression: exp.DateTrunc) ->... function _str_to_date_sql (line 58) | def _str_to_date_sql( function _unix_to_time_sql (line 64) | def _unix_to_time_sql(self: MySQL.Generator, expression: exp.UnixToTime)... function date_add_sql (line 78) | def date_add_sql( function _ts_or_ds_to_date_sql (line 91) | def _ts_or_ds_to_date_sql(self: MySQL.Generator, expression: exp.TsOrDsT... function _remove_ts_or_ds_to_date (line 96) | def _remove_ts_or_ds_to_date( class MySQL (line 113) | class MySQL(Dialect): class Tokenizer (line 165) | class Tokenizer(tokens.Tokenizer): class Generator (line 257) | class Generator(generator.Generator): method locate_properties (line 714) | def locate_properties(self, properties: exp.Properties) -> t.Default... method computedcolumnconstraint_sql (line 728) | def computedcolumnconstraint_sql(self, expression: exp.ComputedColum... method array_sql (line 732) | def array_sql(self, expression: exp.Array) -> str: method arraycontainsall_sql (line 736) | def arraycontainsall_sql(self, expression: exp.ArrayContainsAll) -> ... method dpipe_sql (line 740) | def dpipe_sql(self, expression: exp.DPipe) -> str: method extract_sql (line 743) | def extract_sql(self, expression: exp.Extract) -> str: method datatype_sql (line 750) | def datatype_sql(self, expression: exp.DataType) -> str: method jsonarraycontains_sql (line 766) | def jsonarraycontains_sql(self, expression: exp.JSONArrayContains) -... method cast_sql (line 769) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... method show_sql (line 779) | def show_sql(self, expression: exp.Show) -> str: method alterrename_sql (line 830) | def alterrename_sql(self, expression: exp.AlterRename, include_to: b... method altercolumn_sql (line 836) | def altercolumn_sql(self, expression: exp.AlterColumn) -> str: method _prefixed_sql (line 844) | def _prefixed_sql(self, prefix: str, expression: exp.Expr, arg: str)... method _oldstyle_limit_sql (line 848) | def _oldstyle_limit_sql(self, expression: exp.Show) -> str: method timestamptrunc_sql (line 856) | def timestamptrunc_sql(self, expression: exp.TimestampTrunc) -> str: method converttimezone_sql (line 869) | def converttimezone_sql(self, expression: exp.ConvertTimezone) -> str: method attimezone_sql (line 876) | def attimezone_sql(self, expression: exp.AtTimeZone) -> str: method isascii_sql (line 880) | def isascii_sql(self, expression: exp.IsAscii) -> str: method ignorenulls_sql (line 883) | def ignorenulls_sql(self, expression: exp.IgnoreNulls) -> str: method currentschema_sql (line 889) | def currentschema_sql(self, expression: exp.CurrentSchema) -> str: method partition_sql (line 892) | def partition_sql(self, expression: exp.Partition) -> str: method _partition_by_sql (line 898) | def _partition_by_sql( method partitionbyrangeproperty_sql (line 905) | def partitionbyrangeproperty_sql(self, expression: exp.PartitionByRa... method partitionbylistproperty_sql (line 908) | def partitionbylistproperty_sql(self, expression: exp.PartitionByLis... method partitionlist_sql (line 911) | def partitionlist_sql(self, expression: exp.PartitionList) -> str: method partitionrange_sql (line 916) | def partitionrange_sql(self, expression: exp.PartitionRange) -> str: FILE: sqlglot/dialects/oracle.py function _trim_sql (line 19) | def _trim_sql(self: Oracle.Generator, expression: exp.Trim) -> str: class Oracle (line 28) | class Oracle(Dialect): method can_quote (line 65) | def can_quote(self, identifier: exp.Identifier, identify: str | bool =... class Tokenizer (line 72) | class Tokenizer(tokens.Tokenizer): class Generator (line 103) | class Generator(generator.Generator): method currenttimestamp_sql (line 185) | def currenttimestamp_sql(self, expression: exp.CurrentTimestamp) -> ... method offset_sql (line 192) | def offset_sql(self, expression: exp.Offset) -> str: method add_column_sql (line 195) | def add_column_sql(self, expression: exp.Expr) -> str: method queryoption_sql (line 198) | def queryoption_sql(self, expression: exp.QueryOption) -> str: method coalesce_sql (line 205) | def coalesce_sql(self, expression: exp.Coalesce) -> str: method into_sql (line 209) | def into_sql(self, expression: exp.Into) -> str: method hint_sql (line 216) | def hint_sql(self, expression: exp.Hint) -> str: method isascii_sql (line 228) | def isascii_sql(self, expression: exp.IsAscii) -> str: method interval_sql (line 231) | def interval_sql(self, expression: exp.Interval) -> str: method columndef_sql (line 234) | def columndef_sql(self, expression: exp.ColumnDef, sep: str = " ") -... FILE: sqlglot/dialects/postgres.py function _date_add_sql (line 58) | def _date_add_sql(kind: str) -> t.Callable[[Postgres.Generator, DATE_ADD... function _date_diff_sql (line 79) | def _date_diff_sql(self: Postgres.Generator, expression: exp.DateDiff) -... function _substring_sql (line 105) | def _substring_sql(self: Postgres.Generator, expression: exp.Substring) ... function _auto_increment_to_serial (line 116) | def _auto_increment_to_serial(expression: exp.Expr) -> exp.Expr: function _serial_to_generated (line 133) | def _serial_to_generated(expression: exp.Expr) -> exp.Expr: function _json_extract_sql (line 163) | def _json_extract_sql( function _unix_to_time_sql (line 174) | def _unix_to_time_sql(self: Postgres.Generator, expression: exp.UnixToTi... function _levenshtein_sql (line 188) | def _levenshtein_sql(self: Postgres.Generator, expression: exp.Levenshte... function _versioned_anyvalue_sql (line 194) | def _versioned_anyvalue_sql(self: Postgres.Generator, expression: exp.An... function _round_sql (line 203) | def _round_sql(self: Postgres.Generator, expression: exp.Round) -> str: class Postgres (line 224) | class Postgres(Dialect): class Tokenizer (line 274) | class Tokenizer(tokens.Tokenizer): class Generator (line 342) | class Generator(generator.Generator): method lateral_sql (line 374) | def lateral_sql(self, expression: exp.Lateral) -> str: method schemacommentproperty_sql (line 515) | def schemacommentproperty_sql(self, expression: exp.SchemaCommentPro... method commentcolumnconstraint_sql (line 519) | def commentcolumnconstraint_sql(self, expression: exp.CommentColumnC... method columndef_sql (line 523) | def columndef_sql(self, expression: exp.ColumnDef, sep: str = " ") -... method unnest_sql (line 535) | def unnest_sql(self, expression: exp.Unnest) -> str: method bracket_sql (line 566) | def bracket_sql(self, expression: exp.Bracket) -> str: method matchagainst_sql (line 573) | def matchagainst_sql(self, expression: exp.MatchAgainst) -> str: method alterset_sql (line 579) | def alterset_sql(self, expression: exp.AlterSet) -> str: method datatype_sql (line 591) | def datatype_sql(self, expression: exp.DataType) -> str: method cast_sql (line 604) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... method array_sql (line 613) | def array_sql(self, expression: exp.Array) -> str: method computedcolumnconstraint_sql (line 622) | def computedcolumnconstraint_sql(self, expression: exp.ComputedColum... method isascii_sql (line 625) | def isascii_sql(self, expression: exp.IsAscii) -> str: method ignorenulls_sql (line 628) | def ignorenulls_sql(self, expression: exp.IgnoreNulls) -> str: method respectnulls_sql (line 633) | def respectnulls_sql(self, expression: exp.RespectNulls) -> str: method currentschema_sql (line 639) | def currentschema_sql(self, expression: exp.CurrentSchema) -> str: method interval_sql (line 642) | def interval_sql(self, expression: exp.Interval) -> str: method placeholder_sql (line 652) | def placeholder_sql(self, expression: exp.Placeholder) -> str: method arraycontains_sql (line 659) | def arraycontains_sql(self, expression: exp.ArrayContains) -> str: FILE: sqlglot/dialects/presto.py function _initcap_sql (line 44) | def _initcap_sql(self: Presto.Generator, expression: exp.Initcap) -> str: function _no_sort_array (line 55) | def _no_sort_array(self: Presto.Generator, expression: exp.SortArray) ->... function _schema_sql (line 63) | def _schema_sql(self: Presto.Generator, expression: exp.Schema) -> str: function _quantile_sql (line 86) | def _quantile_sql(self: Presto.Generator, expression: exp.Quantile) -> str: function _str_to_time_sql (line 91) | def _str_to_time_sql( function _ts_or_ds_to_date_sql (line 97) | def _ts_or_ds_to_date_sql(self: Presto.Generator, expression: exp.TsOrDs... function _ts_or_ds_add_sql (line 104) | def _ts_or_ds_add_sql(self: Presto.Generator, expression: exp.TsOrDsAdd)... function _ts_or_ds_diff_sql (line 110) | def _ts_or_ds_diff_sql(self: Presto.Generator, expression: exp.TsOrDsDif... function _first_last_sql (line 117) | def _first_last_sql(self: Presto.Generator, expression: exp.Func) -> str: function _unix_to_time_sql (line 131) | def _unix_to_time_sql(self: Presto.Generator, expression: exp.UnixToTime... function _to_int (line 140) | def _to_int(self: Presto.Generator, expression: exp.Expr) -> exp.Expr: function _date_delta_sql (line 150) | def _date_delta_sql( function _explode_to_unnest_sql (line 165) | def _explode_to_unnest_sql(self: Presto.Generator, expression: exp.Later... function amend_exploded_column_table (line 187) | def amend_exploded_column_table(expression: exp.Expr) -> exp.Expr: class Presto (line 215) | class Presto(Dialect): class Tokenizer (line 240) | class Tokenizer(tokens.Tokenizer): class Generator (line 269) | class Generator(generator.Generator): method extract_sql (line 517) | def extract_sql(self, expression: exp.Extract) -> str: method jsonformat_sql (line 542) | def jsonformat_sql(self, expression: exp.JSONFormat) -> str: method md5_sql (line 556) | def md5_sql(self, expression: exp.MD5) -> str: method strtounix_sql (line 569) | def strtounix_sql(self, expression: exp.StrToUnix) -> str: method bracket_sql (line 592) | def bracket_sql(self, expression: exp.Bracket) -> str: method struct_sql (line 597) | def struct_sql(self, expression: exp.Struct) -> str: method interval_sql (line 627) | def interval_sql(self, expression: exp.Interval) -> str: method transaction_sql (line 632) | def transaction_sql(self, expression: exp.Transaction) -> str: method offset_limit_modifiers (line 637) | def offset_limit_modifiers( method create_sql (line 645) | def create_sql(self, expression: exp.Create) -> str: method delete_sql (line 656) | def delete_sql(self, expression: exp.Delete) -> str: method jsonextract_sql (line 678) | def jsonextract_sql(self, expression: exp.JSONExtract) -> str: method groupconcat_sql (line 708) | def groupconcat_sql(self, expression: exp.GroupConcat) -> str: FILE: sqlglot/dialects/prql.py class PRQL (line 9) | class PRQL(Dialect): class Tokenizer (line 12) | class Tokenizer(tokens.Tokenizer): FILE: sqlglot/dialects/redshift.py class Redshift (line 25) | class Redshift(Postgres): class Tokenizer (line 45) | class Tokenizer(Postgres.Tokenizer): class Generator (line 67) | class Generator(Postgres.Generator): method unnest_sql (line 330) | def unnest_sql(self, expression: exp.Unnest) -> str: method cast_sql (line 347) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... method datatype_sql (line 354) | def datatype_sql(self, expression: exp.DataType) -> str: method alterset_sql (line 370) | def alterset_sql(self, expression: exp.AlterSet) -> str: method array_sql (line 380) | def array_sql(self, expression: exp.Array) -> str: method ignorenulls_sql (line 386) | def ignorenulls_sql(self, expression: exp.IgnoreNulls) -> str: method respectnulls_sql (line 389) | def respectnulls_sql(self, expression: exp.RespectNulls) -> str: method explode_sql (line 392) | def explode_sql(self, expression: exp.Explode) -> str: method _unix_to_time_sql (line 396) | def _unix_to_time_sql(self, expression: exp.UnixToTime) -> str: FILE: sqlglot/dialects/risingwave.py class RisingWave (line 10) | class RisingWave(Postgres): class Tokenizer (line 14) | class Tokenizer(Postgres.Tokenizer): class Generator (line 23) | class Generator(Postgres.Generator): method computedcolumnconstraint_sql (line 39) | def computedcolumnconstraint_sql(self, expression: exp.ComputedColum... method datatype_sql (line 42) | def datatype_sql(self, expression: exp.DataType) -> str: FILE: sqlglot/dialects/singlestore.py class SingleStore (line 23) | class SingleStore(MySQL): class Tokenizer (line 55) | class Tokenizer(MySQL.Tokenizer): class Generator (line 76) | class Generator(MySQL.Generator): method _unicode_substitute (line 83) | def _unicode_substitute(m: re.Match[str]) -> str: method jsonextractscalar_sql (line 1473) | def jsonextractscalar_sql(self, expression: exp.JSONExtractScalar) -... method jsonbextractscalar_sql (line 1478) | def jsonbextractscalar_sql(self, expression: exp.JSONBExtractScalar)... method jsonextractarray_sql (line 1483) | def jsonextractarray_sql(self, expression: exp.JSONExtractArray) -> ... method jsonvalue_sql (line 1488) | def jsonvalue_sql(self, expression: exp.JSONValue) -> str: method all_sql (line 1501) | def all_sql(self, expression: exp.All) -> str: method jsonarraycontains_sql (line 1505) | def jsonarraycontains_sql(self, expression: exp.JSONArrayContains) -... method datatype_sql (line 1520) | def datatype_sql(self, expression: exp.DataType) -> str: method collate_sql (line 1561) | def collate_sql(self, expression: exp.Collate) -> str: method currentdate_sql (line 1566) | def currentdate_sql(self, expression: exp.CurrentDate) -> str: method currenttime_sql (line 1575) | def currenttime_sql(self, expression: exp.CurrentTime) -> str: method currenttimestamp_sql (line 1586) | def currenttimestamp_sql(self, expression: exp.CurrentTimestamp) -> ... method standardhash_sql (line 1597) | def standardhash_sql(self, expression: exp.StandardHash) -> str: method truncatetable_sql (line 1616) | def truncatetable_sql(self, expression: exp.TruncateTable) -> str: method renamecolumn_sql (line 1624) | def renamecolumn_sql(self, expression: exp.RenameColumn) -> str: method altercolumn_sql (line 1630) | def altercolumn_sql(self, expression: exp.AlterColumn) -> str: method computedcolumnconstraint_sql (line 1637) | def computedcolumnconstraint_sql(self, expression: exp.ComputedColum... FILE: sqlglot/dialects/snowflake.py function _build_datediff (line 45) | def _build_datediff(args: t.List) -> exp.DateDiff: function _build_date_time_add (line 54) | def _build_date_time_add(expr_type: t.Type[E]) -> t.Callable[[t.List], E]: function _regexpilike_sql (line 65) | def _regexpilike_sql(self: Snowflake.Generator, expression: exp.RegexpIL... function _unqualify_pivot_columns (line 76) | def _unqualify_pivot_columns(expression: exp.Expr) -> exp.Expr: function _flatten_structured_types_unless_iceberg (line 101) | def _flatten_structured_types_unless_iceberg(expression: exp.Expr) -> ex... function _unnest_generate_date_array (line 120) | def _unnest_generate_date_array(unnest: exp.Unnest) -> None: function _transform_generate_date_array (line 180) | def _transform_generate_date_array(expression: exp.Expr) -> exp.Expr: function _regexpextract_sql (line 204) | def _regexpextract_sql(self, expression: exp.RegexpExtract | exp.RegexpE... function _json_extract_value_array_sql (line 229) | def _json_extract_value_array_sql( function _qualify_unnested_columns (line 245) | def _qualify_unnested_columns(expression: exp.Expr) -> exp.Expr: function _eliminate_dot_variant_lookup (line 341) | def _eliminate_dot_variant_lookup(expression: exp.Expr) -> exp.Expr: class Snowflake (line 375) | class Snowflake(Dialect): method can_quote (line 476) | def can_quote(self, identifier: exp.Identifier, identify: str | bool =... class JSONPathTokenizer (line 485) | class JSONPathTokenizer(jsonpath.JSONPathTokenizer): class Tokenizer (line 491) | class Tokenizer(tokens.Tokenizer): class Generator (line 545) | class Generator(generator.Generator): method sortarray_sql (line 793) | def sortarray_sql(self, expression: exp.SortArray) -> str: method nthvalue_sql (line 800) | def nthvalue_sql(self, expression: exp.NthValue) -> str: method with_properties (line 849) | def with_properties(self, properties: exp.Properties) -> str: method values_sql (line 852) | def values_sql(self, expression: exp.Values, values_as_table: bool =... method datatype_sql (line 858) | def datatype_sql(self, expression: exp.DataType) -> str: method tonumber_sql (line 889) | def tonumber_sql(self, expression: exp.ToNumber) -> str: method timestampfromparts_sql (line 898) | def timestampfromparts_sql(self, expression: exp.TimestampFromParts)... method cast_sql (line 906) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... method trycast_sql (line 914) | def trycast_sql(self, expression: exp.TryCast) -> str: method log_sql (line 930) | def log_sql(self, expression: exp.Log) -> str: method greatest_sql (line 936) | def greatest_sql(self, expression: exp.Greatest) -> str: method least_sql (line 940) | def least_sql(self, expression: exp.Least) -> str: method generator_sql (line 944) | def generator_sql(self, expression: exp.Generator) -> str: method unnest_sql (line 956) | def unnest_sql(self, expression: exp.Unnest) -> str: method show_sql (line 998) | def show_sql(self, expression: exp.Show) -> str: method describe_sql (line 1026) | def describe_sql(self, expression: exp.Describe) -> str: method generatedasidentitycolumnconstraint_sql (line 1041) | def generatedasidentitycolumnconstraint_sql( method cluster_sql (line 1057) | def cluster_sql(self, expression: exp.Cluster) -> str: method struct_sql (line 1060) | def struct_sql(self, expression: exp.Struct) -> str: method approxquantile_sql (line 1083) | def approxquantile_sql(self, expression: exp.ApproxQuantile) -> str: method alterset_sql (line 1086) | def alterset_sql(self, expression: exp.AlterSet) -> str: method strtotime_sql (line 1098) | def strtotime_sql(self, expression: exp.StrToTime): method timestampsub_sql (line 1118) | def timestampsub_sql(self, expression: exp.TimestampSub): method jsonextract_sql (line 1127) | def jsonextract_sql(self, expression: exp.JSONExtract): method timetostr_sql (line 1143) | def timetostr_sql(self, expression: exp.TimeToStr) -> str: method datesub_sql (line 1150) | def datesub_sql(self, expression: exp.DateSub) -> str: method select_sql (line 1159) | def select_sql(self, expression: exp.Select) -> str: method createable_sql (line 1166) | def createable_sql(self, expression: exp.Create, locations: t.Defaul... method arrayagg_sql (line 1188) | def arrayagg_sql(self, expression: exp.ArrayAgg) -> str: method arraytostring_sql (line 1204) | def arraytostring_sql(self, expression: exp.ArrayToString) -> str: method array_sql (line 1207) | def array_sql(self, expression: exp.Array) -> str: method currentdate_sql (line 1233) | def currentdate_sql(self, expression: exp.CurrentDate) -> str: method dot_sql (line 1244) | def dot_sql(self, expression: exp.Dot) -> str: method modelattribute_sql (line 1258) | def modelattribute_sql(self, expression: exp.ModelAttribute) -> str: method format_sql (line 1261) | def format_sql(self, expression: exp.Format) -> str: method splitpart_sql (line 1267) | def splitpart_sql(self, expression: exp.SplitPart) -> str: method uniform_sql (line 1277) | def uniform_sql(self, expression: exp.Uniform) -> str: method window_sql (line 1291) | def window_sql(self, expression: exp.Window) -> str: FILE: sqlglot/dialects/solr.py class Solr (line 9) | class Solr(Dialect): class Tokenizer (line 15) | class Tokenizer(tokens.Tokenizer): FILE: sqlglot/dialects/spark.py function _normalize_partition (line 28) | def _normalize_partition(e: exp.Expr) -> exp.Expr: function _dateadd_sql (line 37) | def _dateadd_sql(self: Spark.Generator, expression: exp.TsOrDsAdd | exp.... function _groupconcat_sql (line 61) | def _groupconcat_sql(self: Spark.Generator, expression: exp.GroupConcat)... class Spark (line 72) | class Spark(Spark2): class Tokenizer (line 78) | class Tokenizer(Spark2.Tokenizer): class Generator (line 94) | class Generator(Spark2.Generator): method ignorenulls_sql (line 165) | def ignorenulls_sql(self, expression: exp.IgnoreNulls) -> str: method bracket_sql (line 168) | def bracket_sql(self, expression: exp.Bracket) -> str: method computedcolumnconstraint_sql (line 175) | def computedcolumnconstraint_sql(self, expression: exp.ComputedColum... method anyvalue_sql (line 178) | def anyvalue_sql(self, expression: exp.AnyValue) -> str: method datediff_sql (line 181) | def datediff_sql(self, expression: exp.DateDiff) -> str: method placeholder_sql (line 190) | def placeholder_sql(self, expression: exp.Placeholder) -> str: method readparquet_sql (line 196) | def readparquet_sql(self, expression: exp.ReadParquet) -> str: method ifblock_sql (line 204) | def ifblock_sql(self, expression: exp.IfBlock) -> str: FILE: sqlglot/dialects/spark2.py function _map_sql (line 24) | def _map_sql(self: Spark2.Generator, expression: exp.Map) -> str: function _str_to_date (line 34) | def _str_to_date(self: Spark2.Generator, expression: exp.StrToDate) -> str: function _unix_to_time_sql (line 41) | def _unix_to_time_sql(self: Spark2.Generator, expression: exp.UnixToTime... function _unalias_pivot (line 58) | def _unalias_pivot(expression: exp.Expr) -> exp.Expr: function _unqualify_pivot_columns (line 84) | def _unqualify_pivot_columns(expression: exp.Expr) -> exp.Expr: function temporary_storage_provider (line 103) | def temporary_storage_provider(expression: exp.Expr) -> exp.Expr: class Spark2 (line 110) | class Spark2(Hive): class Tokenizer (line 120) | class Tokenizer(Hive.Tokenizer): class Generator (line 130) | class Generator(Hive.Generator): method struct_sql (line 228) | def struct_sql(self, expression: exp.Struct) -> str: method cast_sql (line 233) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... method fileformatproperty_sql (line 249) | def fileformatproperty_sql(self, expression: exp.FileFormatProperty)... method altercolumn_sql (line 255) | def altercolumn_sql(self, expression: exp.AlterColumn) -> str: method renamecolumn_sql (line 265) | def renamecolumn_sql(self, expression: exp.RenameColumn) -> str: method bracket_sql (line 268) | def bracket_sql(self, expression: exp.Bracket) -> str: FILE: sqlglot/dialects/sqlite.py function _transform_create (line 25) | def _transform_create(expression: exp.Expr) -> exp.Expr: function _generated_to_auto_increment (line 59) | def _generated_to_auto_increment(expression: exp.Expr) -> exp.Expr: class SQLite (line 79) | class SQLite(Dialect): class Tokenizer (line 86) | class Tokenizer(tokens.Tokenizer): class Generator (line 106) | class Generator(generator.Generator): method bitwiseandagg_sql (line 206) | def bitwiseandagg_sql(self, expression: exp.BitwiseAndAgg) -> str: method bitwiseoragg_sql (line 210) | def bitwiseoragg_sql(self, expression: exp.BitwiseOrAgg) -> str: method bitwisexoragg_sql (line 214) | def bitwisexoragg_sql(self, expression: exp.BitwiseXorAgg) -> str: method jsonextract_sql (line 218) | def jsonextract_sql(self, expression: exp.JSONExtract) -> str: method dateadd_sql (line 223) | def dateadd_sql(self, expression: exp.DateAdd) -> str: method cast_sql (line 230) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... method trunc_sql (line 241) | def trunc_sql(self, expression: exp.Trunc) -> str: method generateseries_sql (line 244) | def generateseries_sql(self, expression: exp.GenerateSeries) -> str: method datediff_sql (line 259) | def datediff_sql(self, expression: exp.DateDiff) -> str: method groupconcat_sql (line 287) | def groupconcat_sql(self, expression: exp.GroupConcat) -> str: method least_sql (line 305) | def least_sql(self, expression: exp.Least) -> str: method greatest_sql (line 311) | def greatest_sql(self, expression: exp.Greatest) -> str: method transaction_sql (line 317) | def transaction_sql(self, expression: exp.Transaction) -> str: method isascii_sql (line 322) | def isascii_sql(self, expression: exp.IsAscii) -> str: method currentschema_sql (line 326) | def currentschema_sql(self, expression: exp.CurrentSchema) -> str: method ignorenulls_sql (line 329) | def ignorenulls_sql(self, expression: exp.IgnoreNulls) -> str: method respectnulls_sql (line 333) | def respectnulls_sql(self, expression: exp.RespectNulls) -> str: method windowspec_sql (line 336) | def windowspec_sql(self, expression: exp.WindowSpec) -> str: FILE: sqlglot/dialects/starrocks.py function _eliminate_between_in_delete (line 19) | def _eliminate_between_in_delete(expression: exp.Expr) -> exp.Expr: function st_distance_sphere (line 45) | def st_distance_sphere(self, expression: exp.StDistance) -> str: class StarRocks (line 57) | class StarRocks(MySQL): class Tokenizer (line 61) | class Tokenizer(MySQL.Tokenizer): class Generator (line 69) | class Generator(MySQL.Generator): method create_sql (line 287) | def create_sql(self, expression: exp.Create) -> str: method partitionedbyproperty_sql (line 308) | def partitionedbyproperty_sql(self, expression: exp.PartitionedByPro... method cluster_sql (line 324) | def cluster_sql(self, expression: exp.Cluster) -> str: method refreshtriggerproperty_sql (line 329) | def refreshtriggerproperty_sql(self, expression: exp.RefreshTriggerP... FILE: sqlglot/dialects/tableau.py class Tableau (line 8) | class Tableau(Dialect): class Tokenizer (line 11) | class Tokenizer(tokens.Tokenizer): class Generator (line 15) | class Generator(generator.Generator): method if_sql (line 31) | def if_sql(self, expression: exp.If) -> str: method count_sql (line 37) | def count_sql(self, expression: exp.Count) -> str: method strposition_sql (line 43) | def strposition_sql(self, expression: exp.StrPosition) -> str: FILE: sqlglot/dialects/teradata.py function _date_add_sql (line 18) | def _date_add_sql( class Teradata (line 41) | class Teradata(Dialect): class Tokenizer (line 73) | class Tokenizer(tokens.Tokenizer): class Generator (line 112) | class Generator(generator.Generator): method currenttimestamp_sql (line 162) | def currenttimestamp_sql(self, expression: exp.CurrentTimestamp) -> ... method cast_sql (line 166) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str... method trycast_sql (line 173) | def trycast_sql(self, expression: exp.TryCast) -> str: method tablesample_sql (line 176) | def tablesample_sql( method partitionedbyproperty_sql (line 183) | def partitionedbyproperty_sql(self, expression: exp.PartitionedByPro... method update_sql (line 188) | def update_sql(self, expression: exp.Update) -> str: method mod_sql (line 196) | def mod_sql(self, expression: exp.Mod) -> str: method rangen_sql (line 199) | def rangen_sql(self, expression: exp.RangeN) -> str: method lockingstatement_sql (line 207) | def lockingstatement_sql(self, expression: exp.LockingStatement) -> ... method createable_sql (line 214) | def createable_sql(self, expression: exp.Create, locations: t.Defaul... method extract_sql (line 228) | def extract_sql(self, expression: exp.Extract) -> str: method interval_sql (line 236) | def interval_sql(self, expression: exp.Interval) -> str: FILE: sqlglot/dialects/trino.py class Trino (line 16) | class Trino(Presto): class Tokenizer (line 20) | class Tokenizer(Presto.Tokenizer): class Generator (line 28) | class Generator(Presto.Generator): method jsonextract_sql (line 64) | def jsonextract_sql(self, expression: exp.JSONExtract) -> str: FILE: sqlglot/dialects/tsql.py function _format_sql (line 36) | def _format_sql(self: TSQL.Generator, expression: exp.NumberToStr | exp.... function _string_agg_sql (line 51) | def _string_agg_sql(self: TSQL.Generator, expression: exp.GroupConcat) -... function qualify_derived_table_outputs (line 70) | def qualify_derived_table_outputs(expression: exp.Expr) -> exp.Expr: function _json_extract_sql (line 102) | def _json_extract_sql( function _timestrtotime_sql (line 110) | def _timestrtotime_sql(self: TSQL.Generator, expression: exp.TimeStrToTi... class TSQL (line 120) | class TSQL(Dialect): class Tokenizer (line 255) | class Tokenizer(tokens.Tokenizer): class Generator (line 297) | class Generator(generator.Generator): method scope_resolution (line 431) | def scope_resolution(self, rhs: str, scope_name: str) -> str: method select_sql (line 434) | def select_sql(self, expression: exp.Select) -> str: method convert_sql (line 458) | def convert_sql(self, expression: exp.Convert) -> str: method queryoption_sql (line 464) | def queryoption_sql(self, expression: exp.QueryOption) -> str: method lateral_op (line 472) | def lateral_op(self, expression: exp.Lateral) -> str: method splitpart_sql (line 483) | def splitpart_sql(self: TSQL.Generator, expression: exp.SplitPart) -... method extract_sql (line 504) | def extract_sql(self, expression: exp.Extract) -> str: method timefromparts_sql (line 510) | def timefromparts_sql(self, expression: exp.TimeFromParts) -> str: method timestampfromparts_sql (line 523) | def timestampfromparts_sql(self, expression: exp.TimestampFromParts)... method setitem_sql (line 539) | def setitem_sql(self, expression: exp.SetItem) -> str: method boolean_sql (line 547) | def boolean_sql(self, expression: exp.Boolean) -> str: method is_sql (line 555) | def is_sql(self, expression: exp.Is) -> str: method createable_sql (line 560) | def createable_sql(self, expression: exp.Create, locations: t.Defaul... method create_sql (line 572) | def create_sql(self, expression: exp.Create) -> str: method into_sql (line 635) | def into_sql(self, expression: exp.Into) -> str: method count_sql (line 644) | def count_sql(self, expression: exp.Count) -> str: method datediff_sql (line 648) | def datediff_sql(self, expression: exp.DateDiff) -> str: method offset_sql (line 652) | def offset_sql(self, expression: exp.Offset) -> str: method version_sql (line 655) | def version_sql(self, expression: exp.Version) -> str: method returnsproperty_sql (line 670) | def returnsproperty_sql(self, expression: exp.ReturnsProperty) -> str: method returning_sql (line 675) | def returning_sql(self, expression: exp.Returning) -> str: method transaction_sql (line 680) | def transaction_sql(self, expression: exp.Transaction) -> str: method commit_sql (line 687) | def commit_sql(self, expression: exp.Commit) -> str: method rollback_sql (line 698) | def rollback_sql(self, expression: exp.Rollback) -> str: method identifier_sql (line 703) | def identifier_sql(self, expression: exp.Identifier) -> str: method constraint_sql (line 713) | def constraint_sql(self, expression: exp.Constraint) -> str: method length_sql (line 718) | def length_sql(self, expression: exp.Length) -> str: method right_sql (line 721) | def right_sql(self, expression: exp.Right) -> str: method left_sql (line 724) | def left_sql(self, expression: exp.Left) -> str: method _uncast_text (line 727) | def _uncast_text(self, expression: exp.Expr, name: str) -> str: method partition_sql (line 736) | def partition_sql(self, expression: exp.Partition) -> str: method alter_sql (line 739) | def alter_sql(self, expression: exp.Alter) -> str: method drop_sql (line 745) | def drop_sql(self, expression: exp.Drop) -> str: method options_modifier (line 750) | def options_modifier(self, expression: exp.Expr) -> str: method dpipe_sql (line 754) | def dpipe_sql(self, expression: exp.DPipe) -> str: method isascii_sql (line 759) | def isascii_sql(self, expression: exp.IsAscii) -> str: method columndef_sql (line 762) | def columndef_sql(self, expression: exp.ColumnDef, sep: str = " ") -... method coalesce_sql (line 770) | def coalesce_sql(self, expression: exp.Coalesce) -> str: method storedprocedure_sql (line 774) | def storedprocedure_sql(self, expression: exp.StoredProcedure) -> str: method ifblock_sql (line 782) | def ifblock_sql(self, expression: exp.IfBlock) -> str: method whileblock_sql (line 790) | def whileblock_sql(self, expression: exp.WhileBlock) -> str: method execute_sql (line 796) | def execute_sql(self, expression: exp.Execute) -> str: method executesql_sql (line 802) | def executesql_sql(self, expression: exp.ExecuteSql) -> str: FILE: sqlglot/diff.py class Insert (line 24) | class Insert: class Remove (line 31) | class Remove: class Move (line 38) | class Move: class Update (line 46) | class Update: class Keep (line 54) | class Keep: function diff (line 67) | def diff( class ChangeDistiller (line 165) | class ChangeDistiller: method __init__ (line 172) | def __init__(self, f: float = 0.6, t: float = 0.6, dialect: DialectTyp... method diff (line 177) | def diff( method _generate_edit_script (line 202) | def _generate_edit_script(self, matchings: t.Dict[int, int], delta_onl... method _generate_move_edits (line 246) | def _generate_move_edits( method _compute_matching_set (line 265) | def _compute_matching_set(self) -> t.Set[t.Tuple[int, int]]: method _compute_leaf_matching_set (line 310) | def _compute_leaf_matching_set(self) -> t.Set[t.Tuple[int, int]]: method _dice_coefficient (line 344) | def _dice_coefficient(self, source: exp.Expr, target: exp.Expr) -> float: method _bigram_histo (line 359) | def _bigram_histo(self, expression: exp.Expr) -> t.DefaultDict[str, int]: function _get_expression_leaves (line 373) | def _get_expression_leaves(expression: exp.Expr) -> Iterator[exp.Expr]: function _get_non_expression_leaves (line 385) | def _get_non_expression_leaves(expression: exp.Expr) -> Iterator[tuple[s... function _is_same_type (line 397) | def _is_same_type(source: exp.Expr, target: exp.Expr) -> bool: function _parent_similarity_score (line 410) | def _parent_similarity_score(source: t.Optional[exp.Expr], target: t.Opt... function _expression_only_args (line 417) | def _expression_only_args(expression: exp.Expr) -> Iterator[exp.Expr]: function _lcs (line 425) | def _lcs( FILE: sqlglot/errors.py class ErrorLevel (line 15) | class ErrorLevel(AutoName): class SqlglotError (line 29) | class SqlglotError(Exception): class UnsupportedError (line 33) | class UnsupportedError(SqlglotError): class ParseError (line 37) | class ParseError(SqlglotError): method __init__ (line 38) | def __init__( method new (line 47) | def new( class TokenError (line 74) | class TokenError(SqlglotError): class OptimizeError (line 78) | class OptimizeError(SqlglotError): class SchemaError (line 82) | class SchemaError(SqlglotError): class ExecuteError (line 86) | class ExecuteError(SqlglotError): function highlight_sql (line 90) | def highlight_sql( function concat_messages (line 153) | def concat_messages(errors: Sequence[t.Any], maximum: int) -> str: function merge_errors (line 161) | def merge_errors(errors: Sequence[ParseError]) -> list[dict[str, t.Any]]: FILE: sqlglot/executor/__init__.py function execute (line 31) | def execute( FILE: sqlglot/executor/context.py class Context (line 11) | class Context: method __init__ (line 22) | def __init__(self, tables: t.Dict[str, Table], env: t.Optional[t.Dict]... method eval (line 34) | def eval(self, code): method eval_tuple (line 37) | def eval_tuple(self, codes): method table (line 41) | def table(self) -> Table: method add_columns (line 53) | def add_columns(self, *columns: str) -> None: method columns (line 58) | def columns(self) -> t.Tuple: method __iter__ (line 61) | def __iter__(self): method table_iter (line 68) | def table_iter(self, table: str) -> TableIter: method filter (line 72) | def filter(self, condition) -> None: method sort (line 78) | def sort(self, key) -> None: method set_row (line 85) | def set_row(self, row: t.Tuple) -> None: method set_index (line 90) | def set_index(self, index: int) -> None: method set_range (line 95) | def set_range(self, start: int, end: int) -> None: method __contains__ (line 100) | def __contains__(self, table: str) -> bool: FILE: sqlglot/executor/env.py class reverse_key (line 12) | class reverse_key: method __init__ (line 13) | def __init__(self, obj): method __eq__ (line 16) | def __eq__(self, other): method __lt__ (line 19) | def __lt__(self, other): function filter_nulls (line 23) | def filter_nulls(func, empty_null=True): function null_if_any (line 34) | def null_if_any(*required): function str_position (line 79) | def str_position(this, substr, position=None): function substring (line 85) | def substring(this, start=None, length=None): function cast (line 101) | def cast(this, to): function ordered (line 134) | def ordered(this, desc, nulls_first): function interval (line 141) | def interval(this, unit): function arraytostring (line 149) | def arraytostring(this, expression, null=None): function jsonextract (line 154) | def jsonextract(this, expression): FILE: sqlglot/executor/python.py class PythonExecutor (line 14) | class PythonExecutor: method __init__ (line 15) | def __init__(self, env=None, tables=None): method execute (line 20) | def execute(self, plan): method generate (line 64) | def generate(self, expression): method generate_tuple (line 72) | def generate_tuple(self, expressions): method context (line 78) | def context(self, tables): method table (line 81) | def table(self, expressions): method scan (line 87) | def scan(self, step, context): method _project_and_filter (line 104) | def _project_and_filter(self, context, step, table_iter): method static (line 123) | def static(self): method scan_table (line 126) | def scan_table(self, step): method join (line 131) | def join(self, step, context): method nested_loop_join (line 178) | def nested_loop_join(self, _join, source_context, join_context): method hash_join (line 187) | def hash_join(self, join, source_context, join_context): method aggregate (line 214) | def aggregate(self, step, context): method sort (line 281) | def sort(self, step, context): method set_operation (line 306) | def set_operation(self, step, context): function _ordered_py (line 327) | def _ordered_py(self, expression): function _rename (line 334) | def _rename(self, e): function _case_sql (line 353) | def _case_sql(self, expression): function _lambda_sql (line 366) | def _lambda_sql(self, e: exp.Lambda) -> str: function _div_sql (line 378) | def _div_sql(self: generator.Generator, e: exp.Div) -> str: class Python (line 392) | class Python(Dialect): class Tokenizer (line 393) | class Tokenizer(tokens.Tokenizer): class Generator (line 396) | class Generator(generator.Generator): FILE: sqlglot/executor/table.py class Table (line 10) | class Table: method __init__ (line 11) | def __init__( method add_columns (line 25) | def add_columns(self, *columns: str) -> None: method append (line 33) | def append(self, row: t.Any) -> None: method pop (line 37) | def pop(self) -> None: method to_pylist (line 40) | def to_pylist(self) -> t.List: method width (line 44) | def width(self) -> int: method __len__ (line 47) | def __len__(self) -> int: method __iter__ (line 50) | def __iter__(self) -> TableIter: method __getitem__ (line 53) | def __getitem__(self, index: int) -> RowReader: method __repr__ (line 57) | def __repr__(self) -> str: class TableIter (line 78) | class TableIter: method __init__ (line 79) | def __init__(self, table: Table) -> None: method __iter__ (line 83) | def __iter__(self) -> TableIter: method __next__ (line 86) | def __next__(self) -> RowReader: class RangeReader (line 93) | class RangeReader: method __init__ (line 94) | def __init__(self, table: t.Any = None) -> None: method __len__ (line 98) | def __len__(self) -> int: method __getitem__ (line 101) | def __getitem__(self, column: str): class RowReader (line 105) | class RowReader: method __init__ (line 106) | def __init__(self, columns=None, column_range=None): method __getitem__ (line 114) | def __getitem__(self, column): class Tables (line 118) | class Tables(AbstractMappingSchema): function ensure_tables (line 122) | def ensure_tables(d: t.Optional[t.Dict], dialect: DialectType = None) ->... function _ensure_tables (line 126) | def _ensure_tables(d: t.Optional[t.Dict], dialect: DialectType = None) -... FILE: sqlglot/expressions/__init__.py function _init_subclasses (line 55) | def _init_subclasses(cls: t.Type[Expr]) -> None: FILE: sqlglot/expressions/aggregate.py class AIAgg (line 8) | class AIAgg(Expression, AggFunc): class AISummarizeAgg (line 13) | class AISummarizeAgg(Expression, AggFunc): class AnyValue (line 17) | class AnyValue(Expression, AggFunc): class ApproximateSimilarity (line 21) | class ApproximateSimilarity(Expression, AggFunc): class ApproxPercentileAccumulate (line 25) | class ApproxPercentileAccumulate(Expression, AggFunc): class ApproxPercentileCombine (line 29) | class ApproxPercentileCombine(Expression, AggFunc): class ApproxPercentileEstimate (line 33) | class ApproxPercentileEstimate(Expression, Func): class ApproxQuantiles (line 37) | class ApproxQuantiles(Expression, AggFunc): class ApproxTopK (line 41) | class ApproxTopK(Expression, AggFunc): class ApproxTopKAccumulate (line 45) | class ApproxTopKAccumulate(Expression, AggFunc): class ApproxTopKCombine (line 49) | class ApproxTopKCombine(Expression, AggFunc): class ApproxTopKEstimate (line 53) | class ApproxTopKEstimate(Expression, Func): class ApproxTopSum (line 57) | class ApproxTopSum(Expression, AggFunc): class ArgMax (line 61) | class ArgMax(Expression, AggFunc): class ArgMin (line 66) | class ArgMin(Expression, AggFunc): class ArrayAgg (line 71) | class ArrayAgg(Expression, AggFunc): class ArrayConcatAgg (line 75) | class ArrayConcatAgg(Expression, AggFunc): class ArrayUnionAgg (line 79) | class ArrayUnionAgg(Expression, AggFunc): class ArrayUniqueAgg (line 83) | class ArrayUniqueAgg(Expression, AggFunc): class Avg (line 87) | class Avg(Expression, AggFunc): class Corr (line 91) | class Corr(Expression, AggFunc, Binary): class Count (line 98) | class Count(Expression, AggFunc): class CountIf (line 103) | class CountIf(Expression, AggFunc): class CovarPop (line 107) | class CovarPop(Expression, AggFunc): class CovarSamp (line 111) | class CovarSamp(Expression, AggFunc): class CumeDist (line 115) | class CumeDist(Expression, AggFunc): class DenseRank (line 120) | class DenseRank(Expression, AggFunc): class First (line 125) | class First(Expression, AggFunc): class FirstValue (line 129) | class FirstValue(Expression, AggFunc): class GroupConcat (line 133) | class GroupConcat(Expression, AggFunc): class Grouping (line 137) | class Grouping(Expression, AggFunc): class GroupingId (line 142) | class GroupingId(Expression, AggFunc): class Kurtosis (line 147) | class Kurtosis(Expression, AggFunc): class Lag (line 151) | class Lag(Expression, AggFunc): class Last (line 155) | class Last(Expression, AggFunc): class LastValue (line 159) | class LastValue(Expression, AggFunc): class Lead (line 163) | class Lead(Expression, AggFunc): class LogicalAnd (line 167) | class LogicalAnd(Expression, AggFunc): class LogicalOr (line 171) | class LogicalOr(Expression, AggFunc): class Max (line 175) | class Max(Expression, AggFunc): class Median (line 180) | class Median(Expression, AggFunc): class Min (line 184) | class Min(Expression, AggFunc): class Minhash (line 189) | class Minhash(Expression, AggFunc): class MinhashCombine (line 194) | class MinhashCombine(Expression, AggFunc): class Mode (line 198) | class Mode(Expression, AggFunc): class Ntile (line 202) | class Ntile(Expression, AggFunc): class NthValue (line 206) | class NthValue(Expression, AggFunc): class ObjectAgg (line 210) | class ObjectAgg(Expression, AggFunc): class PercentileCont (line 214) | class PercentileCont(Expression, AggFunc): class PercentileDisc (line 218) | class PercentileDisc(Expression, AggFunc): class PercentRank (line 225) | class PercentRank(Expression, AggFunc): class Quantile (line 230) | class Quantile(Expression, AggFunc): class ApproxQuantile (line 234) | class ApproxQuantile(Quantile): class Rank (line 244) | class Rank(Expression, AggFunc): class RegrAvgx (line 249) | class RegrAvgx(Expression, AggFunc): class RegrAvgy (line 253) | class RegrAvgy(Expression, AggFunc): class RegrCount (line 257) | class RegrCount(Expression, AggFunc): class RegrIntercept (line 261) | class RegrIntercept(Expression, AggFunc): class RegrR2 (line 265) | class RegrR2(Expression, AggFunc): class RegrSlope (line 269) | class RegrSlope(Expression, AggFunc): class RegrSxx (line 273) | class RegrSxx(Expression, AggFunc): class RegrSxy (line 277) | class RegrSxy(Expression, AggFunc): class RegrSyy (line 281) | class RegrSyy(Expression, AggFunc): class RegrValx (line 285) | class RegrValx(Expression, AggFunc): class RegrValy (line 289) | class RegrValy(Expression, AggFunc): class RowNumber (line 293) | class RowNumber(Expression, Func): class Skewness (line 297) | class Skewness(Expression, AggFunc): class Stddev (line 301) | class Stddev(Expression, AggFunc): class StddevPop (line 305) | class StddevPop(Expression, AggFunc): class StddevSamp (line 309) | class StddevSamp(Expression, AggFunc): class Sum (line 313) | class Sum(Expression, AggFunc): class Variance (line 317) | class Variance(Expression, AggFunc): class VariancePop (line 321) | class VariancePop(Expression, AggFunc): FILE: sqlglot/expressions/array.py class Array (line 21) | class Array(Expression, Func): class ArrayConstructCompact (line 30) | class ArrayConstructCompact(Expression, Func): class List (line 35) | class List(Expression, Func): class ToArray (line 40) | class ToArray(Expression, Func): class ArrayAppend (line 47) | class ArrayAppend(Expression, Func): class ArrayCompact (line 51) | class ArrayCompact(Expression, Func): class ArrayConcat (line 55) | class ArrayConcat(Expression, Func): class ArrayFilter (line 61) | class ArrayFilter(Expression, Func): class ArrayInsert (line 66) | class ArrayInsert(Expression, Func): class ArrayPrepend (line 70) | class ArrayPrepend(Expression, Func): class ArrayRemove (line 74) | class ArrayRemove(Expression, Func): class ArrayRemoveAt (line 78) | class ArrayRemoveAt(Expression, Func): class ArrayReverse (line 82) | class ArrayReverse(Expression, Func): class ArraySlice (line 86) | class ArraySlice(Expression, Func): class ArraySort (line 90) | class ArraySort(Expression, Func): class SortArray (line 94) | class SortArray(Expression, Func): class ArrayAll (line 101) | class ArrayAll(Expression, Func): class ArrayAny (line 105) | class ArrayAny(Expression, Func): class ArrayContains (line 109) | class ArrayContains(Expression, Binary, Func): class ArrayContainsAll (line 114) | class ArrayContainsAll(Expression, Binary, Func): class ArrayExcept (line 118) | class ArrayExcept(Expression, Func): class ArrayIntersect (line 122) | class ArrayIntersect(Expression, Func): class ArrayOverlaps (line 128) | class ArrayOverlaps(Expression, Binary, Func): class ArrayPosition (line 132) | class ArrayPosition(Expression, Binary, Func): class ArrayDistinct (line 139) | class ArrayDistinct(Expression, Func): class ArrayFirst (line 143) | class ArrayFirst(Expression, Func): class ArrayLast (line 147) | class ArrayLast(Expression, Func): class ArrayMax (line 151) | class ArrayMax(Expression, Func): class ArrayMin (line 155) | class ArrayMin(Expression, Func): class ArraySize (line 159) | class ArraySize(Expression, Func): class ArraySum (line 164) | class ArraySum(Expression, Func): class ArraysZip (line 171) | class ArraysZip(Expression, Func): class ArrayToString (line 176) | class ArrayToString(Expression, Func): class Flatten (line 187) | class Flatten(Expression, Func): class StringToArray (line 191) | class StringToArray(Expression, Func): class Apply (line 199) | class Apply(Expression, Func): class Reduce (line 203) | class Reduce(Expression, Func): class Transform (line 207) | class Transform(Expression, Func): class GenerateSeries (line 214) | class GenerateSeries(Expression, Func): class ExplodingGenerateSeries (line 218) | class ExplodingGenerateSeries(GenerateSeries): class Generator (line 222) | class Generator(Expression, Func, UDTF): class Explode (line 226) | class Explode(Expression, Func, UDTF): class Inline (line 231) | class Inline(Expression, Func): class ExplodeOuter (line 236) | class ExplodeOuter(Expr): class _ExplodeOuter (line 240) | class _ExplodeOuter(Explode, ExplodeOuter): class Posexplode (line 244) | class Posexplode(Explode): class PosexplodeOuter (line 248) | class PosexplodeOuter(Posexplode, ExplodeOuter): class PositionalColumn (line 252) | class PositionalColumn(Expression): class Unnest (line 256) | class Unnest(Expression, Func, UDTF): method selects (line 265) | def selects(self) -> t.List[Expr]: class Map (line 276) | class Map(Expression, Func): method keys (line 280) | def keys(self) -> t.List[Expr]: method values (line 285) | def values(self) -> t.List[Expr]: class MapCat (line 290) | class MapCat(Expression, Func): class MapContainsKey (line 294) | class MapContainsKey(Expression, Func): class MapDelete (line 298) | class MapDelete(Expression, Func): class MapFromEntries (line 303) | class MapFromEntries(Expression, Func): class MapInsert (line 307) | class MapInsert(Expression, Func): class MapKeys (line 311) | class MapKeys(Expression, Func): class MapPick (line 315) | class MapPick(Expression, Func): class MapSize (line 320) | class MapSize(Expression, Func): class StarMap (line 324) | class StarMap(Expression, Func): class ToMap (line 328) | class ToMap(Expression, Func): class VarMap (line 332) | class VarMap(Expression, Func): method keys (line 337) | def keys(self) -> t.List[Expr]: method values (line 341) | def values(self) -> t.List[Expr]: class Struct (line 348) | class Struct(Expression, Func): class StructExtract (line 353) | class StructExtract(Expression, Func): class StDistance (line 360) | class StDistance(Expression, Func): class StPoint (line 364) | class StPoint(Expression, Func): FILE: sqlglot/expressions/builders.py function select (line 60) | def select(*expressions: ExpOrStr, dialect: DialectType = None, **opts) ... function from_ (line 82) | def from_(expression: ExpOrStr, dialect: DialectType = None, **opts) -> ... function update (line 104) | def update( function delete (line 165) | def delete( function insert (line 196) | def insert( function merge (line 240) | def merge( function parse_identifier (line 294) | def parse_identifier(name: str | Identifier, dialect: DialectType = None... function to_interval (line 321) | def to_interval(interval: str | Expr) -> Interval: function to_table (line 334) | def to_table( function to_column (line 369) | def to_column( function subquery (line 408) | def subquery( function cast (line 436) | def cast( function table_ (line 488) | def table_( function values (line 515) | def values( function var (line 548) | def var(name: t.Optional[ExpOrStr]) -> Var: function rename_table (line 572) | def rename_table( function rename_column (line 598) | def rename_column( function replace_children (line 629) | def replace_children(expression: Expr, fun: t.Callable, *args, **kwargs)... function replace_tree (line 652) | def replace_tree( function find_tables (line 678) | def find_tables(expression: Expr) -> t.Set[Table]: function column_table_names (line 698) | def column_table_names(expression: Expr, exclude: str = "") -> t.Set[str]: function table_name (line 721) | def table_name(table: Table | str, dialect: DialectType = None, identify... function normalize_table_name (line 755) | def normalize_table_name(table: str | Table, dialect: DialectType = None... function replace_tables (line 777) | def replace_tables( function replace_placeholders (line 817) | def replace_placeholders(expression: Expr, *args, **kwargs) -> Expr: function expand (line 853) | def expand( function func (line 899) | def func(name: str, *args, copy: bool = True, dialect: DialectType = Non... function case (line 964) | def case( function array (line 985) | def array( function tuple_ (line 1012) | def tuple_( function true (line 1039) | def true() -> Boolean: function false (line 1046) | def false() -> Boolean: function null (line 1053) | def null() -> Null: function apply_index_offset (line 1060) | def apply_index_offset( FILE: sqlglot/expressions/constraints.py class IndexConstraintOption (line 8) | class IndexConstraintOption(Expression): class Reference (line 20) | class Reference(Expression): class ColumnConstraint (line 24) | class ColumnConstraint(Expression): method kind (line 28) | def kind(self) -> ColumnConstraintKind | Reference: class AutoIncrementColumnConstraint (line 32) | class AutoIncrementColumnConstraint(Expression, ColumnConstraintKind): class ZeroFillColumnConstraint (line 36) | class ZeroFillColumnConstraint(ColumnConstraint): class PeriodForSystemTimeConstraint (line 40) | class PeriodForSystemTimeConstraint(Expression, ColumnConstraintKind): class CaseSpecificColumnConstraint (line 44) | class CaseSpecificColumnConstraint(Expression, ColumnConstraintKind): class CharacterSetColumnConstraint (line 48) | class CharacterSetColumnConstraint(Expression, ColumnConstraintKind): class CheckColumnConstraint (line 52) | class CheckColumnConstraint(Expression, ColumnConstraintKind): class AssumeColumnConstraint (line 56) | class AssumeColumnConstraint(Expression, ColumnConstraintKind): class ClusteredColumnConstraint (line 60) | class ClusteredColumnConstraint(Expression, ColumnConstraintKind): class CollateColumnConstraint (line 64) | class CollateColumnConstraint(Expression, ColumnConstraintKind): class CommentColumnConstraint (line 68) | class CommentColumnConstraint(Expression, ColumnConstraintKind): class CompressColumnConstraint (line 72) | class CompressColumnConstraint(Expression, ColumnConstraintKind): class DateFormatColumnConstraint (line 76) | class DateFormatColumnConstraint(Expression, ColumnConstraintKind): class DefaultColumnConstraint (line 80) | class DefaultColumnConstraint(Expression, ColumnConstraintKind): class EncodeColumnConstraint (line 84) | class EncodeColumnConstraint(Expression, ColumnConstraintKind): class ExcludeColumnConstraint (line 88) | class ExcludeColumnConstraint(Expression, ColumnConstraintKind): class EphemeralColumnConstraint (line 92) | class EphemeralColumnConstraint(Expression, ColumnConstraintKind): class WithOperator (line 96) | class WithOperator(Expression): class GeneratedAsIdentityColumnConstraint (line 100) | class GeneratedAsIdentityColumnConstraint(Expression, ColumnConstraintKi... class GeneratedAsRowColumnConstraint (line 115) | class GeneratedAsRowColumnConstraint(Expression, ColumnConstraintKind): class IndexColumnConstraint (line 119) | class IndexColumnConstraint(Expression, ColumnConstraintKind): class InlineLengthColumnConstraint (line 131) | class InlineLengthColumnConstraint(Expression, ColumnConstraintKind): class NonClusteredColumnConstraint (line 135) | class NonClusteredColumnConstraint(Expression, ColumnConstraintKind): class NotForReplicationColumnConstraint (line 139) | class NotForReplicationColumnConstraint(Expression, ColumnConstraintKind): class MaskingPolicyColumnConstraint (line 143) | class MaskingPolicyColumnConstraint(Expression, ColumnConstraintKind): class NotNullColumnConstraint (line 147) | class NotNullColumnConstraint(Expression, ColumnConstraintKind): class OnUpdateColumnConstraint (line 151) | class OnUpdateColumnConstraint(Expression, ColumnConstraintKind): class PrimaryKeyColumnConstraint (line 155) | class PrimaryKeyColumnConstraint(Expression, ColumnConstraintKind): class TitleColumnConstraint (line 159) | class TitleColumnConstraint(Expression, ColumnConstraintKind): class UniqueColumnConstraint (line 163) | class UniqueColumnConstraint(Expression, ColumnConstraintKind): class UppercaseColumnConstraint (line 173) | class UppercaseColumnConstraint(Expression, ColumnConstraintKind): class WatermarkColumnConstraint (line 177) | class WatermarkColumnConstraint(Expression): class PathColumnConstraint (line 181) | class PathColumnConstraint(Expression, ColumnConstraintKind): class ProjectionPolicyColumnConstraint (line 185) | class ProjectionPolicyColumnConstraint(Expression, ColumnConstraintKind): class ComputedColumnConstraint (line 189) | class ComputedColumnConstraint(Expression, ColumnConstraintKind): class InOutColumnConstraint (line 193) | class InOutColumnConstraint(Expression, ColumnConstraintKind): class Constraint (line 197) | class Constraint(Expression): class ForeignKey (line 201) | class ForeignKey(Expression): class ColumnPrefix (line 211) | class ColumnPrefix(Expression): class PrimaryKey (line 215) | class PrimaryKey(Expression): class IndexParameters (line 219) | class IndexParameters(Expression): class AddConstraint (line 232) | class AddConstraint(Expression): FILE: sqlglot/expressions/core.py class Expr (line 47) | class Expr: method __init_subclass__ (line 97) | def __init_subclass__(cls, **kwargs: t.Any) -> None: method __init__ (line 108) | def __init__(self, **args: object) -> None: method this (line 123) | def this(self) -> t.Any: method expression (line 127) | def expression(self) -> t.Any: method expressions (line 131) | def expressions(self) -> t.List[t.Any]: method text (line 134) | def text(self, key: str) -> str: method is_string (line 138) | def is_string(self) -> bool: method is_number (line 142) | def is_number(self) -> bool: method to_py (line 145) | def to_py(self) -> t.Any: method is_int (line 149) | def is_int(self) -> bool: method is_star (line 153) | def is_star(self) -> bool: method alias (line 157) | def alias(self) -> str: method alias_column_names (line 161) | def alias_column_names(self) -> t.List[str]: method name (line 165) | def name(self) -> str: method alias_or_name (line 169) | def alias_or_name(self) -> str: method output_name (line 173) | def output_name(self) -> str: method type (line 177) | def type(self) -> t.Optional[DataType]: method type (line 181) | def type(self, dtype: t.Optional[DataType | DType | str]) -> None: method is_type (line 184) | def is_type(self, *dtypes: DATA_TYPE) -> bool: method is_leaf (line 187) | def is_leaf(self) -> bool: method meta (line 191) | def meta(self) -> t.Dict[str, t.Any]: method __deepcopy__ (line 194) | def __deepcopy__(self, memo: t.Any) -> Expr: method copy (line 197) | def copy(self: E) -> E: method add_comments (line 200) | def add_comments(self, comments: t.Optional[t.List[str]] = None, prepe... method pop_comments (line 203) | def pop_comments(self) -> t.List[str]: method append (line 206) | def append(self, arg_key: str, value: t.Any) -> None: method set (line 209) | def set( method _set_parent (line 218) | def _set_parent(self, arg_key: str, value: object, index: t.Optional[i... method depth (line 222) | def depth(self) -> int: method iter_expressions (line 225) | def iter_expressions(self: E, reverse: bool = False) -> Iterator[E]: method find (line 228) | def find(self, *expression_types: Type[E], bfs: bool = True) -> t.Opti... method find_all (line 231) | def find_all(self, *expression_types: Type[E], bfs: bool = True) -> It... method find_ancestor (line 234) | def find_ancestor(self, *expression_types: Type[E]) -> t.Optional[E]: method parent_select (line 238) | def parent_select(self) -> t.Optional[Select]: method same_parent (line 242) | def same_parent(self) -> bool: method root (line 245) | def root(self) -> Expr: method walk (line 248) | def walk( method dfs (line 253) | def dfs(self, prune: t.Optional[t.Callable[[Expr], bool]] = None) -> I... method bfs (line 256) | def bfs(self, prune: t.Optional[t.Callable[[Expr], bool]] = None) -> I... method unnest (line 259) | def unnest(self) -> Expr: method unalias (line 262) | def unalias(self) -> Expr: method unnest_operands (line 265) | def unnest_operands(self) -> t.Tuple[Expr, ...]: method flatten (line 268) | def flatten(self, unnest: bool = True) -> Iterator[Expr]: method to_s (line 271) | def to_s(self) -> str: method sql (line 274) | def sql(self, dialect: DialectType = None, **opts: t.Any) -> str: method transform (line 277) | def transform( method replace (line 282) | def replace(self, expression: t.Any) -> t.Any: method pop (line 285) | def pop(self: E) -> E: method assert_is (line 288) | def assert_is(self, type_: Type[E]) -> E: method error_messages (line 291) | def error_messages(self, args: t.Optional[Sequence[object]] = None) ->... method dump (line 294) | def dump(self) -> t.Any: method load (line 303) | def load(cls, obj: t.Any) -> Expr: method and_ (line 313) | def and_( method or_ (line 323) | def or_( method not_ (line 333) | def not_(self, copy: bool = True) -> Not: method update_positions (line 336) | def update_positions( method as_ (line 346) | def as_( method _binop (line 356) | def _binop(self, klass: Type[E], other: t.Any, reverse: bool = False) ... method __getitem__ (line 359) | def __getitem__(self, other: ExpOrStr | t.Tuple[ExpOrStr, ...]) -> Bra... method __iter__ (line 362) | def __iter__(self) -> Iterator: method isin (line 365) | def isin( method between (line 375) | def between( method is_ (line 385) | def is_(self, other: ExpOrStr) -> Is: method like (line 388) | def like(self, other: ExpOrStr) -> Like: method ilike (line 391) | def ilike(self, other: ExpOrStr) -> ILike: method eq (line 394) | def eq(self, other: t.Any) -> EQ: method neq (line 397) | def neq(self, other: t.Any) -> NEQ: method rlike (line 400) | def rlike(self, other: ExpOrStr) -> RegexpLike: method div (line 403) | def div(self, other: ExpOrStr, typed: bool = False, safe: bool = False... method asc (line 406) | def asc(self, nulls_first: bool = True) -> Ordered: method desc (line 409) | def desc(self, nulls_first: bool = False) -> Ordered: method __lt__ (line 412) | def __lt__(self, other: t.Any) -> LT: method __le__ (line 415) | def __le__(self, other: t.Any) -> LTE: method __gt__ (line 418) | def __gt__(self, other: t.Any) -> GT: method __ge__ (line 421) | def __ge__(self, other: t.Any) -> GTE: method __add__ (line 424) | def __add__(self, other: t.Any) -> Add: method __radd__ (line 427) | def __radd__(self, other: t.Any) -> Add: method __sub__ (line 430) | def __sub__(self, other: t.Any) -> Sub: method __rsub__ (line 433) | def __rsub__(self, other: t.Any) -> Sub: method __mul__ (line 436) | def __mul__(self, other: t.Any) -> Mul: method __rmul__ (line 439) | def __rmul__(self, other: t.Any) -> Mul: method __truediv__ (line 442) | def __truediv__(self, other: t.Any) -> Div: method __rtruediv__ (line 445) | def __rtruediv__(self, other: t.Any) -> Div: method __floordiv__ (line 448) | def __floordiv__(self, other: t.Any) -> IntDiv: method __rfloordiv__ (line 451) | def __rfloordiv__(self, other: t.Any) -> IntDiv: method __mod__ (line 454) | def __mod__(self, other: t.Any) -> Mod: method __rmod__ (line 457) | def __rmod__(self, other: t.Any) -> Mod: method __pow__ (line 460) | def __pow__(self, other: t.Any) -> Pow: method __rpow__ (line 463) | def __rpow__(self, other: t.Any) -> Pow: method __and__ (line 466) | def __and__(self, other: t.Any) -> And: method __rand__ (line 469) | def __rand__(self, other: t.Any) -> And: method __or__ (line 472) | def __or__(self, other: t.Any) -> Or: method __ror__ (line 475) | def __ror__(self, other: t.Any) -> Or: method __neg__ (line 478) | def __neg__(self) -> Neg: method __invert__ (line 481) | def __invert__(self) -> Not: class Expression (line 485) | class Expression(Expr): method __eq__ (line 497) | def __eq__(self, other: object) -> bool: method __ne__ (line 500) | def __ne__(self, other: object) -> bool: method __hash__ (line 503) | def __hash__(self) -> int: method __reduce__ (line 541) | def __reduce__(self) -> t.Tuple[t.Callable, t.Tuple[t.List[t.Dict[str,... method this (line 547) | def this(self) -> t.Any: method expression (line 554) | def expression(self) -> t.Any: method expressions (line 561) | def expressions(self) -> t.List[t.Any]: method text (line 567) | def text(self, key: str) -> str: method is_string (line 582) | def is_string(self) -> bool: method is_number (line 589) | def is_number(self) -> bool: method to_py (line 597) | def to_py(self) -> t.Any: method is_int (line 604) | def is_int(self) -> bool: method is_star (line 611) | def is_star(self) -> bool: method alias (line 616) | def alias(self) -> str: method alias_column_names (line 626) | def alias_column_names(self) -> t.List[str]: method name (line 633) | def name(self) -> str: method alias_or_name (line 637) | def alias_or_name(self) -> str: method output_name (line 641) | def output_name(self) -> str: method type (line 659) | def type(self) -> t.Optional[DataType]: method type (line 665) | def type(self, dtype: t.Optional[DataType | DType | str]) -> None: method is_type (line 672) | def is_type(self, *dtypes: DATA_TYPE) -> bool: method is_leaf (line 676) | def is_leaf(self) -> bool: method meta (line 680) | def meta(self) -> t.Dict[str, t.Any]: method __deepcopy__ (line 685) | def __deepcopy__(self, memo: t.Any) -> Expr: method copy (line 719) | def copy(self: E) -> E: method add_comments (line 725) | def add_comments(self, comments: t.Optional[t.List[str]] = None, prepe... method pop_comments (line 743) | def pop_comments(self) -> t.List[str]: method append (line 748) | def append(self, arg_key: str, value: t.Any) -> None: method set (line 764) | def set( method _set_parent (line 815) | def _set_parent(self, arg_key: str, value: object, index: t.Optional[i... method depth (line 828) | def depth(self) -> int: method iter_expressions (line 836) | def iter_expressions(self: E, reverse: bool = False) -> Iterator[E]: method find (line 846) | def find(self, *expression_types: Type[E], bfs: bool = True) -> t.Opti... method find_all (line 860) | def find_all(self, *expression_types: Type[E], bfs: bool = True) -> It... method find_ancestor (line 876) | def find_ancestor(self, *expression_types: Type[E]) -> t.Optional[E]: method parent_select (line 892) | def parent_select(self) -> t.Optional[Select]: method same_parent (line 901) | def same_parent(self) -> bool: method root (line 905) | def root(self) -> Expr: method walk (line 914) | def walk( method dfs (line 934) | def dfs(self, prune: t.Optional[t.Callable[[Expr], bool]] = None) -> I... method bfs (line 952) | def bfs(self, prune: t.Optional[t.Callable[[Expr], bool]] = None) -> I... method unnest (line 971) | def unnest(self) -> Expr: method unalias (line 980) | def unalias(self) -> Expr: method unnest_operands (line 988) | def unnest_operands(self) -> t.Tuple[Expr, ...]: method flatten (line 994) | def flatten(self, unnest: bool = True) -> Iterator[Expr]: method __str__ (line 1004) | def __str__(self) -> str: method __repr__ (line 1007) | def __repr__(self) -> str: method to_s (line 1010) | def to_s(self) -> str: method sql (line 1017) | def sql(self, dialect: DialectType = None, **opts: t.Any) -> str: method transform (line 1032) | def transform( method replace (line 1064) | def replace(self, expression: t.Any) -> t.Any: method pop (line 1109) | def pop(self: E) -> E: method assert_is (line 1119) | def assert_is(self, type_: Type[E]) -> E: method error_messages (line 1137) | def error_messages(self, args: t.Optional[Sequence[object]] = None) ->... method and_ (line 1177) | def and_( method or_ (line 1207) | def or_( method not_ (line 1237) | def not_(self, copy: bool = True) -> Not: method update_positions (line 1253) | def update_positions( method as_ (line 1295) | def as_( method _binop (line 1305) | def _binop(self, klass: Type[E], other: t.Any, reverse: bool = False) ... method __getitem__ (line 1315) | def __getitem__(self, other: ExpOrStr | tuple[ExpOrStr, ...]) -> Bracket: method __iter__ (line 1320) | def __iter__(self) -> Iterator: method isin (line 1328) | def isin( method between (line 1356) | def between( method is_ (line 1374) | def is_(self, other: ExpOrStr) -> Is: method like (line 1377) | def like(self, other: ExpOrStr) -> Like: method ilike (line 1380) | def ilike(self, other: ExpOrStr) -> ILike: method eq (line 1383) | def eq(self, other: t.Any) -> EQ: method neq (line 1386) | def neq(self, other: t.Any) -> NEQ: method rlike (line 1389) | def rlike(self, other: ExpOrStr) -> RegexpLike: method div (line 1392) | def div(self, other: ExpOrStr, typed: bool = False, safe: bool = False... method asc (line 1398) | def asc(self, nulls_first: bool = True) -> Ordered: method desc (line 1401) | def desc(self, nulls_first: bool = False) -> Ordered: method __lt__ (line 1404) | def __lt__(self, other: t.Any) -> LT: method __le__ (line 1407) | def __le__(self, other: t.Any) -> LTE: method __gt__ (line 1410) | def __gt__(self, other: t.Any) -> GT: method __ge__ (line 1413) | def __ge__(self, other: t.Any) -> GTE: method __add__ (line 1416) | def __add__(self, other: t.Any) -> Add: method __radd__ (line 1419) | def __radd__(self, other: t.Any) -> Add: method __sub__ (line 1422) | def __sub__(self, other: t.Any) -> Sub: method __rsub__ (line 1425) | def __rsub__(self, other: t.Any) -> Sub: method __mul__ (line 1428) | def __mul__(self, other: t.Any) -> Mul: method __rmul__ (line 1431) | def __rmul__(self, other: t.Any) -> Mul: method __truediv__ (line 1434) | def __truediv__(self, other: t.Any) -> Div: method __rtruediv__ (line 1437) | def __rtruediv__(self, other: t.Any) -> Div: method __floordiv__ (line 1440) | def __floordiv__(self, other: t.Any) -> IntDiv: method __rfloordiv__ (line 1443) | def __rfloordiv__(self, other: t.Any) -> IntDiv: method __mod__ (line 1446) | def __mod__(self, other: t.Any) -> Mod: method __rmod__ (line 1449) | def __rmod__(self, other: t.Any) -> Mod: method __pow__ (line 1452) | def __pow__(self, other: t.Any) -> Pow: method __rpow__ (line 1455) | def __rpow__(self, other: t.Any) -> Pow: method __and__ (line 1458) | def __and__(self, other: t.Any) -> And: method __rand__ (line 1461) | def __rand__(self, other: t.Any) -> And: method __or__ (line 1464) | def __or__(self, other: t.Any) -> Or: method __ror__ (line 1467) | def __ror__(self, other: t.Any) -> Or: method __neg__ (line 1470) | def __neg__(self) -> Neg: method __invert__ (line 1473) | def __invert__(self) -> Not: class Condition (line 1482) | class Condition(Expr): class Predicate (line 1487) | class Predicate(Condition): class Cache (line 1491) | class Cache(Expression): class Uncache (line 1500) | class Uncache(Expression): class Refresh (line 1504) | class Refresh(Expression): class LockingStatement (line 1508) | class LockingStatement(Expression): class ColumnConstraintKind (line 1513) | class ColumnConstraintKind(Expr): class SubqueryPredicate (line 1518) | class SubqueryPredicate(Predicate): class All (line 1522) | class All(Expression, SubqueryPredicate): class Any (line 1526) | class Any(Expression, SubqueryPredicate): class Binary (line 1531) | class Binary(Condition): method left (line 1535) | def left(self) -> Expr: method right (line 1539) | def right(self) -> Expr: class Connector (line 1544) | class Connector(Binary): class Func (line 1549) | class Func(Condition): method from_arg_list (line 1566) | def from_arg_list(cls, args): method sql_names (line 1581) | def sql_names(cls): method sql_name (line 1591) | def sql_name(cls): method default_parser_mappings (line 1597) | def default_parser_mappings(cls): class AggFunc (line 1602) | class AggFunc(Func): class Column (line 1606) | class Column(Expression, Condition): method table (line 1610) | def table(self) -> str: method db (line 1614) | def db(self) -> str: method catalog (line 1618) | def catalog(self) -> str: method output_name (line 1622) | def output_name(self) -> str: method parts (line 1626) | def parts(self) -> t.List[Identifier | Star]: method to_dot (line 1632) | def to_dot(self, include_dots: bool = True) -> Dot | Identifier | Star: class Literal (line 1645) | class Literal(Expression, Condition): method number (line 1651) | def number(cls, number) -> Literal | Neg: method string (line 1663) | def string(cls, string) -> Literal: method output_name (line 1667) | def output_name(self) -> str: method to_py (line 1670) | def to_py(self) -> int | str | Decimal: class Var (line 1679) | class Var(Expression): class WithinGroup (line 1683) | class WithinGroup(Expression): class Pseudocolumn (line 1687) | class Pseudocolumn(Column): class Hint (line 1691) | class Hint(Expression): class JoinHint (line 1695) | class JoinHint(Expression): class Identifier (line 1699) | class Identifier(Expression): method quoted (line 1705) | def quoted(self) -> bool: method output_name (line 1709) | def output_name(self) -> str: class Opclass (line 1713) | class Opclass(Expression): class Star (line 1717) | class Star(Expression): method name (line 1721) | def name(self) -> str: method output_name (line 1725) | def output_name(self) -> str: class Parameter (line 1729) | class Parameter(Expression, Condition): class SessionParameter (line 1733) | class SessionParameter(Expression, Condition): class Placeholder (line 1737) | class Placeholder(Expression, Condition): method name (line 1741) | def name(self) -> str: class Null (line 1745) | class Null(Expression, Condition): method name (line 1749) | def name(self) -> str: method to_py (line 1752) | def to_py(self) -> t.Literal[None]: class Boolean (line 1756) | class Boolean(Expression, Condition): method to_py (line 1759) | def to_py(self) -> bool: class Dot (line 1763) | class Dot(Expression, Binary): method is_star (line 1765) | def is_star(self) -> bool: method name (line 1769) | def name(self) -> str: method output_name (line 1773) | def output_name(self) -> str: method build (line 1777) | def build(self, expressions: Sequence[Expr]) -> Dot: method parts (line 1785) | def parts(self) -> t.List[Expr]: class Kwarg (line 1801) | class Kwarg(Expression, Binary): class Alias (line 1805) | class Alias(Expression): method output_name (line 1809) | def output_name(self) -> str: class PivotAlias (line 1813) | class PivotAlias(Alias): class PivotAny (line 1817) | class PivotAny(Expression): class Aliases (line 1821) | class Aliases(Expression): method aliases (line 1825) | def aliases(self) -> t.List[Expr]: class Bracket (line 1829) | class Bracket(Expression, Condition): method output_name (line 1840) | def output_name(self) -> str: class ForIn (line 1847) | class ForIn(Expression): class IgnoreNulls (line 1851) | class IgnoreNulls(Expression): class RespectNulls (line 1855) | class RespectNulls(Expression): class HavingMax (line 1859) | class HavingMax(Expression): class SafeFunc (line 1863) | class SafeFunc(Expression, Func): class Typeof (line 1867) | class Typeof(Expression, Func): class ParameterizedAgg (line 1871) | class ParameterizedAgg(Expression, AggFunc): class Anonymous (line 1875) | class Anonymous(Expression, Func): method name (line 1880) | def name(self) -> str: class AnonymousAggFunc (line 1884) | class AnonymousAggFunc(Expression, AggFunc): class CombinedAggFunc (line 1889) | class CombinedAggFunc(AnonymousAggFunc): class CombinedParameterizedAgg (line 1893) | class CombinedParameterizedAgg(ParameterizedAgg): class HashAgg (line 1897) | class HashAgg(Expression, AggFunc): class Hll (line 1902) | class Hll(Expression, AggFunc): class ApproxDistinct (line 1907) | class ApproxDistinct(Expression, AggFunc): class Slice (line 1912) | class Slice(Expression): class TimeUnit (line 1917) | class TimeUnit(Expr): method __init__ (line 1935) | def __init__(self, **args: object) -> None: method unit (line 1951) | def unit(self) -> t.Optional[Expr]: class _TimeUnit (line 1955) | class _TimeUnit(Expression, TimeUnit): class IntervalOp (line 1962) | class IntervalOp(TimeUnit): method interval (line 1963) | def interval(self) -> "Interval": class Filter (line 1973) | class Filter(Expression): class Check (line 1977) | class Check(Expression): class Ordered (line 1981) | class Ordered(Expression): method name (line 1985) | def name(self) -> str: class Add (line 1989) | class Add(Expression, Binary): class BitwiseAnd (line 1993) | class BitwiseAnd(Expression, Binary): class BitwiseLeftShift (line 1997) | class BitwiseLeftShift(Expression, Binary): class BitwiseOr (line 2001) | class BitwiseOr(Expression, Binary): class BitwiseRightShift (line 2005) | class BitwiseRightShift(Expression, Binary): class BitwiseXor (line 2009) | class BitwiseXor(Expression, Binary): class Div (line 2013) | class Div(Expression, Binary): class Overlaps (line 2017) | class Overlaps(Expression, Binary): class ExtendsLeft (line 2021) | class ExtendsLeft(Expression, Binary): class ExtendsRight (line 2025) | class ExtendsRight(Expression, Binary): class DPipe (line 2029) | class DPipe(Expression, Binary): class EQ (line 2033) | class EQ(Expression, Binary, Predicate): class NullSafeEQ (line 2037) | class NullSafeEQ(Expression, Binary, Predicate): class NullSafeNEQ (line 2041) | class NullSafeNEQ(Expression, Binary, Predicate): class PropertyEQ (line 2045) | class PropertyEQ(Expression, Binary): class Distance (line 2049) | class Distance(Expression, Binary): class Escape (line 2053) | class Escape(Expression, Binary): class Glob (line 2057) | class Glob(Expression, Binary, Predicate): class GT (line 2061) | class GT(Expression, Binary, Predicate): class GTE (line 2065) | class GTE(Expression, Binary, Predicate): class ILike (line 2069) | class ILike(Expression, Binary, Predicate): class IntDiv (line 2073) | class IntDiv(Expression, Binary): class Is (line 2077) | class Is(Expression, Binary, Predicate): class Like (line 2081) | class Like(Expression, Binary, Predicate): class Match (line 2085) | class Match(Expression, Binary, Predicate): class LT (line 2089) | class LT(Expression, Binary, Predicate): class LTE (line 2093) | class LTE(Expression, Binary, Predicate): class Mod (line 2097) | class Mod(Expression, Binary): class Mul (line 2101) | class Mul(Expression, Binary): class NEQ (line 2105) | class NEQ(Expression, Binary, Predicate): class NestedJSONSelect (line 2109) | class NestedJSONSelect(Expression, Binary): class Operator (line 2113) | class Operator(Expression, Binary): class SimilarTo (line 2117) | class SimilarTo(Expression, Binary, Predicate): class Sub (line 2121) | class Sub(Expression, Binary): class Adjacent (line 2125) | class Adjacent(Expression, Binary): class Unary (line 2129) | class Unary(Expression, Condition): class BitwiseNot (line 2133) | class BitwiseNot(Unary): class Not (line 2137) | class Not(Unary): class Paren (line 2141) | class Paren(Unary): method output_name (line 2143) | def output_name(self) -> str: class Neg (line 2147) | class Neg(Unary): method to_py (line 2148) | def to_py(self) -> int | Decimal: class AtIndex (line 2154) | class AtIndex(Expression): class AtTimeZone (line 2158) | class AtTimeZone(Expression): class FromTimeZone (line 2162) | class FromTimeZone(Expression): class FormatPhrase (line 2166) | class FormatPhrase(Expression): class Between (line 2176) | class Between(Expression, Predicate): class Distinct (line 2180) | class Distinct(Expression): class In (line 2184) | class In(Expression, Predicate): class And (line 2195) | class And(Expression, Connector, Func): class Or (line 2199) | class Or(Expression, Connector, Func): class Xor (line 2203) | class Xor(Expression, Connector, Func): class Pow (line 2208) | class Pow(Expression, Binary, Func): class RegexpLike (line 2212) | class RegexpLike(Expression, Binary, Func): function not_ (line 2216) | def not_(expression: ExpOrStr, dialect: DialectType = None, copy: bool =... function _lazy_unnest (line 2243) | def _lazy_unnest(**kwargs: object) -> "Expr": function convert (line 2249) | def convert(value: t.Any, copy: bool = False) -> Expr: function maybe_parse (line 2373) | def maybe_parse( function maybe_parse (line 2385) | def maybe_parse( function maybe_parse (line 2396) | def maybe_parse( function maybe_copy (line 2445) | def maybe_copy(instance: None, copy: bool = True) -> None: ... function maybe_copy (line 2449) | def maybe_copy(instance: E, copy: bool = True) -> E: ... function maybe_copy (line 2452) | def maybe_copy(instance, copy=True): function _to_s (line 2456) | def _to_s(node: t.Any, verbose: bool = False, level: int = 0, repr_str: ... function _is_wrong_expression (line 2496) | def _is_wrong_expression(expression, into): function _apply_builder (line 2500) | def _apply_builder( function _apply_child_list_builder (line 2525) | def _apply_child_list_builder( function _apply_list_builder (line 2571) | def _apply_list_builder( function _apply_conjunction_builder (line 2604) | def _apply_conjunction_builder( function _combine (line 2630) | def _combine( function _wrap (line 2654) | def _wrap(expression: None, kind: Type[Expr]) -> None: ... function _wrap (line 2658) | def _wrap(expression: E, kind: Type[Expr]) -> E | Paren: ... function _wrap (line 2661) | def _wrap(expression: t.Optional[E], kind: Type[Expr]) -> t.Optional[E] ... function _apply_set_operation (line 2665) | def _apply_set_operation( function to_identifier (line 2683) | def to_identifier(name: None, quoted: t.Optional[bool] = None, copy: boo... function to_identifier (line 2687) | def to_identifier( function to_identifier (line 2692) | def to_identifier(name, quoted=None, copy=True): function condition (line 2719) | def condition(expression: ExpOrStr, dialect: DialectType = None, copy: b... function and_ (line 2754) | def and_( function or_ (line 2784) | def or_( function xor (line 2814) | def xor( function paren (line 2844) | def paren(expression: ExpOrStr, copy: bool = True) -> Paren: function alias_ (line 2863) | def alias_( function column (line 2923) | def column( function column (line 2937) | def column( function column (line 2950) | def column( FILE: sqlglot/expressions/datatypes.py class DataTypeParam (line 22) | class DataTypeParam(Expression): method name (line 26) | def name(self) -> str: class DType (line 30) | class DType(AutoName): class DataType (line 161) | class DataType(Expression): method build (line 315) | def build( method is_type (line 365) | def is_type(self, *dtypes: DATA_TYPE, check_nullable: bool = False) ->... class PseudoType (line 397) | class PseudoType(DataType): class ObjectIdentifier (line 401) | class ObjectIdentifier(DataType): class IntervalSpan (line 405) | class IntervalSpan(DataType): class Interval (line 409) | class Interval(_TimeUnit): FILE: sqlglot/expressions/ddl.py class DDL (line 16) | class DDL(Selectable): method ctes (line 18) | def ctes(self) -> t.List[CTE]: method selects (line 24) | def selects(self) -> t.List[Expr]: method named_selects (line 30) | def named_selects(self) -> t.List[str]: class Create (line 39) | class Create(Expression, DDL): method kind (line 59) | def kind(self) -> t.Optional[str]: class SequenceProperties (line 64) | class SequenceProperties(Expression): class TriggerProperties (line 76) | class TriggerProperties(Expression): class TriggerExecute (line 92) | class TriggerExecute(Expression): class TriggerEvent (line 96) | class TriggerEvent(Expression): class TriggerReferencing (line 100) | class TriggerReferencing(Expression): class TruncateTable (line 104) | class TruncateTable(Expression): class Clone (line 117) | class Clone(Expression): class Describe (line 121) | class Describe(Expression): class Attach (line 134) | class Attach(Expression): class Detach (line 138) | class Detach(Expression): class Install (line 149) | class Install(Expression): class Summarize (line 153) | class Summarize(Expression): class Kill (line 157) | class Kill(Expression): class Pragma (line 161) | class Pragma(Expression): class Declare (line 165) | class Declare(Expression): class DeclareItem (line 169) | class DeclareItem(Expression): class Set (line 173) | class Set(Expression): class Heredoc (line 177) | class Heredoc(Expression): class SetItem (line 181) | class SetItem(Expression): class Show (line 191) | class Show(Expression): class UserDefinedFunction (line 224) | class UserDefinedFunction(Expression): class CharacterSet (line 228) | class CharacterSet(Expression): class AlterColumn (line 232) | class AlterColumn(Expression): class AlterIndex (line 247) | class AlterIndex(Expression): class AlterDistStyle (line 251) | class AlterDistStyle(Expression): class AlterSortKey (line 255) | class AlterSortKey(Expression): class AlterSet (line 259) | class AlterSet(Expression): class RenameColumn (line 273) | class RenameColumn(Expression): class AlterRename (line 277) | class AlterRename(Expression): class AlterModifySqlSecurity (line 281) | class AlterModifySqlSecurity(Expression): class SwapTable (line 285) | class SwapTable(Expression): class Comment (line 289) | class Comment(Expression): class Comprehension (line 299) | class Comprehension(Expression): class MergeTreeTTLAction (line 309) | class MergeTreeTTLAction(Expression): class MergeTreeTTL (line 319) | class MergeTreeTTL(Expression): class Drop (line 328) | class Drop(Expression): method kind (line 345) | def kind(self) -> t.Optional[str]: class Command (line 350) | class Command(Expression): class Transaction (line 354) | class Transaction(Expression): class Commit (line 358) | class Commit(Expression): class Rollback (line 362) | class Rollback(Expression): class Alter (line 366) | class Alter(Expression): method kind (line 381) | def kind(self) -> t.Optional[str]: method actions (line 386) | def actions(self) -> t.List[Expr]: class AlterSession (line 390) | class AlterSession(Expression): class Use (line 394) | class Use(Expression): class NextValueFor (line 398) | class NextValueFor(Expression, Func): class Execute (line 402) | class Execute(Expression): method name (line 406) | def name(self) -> str: class ExecuteSql (line 410) | class ExecuteSql(Execute): FILE: sqlglot/expressions/dml.py class DML (line 31) | class DML(Expr): method returning (line 34) | def returning( class Delete (line 70) | class Delete(Expression, DML): method delete (line 83) | def delete( method where (line 116) | def where( class Export (line 156) | class Export(Expression): class CopyParameter (line 160) | class CopyParameter(Expression): class Copy (line 164) | class Copy(Expression, DML): class Credentials (line 175) | class Credentials(Expression): class Directory (line 185) | class Directory(Expression): class DirectoryStage (line 189) | class DirectoryStage(Expression): class Insert (line 193) | class Insert(Expression, DDL, DML): method with_ (line 215) | def with_( class OnConflict (line 263) | class OnConflict(Expression): class Returning (line 275) | class Returning(Expression): class LoadData (line 279) | class LoadData(Expression): class Update (line 291) | class Update(Expression, DML): method table (line 304) | def table( method set_ (line 336) | def set_( method where (line 373) | def where( method from_ (line 412) | def from_( method with_ (line 452) | def with_( class Merge (line 499) | class Merge(Expression, DML): class When (line 511) | class When(Expression): class Whens (line 515) | class Whens(Expression): FILE: sqlglot/expressions/functions.py class Cast (line 32) | class Cast(Expression, Func): method name (line 44) | def name(self) -> str: method to (line 48) | def to(self) -> DataType: method output_name (line 52) | def output_name(self) -> str: method is_type (line 55) | def is_type(self, *dtypes: DATA_TYPE) -> bool: class TryCast (line 70) | class TryCast(Cast): class JSONCast (line 74) | class JSONCast(Cast): class CastToStrType (line 78) | class CastToStrType(Expression, Func): class Convert (line 82) | class Convert(Expression, Func): class If (line 89) | class If(Expression, Func): class Case (line 94) | class Case(Expression, Func): method when (line 97) | def when(self, condition: ExpOrStr, then: ExpOrStr, copy: bool = True,... method else_ (line 108) | def else_(self, condition: ExpOrStr, copy: bool = True, **opts) -> Case: class Coalesce (line 114) | class Coalesce(Expression, Func): class DecodeCase (line 120) | class DecodeCase(Expression, Func): class EqualNull (line 125) | class EqualNull(Expression, Func): class Greatest (line 129) | class Greatest(Expression, Func): class Least (line 134) | class Least(Expression, Func): class Nullif (line 139) | class Nullif(Expression, Func): class Nvl2 (line 143) | class Nvl2(Expression, Func): class Try (line 147) | class Try(Expression, Func): class Collate (line 154) | class Collate(Expression, Binary, Func): class Collation (line 158) | class Collation(Expression, Func): class ConnectByRoot (line 162) | class ConnectByRoot(Expression, Func): class CheckXml (line 166) | class CheckXml(Expression, Func): class Exists (line 170) | class Exists(Expression, Func, SubqueryPredicate): class Float64 (line 177) | class Float64(Expression, Func): class Int64 (line 181) | class Int64(Expression, Func): class IsArray (line 185) | class IsArray(Expression, Func): class IsNullValue (line 189) | class IsNullValue(Expression, Func): class LaxBool (line 193) | class LaxBool(Expression, Func): class LaxFloat64 (line 197) | class LaxFloat64(Expression, Func): class LaxInt64 (line 201) | class LaxInt64(Expression, Func): class LaxString (line 205) | class LaxString(Expression, Func): class ToBoolean (line 209) | class ToBoolean(Expression, Func): class ToVariant (line 213) | class ToVariant(Expression, Func): class CurrentAccount (line 220) | class CurrentAccount(Expression, Func): class CurrentAccountName (line 224) | class CurrentAccountName(Expression, Func): class CurrentAvailableRoles (line 228) | class CurrentAvailableRoles(Expression, Func): class CurrentCatalog (line 232) | class CurrentCatalog(Expression, Func): class CurrentClient (line 236) | class CurrentClient(Expression, Func): class CurrentDatabase (line 240) | class CurrentDatabase(Expression, Func): class CurrentIpAddress (line 244) | class CurrentIpAddress(Expression, Func): class CurrentOrganizationName (line 248) | class CurrentOrganizationName(Expression, Func): class CurrentOrganizationUser (line 252) | class CurrentOrganizationUser(Expression, Func): class CurrentRegion (line 256) | class CurrentRegion(Expression, Func): class CurrentRole (line 260) | class CurrentRole(Expression, Func): class CurrentRoleType (line 264) | class CurrentRoleType(Expression, Func): class CurrentSchema (line 268) | class CurrentSchema(Expression, Func): class CurrentSchemas (line 272) | class CurrentSchemas(Expression, Func): class CurrentSecondaryRoles (line 276) | class CurrentSecondaryRoles(Expression, Func): class CurrentSession (line 280) | class CurrentSession(Expression, Func): class CurrentStatement (line 284) | class CurrentStatement(Expression, Func): class CurrentTransaction (line 288) | class CurrentTransaction(Expression, Func): class CurrentUser (line 292) | class CurrentUser(Expression, Func): class CurrentVersion (line 296) | class CurrentVersion(Expression, Func): class CurrentWarehouse (line 300) | class CurrentWarehouse(Expression, Func): class SessionUser (line 304) | class SessionUser(Expression, Func): class AIClassify (line 311) | class AIClassify(Expression, Func): class FeaturesAtTime (line 316) | class FeaturesAtTime(Expression, Func): class GenerateEmbedding (line 320) | class GenerateEmbedding(Expression, Func): class MLForecast (line 324) | class MLForecast(Expression, Func): class MLTranslate (line 328) | class MLTranslate(Expression, Func): class Predict (line 332) | class Predict(Expression, Func): class VectorSearch (line 336) | class VectorSearch(Expression, Func): class ReadCSV (line 351) | class ReadCSV(Expression, Func): class ReadParquet (line 357) | class ReadParquet(Expression, Func): class XMLElement (line 365) | class XMLElement(Expression, Func): class XMLGet (line 370) | class XMLGet(Expression, Func): class XMLTable (line 375) | class XMLTable(Expression, Func): class Host (line 388) | class Host(Expression, Func): class NetFunc (line 392) | class NetFunc(Expression, Func): class ParseIp (line 396) | class ParseIp(Expression, Func): class RegDomain (line 400) | class RegDomain(Expression, Func): class Columns (line 407) | class Columns(Expression, Func): class Normal (line 411) | class Normal(Expression, Func): class Rand (line 415) | class Rand(Expression, Func): class Randn (line 420) | class Randn(Expression, Func): class Randstr (line 424) | class Randstr(Expression, Func): class RangeBucket (line 428) | class RangeBucket(Expression, Func): class RangeN (line 432) | class RangeN(Expression, Func): class Seq1 (line 436) | class Seq1(Expression, Func): class Seq2 (line 440) | class Seq2(Expression, Func): class Seq4 (line 444) | class Seq4(Expression, Func): class Seq8 (line 448) | class Seq8(Expression, Func): class Uniform (line 452) | class Uniform(Expression, Func): class Uuid (line 456) | class Uuid(Expression, Func): class WeekStart (line 462) | class WeekStart(Expression, Func): class WidthBucket (line 466) | class WidthBucket(Expression, Func): class Zipf (line 476) | class Zipf(Expression, Func): FILE: sqlglot/expressions/json.py class CheckJson (line 8) | class CheckJson(Expression, Func): class JSONArray (line 12) | class JSONArray(Expression, Func): class JSONArrayAgg (line 21) | class JSONArrayAgg(Expression, AggFunc): class JSONArrayAppend (line 31) | class JSONArrayAppend(Expression, Func): class JSONArrayContains (line 37) | class JSONArrayContains(Expression, Binary, Predicate, Func): class JSONArrayInsert (line 42) | class JSONArrayInsert(Expression, Func): class JSONBContains (line 48) | class JSONBContains(Expression, Binary, Func): class JSONBContainsAllTopKeys (line 52) | class JSONBContainsAllTopKeys(Expression, Binary, Func): class JSONBContainsAnyTopKeys (line 56) | class JSONBContainsAnyTopKeys(Expression, Binary, Func): class JSONBDeleteAtPath (line 60) | class JSONBDeleteAtPath(Expression, Binary, Func): class JSONBExists (line 64) | class JSONBExists(Expression, Func): class JSONBExtract (line 69) | class JSONBExtract(Expression, Binary, Func): class JSONBExtractScalar (line 73) | class JSONBExtractScalar(Expression, Binary, Func): class JSONBObjectAgg (line 78) | class JSONBObjectAgg(Expression, AggFunc): class JSONBool (line 82) | class JSONBool(Expression, Func): class JSONExists (line 86) | class JSONExists(Expression, Func): class JSONExtract (line 96) | class JSONExtract(Expression, Binary, Func): method output_name (line 114) | def output_name(self) -> str: class JSONExtractArray (line 118) | class JSONExtractArray(Expression, Func): class JSONExtractScalar (line 123) | class JSONExtractScalar(Expression, Binary, Func): method output_name (line 136) | def output_name(self) -> str: class JSONFormat (line 140) | class JSONFormat(Expression, Func): class JSONKeys (line 145) | class JSONKeys(Expression, Func): class JSONKeysAtDepth (line 151) | class JSONKeysAtDepth(Expression, Func): class JSONObject (line 155) | class JSONObject(Expression, Func): class JSONObjectAgg (line 165) | class JSONObjectAgg(Expression, AggFunc): class JSONRemove (line 175) | class JSONRemove(Expression, Func): class JSONSet (line 181) | class JSONSet(Expression, Func): class JSONStripNulls (line 187) | class JSONStripNulls(Expression, Func): class JSONTable (line 197) | class JSONTable(Expression, Func): class JSONType (line 207) | class JSONType(Expression, Func): class ObjectId (line 212) | class ObjectId(Expression, Func): class ObjectInsert (line 216) | class ObjectInsert(Expression, Func): class OpenJSON (line 225) | class OpenJSON(Expression, Func): class ParseJSON (line 229) | class ParseJSON(Expression, Func): FILE: sqlglot/expressions/math.py class Acos (line 11) | class Acos(Expression, Func): class Acosh (line 15) | class Acosh(Expression, Func): class Asin (line 19) | class Asin(Expression, Func): class Asinh (line 23) | class Asinh(Expression, Func): class Atan (line 27) | class Atan(Expression, Func): class Atanh (line 31) | class Atanh(Expression, Func): class Atan2 (line 35) | class Atan2(Expression, Func): class Cos (line 39) | class Cos(Expression, Func): class Cosh (line 43) | class Cosh(Expression, Func): class Cot (line 47) | class Cot(Expression, Func): class Coth (line 51) | class Coth(Expression, Func): class Csc (line 55) | class Csc(Expression, Func): class Csch (line 59) | class Csch(Expression, Func): class Degrees (line 63) | class Degrees(Expression, Func): class Radians (line 67) | class Radians(Expression, Func): class Sec (line 71) | class Sec(Expression, Func): class Sech (line 75) | class Sech(Expression, Func): class Sin (line 79) | class Sin(Expression, Func): class Sinh (line 83) | class Sinh(Expression, Func): class Tan (line 87) | class Tan(Expression, Func): class Tanh (line 91) | class Tanh(Expression, Func): class CosineDistance (line 98) | class CosineDistance(Expression, Func): class DotProduct (line 102) | class DotProduct(Expression, Func): class EuclideanDistance (line 106) | class EuclideanDistance(Expression, Func): class JarowinklerSimilarity (line 110) | class JarowinklerSimilarity(Expression, Func): class ManhattanDistance (line 114) | class ManhattanDistance(Expression, Func): class Abs (line 121) | class Abs(Expression, Func): class Cbrt (line 125) | class Cbrt(Expression, Func): class Ceil (line 129) | class Ceil(Expression, Func): class Exp (line 134) | class Exp(Expression, Func): class Factorial (line 138) | class Factorial(Expression, Func): class Floor (line 142) | class Floor(Expression, Func): class IsInf (line 146) | class IsInf(Expression, Func): class IsNan (line 150) | class IsNan(Expression, Func): class Ln (line 154) | class Ln(Expression, Func): class Log (line 158) | class Log(Expression, Func): class Pi (line 162) | class Pi(Expression, Func): class Round (line 166) | class Round(Expression, Func): class Sign (line 175) | class Sign(Expression, Func): class Sqrt (line 179) | class Sqrt(Expression, Func): class Trunc (line 183) | class Trunc(Expression, Func): class SafeAdd (line 191) | class SafeAdd(Expression, Func): class SafeDivide (line 195) | class SafeDivide(Expression, Func): class SafeMultiply (line 199) | class SafeMultiply(Expression, Func): class SafeNegate (line 203) | class SafeNegate(Expression, Func): class SafeSubtract (line 207) | class SafeSubtract(Expression, Func): class BitwiseAndAgg (line 214) | class BitwiseAndAgg(Expression, AggFunc): class BitwiseCount (line 218) | class BitwiseCount(Expression, Func): class BitwiseOrAgg (line 222) | class BitwiseOrAgg(Expression, AggFunc): class BitwiseXorAgg (line 226) | class BitwiseXorAgg(Expression, AggFunc): class BitmapBitPosition (line 230) | class BitmapBitPosition(Expression, Func): class BitmapBucketNumber (line 234) | class BitmapBucketNumber(Expression, Func): class BitmapConstructAgg (line 238) | class BitmapConstructAgg(Expression, AggFunc): class BitmapCount (line 242) | class BitmapCount(Expression, Func): class BitmapOrAgg (line 246) | class BitmapOrAgg(Expression, AggFunc): class Booland (line 250) | class Booland(Expression, Func): class Boolnot (line 254) | class Boolnot(Expression, Func): class Boolor (line 258) | class Boolor(Expression, Func): class BoolxorAgg (line 262) | class BoolxorAgg(Expression, AggFunc): class Getbit (line 266) | class Getbit(Expression, Func): FILE: sqlglot/expressions/properties.py class Property (line 12) | class Property(Expression): class GrantPrivilege (line 16) | class GrantPrivilege(Expression): class GrantPrincipal (line 20) | class GrantPrincipal(Expression): class AllowedValuesProperty (line 24) | class AllowedValuesProperty(Expression): class AlgorithmProperty (line 28) | class AlgorithmProperty(Property): class ApiProperty (line 32) | class ApiProperty(Property): class ApplicationProperty (line 36) | class ApplicationProperty(Property): class AutoIncrementProperty (line 40) | class AutoIncrementProperty(Property): class AutoRefreshProperty (line 44) | class AutoRefreshProperty(Property): class BackupProperty (line 48) | class BackupProperty(Property): class BuildProperty (line 52) | class BuildProperty(Property): class BlockCompressionProperty (line 56) | class BlockCompressionProperty(Property): class CatalogProperty (line 66) | class CatalogProperty(Property): class CharacterSetProperty (line 70) | class CharacterSetProperty(Property): class ChecksumProperty (line 74) | class ChecksumProperty(Property): class CollateProperty (line 78) | class CollateProperty(Property): class ComputeProperty (line 82) | class ComputeProperty(Property): class CopyGrantsProperty (line 86) | class CopyGrantsProperty(Property): class DataBlocksizeProperty (line 90) | class DataBlocksizeProperty(Property): class DataDeletionProperty (line 100) | class DataDeletionProperty(Property): class DatabaseProperty (line 104) | class DatabaseProperty(Property): class DefinerProperty (line 108) | class DefinerProperty(Property): class DistKeyProperty (line 112) | class DistKeyProperty(Property): class DistributedByProperty (line 116) | class DistributedByProperty(Property): class DistStyleProperty (line 120) | class DistStyleProperty(Property): class DuplicateKeyProperty (line 124) | class DuplicateKeyProperty(Property): class EngineProperty (line 128) | class EngineProperty(Property): class HeapProperty (line 132) | class HeapProperty(Property): class HybridProperty (line 136) | class HybridProperty(Property): class HandlerProperty (line 140) | class HandlerProperty(Property): class ParameterStyleProperty (line 144) | class ParameterStyleProperty(Property): class ToTableProperty (line 148) | class ToTableProperty(Property): class ExecuteAsProperty (line 152) | class ExecuteAsProperty(Property): class ExternalProperty (line 156) | class ExternalProperty(Property): class FallbackProperty (line 160) | class FallbackProperty(Property): class FileFormatProperty (line 164) | class FileFormatProperty(Property): class CredentialsProperty (line 168) | class CredentialsProperty(Property): class FreespaceProperty (line 172) | class FreespaceProperty(Property): class GlobalProperty (line 176) | class GlobalProperty(Property): class IcebergProperty (line 180) | class IcebergProperty(Property): class InheritsProperty (line 184) | class InheritsProperty(Property): class InputModelProperty (line 188) | class InputModelProperty(Property): class OutputModelProperty (line 192) | class OutputModelProperty(Property): class IsolatedLoadingProperty (line 196) | class IsolatedLoadingProperty(Property): class JournalProperty (line 200) | class JournalProperty(Property): class LanguageProperty (line 210) | class LanguageProperty(Property): class EnviromentProperty (line 214) | class EnviromentProperty(Property): class ClusteredByProperty (line 218) | class ClusteredByProperty(Property): class DictProperty (line 222) | class DictProperty(Property): class DictSubProperty (line 226) | class DictSubProperty(Property): class DictRange (line 230) | class DictRange(Property): class DynamicProperty (line 234) | class DynamicProperty(Property): class OnCluster (line 238) | class OnCluster(Property): class EmptyProperty (line 242) | class EmptyProperty(Property): class LikeProperty (line 246) | class LikeProperty(Property): class LocationProperty (line 250) | class LocationProperty(Property): class LockProperty (line 254) | class LockProperty(Property): class LockingProperty (line 258) | class LockingProperty(Property): class LogProperty (line 268) | class LogProperty(Property): class MaskingProperty (line 272) | class MaskingProperty(Property): class MaterializedProperty (line 276) | class MaterializedProperty(Property): class MergeBlockRatioProperty (line 280) | class MergeBlockRatioProperty(Property): class NetworkProperty (line 284) | class NetworkProperty(Property): class NoPrimaryIndexProperty (line 288) | class NoPrimaryIndexProperty(Property): class OnProperty (line 292) | class OnProperty(Property): class OnCommitProperty (line 296) | class OnCommitProperty(Property): class PartitionedByProperty (line 300) | class PartitionedByProperty(Property): class PartitionedByBucket (line 304) | class PartitionedByBucket(Property): class PartitionByTruncate (line 308) | class PartitionByTruncate(Property): class PartitionByRangeProperty (line 312) | class PartitionByRangeProperty(Property): class PartitionByRangePropertyDynamic (line 316) | class PartitionByRangePropertyDynamic(Expression): class RollupProperty (line 320) | class RollupProperty(Property): class RollupIndex (line 324) | class RollupIndex(Expression): class RowAccessProperty (line 328) | class RowAccessProperty(Property): class PartitionByListProperty (line 332) | class PartitionByListProperty(Property): class PartitionList (line 336) | class PartitionList(Expression): class RefreshTriggerProperty (line 340) | class RefreshTriggerProperty(Property): class UniqueKeyProperty (line 350) | class UniqueKeyProperty(Property): class PartitionBoundSpec (line 354) | class PartitionBoundSpec(Expression): class PartitionedOfProperty (line 364) | class PartitionedOfProperty(Property): class StreamingTableProperty (line 369) | class StreamingTableProperty(Property): class RemoteWithConnectionModelProperty (line 373) | class RemoteWithConnectionModelProperty(Property): class ReturnsProperty (line 377) | class ReturnsProperty(Property): class StrictProperty (line 381) | class StrictProperty(Property): class RowFormatProperty (line 385) | class RowFormatProperty(Property): class RowFormatDelimitedProperty (line 389) | class RowFormatDelimitedProperty(Property): class RowFormatSerdeProperty (line 402) | class RowFormatSerdeProperty(Property): class QueryTransform (line 406) | class QueryTransform(Expression): class SampleProperty (line 418) | class SampleProperty(Property): class SchemaCommentProperty (line 422) | class SchemaCommentProperty(Property): class SemanticView (line 426) | class SemanticView(Expression): class SerdeProperties (line 436) | class SerdeProperties(Property): class SetProperty (line 440) | class SetProperty(Property): class SharingProperty (line 444) | class SharingProperty(Property): class SetConfigProperty (line 448) | class SetConfigProperty(Property): class SettingsProperty (line 452) | class SettingsProperty(Property): class SortKeyProperty (line 456) | class SortKeyProperty(Property): class SqlReadWriteProperty (line 460) | class SqlReadWriteProperty(Property): class SqlSecurityProperty (line 464) | class SqlSecurityProperty(Property): class StabilityProperty (line 468) | class StabilityProperty(Property): class StorageHandlerProperty (line 472) | class StorageHandlerProperty(Property): class TemporaryProperty (line 476) | class TemporaryProperty(Property): class SecureProperty (line 480) | class SecureProperty(Property): class SecurityIntegrationProperty (line 484) | class SecurityIntegrationProperty(Property): class Tags (line 488) | class Tags(Property, ColumnConstraintKind): class PropertiesLocation (line 492) | class PropertiesLocation(AutoName): class TransformModelProperty (line 503) | class TransformModelProperty(Property): class TransientProperty (line 507) | class TransientProperty(Property): class UnloggedProperty (line 511) | class UnloggedProperty(Property): class UsingTemplateProperty (line 515) | class UsingTemplateProperty(Property): class ViewAttributeProperty (line 519) | class ViewAttributeProperty(Property): class VolatileProperty (line 523) | class VolatileProperty(Property): class WithDataProperty (line 527) | class WithDataProperty(Property): class WithJournalTableProperty (line 531) | class WithJournalTableProperty(Property): class WithSchemaBindingProperty (line 535) | class WithSchemaBindingProperty(Property): class WithSystemVersioningProperty (line 539) | class WithSystemVersioningProperty(Property): class WithProcedureOptions (line 549) | class WithProcedureOptions(Property): class EncodeProperty (line 553) | class EncodeProperty(Property): class IncludeProperty (line 557) | class IncludeProperty(Property): class ForceProperty (line 561) | class ForceProperty(Property): class Properties (line 565) | class Properties(Expression): method from_dict (line 612) | def from_dict(cls, properties_dict: t.Dict) -> Properties: FILE: sqlglot/expressions/query.py function _apply_cte_builder (line 49) | def _apply_cte_builder( class Selectable (line 79) | class Selectable(Expr): method selects (line 81) | def selects(self) -> t.List[Expr]: method named_selects (line 85) | def named_selects(self) -> t.List[str]: function _named_selects (line 89) | def _named_selects(self: Expr) -> t.List[str]: class DerivedTable (line 95) | class DerivedTable(Selectable): method selects (line 97) | def selects(self) -> t.List[Expr]: class UDTF (line 103) | class UDTF(DerivedTable): method selects (line 105) | def selects(self) -> t.List[Expr]: class Query (line 111) | class Query(Selectable): method ctes (line 115) | def ctes(self) -> t.List[CTE]: method select (line 119) | def select( method subquery (line 129) | def subquery(self, alias: t.Optional[ExpOrStr] = None, copy: bool = Tr... method limit (line 148) | def limit( method offset (line 182) | def offset( method order_by (line 216) | def order_by( method where (line 256) | def where( method with_ (line 295) | def with_( method union (line 344) | def union( method intersect (line 367) | def intersect( method except_ (line 390) | def except_( class QueryBand (line 414) | class QueryBand(Expression): class RecursiveWithSearch (line 418) | class RecursiveWithSearch(Expression): class With (line 422) | class With(Expression): method recursive (line 426) | def recursive(self) -> bool: class CTE (line 430) | class CTE(Expression, DerivedTable): class ProjectionDef (line 440) | class ProjectionDef(Expression): class TableAlias (line 444) | class TableAlias(Expression): method columns (line 448) | def columns(self) -> t.List[t.Any]: class BitString (line 452) | class BitString(Expression, Condition): class HexString (line 456) | class HexString(Expression, Condition): class ByteString (line 461) | class ByteString(Expression, Condition): class RawString (line 466) | class RawString(Expression, Condition): class UnicodeString (line 470) | class UnicodeString(Expression, Condition): class ColumnPosition (line 474) | class ColumnPosition(Expression): class ColumnDef (line 478) | class ColumnDef(Expression): method constraints (line 490) | def constraints(self) -> t.List[ColumnConstraint]: method kind (line 494) | def kind(self) -> t.Optional[DataType]: class Changes (line 498) | class Changes(Expression): class Connect (line 502) | class Connect(Expression): class Prior (line 506) | class Prior(Expression): class Into (line 510) | class Into(Expression): class From (line 520) | class From(Expression): method name (line 522) | def name(self) -> str: method alias_or_name (line 526) | def alias_or_name(self) -> str: class Having (line 530) | class Having(Expression): class Index (line 534) | class Index(Expression): class ConditionalInsert (line 545) | class ConditionalInsert(Expression): class MultitableInserts (line 549) | class MultitableInserts(Expression): class OnCondition (line 553) | class OnCondition(Expression): class Introducer (line 557) | class Introducer(Expression): class National (line 561) | class National(Expression): class Partition (line 565) | class Partition(Expression): class PartitionRange (line 569) | class PartitionRange(Expression): class PartitionId (line 573) | class PartitionId(Expression): class Fetch (line 577) | class Fetch(Expression): class Grant (line 585) | class Grant(Expression): class Revoke (line 595) | class Revoke(Expression): class Group (line 599) | class Group(Expression): class Cube (line 610) | class Cube(Expression): class Rollup (line 614) | class Rollup(Expression): class GroupingSets (line 618) | class GroupingSets(Expression): class Lambda (line 622) | class Lambda(Expression): class Limit (line 626) | class Limit(Expression): class LimitOptions (line 636) | class LimitOptions(Expression): class Join (line 644) | class Join(Expression): method method (line 661) | def method(self) -> str: method kind (line 665) | def kind(self) -> str: method side (line 669) | def side(self) -> str: method hint (line 673) | def hint(self) -> str: method alias_or_name (line 677) | def alias_or_name(self) -> str: method is_semi_or_anti_join (line 681) | def is_semi_or_anti_join(self) -> bool: method on (line 684) | def on( method using (line 728) | def using( class Lateral (line 772) | class Lateral(Expression, UDTF): class TableFromRows (line 783) | class TableFromRows(Expression, UDTF): class MatchRecognizeMeasure (line 793) | class MatchRecognizeMeasure(Expression): class MatchRecognize (line 800) | class MatchRecognize(Expression): class Final (line 813) | class Final(Expression): class Offset (line 817) | class Offset(Expression): class Order (line 821) | class Order(Expression): class WithFill (line 825) | class WithFill(Expression): class SkipJSONColumn (line 834) | class SkipJSONColumn(Expression): class Cluster (line 838) | class Cluster(Order): class Distribute (line 842) | class Distribute(Order): class Sort (line 846) | class Sort(Order): class Qualify (line 850) | class Qualify(Expression): class InputOutputFormat (line 854) | class InputOutputFormat(Expression): class Return (line 858) | class Return(Expression): class Tuple (line 862) | class Tuple(Expression): method isin (line 865) | def isin( class QueryOption (line 890) | class QueryOption(Expression): class WithTableHint (line 894) | class WithTableHint(Expression): class IndexTableHint (line 898) | class IndexTableHint(Expression): class HistoricalData (line 902) | class HistoricalData(Expression): class Put (line 906) | class Put(Expression): class Get (line 910) | class Get(Expression): class Table (line 914) | class Table(Expression, Selectable): method name (line 939) | def name(self) -> str: method db (line 945) | def db(self) -> str: method catalog (line 949) | def catalog(self) -> str: method selects (line 953) | def selects(self) -> t.List[Expr]: method named_selects (line 957) | def named_selects(self) -> t.List[str]: method parts (line 961) | def parts(self) -> t.List[Expr]: method to_column (line 975) | def to_column(self, copy: bool = True) -> Expr: class SetOperation (line 992) | class SetOperation(Expression, Query): method select (line 1005) | def select( method named_selects (line 1021) | def named_selects(self) -> t.List[str]: method is_star (line 1028) | def is_star(self) -> bool: method selects (line 1032) | def selects(self) -> t.List[Expr]: method left (line 1039) | def left(self) -> Query: method right (line 1043) | def right(self) -> Query: method kind (line 1047) | def kind(self) -> str: method side (line 1051) | def side(self) -> str: class Union (line 1055) | class Union(SetOperation): class Except (line 1059) | class Except(SetOperation): class Intersect (line 1063) | class Intersect(SetOperation): class Values (line 1067) | class Values(Expression, UDTF): class Version (line 1077) | class Version(Expression): class Schema (line 1091) | class Schema(Expression): class Lock (line 1095) | class Lock(Expression): class Select (line 1099) | class Select(Expression, Query): method from_ (line 1113) | def from_( method group_by (line 1145) | def group_by( method sort_by (line 1189) | def sort_by( method cluster_by (line 1229) | def cluster_by( method select (line 1269) | def select( method lateral (line 1288) | def lateral( method join (line 1327) | def join( method having (line 1426) | def having( method window (line 1465) | def window( method qualify (line 1484) | def qualify( method distinct (line 1503) | def distinct( method ctas (line 1526) | def ctas( method lock (line 1570) | def lock(self, update: bool = True, copy: bool = True) -> Select: method hint (line 1593) | def hint(self, *hints: ExpOrStr, dialect: DialectType = None, copy: bo... method named_selects (line 1618) | def named_selects(self) -> t.List[str]: method is_star (line 1629) | def is_star(self) -> bool: method selects (line 1633) | def selects(self) -> t.List[Expr]: class Subquery (line 1637) | class Subquery(Expression, DerivedTable, Query): method unnest (line 1646) | def unnest(self) -> Expr: method unwrap (line 1653) | def unwrap(self) -> Subquery: method select (line 1659) | def select( method is_wrapper (line 1674) | def is_wrapper(self) -> bool: method is_star (line 1685) | def is_star(self) -> bool: method output_name (line 1689) | def output_name(self) -> str: class TableSample (line 1693) | class TableSample(Expression): class Tag (line 1707) | class Tag(Expression): class Pivot (line 1717) | class Pivot(Expression): method unpivot (line 1734) | def unpivot(self) -> bool: method fields (line 1738) | def fields(self) -> t.List[Expr]: class UnpivotColumns (line 1742) | class UnpivotColumns(Expression): class Window (line 1746) | class Window(Expression, Condition): class WindowSpec (line 1758) | class WindowSpec(Expression): class PreWhere (line 1769) | class PreWhere(Expression): class Where (line 1773) | class Where(Expression): class Analyze (line 1777) | class Analyze(Expression): class AnalyzeStatistics (line 1789) | class AnalyzeStatistics(Expression): class AnalyzeHistogram (line 1798) | class AnalyzeHistogram(Expression): class AnalyzeSample (line 1807) | class AnalyzeSample(Expression): class AnalyzeListChainedRows (line 1811) | class AnalyzeListChainedRows(Expression): class AnalyzeDelete (line 1815) | class AnalyzeDelete(Expression): class AnalyzeWith (line 1819) | class AnalyzeWith(Expression): class AnalyzeValidate (line 1823) | class AnalyzeValidate(Expression): class AnalyzeColumns (line 1831) | class AnalyzeColumns(Expression): class UsingData (line 1835) | class UsingData(Expression): class AddPartition (line 1839) | class AddPartition(Expression): class AttachOption (line 1843) | class AttachOption(Expression): class DropPartition (line 1847) | class DropPartition(Expression): class ReplacePartition (line 1851) | class ReplacePartition(Expression): class TranslateCharacters (line 1855) | class TranslateCharacters(Expression): class OverflowTruncateBehavior (line 1859) | class OverflowTruncateBehavior(Expression): class JSON (line 1863) | class JSON(Expression): class JSONPath (line 1867) | class JSONPath(Expression): method output_name (line 1871) | def output_name(self) -> str: class JSONPathPart (line 1876) | class JSONPathPart(Expression): class JSONPathFilter (line 1880) | class JSONPathFilter(JSONPathPart): class JSONPathKey (line 1884) | class JSONPathKey(JSONPathPart): class JSONPathRecursive (line 1888) | class JSONPathRecursive(JSONPathPart): class JSONPathRoot (line 1892) | class JSONPathRoot(JSONPathPart): class JSONPathScript (line 1896) | class JSONPathScript(JSONPathPart): class JSONPathSlice (line 1900) | class JSONPathSlice(JSONPathPart): class JSONPathSelector (line 1904) | class JSONPathSelector(JSONPathPart): class JSONPathSubscript (line 1908) | class JSONPathSubscript(JSONPathPart): class JSONPathUnion (line 1912) | class JSONPathUnion(JSONPathPart): class JSONPathWildcard (line 1916) | class JSONPathWildcard(JSONPathPart): class FormatJson (line 1920) | class FormatJson(Expression): class JSONKeyValue (line 1924) | class JSONKeyValue(Expression): class JSONColumnDef (line 1928) | class JSONColumnDef(Expression): class JSONSchema (line 1938) | class JSONSchema(Expression): class JSONValue (line 1942) | class JSONValue(Expression): class JSONValueArray (line 1951) | class JSONValueArray(Expression, Func): class OpenJSONColumnDef (line 1955) | class OpenJSONColumnDef(Expression): class JSONExtractQuote (line 1959) | class JSONExtractQuote(Expression): class ScopeResolution (line 1966) | class ScopeResolution(Expression): class Stream (line 1970) | class Stream(Expression): class ModelAttribute (line 1974) | class ModelAttribute(Expression): class XMLNamespace (line 1978) | class XMLNamespace(Expression): class XMLKeyValueOption (line 1982) | class XMLKeyValueOption(Expression): class Semicolon (line 1986) | class Semicolon(Expression): class TableColumn (line 1990) | class TableColumn(Expression): class Variadic (line 1994) | class Variadic(Expression): class StoredProcedure (line 1998) | class StoredProcedure(Expression): class Block (line 2002) | class Block(Expression): class IfBlock (line 2006) | class IfBlock(Expression): class WhileBlock (line 2010) | class WhileBlock(Expression): class EndStatement (line 2014) | class EndStatement(Expression): function union (line 2021) | def union( function intersect (line 2052) | def intersect( function except_ (line 2083) | def except_( FILE: sqlglot/expressions/string.py class Ascii (line 11) | class Ascii(Expression, Func): class BitLength (line 15) | class BitLength(Expression, Func): class ByteLength (line 19) | class ByteLength(Expression, Func): class Chr (line 23) | class Chr(Expression, Func): class Concat (line 29) | class Concat(Expression, Func): class ConcatWs (line 34) | class ConcatWs(Concat): class Contains (line 38) | class Contains(Expression, Func): class Elt (line 42) | class Elt(Expression, Func): class EndsWith (line 47) | class EndsWith(Expression, Func): class Format (line 52) | class Format(Expression, Func): class Initcap (line 57) | class Initcap(Expression, Func): class IsAscii (line 61) | class IsAscii(Expression, Func): class Left (line 65) | class Left(Expression, Func): class Length (line 69) | class Length(Expression, Func): class Levenshtein (line 74) | class Levenshtein(Expression, Func): class Lower (line 85) | class Lower(Expression, Func): class MatchAgainst (line 89) | class MatchAgainst(Expression, Func): class Normalize (line 93) | class Normalize(Expression, Func): class NumberToStr (line 97) | class NumberToStr(Expression, Func): class Overlay (line 101) | class Overlay(Expression, Func): class Pad (line 105) | class Pad(Expression, Func): class Repeat (line 109) | class Repeat(Expression, Func): class Replace (line 113) | class Replace(Expression, Func): class Reverse (line 117) | class Reverse(Expression, Func): class Right (line 121) | class Right(Expression, Func): class RtrimmedLength (line 125) | class RtrimmedLength(Expression, Func): class Search (line 129) | class Search(Expression, Func): class SearchIp (line 140) | class SearchIp(Expression, Func): class Soundex (line 144) | class Soundex(Expression, Func): class SoundexP123 (line 148) | class SoundexP123(Expression, Func): class Space (line 152) | class Space(Expression, Func): class Split (line 160) | class Split(Expression, Func): class SplitPart (line 170) | class SplitPart(Expression, Func): class Strtok (line 180) | class Strtok(Expression, Func): class StartsWith (line 188) | class StartsWith(Expression, Func): class StrPosition (line 193) | class StrPosition(Expression, Func): class StrToMap (line 203) | class StrToMap(Expression, Func): class String (line 212) | class String(Expression, Func): class Stuff (line 216) | class Stuff(Expression, Func): class Substring (line 221) | class Substring(Expression, Func): class SubstringIndex (line 226) | class SubstringIndex(Expression, Func): class Translate (line 237) | class Translate(Expression, Func): class Trim (line 241) | class Trim(Expression, Func): class Unicode (line 250) | class Unicode(Expression, Func): class Upper (line 254) | class Upper(Expression, Func): class Base64DecodeBinary (line 261) | class Base64DecodeBinary(Expression, Func): class Base64DecodeString (line 265) | class Base64DecodeString(Expression, Func): class Base64Encode (line 269) | class Base64Encode(Expression, Func): class CodePointsToBytes (line 273) | class CodePointsToBytes(Expression, Func): class CodePointsToString (line 277) | class CodePointsToString(Expression, Func): class ConvertToCharset (line 281) | class ConvertToCharset(Expression, Func): class Decode (line 285) | class Decode(Expression, Func): class Encode (line 289) | class Encode(Expression, Func): class FromBase (line 293) | class FromBase(Expression, Func): class FromBase32 (line 297) | class FromBase32(Expression, Func): class FromBase64 (line 301) | class FromBase64(Expression, Func): class Hex (line 305) | class Hex(Expression, Func): class HexDecodeString (line 309) | class HexDecodeString(Expression, Func): class HexEncode (line 313) | class HexEncode(Expression, Func): class LowerHex (line 317) | class LowerHex(Hex): class SafeConvertBytesToString (line 321) | class SafeConvertBytesToString(Expression, Func): class ToBase32 (line 325) | class ToBase32(Expression, Func): class ToBase64 (line 329) | class ToBase64(Expression, Func): class ToBinary (line 333) | class ToBinary(Expression, Func): class ToChar (line 337) | class ToChar(Expression, Func): class ToCodePoints (line 346) | class ToCodePoints(Expression, Func): class ToDecfloat (line 350) | class ToDecfloat(Expression, Func): class ToDouble (line 357) | class ToDouble(Expression, Func): class ToFile (line 365) | class ToFile(Expression, Func): class ToNumber (line 373) | class ToNumber(Expression, Func): class TryBase64DecodeBinary (line 385) | class TryBase64DecodeBinary(Expression, Func): class TryBase64DecodeString (line 389) | class TryBase64DecodeString(Expression, Func): class TryHexDecodeBinary (line 393) | class TryHexDecodeBinary(Expression, Func): class TryHexDecodeString (line 397) | class TryHexDecodeString(Expression, Func): class TryToDecfloat (line 401) | class TryToDecfloat(Expression, Func): class Unhex (line 408) | class Unhex(Expression, Func): class RegexpCount (line 415) | class RegexpCount(Expression, Func): class RegexpExtract (line 424) | class RegexpExtract(Expression, Func): class RegexpExtractAll (line 436) | class RegexpExtractAll(Expression, Func): class RegexpFullMatch (line 447) | class RegexpFullMatch(Expression, Binary, Func): class RegexpILike (line 451) | class RegexpILike(Expression, Binary, Func): class RegexpInstr (line 455) | class RegexpInstr(Expression, Func): class RegexpReplace (line 467) | class RegexpReplace(Expression, Func): class RegexpSplit (line 479) | class RegexpSplit(Expression, Func): class Compress (line 486) | class Compress(Expression, Func): class Decrypt (line 490) | class Decrypt(Expression, Func): class DecryptRaw (line 500) | class DecryptRaw(Expression, Func): class DecompressBinary (line 512) | class DecompressBinary(Expression, Func): class DecompressString (line 516) | class DecompressString(Expression, Func): class Encrypt (line 520) | class Encrypt(Expression, Func): class EncryptRaw (line 524) | class EncryptRaw(Expression, Func): class CityHash64 (line 528) | class CityHash64(Expression, Func): class FarmFingerprint (line 533) | class FarmFingerprint(Expression, Func): class MD5 (line 539) | class MD5(Expression, Func): class MD5Digest (line 543) | class MD5Digest(Expression, Func): class MD5NumberLower64 (line 549) | class MD5NumberLower64(Expression, Func): class MD5NumberUpper64 (line 553) | class MD5NumberUpper64(Expression, Func): class SHA (line 557) | class SHA(Expression, Func): class SHA1Digest (line 561) | class SHA1Digest(Expression, Func): class SHA2 (line 565) | class SHA2(Expression, Func): class SHA2Digest (line 570) | class SHA2Digest(Expression, Func): class StandardHash (line 574) | class StandardHash(Expression, Func): class ParseBignumeric (line 581) | class ParseBignumeric(Expression, Func): class ParseNumeric (line 585) | class ParseNumeric(Expression, Func): class ParseUrl (line 589) | class ParseUrl(Expression, Func): FILE: sqlglot/expressions/temporal.py class CurrentDate (line 25) | class CurrentDate(Expression, Func): class CurrentDatetime (line 29) | class CurrentDatetime(Expression, Func): class CurrentTime (line 33) | class CurrentTime(Expression, Func): class CurrentTimestamp (line 37) | class CurrentTimestamp(Expression, Func): class CurrentTimestampLTZ (line 41) | class CurrentTimestampLTZ(Expression, Func): class CurrentTimezone (line 45) | class CurrentTimezone(Expression, Func): class Localtime (line 49) | class Localtime(Expression, Func): class Localtimestamp (line 53) | class Localtimestamp(Expression, Func): class Systimestamp (line 57) | class Systimestamp(Expression, Func): class UtcDate (line 61) | class UtcDate(Expression, Func): class UtcTime (line 65) | class UtcTime(Expression, Func): class UtcTimestamp (line 69) | class UtcTimestamp(Expression, Func): class AddMonths (line 76) | class AddMonths(Expression, Func): class DateAdd (line 80) | class DateAdd(Expression, Func, IntervalOp): class DateBin (line 84) | class DateBin(Expression, Func, IntervalOp): class DateDiff (line 88) | class DateDiff(Expression, Func, TimeUnit): class DateSub (line 100) | class DateSub(Expression, Func, IntervalOp): class DatetimeAdd (line 104) | class DatetimeAdd(Expression, Func, IntervalOp): class DatetimeDiff (line 108) | class DatetimeDiff(Expression, Func, TimeUnit): class DatetimeSub (line 112) | class DatetimeSub(Expression, Func, IntervalOp): class MonthsBetween (line 116) | class MonthsBetween(Expression, Func): class TimeAdd (line 120) | class TimeAdd(Expression, Func, TimeUnit): class TimeDiff (line 124) | class TimeDiff(Expression, Func, TimeUnit): class TimeSub (line 128) | class TimeSub(Expression, Func, TimeUnit): class TimestampAdd (line 132) | class TimestampAdd(Expression, Func, TimeUnit): class TimestampDiff (line 136) | class TimestampDiff(Expression, Func, TimeUnit): class TimestampSub (line 141) | class TimestampSub(Expression, Func, TimeUnit): class TsOrDsAdd (line 145) | class TsOrDsAdd(Expression, Func, TimeUnit): method return_type (line 150) | def return_type(self) -> DataType: class TsOrDsDiff (line 154) | class TsOrDsDiff(Expression, Func, TimeUnit): class DatetimeTrunc (line 161) | class DatetimeTrunc(Expression, Func, TimeUnit): class DateTrunc (line 165) | class DateTrunc(Expression, Func): method __init__ (line 168) | def __init__(self, **args): method unit (line 186) | def unit(self) -> Expr: class TimestampTrunc (line 190) | class TimestampTrunc(Expression, Func, TimeUnit): class TimeSlice (line 194) | class TimeSlice(Expression, Func, TimeUnit): class TimeTrunc (line 198) | class TimeTrunc(Expression, Func, TimeUnit): class Day (line 205) | class Day(Expression, Func): class DayOfMonth (line 209) | class DayOfMonth(Expression, Func): class DayOfWeek (line 213) | class DayOfWeek(Expression, Func): class DayOfWeekIso (line 217) | class DayOfWeekIso(Expression, Func): class DayOfYear (line 221) | class DayOfYear(Expression, Func): class Dayname (line 225) | class Dayname(Expression, Func): class Extract (line 229) | class Extract(Expression, Func): class GetExtract (line 233) | class GetExtract(Expression, Func): class Hour (line 237) | class Hour(Expression, Func): class Minute (line 241) | class Minute(Expression, Func): class Month (line 245) | class Month(Expression, Func): class Monthname (line 249) | class Monthname(Expression, Func): class Quarter (line 253) | class Quarter(Expression, Func): class Second (line 257) | class Second(Expression, Func): class ToDays (line 261) | class ToDays(Expression, Func): class Week (line 265) | class Week(Expression, Func): class WeekOfYear (line 269) | class WeekOfYear(Expression, Func): class Year (line 273) | class Year(Expression, Func): class YearOfWeek (line 277) | class YearOfWeek(Expression, Func): class YearOfWeekIso (line 281) | class YearOfWeekIso(Expression, Func): class Date (line 288) | class Date(Expression, Func): class DateFromParts (line 293) | class DateFromParts(Expression, Func): class DateFromUnixDate (line 298) | class DateFromUnixDate(Expression, Func): class Datetime (line 302) | class Datetime(Expression, Func): class GapFill (line 306) | class GapFill(Expression, Func): class GenerateDateArray (line 318) | class GenerateDateArray(Expression, Func): class GenerateTimestampArray (line 322) | class GenerateTimestampArray(Expression, Func): class JustifyDays (line 326) | class JustifyDays(Expression, Func): class JustifyHours (line 330) | class JustifyHours(Expression, Func): class JustifyInterval (line 334) | class JustifyInterval(Expression, Func): class LastDay (line 338) | class LastDay(Expression, Func, TimeUnit): class MakeInterval (line 343) | class MakeInterval(Expression, Func): class NextDay (line 355) | class NextDay(Expression, Func): class PreviousDay (line 359) | class PreviousDay(Expression, Func): class Time (line 363) | class Time(Expression, Func): class TimeFromParts (line 367) | class TimeFromParts(Expression, Func): class Timestamp (line 380) | class Timestamp(Expression, Func): class TimestampFromParts (line 384) | class TimestampFromParts(Expression, Func): class TimestampLtzFromParts (line 395) | class TimestampLtzFromParts(Expression, Func): class TimestampTzFromParts (line 400) | class TimestampTzFromParts(Expression, Func): class ConvertTimezone (line 411) | class ConvertTimezone(Expression, Func): class DateStrToDate (line 420) | class DateStrToDate(Expression, Func): class DateToDateStr (line 424) | class DateToDateStr(Expression, Func): class DateToDi (line 428) | class DateToDi(Expression, Func): class DiToDate (line 432) | class DiToDate(Expression, Func): class FromISO8601Timestamp (line 436) | class FromISO8601Timestamp(Expression, Func): class ParseDatetime (line 440) | class ParseDatetime(Expression, Func): class ParseTime (line 444) | class ParseTime(Expression, Func): class StrToDate (line 448) | class StrToDate(Expression, Func): class StrToTime (line 452) | class StrToTime(Expression, Func): class StrToUnix (line 456) | class StrToUnix(Expression, Func): class TimeStrToDate (line 460) | class TimeStrToDate(Expression, Func): class TimeStrToTime (line 464) | class TimeStrToTime(Expression, Func): class TimeStrToUnix (line 468) | class TimeStrToUnix(Expression, Func): class TimeToStr (line 472) | class TimeToStr(Expression, Func): class TimeToTimeStr (line 476) | class TimeToTimeStr(Expression, Func): class TimeToUnix (line 480) | class TimeToUnix(Expression, Func): class TsOrDiToDi (line 484) | class TsOrDiToDi(Expression, Func): class TsOrDsToDate (line 488) | class TsOrDsToDate(Expression, Func): class TsOrDsToDateStr (line 492) | class TsOrDsToDateStr(Expression, Func): class TsOrDsToDatetime (line 496) | class TsOrDsToDatetime(Expression, Func): class TsOrDsToTime (line 500) | class TsOrDsToTime(Expression, Func): class TsOrDsToTimestamp (line 504) | class TsOrDsToTimestamp(Expression, Func): class UnixDate (line 508) | class UnixDate(Expression, Func): class UnixMicros (line 512) | class UnixMicros(Expression, Func): class UnixMillis (line 516) | class UnixMillis(Expression, Func): class UnixSeconds (line 520) | class UnixSeconds(Expression, Func): class UnixToStr (line 524) | class UnixToStr(Expression, Func): class UnixToTime (line 528) | class UnixToTime(Expression, Func): class UnixToTimeStr (line 551) | class UnixToTimeStr(Expression, Func): FILE: sqlglot/generator.py function unsupported_args (line 30) | def unsupported_args( class _Generator (line 64) | class _Generator(type): method __new__ (line 65) | def __new__(cls, clsname, bases, attrs): class Generator (line 75) | class Generator(metaclass=_Generator): method __init__ (line 812) | def __init__( method generate (line 865) | def generate(self, expression: exp.Expr, copy: bool = True) -> str: method preprocess (line 899) | def preprocess(self, expression: exp.Expr) -> exp.Expr: method _move_ctes_to_top_level (line 910) | def _move_ctes_to_top_level(self, expression: E) -> E: method unsupported (line 921) | def unsupported(self, message: str) -> None: method sep (line 926) | def sep(self, sep: str = " ") -> str: method seg (line 929) | def seg(self, sql: str, sep: str = " ") -> str: method sanitize_comment (line 932) | def sanitize_comment(self, comment: str) -> str: method maybe_comment (line 943) | def maybe_comment( method wrap (line 977) | def wrap(self, expression: exp.Expr | str) -> str: method no_identify (line 989) | def no_identify(self, func: t.Callable[..., str], *args, **kwargs) -> ... method normalize_func (line 996) | def normalize_func(self, name: str) -> str: method indent (line 1003) | def indent( method sql (line 1026) | def sql( method uncache_sql (line 1062) | def uncache_sql(self, expression: exp.Uncache) -> str: method cache_sql (line 1067) | def cache_sql(self, expression: exp.Cache) -> str: method characterset_sql (line 1077) | def characterset_sql(self, expression: exp.CharacterSet) -> str: method column_parts (line 1081) | def column_parts(self, expression: exp.Column) -> str: method column_sql (line 1093) | def column_sql(self, expression: exp.Column) -> str: method pseudocolumn_sql (line 1102) | def pseudocolumn_sql(self, expression: exp.Pseudocolumn) -> str: method columnposition_sql (line 1105) | def columnposition_sql(self, expression: exp.ColumnPosition) -> str: method columndef_sql (line 1111) | def columndef_sql(self, expression: exp.ColumnDef, sep: str = " ") -> ... method columnconstraint_sql (line 1126) | def columnconstraint_sql(self, expression: exp.ColumnConstraint) -> str: method computedcolumnconstraint_sql (line 1131) | def computedcolumnconstraint_sql(self, expression: exp.ComputedColumnC... method autoincrementcolumnconstraint_sql (line 1142) | def autoincrementcolumnconstraint_sql(self, _: exp.AutoIncrementColumn... method compresscolumnconstraint_sql (line 1145) | def compresscolumnconstraint_sql(self, expression: exp.CompressColumnC... method generatedasidentitycolumnconstraint_sql (line 1153) | def generatedasidentitycolumnconstraint_sql( method generatedasrowcolumnconstraint_sql (line 1186) | def generatedasrowcolumnconstraint_sql( method periodforsystemtimeconstraint_sql (line 1193) | def periodforsystemtimeconstraint_sql( method notnullcolumnconstraint_sql (line 1198) | def notnullcolumnconstraint_sql(self, expression: exp.NotNullColumnCon... method primarykeycolumnconstraint_sql (line 1201) | def primarykeycolumnconstraint_sql(self, expression: exp.PrimaryKeyCol... method uniquecolumnconstraint_sql (line 1209) | def uniquecolumnconstraint_sql(self, expression: exp.UniqueColumnConst... method inoutcolumnconstraint_sql (line 1221) | def inoutcolumnconstraint_sql(self, expression: exp.InOutColumnConstra... method createable_sql (line 1239) | def createable_sql(self, expression: exp.Create, locations: t.DefaultD... method create_sql (line 1242) | def create_sql(self, expression: exp.Create) -> str: method sequenceproperties_sql (line 1361) | def sequenceproperties_sql(self, expression: exp.SequenceProperties) -... method triggerproperties_sql (line 1386) | def triggerproperties_sql(self, expression: exp.TriggerProperties) -> ... method triggerreferencing_sql (line 1415) | def triggerreferencing_sql(self, expression: exp.TriggerReferencing) -... method triggerevent_sql (line 1426) | def triggerevent_sql(self, expression: exp.TriggerEvent) -> str: method clone_sql (line 1433) | def clone_sql(self, expression: exp.Clone) -> str: method describe_sql (line 1439) | def describe_sql(self, expression: exp.Describe) -> str: method heredoc_sql (line 1450) | def heredoc_sql(self, expression: exp.Heredoc) -> str: method prepend_ctes (line 1454) | def prepend_ctes(self, expression: exp.Expr, sql: str) -> str: method with_sql (line 1460) | def with_sql(self, expression: exp.With) -> str: method cte_sql (line 1472) | def cte_sql(self, expression: exp.CTE) -> str: method tablealias_sql (line 1490) | def tablealias_sql(self, expression: exp.TableAlias) -> str: method bitstring_sql (line 1504) | def bitstring_sql(self, expression: exp.BitString) -> str: method hexstring_sql (line 1510) | def hexstring_sql( method bytestring_sql (line 1535) | def bytestring_sql(self, expression: exp.ByteString) -> str: method unicodestring_sql (line 1561) | def unicodestring_sql(self, expression: exp.UnicodeString) -> str: method rawstring_sql (line 1584) | def rawstring_sql(self, expression: exp.RawString) -> str: method datatypeparam_sql (line 1592) | def datatypeparam_sql(self, expression: exp.DataTypeParam) -> str: method datatype_sql (line 1598) | def datatype_sql(self, expression: exp.DataType) -> str: method directory_sql (line 1649) | def directory_sql(self, expression: exp.Directory) -> str: method delete_sql (line 1655) | def delete_sql(self, expression: exp.Delete) -> str: method drop_sql (line 1674) | def drop_sql(self, expression: exp.Drop) -> str: method set_operation (line 1692) | def set_operation(self, expression: exp.SetOperation) -> str: method set_operations (line 1725) | def set_operations(self, expression: exp.SetOperation) -> str: method fetch_sql (line 1762) | def fetch_sql(self, expression: exp.Fetch) -> str: method limitoptions_sql (line 1771) | def limitoptions_sql(self, expression: exp.LimitOptions) -> str: method filter_sql (line 1779) | def filter_sql(self, expression: exp.Filter) -> str: method hint_sql (line 1791) | def hint_sql(self, expression: exp.Hint) -> str: method indexparameters_sql (line 1798) | def indexparameters_sql(self, expression: exp.IndexParameters) -> str: method index_sql (line 1818) | def index_sql(self, expression: exp.Index) -> str: method identifier_sql (line 1832) | def identifier_sql(self, expression: exp.Identifier) -> str: method hex_sql (line 1847) | def hex_sql(self, expression: exp.Hex) -> str: method lowerhex_sql (line 1854) | def lowerhex_sql(self, expression: exp.LowerHex) -> str: method inputoutputformat_sql (line 1860) | def inputoutputformat_sql(self, expression: exp.InputOutputFormat) -> ... method national_sql (line 1867) | def national_sql(self, expression: exp.National, prefix: str = "N") ->... method partition_sql (line 1871) | def partition_sql(self, expression: exp.Partition) -> str: method properties_sql (line 1875) | def properties_sql(self, expression: exp.Properties) -> str: method root_properties (line 1900) | def root_properties(self, properties: exp.Properties) -> str: method properties (line 1905) | def properties( method with_properties (line 1920) | def with_properties(self, properties: exp.Properties) -> str: method locate_properties (line 1923) | def locate_properties(self, properties: exp.Properties) -> t.DefaultDict: method property_name (line 1934) | def property_name(self, expression: exp.Property, string_key: bool = F... method property_sql (line 1939) | def property_sql(self, expression: exp.Property) -> str: method likeproperty_sql (line 1950) | def likeproperty_sql(self, expression: exp.LikeProperty) -> str: method fallbackproperty_sql (line 1967) | def fallbackproperty_sql(self, expression: exp.FallbackProperty) -> str: method journalproperty_sql (line 1972) | def journalproperty_sql(self, expression: exp.JournalProperty) -> str: method freespaceproperty_sql (line 1981) | def freespaceproperty_sql(self, expression: exp.FreespaceProperty) -> ... method checksumproperty_sql (line 1986) | def checksumproperty_sql(self, expression: exp.ChecksumProperty) -> str: method mergeblockratioproperty_sql (line 1995) | def mergeblockratioproperty_sql(self, expression: exp.MergeBlockRatioP... method datablocksizeproperty_sql (line 2004) | def datablocksizeproperty_sql(self, expression: exp.DataBlocksizePrope... method blockcompressionproperty_sql (line 2020) | def blockcompressionproperty_sql(self, expression: exp.BlockCompressio... method isolatedloadingproperty_sql (line 2039) | def isolatedloadingproperty_sql(self, expression: exp.IsolatedLoadingP... method partitionboundspec_sql (line 2048) | def partitionboundspec_sql(self, expression: exp.PartitionBoundSpec) -... method partitionedofproperty_sql (line 2060) | def partitionedofproperty_sql(self, expression: exp.PartitionedOfPrope... method lockingproperty_sql (line 2071) | def lockingproperty_sql(self, expression: exp.LockingProperty) -> str: method withdataproperty_sql (line 2080) | def withdataproperty_sql(self, expression: exp.WithDataProperty) -> str: method withsystemversioningproperty_sql (line 2088) | def withsystemversioningproperty_sql(self, expression: exp.WithSystemV... method insert_sql (line 2109) | def insert_sql(self, expression: exp.Insert) -> str: method introducer_sql (line 2154) | def introducer_sql(self, expression: exp.Introducer) -> str: method kill_sql (line 2157) | def kill_sql(self, expression: exp.Kill) -> str: method pseudotype_sql (line 2164) | def pseudotype_sql(self, expression: exp.PseudoType) -> str: method objectidentifier_sql (line 2167) | def objectidentifier_sql(self, expression: exp.ObjectIdentifier) -> str: method onconflict_sql (line 2170) | def onconflict_sql(self, expression: exp.OnConflict) -> str: method returning_sql (line 2193) | def returning_sql(self, expression: exp.Returning) -> str: method rowformatdelimitedproperty_sql (line 2196) | def rowformatdelimitedproperty_sql(self, expression: exp.RowFormatDeli... method withtablehint_sql (line 2211) | def withtablehint_sql(self, expression: exp.WithTableHint) -> str: method indextablehint_sql (line 2214) | def indextablehint_sql(self, expression: exp.IndexTableHint) -> str: method historicaldata_sql (line 2220) | def historicaldata_sql(self, expression: exp.HistoricalData) -> str: method table_parts (line 2226) | def table_parts(self, expression: exp.Table) -> str: method table_sql (line 2237) | def table_sql(self, expression: exp.Table, sep: str = " AS ") -> str: method tablefromrows_sql (line 2299) | def tablefromrows_sql(self, expression: exp.TableFromRows) -> str: method tablesample_sql (line 2310) | def tablesample_sql( method pivot_sql (line 2339) | def pivot_sql(self, expression: exp.Pivot) -> str: method version_sql (line 2382) | def version_sql(self, expression: exp.Version) -> str: method tuple_sql (line 2388) | def tuple_sql(self, expression: exp.Tuple) -> str: method _update_from_joins_sql (line 2391) | def _update_from_joins_sql(self, expression: exp.Update) -> t.Tuple[st... method update_sql (line 2423) | def update_sql(self, expression: exp.Update) -> str: method values_sql (line 2440) | def values_sql(self, expression: exp.Values, values_as_table: bool = T... method var_sql (line 2484) | def var_sql(self, expression: exp.Var) -> str: method into_sql (line 2488) | def into_sql(self, expression: exp.Into) -> str: method from_sql (line 2493) | def from_sql(self, expression: exp.From) -> str: method groupingsets_sql (line 2496) | def groupingsets_sql(self, expression: exp.GroupingSets) -> str: method rollup_sql (line 2500) | def rollup_sql(self, expression: exp.Rollup) -> str: method rollupindex_sql (line 2504) | def rollupindex_sql(self, expression: exp.RollupIndex) -> str: method rollupproperty_sql (line 2519) | def rollupproperty_sql(self, expression: exp.RollupProperty) -> str: method cube_sql (line 2522) | def cube_sql(self, expression: exp.Cube) -> str: method group_sql (line 2526) | def group_sql(self, expression: exp.Group) -> str: method having_sql (line 2558) | def having_sql(self, expression: exp.Having) -> str: method connect_sql (line 2562) | def connect_sql(self, expression: exp.Connect) -> str: method prior_sql (line 2570) | def prior_sql(self, expression: exp.Prior) -> str: method join_sql (line 2573) | def join_sql(self, expression: exp.Join) -> str: method lambda_sql (line 2625) | def lambda_sql(self, expression: exp.Lambda, arrow_sep: str = "->", wr... method lateral_op (line 2630) | def lateral_op(self, expression: exp.Lateral) -> str: method lateral_sql (line 2643) | def lateral_sql(self, expression: exp.Lateral) -> str: method limit_sql (line 2664) | def limit_sql(self, expression: exp.Limit, top: bool = False) -> str: method offset_sql (line 2681) | def offset_sql(self, expression: exp.Offset) -> str: method setitem_sql (line 2689) | def setitem_sql(self, expression: exp.SetItem) -> str: method set_sql (line 2702) | def set_sql(self, expression: exp.Set) -> str: method queryband_sql (line 2707) | def queryband_sql(self, expression: exp.QueryBand) -> str: method pragma_sql (line 2715) | def pragma_sql(self, expression: exp.Pragma) -> str: method lock_sql (line 2718) | def lock_sql(self, expression: exp.Lock) -> str: method literal_sql (line 2741) | def literal_sql(self, expression: exp.Literal) -> str: method escape_str (line 2747) | def escape_str( method loaddata_sql (line 2771) | def loaddata_sql(self, expression: exp.LoadData) -> str: method null_sql (line 2784) | def null_sql(self, *_) -> str: method boolean_sql (line 2787) | def boolean_sql(self, expression: exp.Boolean) -> str: method booland_sql (line 2790) | def booland_sql(self, expression: exp.Booland) -> str: method boolor_sql (line 2793) | def boolor_sql(self, expression: exp.Boolor) -> str: method order_sql (line 2796) | def order_sql(self, expression: exp.Order, flat: bool = False) -> str: method withfill_sql (line 2802) | def withfill_sql(self, expression: exp.WithFill) -> str: method cluster_sql (line 2820) | def cluster_sql(self, expression: exp.Cluster) -> str: method distribute_sql (line 2823) | def distribute_sql(self, expression: exp.Distribute) -> str: method sort_sql (line 2826) | def sort_sql(self, expression: exp.Sort) -> str: method ordered_sql (line 2829) | def ordered_sql(self, expression: exp.Ordered) -> str: method matchrecognizemeasure_sql (line 2908) | def matchrecognizemeasure_sql(self, expression: exp.MatchRecognizeMeas... method matchrecognize_sql (line 2916) | def matchrecognize_sql(self, expression: exp.MatchRecognize) -> str: method query_modifiers (line 2948) | def query_modifiers(self, expression: exp.Expr, *sqls: str) -> str: method options_modifier (line 2975) | def options_modifier(self, expression: exp.Expr) -> str: method for_modifiers (line 2979) | def for_modifiers(self, expression: exp.Expr) -> str: method queryoption_sql (line 2983) | def queryoption_sql(self, expression: exp.QueryOption) -> str: method offset_limit_modifiers (line 2987) | def offset_limit_modifiers( method after_limit_modifiers (line 2995) | def after_limit_modifiers(self, expression: exp.Expr) -> t.List[str]: method select_sql (line 3000) | def select_sql(self, expression: exp.Select) -> str: method schema_sql (line 3084) | def schema_sql(self, expression: exp.Schema) -> str: method schema_columns_sql (line 3089) | def schema_columns_sql(self, expression: exp.Schema) -> str: method star_sql (line 3094) | def star_sql(self, expression: exp.Star) -> str: method parameter_sql (line 3103) | def parameter_sql(self, expression: exp.Parameter) -> str: method sessionparameter_sql (line 3107) | def sessionparameter_sql(self, expression: exp.SessionParameter) -> str: method placeholder_sql (line 3114) | def placeholder_sql(self, expression: exp.Placeholder) -> str: method subquery_sql (line 3117) | def subquery_sql(self, expression: exp.Subquery, sep: str = " AS ") ->... method qualify_sql (line 3131) | def qualify_sql(self, expression: exp.Qualify) -> str: method unnest_sql (line 3135) | def unnest_sql(self, expression: exp.Unnest) -> str: method prewhere_sql (line 3164) | def prewhere_sql(self, expression: exp.PreWhere) -> str: method where_sql (line 3167) | def where_sql(self, expression: exp.Where) -> str: method window_sql (line 3171) | def window_sql(self, expression: exp.Window) -> str: method partition_by_sql (line 3196) | def partition_by_sql(self, expression: exp.Window | exp.MatchRecognize... method windowspec_sql (line 3200) | def windowspec_sql(self, expression: exp.WindowSpec) -> str: method withingroup_sql (line 3219) | def withingroup_sql(self, expression: exp.WithinGroup) -> str: method between_sql (line 3224) | def between_sql(self, expression: exp.Between) -> str: method bracket_offset_expressions (line 3242) | def bracket_offset_expressions( method bracket_sql (line 3252) | def bracket_sql(self, expression: exp.Bracket) -> str: method all_sql (line 3257) | def all_sql(self, expression: exp.All) -> str: method any_sql (line 3263) | def any_sql(self, expression: exp.Any) -> str: method exists_sql (line 3271) | def exists_sql(self, expression: exp.Exists) -> str: method case_sql (line 3274) | def case_sql(self, expression: exp.Case) -> str: method constraint_sql (line 3294) | def constraint_sql(self, expression: exp.Constraint) -> str: method nextvaluefor_sql (line 3299) | def nextvaluefor_sql(self, expression: exp.NextValueFor) -> str: method extract_sql (line 3304) | def extract_sql(self, expression: exp.Extract) -> str: method trim_sql (line 3317) | def trim_sql(self, expression: exp.Trim) -> str: method convert_concat_args (line 3329) | def convert_concat_args(self, expression: exp.Concat | exp.ConcatWs) -... method concat_sql (line 3354) | def concat_sql(self, expression: exp.Concat) -> str: method concatws_sql (line 3371) | def concatws_sql(self, expression: exp.ConcatWs) -> str: method check_sql (line 3376) | def check_sql(self, expression: exp.Check) -> str: method foreignkey_sql (line 3380) | def foreignkey_sql(self, expression: exp.ForeignKey) -> str: method primarykey_sql (line 3393) | def primarykey_sql(self, expression: exp.PrimaryKey) -> str: method if_sql (line 3402) | def if_sql(self, expression: exp.If) -> str: method matchagainst_sql (line 3405) | def matchagainst_sql(self, expression: exp.MatchAgainst) -> str: method jsonkeyvalue_sql (line 3422) | def jsonkeyvalue_sql(self, expression: exp.JSONKeyValue) -> str: method jsonpath_sql (line 3425) | def jsonpath_sql(self, expression: exp.JSONPath) -> str: method json_path_part (line 3436) | def json_path_part(self, expression: int | str | exp.JSONPathPart) -> ... method formatjson_sql (line 3457) | def formatjson_sql(self, expression: exp.FormatJson) -> str: method formatphrase_sql (line 3460) | def formatphrase_sql(self, expression: exp.FormatPhrase) -> str: method _jsonobject_sql (line 3467) | def _jsonobject_sql( method jsonarray_sql (line 3493) | def jsonarray_sql(self, expression: exp.JSONArray) -> str: method jsonarrayagg_sql (line 3503) | def jsonarrayagg_sql(self, expression: exp.JSONArrayAgg) -> str: method jsoncolumndef_sql (line 3517) | def jsoncolumndef_sql(self, expression: exp.JSONColumnDef) -> str: method jsonschema_sql (line 3532) | def jsonschema_sql(self, expression: exp.JSONSchema) -> str: method jsontable_sql (line 3535) | def jsontable_sql(self, expression: exp.JSONTable) -> str: method openjsoncolumndef_sql (line 3548) | def openjsoncolumndef_sql(self, expression: exp.OpenJSONColumnDef) -> ... method openjson_sql (line 3556) | def openjson_sql(self, expression: exp.OpenJSON) -> str: method in_sql (line 3568) | def in_sql(self, expression: exp.In) -> str: method in_unnest_op (line 3585) | def in_unnest_op(self, unnest: exp.Unnest) -> str: method interval_sql (line 3588) | def interval_sql(self, expression: exp.Interval) -> str: method return_sql (line 3610) | def return_sql(self, expression: exp.Return) -> str: method reference_sql (line 3613) | def reference_sql(self, expression: exp.Reference) -> str: method anonymous_sql (line 3621) | def anonymous_sql(self, expression: exp.Anonymous) -> str: method paren_sql (line 3630) | def paren_sql(self, expression: exp.Paren) -> str: method neg_sql (line 3634) | def neg_sql(self, expression: exp.Neg) -> str: method not_sql (line 3640) | def not_sql(self, expression: exp.Not) -> str: method alias_sql (line 3643) | def alias_sql(self, expression: exp.Alias) -> str: method pivotalias_sql (line 3648) | def pivotalias_sql(self, expression: exp.PivotAlias) -> str: method aliases_sql (line 3665) | def aliases_sql(self, expression: exp.Aliases) -> str: method atindex_sql (line 3668) | def atindex_sql(self, expression: exp.AtTimeZone) -> str: method attimezone_sql (line 3673) | def attimezone_sql(self, expression: exp.AtTimeZone) -> str: method fromtimezone_sql (line 3678) | def fromtimezone_sql(self, expression: exp.FromTimeZone) -> str: method add_sql (line 3683) | def add_sql(self, expression: exp.Add) -> str: method and_sql (line 3686) | def and_sql(self, expression: exp.And, stack: t.Optional[t.List[str | ... method or_sql (line 3689) | def or_sql(self, expression: exp.Or, stack: t.Optional[t.List[str | ex... method xor_sql (line 3692) | def xor_sql(self, expression: exp.Xor, stack: t.Optional[t.List[str | ... method connector_sql (line 3695) | def connector_sql( method bitwiseand_sql (line 3731) | def bitwiseand_sql(self, expression: exp.BitwiseAnd) -> str: method bitwiseleftshift_sql (line 3734) | def bitwiseleftshift_sql(self, expression: exp.BitwiseLeftShift) -> str: method bitwisenot_sql (line 3737) | def bitwisenot_sql(self, expression: exp.BitwiseNot) -> str: method bitwiseor_sql (line 3740) | def bitwiseor_sql(self, expression: exp.BitwiseOr) -> str: method bitwiserightshift_sql (line 3743) | def bitwiserightshift_sql(self, expression: exp.BitwiseRightShift) -> ... method bitwisexor_sql (line 3746) | def bitwisexor_sql(self, expression: exp.BitwiseXor) -> str: method cast_sql (line 3749) | def cast_sql(self, expression: exp.Cast, safe_prefix: t.Optional[str] ... method strtotime_sql (line 3761) | def strtotime_sql(self, expression: exp.StrToTime) -> str: method currentdate_sql (line 3764) | def currentdate_sql(self, expression: exp.CurrentDate) -> str: method collate_sql (line 3768) | def collate_sql(self, expression: exp.Collate) -> str: method command_sql (line 3773) | def command_sql(self, expression: exp.Command) -> str: method comment_sql (line 3776) | def comment_sql(self, expression: exp.Comment) -> str: method mergetreettlaction_sql (line 3784) | def mergetreettlaction_sql(self, expression: exp.MergeTreeTTLAction) -... method mergetreettl_sql (line 3795) | def mergetreettl_sql(self, expression: exp.MergeTreeTTL) -> str: method transaction_sql (line 3806) | def transaction_sql(self, expression: exp.Transaction) -> str: method commit_sql (line 3811) | def commit_sql(self, expression: exp.Commit) -> str: method rollback_sql (line 3818) | def rollback_sql(self, expression: exp.Rollback) -> str: method altercolumn_sql (line 3823) | def altercolumn_sql(self, expression: exp.AlterColumn) -> str: method alterindex_sql (line 3859) | def alterindex_sql(self, expression: exp.AlterIndex) -> str: method alterdiststyle_sql (line 3867) | def alterdiststyle_sql(self, expression: exp.AlterDistStyle) -> str: method altersortkey_sql (line 3873) | def altersortkey_sql(self, expression: exp.AlterSortKey) -> str: method alterrename_sql (line 3880) | def alterrename_sql(self, expression: exp.AlterRename, include_to: boo... method renamecolumn_sql (line 3890) | def renamecolumn_sql(self, expression: exp.RenameColumn) -> str: method alterset_sql (line 3896) | def alterset_sql(self, expression: exp.AlterSet) -> str: method alter_sql (line 3903) | def alter_sql(self, expression: exp.Alter) -> str: method altersession_sql (line 3944) | def altersession_sql(self, expression: exp.AlterSession) -> str: method add_column_sql (line 3949) | def add_column_sql(self, expression: exp.Expr) -> str: method droppartition_sql (line 3960) | def droppartition_sql(self, expression: exp.DropPartition) -> str: method addconstraint_sql (line 3965) | def addconstraint_sql(self, expression: exp.AddConstraint) -> str: method addpartition_sql (line 3968) | def addpartition_sql(self, expression: exp.AddPartition) -> str: method distinct_sql (line 3974) | def distinct_sql(self, expression: exp.Distinct) -> str: method ignorenulls_sql (line 3989) | def ignorenulls_sql(self, expression: exp.IgnoreNulls) -> str: method respectnulls_sql (line 3992) | def respectnulls_sql(self, expression: exp.RespectNulls) -> str: method havingmax_sql (line 3995) | def havingmax_sql(self, expression: exp.HavingMax) -> str: method intdiv_sql (line 4001) | def intdiv_sql(self, expression: exp.IntDiv) -> str: method dpipe_sql (line 4009) | def dpipe_sql(self, expression: exp.DPipe) -> str: method div_sql (line 4014) | def div_sql(self, expression: exp.Div) -> str: method safedivide_sql (line 4035) | def safedivide_sql(self, expression: exp.SafeDivide) -> str: method overlaps_sql (line 4040) | def overlaps_sql(self, expression: exp.Overlaps) -> str: method distance_sql (line 4043) | def distance_sql(self, expression: exp.Distance) -> str: method dot_sql (line 4046) | def dot_sql(self, expression: exp.Dot) -> str: method eq_sql (line 4049) | def eq_sql(self, expression: exp.EQ) -> str: method propertyeq_sql (line 4052) | def propertyeq_sql(self, expression: exp.PropertyEQ) -> str: method escape_sql (line 4055) | def escape_sql(self, expression: exp.Escape) -> str: method glob_sql (line 4058) | def glob_sql(self, expression: exp.Glob) -> str: method gt_sql (line 4061) | def gt_sql(self, expression: exp.GT) -> str: method gte_sql (line 4064) | def gte_sql(self, expression: exp.GTE) -> str: method is_sql (line 4067) | def is_sql(self, expression: exp.Is) -> str: method _like_sql (line 4074) | def _like_sql(self, expression: exp.Like | exp.ILike) -> str: method like_sql (line 4107) | def like_sql(self, expression: exp.Like) -> str: method ilike_sql (line 4110) | def ilike_sql(self, expression: exp.ILike) -> str: method match_sql (line 4113) | def match_sql(self, expression: exp.Match) -> str: method similarto_sql (line 4116) | def similarto_sql(self, expression: exp.SimilarTo) -> str: method lt_sql (line 4119) | def lt_sql(self, expression: exp.LT) -> str: method lte_sql (line 4122) | def lte_sql(self, expression: exp.LTE) -> str: method mod_sql (line 4125) | def mod_sql(self, expression: exp.Mod) -> str: method mul_sql (line 4128) | def mul_sql(self, expression: exp.Mul) -> str: method neq_sql (line 4131) | def neq_sql(self, expression: exp.NEQ) -> str: method nullsafeeq_sql (line 4134) | def nullsafeeq_sql(self, expression: exp.NullSafeEQ) -> str: method nullsafeneq_sql (line 4137) | def nullsafeneq_sql(self, expression: exp.NullSafeNEQ) -> str: method sub_sql (line 4140) | def sub_sql(self, expression: exp.Sub) -> str: method trycast_sql (line 4143) | def trycast_sql(self, expression: exp.TryCast) -> str: method jsoncast_sql (line 4146) | def jsoncast_sql(self, expression: exp.JSONCast) -> str: method try_sql (line 4149) | def try_sql(self, expression: exp.Try) -> str: method log_sql (line 4156) | def log_sql(self, expression: exp.Log) -> str: method use_sql (line 4170) | def use_sql(self, expression: exp.Use) -> str: method binary (line 4177) | def binary(self, expression: exp.Binary, op: str) -> str: method ceil_floor (line 4198) | def ceil_floor(self, expression: exp.Ceil | exp.Floor) -> str: method function_fallback_sql (line 4205) | def function_fallback_sql(self, expression: exp.Func) -> str: method func (line 4224) | def func( method format_args (line 4235) | def format_args(self, *args: t.Optional[str | exp.Expr], sep: str = ",... method too_wide (line 4245) | def too_wide(self, args: t.Iterable) -> bool: method format_time (line 4248) | def format_time( method expressions (line 4260) | def expressions( method op_expressions (line 4316) | def op_expressions(self, op: str, expression: exp.Expr, flat: bool = F... method naked_property (line 4323) | def naked_property(self, expression: exp.Property) -> str: method tag_sql (line 4329) | def tag_sql(self, expression: exp.Tag) -> str: method token_sql (line 4332) | def token_sql(self, token_type: TokenType) -> str: method userdefinedfunction_sql (line 4335) | def userdefinedfunction_sql(self, expression: exp.UserDefinedFunction)... method joinhint_sql (line 4343) | def joinhint_sql(self, expression: exp.JoinHint) -> str: method kwarg_sql (line 4348) | def kwarg_sql(self, expression: exp.Kwarg) -> str: method when_sql (line 4351) | def when_sql(self, expression: exp.When) -> str: method whens_sql (line 4374) | def whens_sql(self, expression: exp.Whens) -> str: method merge_sql (line 4377) | def merge_sql(self, expression: exp.Merge) -> str: method tochar_sql (line 4409) | def tochar_sql(self, expression: exp.ToChar) -> str: method tonumber_sql (line 4412) | def tonumber_sql(self, expression: exp.ToNumber) -> str: method dictproperty_sql (line 4424) | def dictproperty_sql(self, expression: exp.DictProperty) -> str: method dictrange_sql (line 4431) | def dictrange_sql(self, expression: exp.DictRange) -> str: method dictsubproperty_sql (line 4437) | def dictsubproperty_sql(self, expression: exp.DictSubProperty) -> str: method duplicatekeyproperty_sql (line 4440) | def duplicatekeyproperty_sql(self, expression: exp.DuplicateKeyPropert... method uniquekeyproperty_sql (line 4444) | def uniquekeyproperty_sql( method distributedbyproperty_sql (line 4450) | def distributedbyproperty_sql(self, expression: exp.DistributedByPrope... method oncluster_sql (line 4459) | def oncluster_sql(self, expression: exp.OnCluster) -> str: method clusteredbyproperty_sql (line 4462) | def clusteredbyproperty_sql(self, expression: exp.ClusteredByProperty)... method anyvalue_sql (line 4469) | def anyvalue_sql(self, expression: exp.AnyValue) -> str: method querytransform_sql (line 4478) | def querytransform_sql(self, expression: exp.QueryTransform) -> str: method indexconstraintoption_sql (line 4493) | def indexconstraintoption_sql(self, expression: exp.IndexConstraintOpt... method checkcolumnconstraint_sql (line 4525) | def checkcolumnconstraint_sql(self, expression: exp.CheckColumnConstra... method indexcolumnconstraint_sql (line 4529) | def indexcolumnconstraint_sql(self, expression: exp.IndexColumnConstra... method nvl2_sql (line 4542) | def nvl2_sql(self, expression: exp.Nvl2) -> str: method comprehension_sql (line 4557) | def comprehension_sql(self, expression: exp.Comprehension) -> str: method columnprefix_sql (line 4567) | def columnprefix_sql(self, expression: exp.ColumnPrefix) -> str: method opclass_sql (line 4570) | def opclass_sql(self, expression: exp.Opclass) -> str: method _ml_sql (line 4573) | def _ml_sql(self, expression: exp.Func, name: str) -> str: method predict_sql (line 4587) | def predict_sql(self, expression: exp.Predict) -> str: method generateembedding_sql (line 4590) | def generateembedding_sql(self, expression: exp.GenerateEmbedding) -> ... method mltranslate_sql (line 4594) | def mltranslate_sql(self, expression: exp.MLTranslate) -> str: method mlforecast_sql (line 4597) | def mlforecast_sql(self, expression: exp.MLForecast) -> str: method featuresattime_sql (line 4600) | def featuresattime_sql(self, expression: exp.FeaturesAtTime) -> str: method vectorsearch_sql (line 4613) | def vectorsearch_sql(self, expression: exp.VectorSearch) -> str: method forin_sql (line 4633) | def forin_sql(self, expression: exp.ForIn) -> str: method refresh_sql (line 4638) | def refresh_sql(self, expression: exp.Refresh) -> str: method toarray_sql (line 4643) | def toarray_sql(self, expression: exp.ToArray) -> str: method tsordstotime_sql (line 4656) | def tsordstotime_sql(self, expression: exp.TsOrDsToTime) -> str: method tsordstotimestamp_sql (line 4673) | def tsordstotimestamp_sql(self, expression: exp.TsOrDsToTimestamp) -> ... method tsordstodatetime_sql (line 4680) | def tsordstodatetime_sql(self, expression: exp.TsOrDsToDatetime) -> str: method tsordstodate_sql (line 4687) | def tsordstodate_sql(self, expression: exp.TsOrDsToDate) -> str: method unixdate_sql (line 4707) | def unixdate_sql(self, expression: exp.UnixDate) -> str: method lastday_sql (line 4717) | def lastday_sql(self, expression: exp.LastDay) -> str: method dateadd_sql (line 4727) | def dateadd_sql(self, expression: exp.DateAdd) -> str: method arrayany_sql (line 4734) | def arrayany_sql(self, expression: exp.ArrayAny) -> str: method struct_sql (line 4749) | def struct_sql(self, expression: exp.Struct) -> str: method partitionrange_sql (line 4762) | def partitionrange_sql(self, expression: exp.PartitionRange) -> str: method truncatetable_sql (line 4768) | def truncatetable_sql(self, expression: exp.TruncateTable) -> str: method convert_sql (line 4790) | def convert_sql(self, expression: exp.Convert) -> str: method _jsonpathkey_sql (line 4832) | def _jsonpathkey_sql(self, expression: exp.JSONPathKey) -> str: method _jsonpathsubscript_sql (line 4848) | def _jsonpathsubscript_sql(self, expression: exp.JSONPathSubscript) ->... method _simplify_unless_literal (line 4852) | def _simplify_unless_literal(self, expression: E) -> E: method _embed_ignore_nulls (line 4860) | def _embed_ignore_nulls(self, expression: exp.IgnoreNulls | exp.Respec... method _replace_line_breaks (line 4895) | def _replace_line_breaks(self, string: str) -> str: method copyparameter_sql (line 4901) | def copyparameter_sql(self, expression: exp.CopyParameter) -> str: method credentials_sql (line 4924) | def credentials_sql(self, expression: exp.Credentials) -> str: method copy_sql (line 4949) | def copy_sql(self, expression: exp.Copy) -> str: method semicolon_sql (line 4977) | def semicolon_sql(self, expression: exp.Semicolon) -> str: method datadeletionproperty_sql (line 4980) | def datadeletionproperty_sql(self, expression: exp.DataDeletionPropert... method maskingpolicycolumnconstraint_sql (line 4992) | def maskingpolicycolumnconstraint_sql( method gapfill_sql (line 5000) | def gapfill_sql(self, expression: exp.GapFill) -> str: method scope_resolution (line 5005) | def scope_resolution(self, rhs: str, scope_name: str) -> str: method scoperesolution_sql (line 5008) | def scoperesolution_sql(self, expression: exp.ScopeResolution) -> str: method parsejson_sql (line 5020) | def parsejson_sql(self, expression: exp.ParseJSON) -> str: method rand_sql (line 5026) | def rand_sql(self, expression: exp.Rand) -> str: method changes_sql (line 5034) | def changes_sql(self, expression: exp.Changes) -> str: method pad_sql (line 5044) | def pad_sql(self, expression: exp.Pad) -> str: method summarize_sql (line 5053) | def summarize_sql(self, expression: exp.Summarize) -> str: method explodinggenerateseries_sql (line 5057) | def explodinggenerateseries_sql(self, expression: exp.ExplodingGenerat... method converttimezone_sql (line 5072) | def converttimezone_sql(self, expression: exp.ConvertTimezone) -> str: method json_sql (line 5089) | def json_sql(self, expression: exp.JSON) -> str: method jsonvalue_sql (line 5106) | def jsonvalue_sql(self, expression: exp.JSONValue) -> str: method skipjsoncolumn_sql (line 5116) | def skipjsoncolumn_sql(self, expression: exp.SkipJSONColumn) -> str: method conditionalinsert_sql (line 5120) | def conditionalinsert_sql(self, expression: exp.ConditionalInsert) -> ... method multitableinserts_sql (line 5127) | def multitableinserts_sql(self, expression: exp.MultitableInserts) -> ... method oncondition_sql (line 5133) | def oncondition_sql(self, expression: exp.OnCondition) -> str: method jsonextractquote_sql (line 5161) | def jsonextractquote_sql(self, expression: exp.JSONExtractQuote) -> str: method jsonexists_sql (line 5165) | def jsonexists_sql(self, expression: exp.JSONExists) -> str: method _add_arrayagg_null_filter (line 5179) | def _add_arrayagg_null_filter( method arrayagg_sql (line 5219) | def arrayagg_sql(self, expression: exp.ArrayAgg) -> str: method slice_sql (line 5223) | def slice_sql(self, expression: exp.Slice) -> str: method apply_sql (line 5231) | def apply_sql(self, expression: exp.Apply) -> str: method _grant_or_revoke_sql (line 5237) | def _grant_or_revoke_sql( method grant_sql (line 5264) | def grant_sql(self, expression: exp.Grant) -> str: method revoke_sql (line 5272) | def revoke_sql(self, expression: exp.Revoke) -> str: method grantprivilege_sql (line 5280) | def grantprivilege_sql(self, expression: exp.GrantPrivilege) -> str: method grantprincipal_sql (line 5287) | def grantprincipal_sql(self, expression: exp.GrantPrincipal) -> str: method columns_sql (line 5295) | def columns_sql(self, expression: exp.Columns) -> str: method overlay_sql (line 5302) | def overlay_sql(self, expression: exp.Overlay) -> str: method todouble_sql (line 5312) | def todouble_sql(self, expression: exp.ToDouble) -> str: method string_sql (line 5316) | def string_sql(self, expression: exp.String) -> str: method median_sql (line 5330) | def median_sql(self, expression: exp.Median) -> str: method overflowtruncatebehavior_sql (line 5338) | def overflowtruncatebehavior_sql(self, expression: exp.OverflowTruncat... method unixseconds_sql (line 5344) | def unixseconds_sql(self, expression: exp.UnixSeconds) -> str: method arraysize_sql (line 5354) | def arraysize_sql(self, expression: exp.ArraySize) -> str: method attach_sql (line 5369) | def attach_sql(self, expression: exp.Attach) -> str: method detach_sql (line 5377) | def detach_sql(self, expression: exp.Detach) -> str: method attachoption_sql (line 5394) | def attachoption_sql(self, expression: exp.AttachOption) -> str: method watermarkcolumnconstraint_sql (line 5400) | def watermarkcolumnconstraint_sql(self, expression: exp.WatermarkColum... method encodeproperty_sql (line 5405) | def encodeproperty_sql(self, expression: exp.EncodeProperty) -> str: method includeproperty_sql (line 5415) | def includeproperty_sql(self, expression: exp.IncludeProperty) -> str: method xmlelement_sql (line 5429) | def xmlelement_sql(self, expression: exp.XMLElement) -> str: method xmlkeyvalueoption_sql (line 5434) | def xmlkeyvalueoption_sql(self, expression: exp.XMLKeyValueOption) -> ... method partitionbyrangeproperty_sql (line 5440) | def partitionbyrangeproperty_sql(self, expression: exp.PartitionByRang... method partitionbyrangepropertydynamic_sql (line 5445) | def partitionbyrangepropertydynamic_sql( method unpivotcolumns_sql (line 5457) | def unpivotcolumns_sql(self, expression: exp.UnpivotColumns) -> str: method analyzesample_sql (line 5463) | def analyzesample_sql(self, expression: exp.AnalyzeSample) -> str: method analyzestatistics_sql (line 5468) | def analyzestatistics_sql(self, expression: exp.AnalyzeStatistics) -> ... method analyzehistogram_sql (line 5478) | def analyzehistogram_sql(self, expression: exp.AnalyzeHistogram) -> str: method analyzedelete_sql (line 5487) | def analyzedelete_sql(self, expression: exp.AnalyzeDelete) -> str: method analyzelistchainedrows_sql (line 5492) | def analyzelistchainedrows_sql(self, expression: exp.AnalyzeListChaine... method analyzevalidate_sql (line 5496) | def analyzevalidate_sql(self, expression: exp.AnalyzeValidate) -> str: method analyze_sql (line 5503) | def analyze_sql(self, expression: exp.Analyze) -> str: method xmltable_sql (line 5520) | def xmltable_sql(self, expression: exp.XMLTable) -> str: method xmlnamespace_sql (line 5531) | def xmlnamespace_sql(self, expression: exp.XMLNamespace) -> str: method export_sql (line 5535) | def export_sql(self, expression: exp.Export) -> str: method declare_sql (line 5542) | def declare_sql(self, expression: exp.Declare) -> str: method declareitem_sql (line 5546) | def declareitem_sql(self, expression: exp.DeclareItem) -> str: method recursivewithsearch_sql (line 5559) | def recursivewithsearch_sql(self, expression: exp.RecursiveWithSearch)... method parameterizedagg_sql (line 5570) | def parameterizedagg_sql(self, expression: exp.ParameterizedAgg) -> str: method anonymousaggfunc_sql (line 5574) | def anonymousaggfunc_sql(self, expression: exp.AnonymousAggFunc) -> str: method combinedaggfunc_sql (line 5577) | def combinedaggfunc_sql(self, expression: exp.CombinedAggFunc) -> str: method combinedparameterizedagg_sql (line 5580) | def combinedparameterizedagg_sql(self, expression: exp.CombinedParamet... method show_sql (line 5583) | def show_sql(self, expression: exp.Show) -> str: method install_sql (line 5587) | def install_sql(self, expression: exp.Install) -> str: method get_put_sql (line 5591) | def get_put_sql(self, expression: exp.Put | exp.Get) -> str: method translatecharacters_sql (line 5605) | def translatecharacters_sql(self, expression: exp.TranslateCharacters)... method decodecase_sql (line 5611) | def decodecase_sql(self, expression: exp.DecodeCase) -> str: method semanticview_sql (line 5637) | def semanticview_sql(self, expression: exp.SemanticView) -> str: method getextract_sql (line 5655) | def getextract_sql(self, expression: exp.GetExtract) -> str: method datefromunixdate_sql (line 5669) | def datefromunixdate_sql(self, expression: exp.DateFromUnixDate) -> str: method space_sql (line 5678) | def space_sql(self: Generator, expression: exp.Space) -> str: method buildproperty_sql (line 5681) | def buildproperty_sql(self, expression: exp.BuildProperty) -> str: method refreshtriggerproperty_sql (line 5684) | def refreshtriggerproperty_sql(self, expression: exp.RefreshTriggerPro... method modelattribute_sql (line 5698) | def modelattribute_sql(self, expression: exp.ModelAttribute) -> str: method directorystage_sql (line 5702) | def directorystage_sql(self, expression: exp.DirectoryStage) -> str: method uuid_sql (line 5705) | def uuid_sql(self, expression: exp.Uuid) -> str: method initcap_sql (line 5714) | def initcap_sql(self, expression: exp.Initcap) -> str: method localtime_sql (line 5730) | def localtime_sql(self, expression: exp.Localtime) -> str: method localtimestamp_sql (line 5734) | def localtimestamp_sql(self, expression: exp.Localtime) -> str: method weekstart_sql (line 5738) | def weekstart_sql(self, expression: exp.WeekStart) -> str: method chr_sql (line 5746) | def chr_sql(self, expression: exp.Chr, name: str = "CHR") -> str: method block_sql (line 5752) | def block_sql(self, expression: exp.Block) -> str: method storedprocedure_sql (line 5756) | def storedprocedure_sql(self, expression: exp.StoredProcedure) -> str: method ifblock_sql (line 5760) | def ifblock_sql(self, expression: exp.IfBlock) -> str: method whileblock_sql (line 5764) | def whileblock_sql(self, expression: exp.WhileBlock) -> str: method execute_sql (line 5768) | def execute_sql(self, expression: exp.Execute) -> str: method executesql_sql (line 5772) | def executesql_sql(self, expression: exp.ExecuteSql) -> str: method altermodifysqlsecurity_sql (line 5776) | def altermodifysqlsecurity_sql(self, expression: exp.AlterModifySqlSec... FILE: sqlglot/helper.py function mypyc_attr (line 20) | def mypyc_attr(*attrs: str, **kwattrs: object) -> t.Callable[[t.Any], t.... function trait (line 23) | def trait(f: t.Any) -> t.Any: # type: ignore[misc] class AutoName (line 41) | class AutoName(Enum): method _generate_next_value_ (line 49) | def _generate_next_value_(name, _start, _count, _last_values): function suggest_closest_match_and_fail (line 53) | def suggest_closest_match_and_fail( function seq_get (line 67) | def seq_get(seq: Sequence[T], index: int) -> t.Optional[T]: function ensure_list (line 76) | def ensure_list(value: Collection[T]) -> list[T]: ... function ensure_list (line 80) | def ensure_list(value: None) -> t.List: ... function ensure_list (line 84) | def ensure_list(value: T) -> list[T]: ... function ensure_list (line 87) | def ensure_list(value): function ensure_collection (line 106) | def ensure_collection(value: Collection[T]) -> Collection[T]: ... function ensure_collection (line 110) | def ensure_collection(value: T) -> Collection[T]: ... function ensure_collection (line 113) | def ensure_collection(value): function csv (line 130) | def csv(*args: str, sep: str = ", ") -> str: function subclasses (line 144) | def subclasses( function camel_to_snake_case (line 169) | def camel_to_snake_case(name: str) -> str: function while_changing (line 174) | def while_changing(expression: E, func: t.Callable[[E], E]) -> E: function tsort (line 197) | def tsort(dag: t.Dict[T, t.Set[T]]) -> t.List[T]: function find_new_name (line 231) | def find_new_name(taken: Collection[str], base: str) -> str: function is_int (line 254) | def is_int(text: str) -> bool: function is_float (line 258) | def is_float(text: str) -> bool: function is_type (line 262) | def is_type(text: str, target_type: Type) -> bool: function name_sequence (line 270) | def name_sequence(prefix: str) -> t.Callable[[], str]: function object_to_dict (line 276) | def object_to_dict(obj: t.Any, **kwargs) -> t.Dict: function split_num_words (line 284) | def split_num_words( function is_iterable (line 313) | def is_iterable(value: t.Any) -> bool: function flatten (line 334) | def flatten(values: Iterable[Iterable[t.Any] | t.Any]) -> Iterator[t.Any]: function dict_depth (line 358) | def dict_depth(d: t.Any) -> int: function first (line 384) | def first(it: Iterable[T]) -> T: function to_bool (line 389) | def to_bool(value: t.Optional[str | bool]) -> t.Optional[str | bool]: function merge_ranges (line 403) | def merge_ranges(ranges: t.List[t.Tuple[t.Any, t.Any]]) -> t.List[t.Tupl... function is_iso_date (line 430) | def is_iso_date(text: str) -> bool: function is_iso_datetime (line 438) | def is_iso_datetime(text: str) -> bool: function is_date_unit (line 450) | def is_date_unit(expression: t.Optional[Expr]) -> bool: class SingleValuedMapping (line 458) | class SingleValuedMapping(Mapping[K, V]): method __init__ (line 466) | def __init__(self, keys: Collection[K], value: V): method __getitem__ (line 470) | def __getitem__(self, key: K) -> V: method __len__ (line 475) | def __len__(self) -> int: method __iter__ (line 478) | def __iter__(self) -> Iterator[K]: FILE: sqlglot/jsonpath.py class JSONPathTokenizer (line 14) | class JSONPathTokenizer(Tokenizer): function parse (line 44) | def parse(path: str, dialect: DialectType = None) -> exp.JSONPath: FILE: sqlglot/lineage.py class Node (line 21) | class Node: method walk (line 29) | def walk(self) -> Iterator[Node]: method to_html (line 41) | def to_html(self, dialect: DialectType = None, **opts) -> GraphHTML: function lineage (line 75) | def lineage( function to_node (line 139) | def to_node( class GraphHTML (line 392) | class GraphHTML: method __init__ (line 398) | def __init__( method __str__ (line 436) | def __str__(self): method _repr_html_ (line 466) | def _repr_html_(self) -> str: FILE: sqlglot/optimizer/annotate_types.py function annotate_types (line 43) | def annotate_types( function _coerce_date_literal (line 83) | def _coerce_date_literal(l: exp.Expr, unit: t.Optional[exp.Expr]) -> exp... function _coerce_date (line 97) | def _coerce_date(l: exp.Expr, unit: t.Optional[exp.Expr]) -> exp.DType: function swap_args (line 103) | def swap_args(func: BinaryCoercionFunc) -> BinaryCoercionFunc: function swap_all (line 111) | def swap_all(coercions: BinaryCoercions) -> BinaryCoercions: class _TypeAnnotator (line 115) | class _TypeAnnotator(type): method __new__ (line 116) | def __new__(cls, clsname, bases, attrs): class TypeAnnotator (line 155) | class TypeAnnotator(metaclass=_TypeAnnotator): method __init__ (line 191) | def __init__( method clear (line 226) | def clear(self) -> None: method _set_type (line 232) | def _set_type(self, expression: E, target_type: t.Optional[exp.DataTyp... method annotate (line 249) | def annotate(self, expression: E, annotate_scope: bool = True) -> E: method _get_scope_selects (line 266) | def _get_scope_selects(self, scope: Scope) -> t.Dict[str, t.Dict[str, ... method annotate_scope (line 315) | def annotate_scope(self, scope: Scope) -> None: method _annotate_expression (line 369) | def _annotate_expression( method _maybe_coerce (line 436) | def _maybe_coerce( method _get_setop_column_types (line 472) | def _get_setop_column_types( method _annotate_binary (line 535) | def _annotate_binary(self, expression: B) -> B: method _annotate_unary (line 559) | def _annotate_unary(self, expression: E) -> E: method _annotate_literal (line 570) | def _annotate_literal(self, expression: exp.Literal) -> exp.Literal: method _annotate_by_args (line 583) | def _annotate_by_args( method _annotate_timeunit (line 659) | def _annotate_timeunit( method _annotate_bracket (line 672) | def _annotate_bracket(self, expression: exp.Bracket) -> exp.Bracket: method _annotate_div (line 689) | def _annotate_div(self, expression: exp.Div) -> exp.Div: method _annotate_dot (line 705) | def _annotate_dot(self, expression: exp.Dot) -> exp.Dot: method _annotate_explode (line 723) | def _annotate_explode(self, expression: exp.Explode) -> exp.Explode: method _annotate_unnest (line 727) | def _annotate_unnest(self, expression: exp.Unnest) -> exp.Unnest: method _annotate_subquery (line 738) | def _annotate_subquery(self, expression: exp.Subquery) -> exp.Subquery: method _annotate_struct_value (line 753) | def _annotate_struct_value( method _annotate_struct (line 778) | def _annotate_struct(self, expression: exp.Struct) -> exp.Struct: method _annotate_map (line 795) | def _annotate_map(self, expression: exp.Map) -> exp.Map: ... method _annotate_map (line 798) | def _annotate_map(self, expression: exp.VarMap) -> exp.VarMap: ... method _annotate_map (line 800) | def _annotate_map(self, expression): method _annotate_to_map (line 816) | def _annotate_to_map(self, expression: exp.ToMap) -> exp.ToMap: method _annotate_extract (line 830) | def _annotate_extract(self, expression: exp.Extract) -> exp.Extract: method _annotate_by_array_element (line 842) | def _annotate_by_array_element(self, expression: exp.Expr) -> exp.Expr: FILE: sqlglot/optimizer/canonicalize.py function canonicalize (line 12) | def canonicalize(expression: exp.Expr, dialect: DialectType = None) -> e... function add_text_to_concat (line 83) | def add_text_to_concat(node: exp.Expr) -> exp.Expr: function replace_date_funcs (line 94) | def replace_date_funcs(node: exp.Expr, dialect: DialectType) -> exp.Expr: function coerce_type (line 113) | def coerce_type(node: exp.Expr, promote_to_inferred_datetime_type: bool)... function remove_redundant_casts (line 130) | def remove_redundant_casts(expression: exp.Expr) -> exp.Expr: function ensure_bools (line 149) | def ensure_bools(expression: exp.Expr, replace_func: t.Callable[[exp.Exp... function remove_ascending_order (line 166) | def remove_ascending_order(expression: exp.Expr) -> exp.Expr: function _coerce_date (line 174) | def _coerce_date( function _coerce_timeunit_arg (line 218) | def _coerce_timeunit_arg(arg: exp.Expr, unit: t.Optional[exp.Expr]) -> e... function _coerce_datediff_args (line 239) | def _coerce_datediff_args(node: exp.DateDiff) -> None: function _replace_cast (line 245) | def _replace_cast(node: exp.Expr, to: exp.DATA_TYPE) -> None: function _replace_int_predicate (line 253) | def _replace_int_predicate(expression: exp.Expr) -> None: FILE: sqlglot/optimizer/eliminate_ctes.py function eliminate_ctes (line 12) | def eliminate_ctes(expression: E) -> E: FILE: sqlglot/optimizer/eliminate_joins.py function eliminate_joins (line 13) | def eliminate_joins(expression: E) -> E: function _should_eliminate_join (line 56) | def _should_eliminate_join(scope, join, alias): function _join_is_used (line 68) | def _join_is_used(scope, join, alias): function _is_joined_on_all_unique_outputs (line 81) | def _is_joined_on_all_unique_outputs(scope, join): function _unique_outputs (line 91) | def _unique_outputs(scope): function _has_single_output_row (line 120) | def _has_single_output_row(scope): function _is_limit_1 (line 128) | def _is_limit_1(scope): function join_condition (line 133) | def join_condition(join): FILE: sqlglot/optimizer/eliminate_subqueries.py function eliminate_subqueries (line 15) | def eliminate_subqueries(expression: exp.Expr) -> exp.Expr: function _eliminate (line 109) | def _eliminate( function _eliminate_derived_table (line 121) | def _eliminate_derived_table( function _eliminate_cte (line 146) | def _eliminate_cte( function _new_cte (line 171) | def _new_cte( FILE: sqlglot/optimizer/isolate_table_selects.py function isolate_table_selects (line 16) | def isolate_table_selects( FILE: sqlglot/optimizer/merge_subqueries.py function merge_subqueries (line 17) | def merge_subqueries(expression: E, leave_tables_isolated: bool = False)... function merge_ctes (line 70) | def merge_ctes(expression: E, leave_tables_isolated: bool = False) -> E: function merge_derived_tables (line 108) | def merge_derived_tables(expression: E, leave_tables_isolated: bool = Fa... function _mergeable (line 131) | def _mergeable( function _rename_inner_sources (line 233) | def _rename_inner_sources(outer_scope: Scope, inner_scope: Scope, alias:... function _merge_from (line 263) | def _merge_from( function _merge_joins (line 286) | def _merge_joins(outer_scope: Scope, inner_scope: Scope, from_or_join: F... function _merge_expressions (line 312) | def _merge_expressions(outer_scope: Scope, inner_scope: Scope, alias: st... function _merge_where (line 366) | def _merge_where(outer_scope: Scope, inner_scope: Scope, from_or_join: F... function _merge_order (line 401) | def _merge_order(outer_scope: Scope, inner_scope: Scope) -> None: function _merge_hints (line 425) | def _merge_hints(outer_scope: Scope, inner_scope: Scope) -> None: function _pop_cte (line 437) | def _pop_cte(inner_scope: Scope) -> None: FILE: sqlglot/optimizer/normalize.py function normalize (line 14) | def normalize(expression: exp.Expr, dnf: bool = False, max_distance: int... function normalized (line 69) | def normalized(expression: exp.Expr, dnf: bool = False) -> bool: function normalization_distance (line 93) | def normalization_distance( function _predicate_lengths (line 126) | def _predicate_lengths(expression, dnf, max_=float("inf"), depth=0): function distributive_law (line 154) | def distributive_law(expression, dnf, max_distance, simplifier=None): function _distribute (line 190) | def _distribute(a, b, from_func, to_func, simplifier): FILE: sqlglot/optimizer/normalize_identifiers.py function normalize_identifiers (line 13) | def normalize_identifiers( function normalize_identifiers (line 19) | def normalize_identifiers( function normalize_identifiers (line 24) | def normalize_identifiers(expression, dialect=None, store_original_colum... FILE: sqlglot/optimizer/optimize_joins.py function optimize_joins (line 11) | def optimize_joins(expression): function reorder_joins (line 61) | def reorder_joins(expression): function normalize (line 85) | def normalize(expression): function other_table_names (line 104) | def other_table_names(join: exp.Join) -> t.Set[str]: function _is_reorderable (line 109) | def _is_reorderable(joins: t.List[exp.Join]) -> bool: FILE: sqlglot/optimizer/optimizer.py function optimize (line 42) | def optimize( FILE: sqlglot/optimizer/pushdown_predicates.py function pushdown_predicates (line 16) | def pushdown_predicates(expression: E, dialect: DialectType = None) -> E: function pushdown (line 83) | def pushdown(condition, sources, scope_ref_count, dialect, join_index=No... function pushdown_cnf (line 102) | def pushdown_cnf(predicates, sources, scope_ref_count, join_index=None): function pushdown_dnf (line 128) | def pushdown_dnf(predicates, sources, scope_ref_count, join_index=None): function nodes_for_predicate (line 182) | def nodes_for_predicate(predicate, sources, scope_ref_count): function replace_aliases (line 222) | def replace_aliases(source, predicate): FILE: sqlglot/optimizer/pushdown_projections.py function default_selection (line 23) | def default_selection(is_agg: bool) -> exp.Alias: function pushdown_projections (line 27) | def pushdown_projections( function _remove_unused_selections (line 131) | def _remove_unused_selections(scope, parent_selections, schema, alias_co... FILE: sqlglot/optimizer/qualify.py function qualify (line 18) | def qualify( FILE: sqlglot/optimizer/qualify_columns.py function qualify_columns (line 21) | def qualify_columns( function validate_qualify_columns (line 117) | def validate_qualify_columns(expression: E, sql: t.Optional[str] = None)... function _separate_pseudocolumns (line 169) | def _separate_pseudocolumns(scope: Scope, pseudocolumns: t.Set[str]) -> ... function _unpivot_columns (line 191) | def _unpivot_columns(unpivot: exp.Pivot) -> Iterator[exp.Column]: function _pop_table_column_aliases (line 202) | def _pop_table_column_aliases(derived_tables: Iterable[exp.Expr]) -> None: function _expand_using (line 216) | def _expand_using(scope: Scope, resolver: Resolver) -> t.Dict[str, t.Any]: function _expand_alias_refs (line 314) | def _expand_alias_refs( function _expand_group_by (line 434) | def _expand_group_by(scope: Scope, dialect: Dialect) -> None: function _expand_order_by_and_distinct_on (line 444) | def _expand_order_by_and_distinct_on(scope: Scope, resolver: Resolver) -... function _expand_positional_references (line 489) | def _expand_positional_references( function _select_by_pos (line 542) | def _select_by_pos(expression: exp.Selectable, node: exp.Literal) -> exp... function _convert_columns_to_dots (line 549) | def _convert_columns_to_dots(scope: Scope, resolver: Resolver) -> None: function _qualify_columns (line 599) | def _qualify_columns( function _expand_struct_stars_no_parens (line 654) | def _expand_struct_stars_no_parens( function _expand_struct_stars_with_parens (line 708) | def _expand_struct_stars_with_parens(expression: exp.Dot) -> t.List[exp.... function _expand_stars (line 770) | def _expand_stars( function _add_except_columns (line 910) | def _add_except_columns( function _add_rename_columns (line 924) | def _add_rename_columns( function _add_replace_columns (line 938) | def _add_replace_columns( function qualify_outputs (line 952) | def qualify_outputs(scope_or_expression: Scope | exp.Expr) -> None: function quote_identifiers (line 992) | def quote_identifiers(expression: E, dialect: DialectType = None, identi... function pushdown_cte_alias_columns (line 999) | def pushdown_cte_alias_columns(scope: Scope) -> None: FILE: sqlglot/optimizer/qualify_tables.py function qualify_tables (line 15) | def qualify_tables( FILE: sqlglot/optimizer/resolver.py class Resolver (line 17) | class Resolver: method __init__ (line 24) | def __init__(self, scope: Scope, schema: Schema, infer_schema: bool = ... method get_table (line 34) | def get_table(self, column: str | exp.Column) -> t.Optional[exp.Identi... method all_columns (line 87) | def all_columns(self) -> t.Set[str]: method get_source_columns_from_set_op (line 95) | def get_source_columns_from_set_op(self, expression: exp.Expr) -> t.Li... method get_source_columns (line 133) | def get_source_columns(self, name: str, only_visible: bool = False) ->... method _get_all_source_columns (line 205) | def _get_all_source_columns(self) -> dict[str, Sequence[str]]: method _get_table_name_from_sources (line 215) | def _get_table_name_from_sources( method _get_column_join_context (line 231) | def _get_column_join_context(self, column: exp.Column) -> t.Optional[e... method _get_available_source_columns (line 255) | def _get_available_source_columns(self, join_ancestor: exp.Join) -> di... method _get_unambiguous_columns (line 284) | def _get_unambiguous_columns( method _get_unnest_column_type (line 341) | def _get_unnest_column_type(self, column: exp.Column) -> t.Optional[ex... method _get_column_type_from_scope (line 368) | def _get_column_type_from_scope( FILE: sqlglot/optimizer/scope.py class ScopeType (line 23) | class ScopeType(Enum): class Scope (line 33) | class Scope: method __init__ (line 84) | def __init__( method clear_cache (line 113) | def clear_cache(self) -> None: method branch (line 133) | def branch( method _collect (line 155) | def _collect(self) -> None: method _ensure_collected (line 202) | def _ensure_collected(self) -> None: method walk (line 206) | def walk(self, prune: t.Optional[t.Callable[[exp.Expr], bool]] = None)... method find (line 209) | def find(self, *expression_types: Type[E]) -> t.Optional[E]: method find_all (line 212) | def find_all(self, *expression_types: Type[E]) -> Iterator[E]: method replace (line 215) | def replace(self, old: exp.Expr, new: exp.Expr) -> None: method tables (line 229) | def tables(self) -> t.List[exp.Table]: method ctes (line 240) | def ctes(self) -> t.List[exp.CTE]: method derived_tables (line 251) | def derived_tables(self) -> t.List[exp.Subquery]: method udtfs (line 265) | def udtfs(self) -> t.List[exp.UDTF]: method subqueries (line 276) | def subqueries(self) -> t.List[exp.Select | exp.SetOperation]: method stars (line 290) | def stars(self) -> t.List[exp.Column | exp.Dot]: method column_index (line 298) | def column_index(self) -> t.Set[int]: method columns (line 306) | def columns(self) -> t.List[exp.Column]: method table_columns (line 363) | def table_columns(self) -> t.List[exp.TableColumn]: method selected_sources (line 368) | def selected_sources(self) -> t.Dict[str, t.Tuple[exp.Selectable, exp.... method references (line 396) | def references(self) -> t.List[t.Tuple[str, exp.Selectable]]: method external_columns (line 417) | def external_columns(self) -> t.List[exp.Column]: method local_columns (line 439) | def local_columns(self) -> t.List[exp.Column]: method unqualified_columns (line 453) | def unqualified_columns(self) -> t.List[exp.Column]: method join_hints (line 463) | def join_hints(self) -> t.List[exp.JoinHint]: method pivots (line 474) | def pivots(self) -> t.List[exp.Pivot]: method semi_or_anti_join_tables (line 483) | def semi_or_anti_join_tables(self) -> t.Set[str]: method source_columns (line 487) | def source_columns(self, source_name: str) -> t.List[exp.Column]: method is_subquery (line 499) | def is_subquery(self) -> bool: method is_derived_table (line 504) | def is_derived_table(self) -> bool: method is_union (line 509) | def is_union(self) -> bool: method is_cte (line 514) | def is_cte(self) -> bool: method is_root (line 519) | def is_root(self) -> bool: method is_udtf (line 524) | def is_udtf(self) -> bool: method is_correlated_subquery (line 529) | def is_correlated_subquery(self) -> bool: method rename_source (line 533) | def rename_source(self, old_name: t.Optional[str], new_name: str) -> N... method add_source (line 539) | def add_source(self, name: str, source: exp.Table | Scope) -> None: method remove_source (line 544) | def remove_source(self, name: str) -> None: method __repr__ (line 549) | def __repr__(self) -> str: method traverse (line 552) | def traverse(self) -> Iterator[Scope]: method ref_count (line 575) | def ref_count(self) -> t.Dict[int, int]: function traverse_scope (line 597) | def traverse_scope(expression: exp.Expr) -> t.List[Scope]: function build_scope (line 628) | def build_scope(expression: exp.Expr) -> t.Optional[Scope]: function _traverse_scope (line 641) | def _traverse_scope(scope: Scope) -> Iterator[Scope]: function _traverse_select (line 680) | def _traverse_select(scope: Scope) -> Iterator[Scope]: function _traverse_union (line 686) | def _traverse_union(scope: Scope) -> Iterator[Scope]: function _traverse_ctes (line 724) | def _traverse_ctes(scope: Scope) -> Iterator[Scope]: function _is_derived_table (line 760) | def _is_derived_table(expression: exp.Expr) -> bool: function _is_from_or_join (line 771) | def _is_from_or_join(expression: exp.Expr) -> bool: function _traverse_tables (line 784) | def _traverse_tables(scope: Scope) -> Iterator[Scope]: function _traverse_subqueries (line 874) | def _traverse_subqueries(scope: Scope) -> Iterator[Scope]: function _traverse_udtfs (line 884) | def _traverse_udtfs(scope: Scope) -> Iterator[Scope]: function walk_in_scope (line 913) | def walk_in_scope( function find_all_in_scope (line 961) | def find_all_in_scope( function find_in_scope (line 983) | def find_in_scope( function _get_source_alias (line 1003) | def _get_source_alias(expression: exp.Expr) -> str: FILE: sqlglot/optimizer/simplify.py function simplify (line 42) | def simplify( class UnsupportedUnit (line 73) | class UnsupportedUnit(Exception): function catch (line 77) | def catch(*exceptions): function annotate_types_on_change (line 92) | def annotate_types_on_change(func): function flatten (line 118) | def flatten(expression): function simplify_parens (line 131) | def simplify_parens(expression: exp.Expr, dialect: DialectType) -> exp.E... function propagate_constants (line 177) | def propagate_constants(expression, root=True): function _is_number (line 216) | def _is_number(expression: exp.Expr) -> bool: function _is_interval (line 220) | def _is_interval(expression: exp.Expr) -> bool: function _is_nonnull_constant (line 224) | def _is_nonnull_constant(expression: exp.Expr) -> bool: function _is_constant (line 228) | def _is_constant(expression: exp.Expr) -> bool: function _datetrunc_range (line 232) | def _datetrunc_range(date: datetime.date, unit: str, dialect: Dialect) -... function _datetrunc_eq_expression (line 250) | def _datetrunc_eq_expression( function _datetrunc_eq (line 261) | def _datetrunc_eq( function _datetrunc_neq (line 275) | def _datetrunc_neq( function always_true (line 293) | def always_true(expression): function always_false (line 299) | def always_false(expression): function is_zero (line 303) | def is_zero(expression): function is_complement (line 307) | def is_complement(a, b): function is_false (line 311) | def is_false(a: exp.Expr) -> bool: function is_null (line 315) | def is_null(a: exp.Expr) -> bool: function eval_boolean (line 319) | def eval_boolean(expression, a, b): function cast_as_date (line 335) | def cast_as_date(value: t.Any) -> t.Optional[datetime.date]: function cast_as_datetime (line 346) | def cast_as_datetime(value: t.Any) -> t.Optional[datetime.datetime]: function cast_value (line 357) | def cast_value(value: t.Any, to: exp.DataType) -> t.Optional[t.Union[dat... function extract_date (line 367) | def extract_date(cast: exp.Expr) -> t.Optional[t.Union[datetime.date, da... function _is_date_literal (line 384) | def _is_date_literal(expression: exp.Expr) -> bool: function extract_interval (line 388) | def extract_interval(expression): function extract_type (line 397) | def extract_type(*expressions): function date_literal (line 407) | def date_literal(date, target_type=None): function interval (line 414) | def interval(unit: str, n: int = 1): function date_floor (line 437) | def date_floor(d: datetime.date, unit: str, dialect: Dialect) -> datetim... function date_ceil (line 460) | def date_ceil(d: datetime.date, unit: str, dialect: Dialect) -> datetime... function boolean_literal (line 469) | def boolean_literal(condition): class Simplifier (line 473) | class Simplifier: method __init__ (line 474) | def __init__(self, dialect: DialectType = None, annotate_new_expressio... method simplify (line 569) | def simplify( method _simplify (line 639) | def _simplify( method rewrite_between (line 709) | def rewrite_between(self, expression: exp.Expr) -> exp.Expr: method simplify_not (line 729) | def simplify_not(self, expression: exp.Expr) -> exp.Expr: method simplify_connectors (line 783) | def simplify_connectors(self, expression, root=True): method _simplify_comparison (line 843) | def _simplify_comparison(self, expression, left, right, or_=False): method remove_complements (line 907) | def remove_complements(self, expression, root=True): method uniq_sort (line 924) | def uniq_sort(self, expression, root=True): method absorb_and_eliminate (line 961) | def absorb_and_eliminate(self, expression, root=True): method simplify_equality (line 1034) | def simplify_equality(self, expression: exp.Expr) -> exp.Expr: method simplify_literals (line 1083) | def simplify_literals(self, expression, root=True): method _simplify_integer_cast (line 1098) | def _simplify_integer_cast(self, expr: exp.Expr) -> exp.Expr: method _simplify_binary (line 1121) | def _simplify_binary(self, expression, a, b): method simplify_coalesce (line 1193) | def simplify_coalesce(self, expression: exp.Expr) -> exp.Expr: method simplify_concat (line 1255) | def simplify_concat(self, expression): method simplify_conditionals (line 1297) | def simplify_conditionals(self, expression): method simplify_startswith (line 1323) | def simplify_startswith(self, expression: exp.Expr) -> exp.Expr: method _is_datetrunc_predicate (line 1342) | def _is_datetrunc_predicate(self, left: exp.Expr, right: exp.Expr) -> ... method simplify_datetrunc (line 1347) | def simplify_datetrunc(self, expression: exp.Expr) -> exp.Expr: method sort_comparison (line 1414) | def sort_comparison(self, expression: exp.Expr) -> exp.Expr: method _flat_simplify (line 1434) | def _flat_simplify(self, expression, simplifier, root=True): function gen (line 1460) | def gen(expression: t.Any, comments: bool = False) -> str: class Gen (line 1473) | class Gen: method __init__ (line 1474) | def __init__(self): method gen (line 1478) | def gen(self, expression: exp.Expr, comments: bool = False) -> str: method add_sql (line 1510) | def add_sql(self, e: exp.Add) -> None: method alias_sql (line 1513) | def alias_sql(self, e: exp.Alias) -> None: method and_sql (line 1522) | def and_sql(self, e: exp.And) -> None: method anonymous_sql (line 1525) | def anonymous_sql(self, e: exp.Anonymous) -> None: method between_sql (line 1546) | def between_sql(self, e: exp.Between) -> None: method boolean_sql (line 1557) | def boolean_sql(self, e: exp.Boolean) -> None: method bracket_sql (line 1560) | def bracket_sql(self, e: exp.Bracket) -> None: method column_sql (line 1570) | def column_sql(self, e: exp.Column) -> None: method datatype_sql (line 1575) | def datatype_sql(self, e: exp.DataType) -> None: method div_sql (line 1579) | def div_sql(self, e: exp.Div) -> None: method dot_sql (line 1582) | def dot_sql(self, e: exp.Dot) -> None: method eq_sql (line 1585) | def eq_sql(self, e: exp.EQ) -> None: method from_sql (line 1588) | def from_sql(self, e: exp.From) -> None: method gt_sql (line 1591) | def gt_sql(self, e: exp.GT) -> None: method gte_sql (line 1594) | def gte_sql(self, e: exp.GTE) -> None: method identifier_sql (line 1597) | def identifier_sql(self, e: exp.Identifier) -> None: method ilike_sql (line 1600) | def ilike_sql(self, e: exp.ILike) -> None: method in_sql (line 1603) | def in_sql(self, e: exp.In) -> None: method intdiv_sql (line 1614) | def intdiv_sql(self, e: exp.IntDiv) -> None: method is_sql (line 1617) | def is_sql(self, e: exp.Is) -> None: method like_sql (line 1620) | def like_sql(self, e: exp.Like) -> None: method literal_sql (line 1623) | def literal_sql(self, e: exp.Literal) -> None: method lt_sql (line 1626) | def lt_sql(self, e: exp.LT) -> None: method lte_sql (line 1629) | def lte_sql(self, e: exp.LTE) -> None: method mod_sql (line 1632) | def mod_sql(self, e: exp.Mod) -> None: method mul_sql (line 1635) | def mul_sql(self, e: exp.Mul) -> None: method neg_sql (line 1638) | def neg_sql(self, e: exp.Neg) -> None: method neq_sql (line 1641) | def neq_sql(self, e: exp.NEQ) -> None: method not_sql (line 1644) | def not_sql(self, e: exp.Not) -> None: method null_sql (line 1647) | def null_sql(self, e: exp.Null) -> None: method or_sql (line 1650) | def or_sql(self, e: exp.Or) -> None: method paren_sql (line 1653) | def paren_sql(self, e: exp.Paren) -> None: method sub_sql (line 1662) | def sub_sql(self, e: exp.Sub) -> None: method subquery_sql (line 1665) | def subquery_sql(self, e: exp.Subquery) -> None: method table_sql (line 1672) | def table_sql(self, e: exp.Table) -> None: method tablealias_sql (line 1681) | def tablealias_sql(self, e: exp.TableAlias) -> None: method var_sql (line 1689) | def var_sql(self, e: exp.Var) -> None: method _binary (line 1692) | def _binary(self, e: exp.Binary, op: str) -> None: method _unary (line 1695) | def _unary(self, e: exp.Unary, op: str) -> None: method _function (line 1698) | def _function(self, e: exp.Func) -> None: method _args (line 1708) | def _args(self, node: exp.Expr, arg_index: int = 0) -> bool: FILE: sqlglot/optimizer/unnest_subqueries.py function unnest_subqueries (line 6) | def unnest_subqueries(expression): function unnest (line 39) | def unnest(select, parent_select, next_alias_name): function decorrelate (line 137) | def decorrelate(select, parent_select, external_columns, next_alias_name): function _replace (line 306) | def _replace(expression, condition): function _other_operand (line 310) | def _other_operand(expression): FILE: sqlglot/parser.py function build_var_map (line 43) | def build_var_map(args: list) -> exp.StarMap | exp.VarMap: function build_like (line 56) | def build_like(args: t.List) -> exp.Escape | exp.Like: function binary_range_parser (line 61) | def binary_range_parser( function build_logarithm (line 73) | def build_logarithm(args: t.List, dialect: Dialect) -> exp.Func: function build_hex (line 86) | def build_hex(args: t.List, dialect: Dialect) -> exp.Hex | exp.LowerHex: function build_lower (line 91) | def build_lower(args: t.List) -> exp.Lower | exp.Hex: function build_upper (line 97) | def build_upper(args: t.List) -> exp.Upper | exp.Hex: function build_extract_json_with_path (line 103) | def build_extract_json_with_path(expr_type: t.Type[E]) -> t.Callable[[t.... function build_mod (line 118) | def build_mod(args: t.List) -> exp.Mod: function build_pad (line 129) | def build_pad(args: t.List, is_left: bool = True): function build_array_constructor (line 138) | def build_array_constructor( function build_convert_timezone (line 149) | def build_convert_timezone( function build_trim (line 161) | def build_trim(args: t.List, is_left: bool = True, reverse_args: bool = ... function build_coalesce (line 170) | def build_coalesce( function build_locate_strposition (line 176) | def build_locate_strposition(args: t.List): function build_array_append (line 184) | def build_array_append(args: t.List, dialect: Dialect) -> exp.ArrayAppend: function build_array_prepend (line 205) | def build_array_prepend(args: t.List, dialect: Dialect) -> exp.ArrayPrep... function build_array_concat (line 226) | def build_array_concat(args: t.List, dialect: Dialect) -> exp.ArrayConcat: function build_array_remove (line 247) | def build_array_remove(args: t.List, dialect: Dialect) -> exp.ArrayRemove: function _resolve_dialect (line 268) | def _resolve_dialect(dialect: t.Any) -> t.Any: class Parser (line 277) | class Parser: method _parse_partitioned_by_bucket_or_truncate (line 1384) | def _parse_partitioned_by_bucket_or_truncate(self) -> t.Optional[exp.E... method __init__ (line 1820) | def __init__( method reset (line 1844) | def reset(self) -> None: method _advance (line 1858) | def _advance(self, times: i64 = 1) -> None: method _advance_chunk (line 1874) | def _advance_chunk(self) -> None: method _retreat (line 1881) | def _retreat(self, index: i64) -> None: method _add_comments (line 1885) | def _add_comments(self, expression: t.Optional[exp.Expr]) -> None: method _match (line 1890) | def _match( method _match_set (line 1900) | def _match_set(self, types: t.Collection[TokenType], advance: bool = T... method _match_pair (line 1907) | def _match_pair( method _match_texts (line 1916) | def _match_texts(self, texts: t.Collection[str], advance: bool = True)... method _match_text_seq (line 1923) | def _match_text_seq(self, *texts: str, advance: bool = True) -> bool: method _is_connected (line 1938) | def _is_connected(self) -> bool: method _find_sql (line 1943) | def _find_sql(self, start: Token, end: Token) -> str: method raise_error (line 1946) | def raise_error(self, message: str, token: Token = SENTINEL_NONE) -> N... method validate_expression (line 1970) | def validate_expression(self, expression: E, args: t.Optional[t.List] ... method _try_parse (line 1976) | def _try_parse(self, parse_method: t.Callable[[], T], retreat: bool = ... method parse (line 1993) | def parse(self, raw_tokens: t.List[Token], sql: str) -> t.List[t.Optio... method parse_into (line 2009) | def parse_into( method check_errors (line 2045) | def check_errors(self) -> None: method expression (line 2056) | def expression( method _parse_batch_statements (line 2069) | def _parse_batch_statements( method _parse (line 2101) | def _parse( method _warn_unsupported (line 2127) | def _warn_unsupported(self) -> None: method _parse_command (line 2139) | def _parse_command(self) -> exp.Command: method _parse_comment (line 2147) | def _parse_comment(self, allow_exists: bool = True) -> exp.Expr: method _parse_to_table (line 2179) | def _parse_to_table( method _parse_ttl (line 2186) | def _parse_ttl(self) -> exp.Expr: method _parse_condition (line 2221) | def _parse_condition(self) -> t.Optional[exp.Expr]: method _parse_block (line 2224) | def _parse_block(self) -> exp.Block: method _parse_whileblock (line 2233) | def _parse_whileblock(self) -> exp.WhileBlock: method _parse_statement (line 2238) | def _parse_statement(self) -> t.Optional[exp.Expr]: method _parse_drop (line 2258) | def _parse_drop(self, exists: bool = False) -> exp.Drop | exp.Command: method _parse_exists (line 2299) | def _parse_exists(self, not_: bool = False) -> t.Optional[bool]: method _parse_create (line 2306) | def _parse_create(self) -> exp.Create | exp.Command: method _parse_sequence_properties (line 2549) | def _parse_sequence_properties(self) -> t.Optional[exp.SequencePropert... method _parse_trigger_events (line 2584) | def _parse_trigger_events(self) -> t.List[exp.TriggerEvent]: method _parse_trigger_deferrable (line 2606) | def _parse_trigger_deferrable( method _parse_trigger_referencing_clause (line 2622) | def _parse_trigger_referencing_clause(self, keyword: str) -> t.Optiona... method _parse_trigger_referencing (line 2630) | def _parse_trigger_referencing(self) -> t.Optional[exp.TriggerReferenc... method _parse_trigger_for_each (line 2654) | def _parse_trigger_for_each(self) -> t.Optional[str]: method _parse_trigger_execute (line 2660) | def _parse_trigger_execute(self) -> t.Optional[exp.TriggerExecute]: method _parse_property_before (line 2670) | def _parse_property_before(self) -> exp.Expr | t.List[exp.Expr] | None: method _parse_wrapped_properties (line 2695) | def _parse_wrapped_properties(self) -> t.List[exp.Expr | t.List[exp.Ex... method _parse_property (line 2698) | def _parse_property(self) -> exp.Expr | t.List[exp.Expr] | None: method _parse_stored (line 2736) | def _parse_stored(self) -> t.Union[exp.FileFormatProperty, exp.Storage... method _parse_unquoted_field (line 2759) | def _parse_unquoted_field(self) -> t.Optional[exp.Expr]: method _parse_property_assignment (line 2766) | def _parse_property_assignment(self, exp_class: t.Type[E], **kwargs: t... method _parse_properties (line 2772) | def _parse_properties(self, before: t.Optional[bool] = None) -> t.Opti... method _parse_fallback (line 2789) | def _parse_fallback(self, no: bool = False) -> exp.FallbackProperty: method _parse_sql_security (line 2794) | def _parse_sql_security(self) -> exp.SqlSecurityProperty: method _parse_settings_property (line 2801) | def _parse_settings_property(self) -> exp.SettingsProperty: method _parse_volatile_property (line 2806) | def _parse_volatile_property(self) -> exp.VolatileProperty | exp.Stabi... method _parse_retention_period (line 2817) | def _parse_retention_period(self) -> exp.Var: method _parse_system_versioning_property (line 2824) | def _parse_system_versioning_property( method _parse_data_deletion_property (line 2848) | def _parse_data_deletion_property(self) -> exp.DataDeletionProperty: method _parse_distributed_property (line 2864) | def _parse_distributed_property(self) -> exp.DistributedByProperty: method _parse_composite_key_property (line 2883) | def _parse_composite_key_property(self, expr_type: t.Type[E]) -> E: method _parse_with_property (line 2888) | def _parse_with_property(self) -> t.Optional[exp.Expr] | t.List[exp.Ex... method _parse_procedure_option (line 2931) | def _parse_procedure_option(self) -> exp.Expr | None: method _parse_definer (line 2945) | def _parse_definer(self) -> t.Optional[exp.DefinerProperty]: method _parse_withjournaltable (line 2957) | def _parse_withjournaltable(self) -> exp.WithJournalTableProperty: method _parse_log (line 2962) | def _parse_log(self, no: bool = False) -> exp.LogProperty: method _parse_journal (line 2965) | def _parse_journal(self, **kwargs) -> exp.JournalProperty: method _parse_checksum (line 2968) | def _parse_checksum(self) -> exp.ChecksumProperty: method _parse_cluster (line 2979) | def _parse_cluster(self, wrapped: bool = False) -> exp.Cluster: method _parse_clustered_by (line 2990) | def _parse_clustered_by(self) -> exp.ClusteredByProperty: method _parse_copy_property (line 3012) | def _parse_copy_property(self) -> t.Optional[exp.CopyGrantsProperty]: method _parse_freespace (line 3019) | def _parse_freespace(self) -> exp.FreespaceProperty: method _parse_mergeblockratio (line 3025) | def _parse_mergeblockratio( method _parse_datablocksize (line 3037) | def _parse_datablocksize( method _parse_blockcompression (line 3056) | def _parse_blockcompression(self) -> exp.BlockCompressionProperty: method _parse_withisolatedloading (line 3073) | def _parse_withisolatedloading(self) -> t.Optional[exp.IsolatedLoading... method _parse_locking (line 3087) | def _parse_locking(self) -> exp.LockingProperty: method _parse_partition_by (line 3134) | def _parse_partition_by(self) -> t.List[exp.Expr]: method _parse_partition_bound_spec (line 3139) | def _parse_partition_bound_spec(self) -> exp.PartitionBoundSpec: method _parse_partitioned_of (line 3176) | def _parse_partitioned_of(self) -> t.Optional[exp.PartitionedOfProperty]: method _parse_partitioned_by (line 3192) | def _parse_partitioned_by(self) -> exp.PartitionedByProperty: method _parse_withdata (line 3200) | def _parse_withdata(self, no: bool = False) -> exp.WithDataProperty: method _parse_contains_property (line 3210) | def _parse_contains_property(self) -> t.Optional[exp.SqlReadWritePrope... method _parse_modifies_property (line 3215) | def _parse_modifies_property(self) -> t.Optional[exp.SqlReadWritePrope... method _parse_no_property (line 3220) | def _parse_no_property(self) -> t.Optional[exp.Expr]: method _parse_on_property (line 3227) | def _parse_on_property(self) -> t.Optional[exp.Expr]: method _parse_reads_property (line 3234) | def _parse_reads_property(self) -> t.Optional[exp.SqlReadWriteProperty]: method _parse_distkey (line 3239) | def _parse_distkey(self) -> exp.DistKeyProperty: method _parse_create_like (line 3242) | def _parse_create_like(self) -> t.Optional[exp.LikeProperty]: method _parse_sortkey (line 3259) | def _parse_sortkey(self, compound: bool = False) -> exp.SortKeyProperty: method _parse_character_set (line 3264) | def _parse_character_set(self, default: bool = False) -> exp.Character... method _parse_remote_with_connection (line 3270) | def _parse_remote_with_connection(self) -> exp.RemoteWithConnectionMod... method _parse_returns (line 3276) | def _parse_returns(self) -> exp.ReturnsProperty: method _parse_describe (line 3298) | def _parse_describe(self) -> exp.Describe: method _parse_multitable_inserts (line 3329) | def _parse_multitable_inserts(self, comments: t.Optional[t.List[str]])... method _parse_insert (line 3368) | def _parse_insert(self) -> t.Union[exp.Insert, exp.MultitableInserts]: method _parse_insert_table (line 3426) | def _parse_insert_table(self) -> t.Optional[exp.Expr]: method _parse_kill (line 3432) | def _parse_kill(self) -> exp.Kill: method _parse_on_conflict (line 3437) | def _parse_on_conflict(self) -> t.Optional[exp.OnConflict]: method _parse_returning (line 3475) | def _parse_returning(self) -> t.Optional[exp.Returning]: method _parse_row (line 3485) | def _parse_row(self) -> t.Optional[exp.RowFormatSerdeProperty | exp.Ro... method _parse_serde_properties (line 3490) | def _parse_serde_properties(self, with_: bool = False) -> t.Optional[e... method _parse_row_format (line 3501) | def _parse_row_format( method _parse_load (line 3535) | def _parse_load(self) -> exp.LoadData | exp.Command: method _parse_delete (line 3556) | def _parse_delete(self) -> exp.Delete: method _parse_update (line 3579) | def _parse_update(self) -> exp.Update: method _parse_use (line 3606) | def _parse_use(self) -> exp.Use: method _parse_uncache (line 3614) | def _parse_uncache(self) -> exp.Uncache: method _parse_cache (line 3622) | def _parse_cache(self) -> exp.Cache: method _parse_partition (line 3643) | def _parse_partition(self) -> t.Optional[exp.Partition]: method _parse_value (line 3654) | def _parse_value(self, values: bool = True) -> t.Optional[exp.Tuple]: method _parse_projections (line 3671) | def _parse_projections( method _parse_wrapped_select (line 3676) | def _parse_wrapped_select(self, table: bool = False) -> t.Optional[exp... method _parse_select (line 3709) | def _parse_select( method _parse_select_query (line 3734) | def _parse_select_query( method _parse_recursive_with_search (line 3857) | def _parse_recursive_with_search(self) -> t.Optional[exp.RecursiveWith... method _parse_with (line 3876) | def _parse_with(self, skip_with_token: bool = False) -> t.Optional[exp... method _parse_cte (line 3908) | def _parse_cte(self) -> t.Optional[exp.CTE]: method _parse_table_alias (line 3951) | def _parse_table_alias( method _parse_subquery (line 3984) | def _parse_subquery( method _implicit_unnests_to_explicit (line 3999) | def _implicit_unnests_to_explicit(self, this: E) -> E: method _parse_query_modifiers (line 4027) | def _parse_query_modifiers(self, this: E) -> E: ... method _parse_query_modifiers (line 4030) | def _parse_query_modifiers(self, this: None) -> None: ... method _parse_query_modifiers (line 4032) | def _parse_query_modifiers(self, this): method _parse_hint_fallback_to_string (line 4072) | def _parse_hint_fallback_to_string(self) -> t.Optional[exp.Hint]: method _parse_hint_function_call (line 4080) | def _parse_hint_function_call(self) -> t.Optional[exp.Expr]: method _parse_hint_body (line 4083) | def _parse_hint_body(self) -> t.Optional[exp.Hint]: method _parse_hint (line 4105) | def _parse_hint(self) -> t.Optional[exp.Hint]: method _parse_into (line 4111) | def _parse_into(self) -> t.Optional[exp.Into]: method _parse_from (line 4123) | def _parse_from( method _parse_match_recognize_measure (line 4138) | def _parse_match_recognize_measure(self) -> exp.MatchRecognizeMeasure: method _parse_match_recognize (line 4146) | def _parse_match_recognize(self) -> t.Optional[exp.MatchRecognize]: method _parse_lateral (line 4235) | def _parse_lateral(self) -> t.Optional[exp.Lateral]: method _parse_stream (line 4292) | def _parse_stream(self) -> t.Optional[exp.Stream]: method _parse_join_parts (line 4300) | def _parse_join_parts( method _parse_using_identifiers (line 4309) | def _parse_using_identifiers(self) -> t.List[exp.Expr]: method _parse_join (line 4318) | def _parse_join( method _parse_opclass (line 4409) | def _parse_opclass(self) -> t.Optional[exp.Expr]: method _parse_index_params (line 4420) | def _parse_index_params(self) -> exp.IndexParameters: method _parse_index (line 4453) | def _parse_index( method _parse_table_hints (line 4483) | def _parse_table_hints(self) -> t.Optional[t.List[exp.Expr]]: method _parse_table_part (line 4511) | def _parse_table_part(self, schema: bool = False) -> t.Optional[exp.Ex... method _parse_table_parts_fast (line 4519) | def _parse_table_parts_fast(self) -> t.Optional[exp.Table]: method _parse_table_parts (line 4582) | def _parse_table_parts( method _parse_table (line 4653) | def _parse_table( method _parse_version (line 4785) | def _parse_version(self) -> t.Optional[exp.Version]: method _parse_historical_data (line 4814) | def _parse_historical_data(self) -> t.Optional[exp.HistoricalData]: method _parse_changes (line 4837) | def _parse_changes(self) -> t.Optional[exp.Changes]: method _parse_unnest (line 4852) | def _parse_unnest(self, with_alias: bool = True) -> t.Optional[exp.Unn... method _parse_derived_table_values (line 4883) | def _parse_derived_table_values(self) -> t.Optional[exp.Values]: method _parse_table_sample (line 4901) | def _parse_table_sample(self, as_modifier: bool = False) -> t.Optional... method _parse_pivots (line 4967) | def _parse_pivots(self) -> t.Optional[t.List[exp.Pivot]]: method _parse_joins (line 4970) | def _parse_joins(self) -> t.Iterator[exp.Join]: method _parse_unpivot_columns (line 4973) | def _parse_unpivot_columns(self) -> t.Optional[exp.UnpivotColumns]: method _parse_simplified_pivot (line 4985) | def _parse_simplified_pivot(self, is_unpivot: t.Optional[bool] = None)... method _parse_pivot_in (line 5017) | def _parse_pivot_in(self) -> exp.In: method _parse_pivot_aggregation (line 5045) | def _parse_pivot_aggregation(self) -> t.Optional[exp.Expr]: method _parse_pivot (line 5054) | def _parse_pivot(self) -> t.Optional[exp.Pivot]: method _pivot_column_names (line 5156) | def _pivot_column_names(self, aggregations: t.List[exp.Expr]) -> t.Lis... method _parse_prewhere (line 5159) | def _parse_prewhere(self, skip_where_token: bool = False) -> t.Optiona... method _parse_where (line 5169) | def _parse_where(self, skip_where_token: bool = False) -> t.Optional[e... method _parse_group (line 5179) | def _parse_group(self, skip_group_by_token: bool = False) -> t.Optiona... method _parse_cube_or_rollup (line 5227) | def _parse_cube_or_rollup(self, with_prefix: bool = False) -> t.Option... method _parse_grouping_sets (line 5239) | def _parse_grouping_sets(self) -> t.Optional[exp.GroupingSets]: method _parse_grouping_set (line 5246) | def _parse_grouping_set(self) -> t.Optional[exp.Expr]: method _parse_having (line 5249) | def _parse_having(self, skip_having_token: bool = False) -> t.Optional... method _parse_qualify (line 5258) | def _parse_qualify(self) -> t.Optional[exp.Qualify]: method _parse_connect_with_prior (line 5263) | def _parse_connect_with_prior(self) -> t.Optional[exp.Expr]: method _parse_connect (line 5271) | def _parse_connect(self, skip_start_token: bool = False) -> t.Optional... method _parse_name_as_expression (line 5288) | def _parse_name_as_expression(self) -> t.Optional[exp.Expr]: method _parse_interpolate (line 5294) | def _parse_interpolate(self) -> t.Optional[t.List[exp.Expr]]: method _parse_order (line 5299) | def _parse_order( method _parse_sort (line 5319) | def _parse_sort(self, exp_class: t.Type[E], token: TokenType) -> t.Opt... method _parse_ordered (line 5324) | def _parse_ordered( method _parse_limit_options (line 5369) | def _parse_limit_options(self) -> t.Optional[exp.LimitOptions]: method _parse_limit (line 5380) | def _parse_limit( method _parse_offset (line 5444) | def _parse_offset(self, this: t.Optional[exp.Expr] = None) -> t.Option... method _can_parse_limit_or_offset (line 5455) | def _can_parse_limit_or_offset(self) -> bool: method _parse_limit_by (line 5472) | def _parse_limit_by(self) -> t.Optional[t.List[exp.Expr]]: method _parse_locks (line 5475) | def _parse_locks(self) -> t.List[exp.Lock]: method parse_set_operation (line 5512) | def parse_set_operation( method _parse_set_operations (line 5576) | def _parse_set_operations(self, this: t.Optional[exp.Expr]) -> t.Optio... method _parse_expression (line 5594) | def _parse_expression(self) -> t.Optional[exp.Expr]: method _parse_assignment (line 5597) | def _parse_assignment(self) -> t.Optional[exp.Expr]: method _parse_disjunction (line 5619) | def _parse_disjunction(self) -> t.Optional[exp.Expr]: method _parse_conjunction (line 5631) | def _parse_conjunction(self) -> t.Optional[exp.Expr]: method _parse_equality (line 5643) | def _parse_equality(self) -> t.Optional[exp.Expr]: method _parse_comparison (line 5655) | def _parse_comparison(self) -> t.Optional[exp.Expr]: method _parse_range (line 5665) | def _parse_range(self, this: t.Optional[exp.Expr] = None) -> t.Optiona... method _negate_range (line 5692) | def _negate_range(self, this: t.Optional[exp.Expr] = None) -> t.Option... method _parse_is (line 5698) | def _parse_is(self, this: t.Optional[exp.Expr]) -> t.Optional[exp.Expr]: method _parse_in (line 5731) | def _parse_in(self, this: t.Optional[exp.Expr], alias: bool = False) -... method _parse_between (line 5755) | def _parse_between(self, this: t.Optional[exp.Expr]) -> exp.Between: method _parse_escape (line 5768) | def _parse_escape(self, this: t.Optional[exp.Expr]) -> t.Optional[exp.... method _parse_interval_span (line 5775) | def _parse_interval_span(self, this: exp.Expr) -> exp.Interval: method _parse_interval (line 5835) | def _parse_interval(self, require_interval: bool = True) -> t.Optional... method _parse_bitwise (line 5868) | def _parse_bitwise(self) -> t.Optional[exp.Expr]: method _parse_term (line 5901) | def _parse_term(self) -> t.Optional[exp.Expr]: method _parse_factor (line 5923) | def _parse_factor(self) -> t.Optional[exp.Expr]: method _parse_exponent (line 5944) | def _parse_exponent(self) -> t.Optional[exp.Expr]: method _parse_unary (line 5954) | def _parse_unary(self) -> t.Optional[exp.Expr]: method _parse_type (line 5959) | def _parse_type( method _parse_type_size (line 6023) | def _parse_type_size(self) -> t.Optional[exp.DataTypeParam]: method _parse_user_defined_type (line 6035) | def _parse_user_defined_type(self, identifier: exp.Identifier) -> t.Op... method _parse_types (line 6043) | def _parse_types( method _parse_json_type_arg (line 6288) | def _parse_json_type_arg(self) -> t.Optional[exp.Expr]: method _parse_vector_expressions (line 6314) | def _parse_vector_expressions(self, expressions: t.List[exp.Expr]) -> ... method _parse_struct_types (line 6317) | def _parse_struct_types(self, type_required: bool = False) -> t.Option... method _parse_at_time_zone (line 6347) | def _parse_at_time_zone(self, this: t.Optional[exp.Expr]) -> t.Optiona... method _parse_atom (line 6354) | def _parse_atom(self) -> t.Optional[exp.Expr]: method _parse_column (line 6379) | def _parse_column(self) -> t.Optional[exp.Expr]: method _parse_column_parts_fast (line 6395) | def _parse_column_parts_fast(self) -> t.Optional[exp.Column | exp.Dot]: method _parse_column_reference (line 6468) | def _parse_column_reference(self) -> t.Optional[exp.Expr]: method _build_json_extract (line 6484) | def _build_json_extract( method _parse_colon_as_variant_extract (line 6504) | def _parse_colon_as_variant_extract(self, this: t.Optional[exp.Expr]) ... method _parse_dcolon (line 6585) | def _parse_dcolon(self) -> t.Optional[exp.Expr]: method _parse_column_ops (line 6588) | def _parse_column_ops(self, this: t.Optional[exp.Expr]) -> t.Optional[... method _parse_paren (line 6648) | def _parse_paren(self) -> t.Optional[exp.Expr]: method _parse_primary (line 6686) | def _parse_primary(self) -> t.Optional[exp.Expr]: method _parse_field (line 6708) | def _parse_field( method _parse_function (line 6725) | def _parse_function( method _parse_function_args (line 6755) | def _parse_function_args(self, alias: bool = False) -> t.List[exp.Expr]: method _parse_function_call (line 6758) | def _parse_function_call( method _to_prop_eq (line 6869) | def _to_prop_eq(self, expression: exp.Expr, index: int) -> exp.Expr: method _kv_to_prop_eq (line 6872) | def _kv_to_prop_eq( method _parse_user_defined_function_expression (line 6899) | def _parse_user_defined_function_expression(self) -> t.Optional[exp.Ex... method _parse_function_parameter (line 6902) | def _parse_function_parameter(self) -> t.Optional[exp.Expr]: method _parse_user_defined_function (line 6905) | def _parse_user_defined_function( method _parse_introducer (line 6919) | def _parse_introducer(self, token: Token) -> exp.Introducer | exp.Iden... method _parse_session_parameter (line 6926) | def _parse_session_parameter(self) -> exp.SessionParameter: method _parse_lambda_arg (line 6936) | def _parse_lambda_arg(self) -> t.Optional[exp.Expr]: method _parse_lambda (line 6939) | def _parse_lambda(self, alias: bool = False) -> t.Optional[exp.Expr]: method _parse_schema (line 6985) | def _parse_schema(self, this: t.Optional[exp.Expr] = None) -> t.Option... method _parse_field_def (line 6999) | def _parse_field_def(self) -> t.Optional[exp.Expr]: method _parse_column_def (line 7002) | def _parse_column_def( method _parse_auto_increment (line 7072) | def _parse_auto_increment( method _parse_check_constraint (line 7099) | def _parse_check_constraint(self) -> t.Optional[exp.CheckColumnConstra... method _parse_auto_property (line 7110) | def _parse_auto_property(self) -> t.Optional[exp.AutoRefreshProperty]: method _parse_compress (line 7116) | def _parse_compress(self) -> exp.CompressColumnConstraint: method _parse_generated_as_identity (line 7124) | def _parse_generated_as_identity( method _parse_inline (line 7177) | def _parse_inline(self) -> exp.InlineLengthColumnConstraint: method _parse_not_constraint (line 7181) | def _parse_not_constraint(self) -> t.Optional[exp.Expr]: method _parse_column_constraint (line 7193) | def _parse_column_constraint(self) -> t.Optional[exp.Expr]: method _parse_constraint (line 7212) | def _parse_constraint(self) -> t.Optional[exp.Expr]: method _parse_unnamed_constraints (line 7220) | def _parse_unnamed_constraints(self) -> t.List[exp.Expr]: method _parse_unnamed_constraint (line 7230) | def _parse_unnamed_constraint( method _parse_unique_key (line 7250) | def _parse_unique_key(self) -> t.Optional[exp.Expr]: method _parse_unique (line 7255) | def _parse_unique(self) -> exp.UniqueColumnConstraint: method _parse_key_constraint_options (line 7267) | def _parse_key_constraint_options(self) -> t.List[str]: method _parse_references (line 7301) | def _parse_references(self, match: bool = True) -> t.Optional[exp.Refe... method _parse_foreign_key (line 7310) | def _parse_foreign_key(self) -> exp.ForeignKey: method _parse_primary_key_part (line 7345) | def _parse_primary_key_part(self) -> t.Optional[exp.Expr]: method _parse_period_for_system_time (line 7348) | def _parse_period_for_system_time(self) -> t.Optional[exp.PeriodForSys... method _parse_primary_key (line 7360) | def _parse_primary_key( method _parse_bracket_key_value (line 7401) | def _parse_bracket_key_value(self, is_map: bool = False) -> t.Optional... method _parse_odbc_datetime_literal (line 7404) | def _parse_odbc_datetime_literal(self) -> exp.Expr: method _parse_bracket (line 7420) | def _parse_bracket(self, this: t.Optional[exp.Expr] = None) -> t.Optio... method _parse_slice (line 7479) | def _parse_slice(self, this: t.Optional[exp.Expr]) -> t.Optional[exp.E... method _parse_case (line 7491) | def _parse_case(self) -> t.Optional[exp.Expr]: method _parse_if (line 7522) | def _parse_if(self) -> t.Optional[exp.Expr]: method _parse_next_value_for (line 7549) | def _parse_next_value_for(self) -> t.Optional[exp.Expr]: method _parse_extract (line 7561) | def _parse_extract(self) -> exp.Extract | exp.Anonymous: method _parse_gap_fill (line 7572) | def _parse_gap_fill(self) -> exp.GapFill: method _parse_char (line 7582) | def _parse_char(self) -> exp.Chr: method _parse_cast (line 7590) | def _parse_cast(self, strict: bool, safe: t.Optional[bool] = None) -> ... method _parse_string_agg (line 7648) | def _parse_string_agg(self) -> exp.GroupConcat: method _parse_convert (line 7702) | def _parse_convert(self, strict: bool, safe: t.Optional[bool] = None) ... method _parse_xml_element (line 7717) | def _parse_xml_element(self) -> exp.XMLElement: method _parse_xml_table (line 7734) | def _parse_xml_table(self) -> exp.XMLTable: method _parse_xml_namespace (line 7761) | def _parse_xml_namespace(self) -> t.List[exp.XMLNamespace]: method _parse_decode (line 7775) | def _parse_decode(self) -> t.Optional[exp.Decode | exp.DecodeCase]: method _parse_json_key_value (line 7783) | def _parse_json_key_value(self) -> t.Optional[exp.JSONKeyValue]: method _parse_format_json (line 7794) | def _parse_format_json(self, this: t.Optional[exp.Expr]) -> t.Optional... method _parse_on_condition (line 7800) | def _parse_on_condition(self) -> t.Optional[exp.OnCondition]: method _parse_on_handling (line 7816) | def _parse_on_handling(self, on: str, *values: str) -> t.Optional[str]... method _parse_json_object (line 7833) | def _parse_json_object(self, agg: t.Literal[False]) -> exp.JSONObject:... method _parse_json_object (line 7836) | def _parse_json_object(self, agg: t.Literal[True]) -> exp.JSONObjectAg... method _parse_json_object (line 7838) | def _parse_json_object(self, agg=False): method _parse_json_column_def (line 7871) | def _parse_json_column_def(self) -> exp.JSONColumnDef: method _parse_json_schema (line 7892) | def _parse_json_schema(self) -> exp.JSONSchema: method _parse_json_table (line 7900) | def _parse_json_table(self) -> exp.JSONTable: method _parse_match_against (line 7915) | def _parse_match_against(self) -> exp.MatchAgainst: method _parse_open_json (line 7946) | def _parse_open_json(self) -> exp.OpenJSON: method _parse_position (line 7967) | def _parse_position(self, haystack_first: bool = False) -> exp.StrPosi... method _parse_join_hint (line 7986) | def _parse_join_hint(self, func_name: str) -> exp.JoinHint: method _parse_substring (line 7990) | def _parse_substring(self) -> exp.Substring: method _parse_trim (line 8016) | def _parse_trim(self) -> exp.Trim: method _parse_window_clause (line 8042) | def _parse_window_clause(self) -> t.Optional[t.List[exp.Expr]]: method _parse_named_window (line 8045) | def _parse_named_window(self) -> t.Optional[exp.Expr]: method _parse_respect_or_ignore_nulls (line 8048) | def _parse_respect_or_ignore_nulls(self, this: t.Optional[exp.Expr]) -... method _parse_having_max (line 8056) | def _parse_having_max(self, this: t.Optional[exp.Expr]) -> t.Optional[... method _parse_window (line 8066) | def _parse_window( method _parse_partition_and_order (line 8181) | def _parse_partition_and_order( method _parse_window_spec (line 8186) | def _parse_window_spec(self) -> t.Dict[str, t.Optional[str | exp.Expr]]: method _parse_alias (line 8198) | def _parse_alias( method _parse_id_var (line 8238) | def _parse_id_var( method _parse_string (line 8252) | def _parse_string(self) -> t.Optional[exp.Expr]: method _parse_string_as_identifier (line 8257) | def _parse_string_as_identifier(self) -> exp.Identifier | None: method _parse_number (line 8264) | def _parse_number(self) -> t.Optional[exp.Expr]: method _parse_identifier (line 8269) | def _parse_identifier(self) -> t.Optional[exp.Expr]: method _parse_var (line 8274) | def _parse_var( method _advance_any (line 8290) | def _advance_any(self, ignore_reserved: bool = False) -> t.Optional[To... method _parse_var_or_string (line 8296) | def _parse_var_or_string(self, upper: bool = False) -> t.Optional[exp.... method _parse_primary_or_var (line 8299) | def _parse_primary_or_var(self) -> t.Optional[exp.Expr]: method _parse_null (line 8302) | def _parse_null(self) -> t.Optional[exp.Expr]: method _parse_boolean (line 8307) | def _parse_boolean(self) -> t.Optional[exp.Expr]: method _parse_star (line 8314) | def _parse_star(self) -> t.Optional[exp.Expr]: method _parse_parameter (line 8319) | def _parse_parameter(self) -> exp.Parameter: method _parse_placeholder (line 8323) | def _parse_placeholder(self) -> t.Optional[exp.Expr]: method _parse_star_op (line 8331) | def _parse_star_op(self, *keywords: str) -> t.Optional[t.List[exp.Expr]]: method _parse_csv (line 8340) | def _parse_csv( method _parse_wrapped_id_vars (line 8355) | def _parse_wrapped_id_vars(self, optional: bool = False) -> t.List[exp... method _parse_wrapped_csv (line 8358) | def _parse_wrapped_csv( method _parse_wrapped (line 8368) | def _parse_wrapped(self, parse_method: t.Callable[[], T], optional: bo... method _parse_expressions (line 8377) | def _parse_expressions(self) -> t.List[exp.Expr]: method _parse_select_or_expression (line 8380) | def _parse_select_or_expression(self, alias: bool = False) -> t.Option... method _parse_ddl_select (line 8390) | def _parse_ddl_select(self) -> t.Optional[exp.Expr]: method _parse_transaction (line 8395) | def _parse_transaction(self) -> exp.Transaction | exp.Command: method _parse_commit_or_rollback (line 8415) | def _parse_commit_or_rollback(self) -> exp.Commit | exp.Rollback: method _parse_refresh (line 8435) | def _parse_refresh(self) -> exp.Refresh | exp.Command: method _parse_column_def_with_exists (line 8449) | def _parse_column_def_with_exists(self): method _parse_add_column (line 8464) | def _parse_add_column(self) -> t.Optional[exp.ColumnDef]: method _parse_drop_column (line 8482) | def _parse_drop_column(self) -> t.Optional[exp.Drop | exp.Command]: method _parse_drop_partition (line 8489) | def _parse_drop_partition(self, exists: t.Optional[bool] = None) -> ex... method _parse_alter_table_add (line 8494) | def _parse_alter_table_add(self) -> t.List[exp.Expr]: method _parse_alter_table_alter (line 8533) | def _parse_alter_table_alter(self) -> t.Optional[exp.Expr]: method _parse_alter_diststyle (line 8569) | def _parse_alter_diststyle(self) -> exp.AlterDistStyle: method _parse_alter_sortkey (line 8576) | def _parse_alter_sortkey(self, compound: t.Optional[bool] = None) -> e... method _parse_alter_table_drop (line 8590) | def _parse_alter_table_drop(self) -> t.List[exp.Expr]: method _parse_alter_table_rename (line 8600) | def _parse_alter_table_rename(self) -> t.Optional[exp.AlterRename | ex... method _parse_alter_table_set (line 8615) | def _parse_alter_table_set(self) -> exp.AlterSet: method _parse_alter_session (line 8651) | def _parse_alter_session(self) -> exp.AlterSession: method _parse_alter (line 8663) | def _parse_alter(self) -> exp.Alter | exp.Command: method _parse_analyze (line 8710) | def _parse_analyze(self) -> exp.Analyze | exp.Command: method _parse_analyze_statistics (line 8776) | def _parse_analyze_statistics(self) -> exp.AnalyzeStatistics: method _parse_analyze_validate (line 8809) | def _parse_analyze_validate(self) -> exp.AnalyzeValidate: method _parse_analyze_columns (line 8830) | def _parse_analyze_columns(self) -> t.Optional[exp.AnalyzeColumns]: method _parse_analyze_delete (line 8836) | def _parse_analyze_delete(self) -> t.Optional[exp.AnalyzeDelete]: method _parse_analyze_list (line 8842) | def _parse_analyze_list(self) -> t.Optional[exp.AnalyzeListChainedRows]: method _parse_analyze_histogram (line 8848) | def _parse_analyze_histogram(self) -> exp.AnalyzeHistogram: method _parse_merge (line 8887) | def _parse_merge(self) -> exp.Merge: method _parse_when_matched (line 8908) | def _parse_when_matched(self) -> exp.Whens: method _parse_show (line 8959) | def _parse_show(self) -> t.Optional[exp.Expr]: method _parse_set_item_assignment (line 8965) | def _parse_set_item_assignment(self, kind: t.Optional[str] = None) -> ... method _parse_set_transaction (line 8985) | def _parse_set_transaction(self, global_: bool = False) -> exp.Expr: method _parse_set_item (line 8994) | def _parse_set_item(self) -> t.Optional[exp.Expr]: method _parse_set (line 8998) | def _parse_set(self, unset: bool = False, tag: bool = False) -> exp.Se... method _parse_var_from_options (line 9010) | def _parse_var_from_options( method _parse_as_command (line 9039) | def _parse_as_command(self, start: Token) -> exp.Command: method _parse_dict_property (line 9047) | def _parse_dict_property(self, this: str) -> exp.DictProperty: method _parse_dict_range (line 9068) | def _parse_dict_range(self, this: str) -> exp.DictRange: method _parse_comprehension (line 9081) | def _parse_comprehension(self, this: t.Optional[exp.Expr]) -> t.Option... method _parse_heredoc (line 9101) | def _parse_heredoc(self) -> t.Optional[exp.Heredoc]: method _find_parser (line 9137) | def _find_parser( method _match_l_paren (line 9163) | def _match_l_paren(self, expression: t.Optional[exp.Expr] = None) -> N... method _match_r_paren (line 9167) | def _match_r_paren(self, expression: t.Optional[exp.Expr] = None) -> N... method _replace_lambda (line 9171) | def _replace_lambda( method _parse_truncate_table (line 9201) | def _parse_truncate_table(self) -> t.Optional[exp.TruncateTable] | exp... method _parse_with_operator (line 9252) | def _parse_with_operator(self) -> t.Optional[exp.Expr]: method _parse_wrapped_options (line 9262) | def _parse_wrapped_options(self) -> t.List[t.Optional[exp.Expr]]: method _parse_copy_parameters (line 9283) | def _parse_copy_parameters(self) -> t.List[exp.CopyParameter]: method _parse_credentials (line 9322) | def _parse_credentials(self) -> t.Optional[exp.Credentials]: method _parse_file_location (line 9345) | def _parse_file_location(self) -> t.Optional[exp.Expr]: method _parse_copy (line 9348) | def _parse_copy(self) -> exp.Copy | exp.Command: method _parse_normalize (line 9383) | def _parse_normalize(self) -> exp.Normalize: method _parse_ceil_floor (line 9390) | def _parse_ceil_floor(self, expr_type: t.Type[TCeilFloor]) -> TCeilFloor: method _parse_star_ops (line 9402) | def _parse_star_ops(self) -> t.Optional[exp.Expr]: method _parse_grant_privilege (line 9419) | def _parse_grant_privilege(self) -> t.Optional[exp.GrantPrivilege]: method _parse_grant_principal (line 9437) | def _parse_grant_principal(self) -> t.Optional[exp.GrantPrincipal]: method _parse_grant_revoke_common (line 9446) | def _parse_grant_revoke_common( method _parse_grant (line 9460) | def _parse_grant(self) -> exp.Grant | exp.Command: method _parse_revoke (line 9485) | def _parse_revoke(self) -> exp.Revoke | exp.Command: method _parse_overlay (line 9515) | def _parse_overlay(self) -> exp.Overlay: method _parse_format_name (line 9532) | def _parse_format_name(self) -> exp.Property: method _parse_max_min_by (line 9541) | def _parse_max_min_by(self, expr_type: t.Type[exp.AggFunc]) -> exp.Agg... method _identifier_expression (line 9554) | def _identifier_expression( method _build_pipe_cte (line 9560) | def _build_pipe_cte( method _parse_pipe_syntax_select (line 9582) | def _parse_pipe_syntax_select(self, query: exp.Select) -> exp.Select: method _parse_pipe_syntax_limit (line 9591) | def _parse_pipe_syntax_limit(self, query: exp.Select) -> exp.Select: method _parse_pipe_syntax_aggregate_fields (line 9605) | def _parse_pipe_syntax_aggregate_fields(self) -> t.Optional[exp.Expr]: method _parse_pipe_syntax_aggregate_group_order_by (line 9617) | def _parse_pipe_syntax_aggregate_group_order_by( method _parse_pipe_syntax_aggregate (line 9645) | def _parse_pipe_syntax_aggregate(self, query: exp.Select) -> exp.Select: method _parse_pipe_syntax_set_operator (line 9656) | def _parse_pipe_syntax_set_operator(self, query: exp.Query) -> t.Optio... method _parse_pipe_syntax_join (line 9687) | def _parse_pipe_syntax_join(self, query: exp.Query) -> t.Optional[exp.... method _parse_pipe_syntax_pivot (line 9697) | def _parse_pipe_syntax_pivot(self, query: exp.Select) -> exp.Select: method _parse_pipe_syntax_extend (line 9708) | def _parse_pipe_syntax_extend(self, query: exp.Select) -> exp.Select: method _parse_pipe_syntax_tablesample (line 9713) | def _parse_pipe_syntax_tablesample(self, query: exp.Select) -> exp.Sel... method _parse_pipe_syntax_query (line 9724) | def _parse_pipe_syntax_query(self, query: exp.Query) -> t.Optional[exp... method _parse_declareitem (line 9752) | def _parse_declareitem(self) -> t.Optional[exp.DeclareItem]: method _parse_declare (line 9767) | def _parse_declare(self) -> exp.Declare | exp.Command: method build_cast (line 9777) | def build_cast(self, strict: bool, **kwargs) -> exp.Cast: method _parse_json_value (line 9785) | def _parse_json_value(self) -> exp.JSONValue: method _parse_group_concat (line 9801) | def _parse_group_concat(self) -> t.Optional[exp.Expr]: method _parse_initcap (line 9840) | def _parse_initcap(self) -> exp.Initcap: method _parse_operator (line 9849) | def _parse_operator(self, this: t.Optional[exp.Expr]) -> t.Optional[ex... FILE: sqlglot/parsers/athena.py class AthenaTrinoParser (line 12) | class AthenaTrinoParser(TrinoParser): class AthenaParser (line 19) | class AthenaParser(Parser): method __init__ (line 20) | def __init__( method parse (line 54) | def parse(self, raw_tokens: t.List[Token], sql: str) -> t.List[t.Optio... method parse_into (line 60) | def parse_into( FILE: sqlglot/parsers/base.py class BaseParser (line 7) | class BaseParser(parser.Parser): FILE: sqlglot/parsers/bigquery.py function _build_contains_substring (line 19) | def _build_contains_substring(args: t.List) -> exp.Contains: function _build_date (line 25) | def _build_date(args: t.List) -> exp.Date | exp.DateFromParts: function build_date_diff (line 30) | def build_date_diff(args: t.List) -> exp.Expr: function _build_datetime (line 45) | def _build_datetime(args: t.List) -> exp.Func: function _build_extract_json_with_default_path (line 53) | def _build_extract_json_with_default_path( function _build_format_time (line 64) | def _build_format_time(expr_type: t.Type[exp.Expr]) -> t.Callable[[t.Lis... function _build_json_strip_nulls (line 75) | def _build_json_strip_nulls(args: t.List) -> exp.JSONStripNulls: function _build_levenshtein (line 85) | def _build_levenshtein(args: t.List) -> exp.Levenshtein: function _build_parse_timestamp (line 94) | def _build_parse_timestamp(args: t.List) -> exp.StrToTime: function _build_regexp_extract (line 100) | def _build_regexp_extract( function _build_time (line 125) | def _build_time(args: t.List) -> exp.Func: function _build_timestamp (line 133) | def _build_timestamp(args: t.List) -> exp.Timestamp: function _build_to_hex (line 139) | def _build_to_hex(args: t.List) -> exp.Hex | exp.MD5: class BigQueryParser (line 147) | class BigQueryParser(parser.Parser): method _parse_for_in (line 340) | def _parse_for_in(self) -> t.Union[exp.ForIn, exp.Command]: method _parse_table_part (line 349) | def _parse_table_part(self, schema: bool = False) -> t.Optional[exp.Ex... method _parse_table_parts (line 380) | def _parse_table_parts( method _parse_column (line 467) | def _parse_column(self) -> t.Optional[exp.Expr]: method _parse_json_object (line 486) | def _parse_json_object(self, agg: t.Literal[False]) -> exp.JSONObject:... method _parse_json_object (line 489) | def _parse_json_object(self, agg: t.Literal[True]) -> exp.JSONObjectAg... method _parse_json_object (line 491) | def _parse_json_object(self, agg=False): method _parse_bracket (line 512) | def _parse_bracket(self, this: t.Optional[exp.Expr] = None) -> t.Optio... method _parse_unnest (line 535) | def _parse_unnest(self, with_alias: bool = True) -> t.Optional[exp.Unn... method _parse_make_interval (line 556) | def _parse_make_interval(self) -> exp.MakeInterval: method _parse_ml (line 576) | def _parse_ml(self, expr_type: t.Type[E], **kwargs: t.Any) -> E: method _parse_translate (line 596) | def _parse_translate(self) -> exp.Translate | exp.MLTranslate: method _parse_features_at_time (line 604) | def _parse_features_at_time(self) -> exp.FeaturesAtTime: method _parse_vector_search (line 620) | def _parse_vector_search(self) -> exp.VectorSearch: method _parse_export_data (line 650) | def _parse_export_data(self) -> exp.Export: method _parse_column_ops (line 661) | def _parse_column_ops(self, this: t.Optional[exp.Expr]) -> t.Optional[... FILE: sqlglot/parsers/clickhouse.py function _build_datetime_format (line 23) | def _build_datetime_format( function _build_count_if (line 38) | def _build_count_if(args: t.List) -> exp.CountIf | exp.CombinedAggFunc: function _build_str_to_date (line 45) | def _build_str_to_date(args: t.List) -> exp.Cast | exp.Anonymous: function _build_timestamp_trunc (line 53) | def _build_timestamp_trunc(unit: str) -> t.Callable[[t.List], exp.Timest... function _build_split_by_char (line 59) | def _build_split_by_char(args: t.List) -> exp.Split | exp.Anonymous: function _build_split (line 69) | def _build_split(exp_class: Type[E]) -> t.Callable[[t.List], E]: class ClickHouseParser (line 238) | class ClickHouseParser(parser.Parser): method _resolve_clickhouse_agg (line 333) | def _resolve_clickhouse_agg(cls, name: str) -> t.Optional[tuple[str, S... method _parse_wrapped_select_or_assignment (line 461) | def _parse_wrapped_select_or_assignment(self) -> t.Optional[exp.Expr]: method _parse_check_constraint (line 466) | def _parse_check_constraint(self) -> t.Optional[exp.CheckColumnConstra... method _parse_assume_constraint (line 471) | def _parse_assume_constraint(self) -> t.Optional[exp.AssumeColumnConst... method _parse_engine_property (line 476) | def _parse_engine_property(self) -> exp.EngineProperty: method _parse_user_defined_function_expression (line 483) | def _parse_user_defined_function_expression(self) -> t.Optional[exp.Ex... method _parse_types (line 486) | def _parse_types( method _parse_extract (line 502) | def _parse_extract(self) -> exp.Extract | exp.Anonymous: method _parse_assignment (line 519) | def _parse_assignment(self) -> t.Optional[exp.Expr]: method _parse_query_parameter (line 533) | def _parse_query_parameter(self) -> t.Optional[exp.Expr]: method _parse_bracket (line 557) | def _parse_bracket(self, this: t.Optional[exp.Expr] = None) -> t.Optio... method _parse_global_in (line 592) | def _parse_global_in(self, this: t.Optional[exp.Expr]) -> exp.Not | ex... method _parse_table (line 600) | def _parse_table( method _parse_position (line 630) | def _parse_position(self, haystack_first: bool = False) -> exp.StrPosi... method _parse_cte (line 634) | def _parse_cte(self) -> t.Optional[exp.CTE]: method _parse_join_parts (line 646) | def _parse_join_parts( method _parse_join (line 657) | def _parse_join( method _parse_function (line 674) | def _parse_function( method _parse_func_params (line 722) | def _parse_func_params(self, this: t.Optional[exp.Func] = None) -> t.O... method _parse_quantile (line 733) | def _parse_quantile(self) -> exp.Quantile: method _parse_wrapped_id_vars (line 740) | def _parse_wrapped_id_vars(self, optional: bool = False) -> t.List[exp... method _parse_column_def (line 743) | def _parse_column_def( method _parse_primary_key (line 751) | def _parse_primary_key( method _parse_on_property (line 763) | def _parse_on_property(self) -> t.Optional[exp.Expr]: method _parse_index_constraint (line 773) | def _parse_index_constraint(self, kind: t.Optional[str] = None) -> exp... method _parse_partition (line 788) | def _parse_partition(self) -> t.Optional[exp.Partition]: method _parse_alter_table_replace (line 803) | def _parse_alter_table_replace(self) -> t.Optional[exp.Expr]: method _parse_alter_table_modify (line 813) | def _parse_alter_table_modify(self) -> t.Optional[exp.Expr]: method _parse_definer (line 818) | def _parse_definer(self) -> t.Optional[exp.DefinerProperty]: method _parse_projection_def (line 824) | def _parse_projection_def(self) -> t.Optional[exp.ProjectionDef]: method _parse_constraint (line 834) | def _parse_constraint(self) -> t.Optional[exp.Expr]: method _parse_alias (line 837) | def _parse_alias( method _parse_expression (line 847) | def _parse_expression(self) -> t.Optional[exp.Expr]: method _parse_columns (line 857) | def _parse_columns(self) -> exp.Expr: method _parse_value (line 865) | def _parse_value(self, values: bool = True) -> t.Optional[exp.Tuple]: method _parse_partitioned_by (line 884) | def _parse_partitioned_by(self) -> exp.PartitionedByProperty: method _parse_detach (line 889) | def _parse_detach(self) -> exp.Detach: FILE: sqlglot/parsers/databricks.py class DatabricksParser (line 10) | class DatabricksParser(SparkParser): method _parse_curdate (line 52) | def _parse_curdate(self) -> exp.CurrentDate: FILE: sqlglot/parsers/doris.py function _build_date_trunc (line 12) | def _build_date_trunc(args: t.List[exp.Expr]) -> exp.Expr: class DorisParser (line 27) | class DorisParser(MySQLParser): method _parse_partition_property (line 56) | def _parse_partition_property( method _parse_partitioning_granularity_dynamic (line 82) | def _parse_partitioning_granularity_dynamic(self) -> exp.PartitionByRa... method _parse_partition_range_value (line 95) | def _parse_partition_range_value(self) -> t.Optional[exp.Expr]: method _parse_build_property (line 114) | def _parse_build_property(self) -> exp.BuildProperty: method _parse_refresh_property (line 117) | def _parse_refresh_property(self) -> exp.RefreshTriggerProperty: FILE: sqlglot/parsers/dremio.py function to_char_is_numeric_handler (line 21) | def to_char_is_numeric_handler(args: t.List, dialect: DialectType) -> ex... function build_date_delta_with_cast_interval (line 32) | def build_date_delta_with_cast_interval( function datetype_handler (line 59) | def datetype_handler(args: t.List[exp.Expr], dialect: DialectType) -> ex... class DremioParser (line 85) | class DremioParser(parser.Parser): method _parse_current_date_utc (line 114) | def _parse_current_date_utc(self) -> exp.Cast: FILE: sqlglot/parsers/drill.py class DrillParser (line 8) | class DrillParser(parser.Parser): FILE: sqlglot/parsers/druid.py class DruidParser (line 6) | class DruidParser(Parser): FILE: sqlglot/parsers/duckdb.py function _build_sort_array_desc (line 21) | def _build_sort_array_desc(args: t.List) -> exp.Expr: function _build_array_prepend (line 25) | def _build_array_prepend(args: t.List) -> exp.Expr: function _build_date_diff (line 29) | def _build_date_diff(args: t.List) -> exp.Expr: function _build_generate_series (line 33) | def _build_generate_series(end_exclusive: bool = False) -> t.Callable[[t... function _build_make_timestamp (line 48) | def _build_make_timestamp(args: t.List) -> exp.Expr: function _show_parser (line 62) | def _show_parser(*args: t.Any, **kwargs: t.Any) -> t.Callable[[DuckDBPar... class DuckDBParser (line 69) | class DuckDBParser(parser.Parser): method _parse_lambda (line 229) | def _parse_lambda(self, alias: bool = False) -> t.Optional[exp.Expr]: method _parse_expression (line 242) | def _parse_expression(self) -> t.Optional[exp.Expr]: method _parse_table (line 258) | def _parse_table( method _parse_table_sample (line 293) | def _parse_table_sample(self, as_modifier: bool = False) -> t.Optional... method _parse_bracket (line 304) | def _parse_bracket(self, this: t.Optional[exp.Expr] = None) -> t.Optio... method _parse_map (line 313) | def _parse_map(self) -> exp.ToMap | exp.Map: method _parse_struct_types (line 320) | def _parse_struct_types(self, type_required: bool = False) -> t.Option... method _pivot_column_names (line 323) | def _pivot_column_names(self, aggregations: t.List[exp.Expr]) -> t.Lis... method _parse_attach_detach (line 328) | def _parse_attach_detach(self, is_attach: bool = True) -> exp.Attach |... method _parse_show_duckdb (line 352) | def _parse_show_duckdb(self, this: str) -> exp.Show: method _parse_force (line 355) | def _parse_force(self) -> exp.Install | exp.Command: method _parse_install (line 363) | def _parse_install(self, force: bool = False) -> exp.Install: method _parse_primary (line 372) | def _parse_primary(self) -> t.Optional[exp.Expr]: FILE: sqlglot/parsers/dune.py class DuneParser (line 6) | class DuneParser(TrinoParser): FILE: sqlglot/parsers/exasol.py function _build_zeroifnull (line 20) | def _build_zeroifnull(args: t.List) -> exp.If: function _build_nullifzero (line 26) | def _build_nullifzero(args: t.List) -> exp.If: class ExasolParser (line 31) | class ExasolParser(parser.Parser): method _parse_column (line 131) | def _parse_column(self) -> t.Optional[exp.Expr]: method _parse_json_extract (line 144) | def _parse_json_extract(self) -> exp.JSONExtract: FILE: sqlglot/parsers/fabric.py class FabricParser (line 7) | class FabricParser(TSQLParser): method _parse_create (line 8) | def _parse_create(self) -> exp.Create | exp.Command: FILE: sqlglot/parsers/hive.py function build_with_ignore_nulls (line 14) | def build_with_ignore_nulls( function _build_to_date (line 26) | def _build_to_date(args: t.List) -> exp.TsOrDsToDate: function _build_date_add (line 32) | def _build_date_add(args: t.List) -> exp.TsOrDsAdd: class HiveParser (line 42) | class HiveParser(parser.Parser): method _parse_transform (line 130) | def _parse_transform(self) -> t.Optional[exp.Transform | exp.QueryTran... method _parse_quantile_function (line 167) | def _parse_quantile_function(self, func: t.Type[F]) -> F: method _parse_types (line 182) | def _parse_types( method _parse_alter_table_change (line 219) | def _parse_alter_table_change(self) -> t.Optional[exp.Expr]: method _parse_partition_and_order (line 240) | def _parse_partition_and_order( method _parse_parameter (line 252) | def _parse_parameter(self) -> exp.Parameter: method _to_prop_eq (line 261) | def _to_prop_eq(self, expression: exp.Expr, index: int) -> exp.Expr: FILE: sqlglot/parsers/materialize.py class MaterializeParser (line 11) | class MaterializeParser(PostgresParser): method _parse_lambda_arg (line 26) | def _parse_lambda_arg(self) -> t.Optional[exp.Expr]: method _parse_map (line 29) | def _parse_map(self) -> exp.ToMap: FILE: sqlglot/parsers/mysql.py function _has_time_specifier (line 23) | def _has_time_specifier(date_format: str) -> bool: function _str_to_date (line 36) | def _str_to_date(args: t.List) -> exp.StrToDate | exp.StrToTime: function _show_parser (line 47) | def _show_parser(*args: t.Any, **kwargs: t.Any) -> t.Callable[[MySQLPars... class MySQLParser (line 54) | class MySQLParser(parser.Parser): method _parse_generated_as_identity (line 303) | def _parse_generated_as_identity( method _parse_primary_key_part (line 324) | def _parse_primary_key_part(self) -> t.Optional[exp.Expr]: method _parse_index_constraint (line 333) | def _parse_index_constraint(self, kind: t.Optional[str] = None) -> exp... method _parse_show_mysql (line 380) | def _parse_show_mysql( method _parse_oldstyle_limit (line 460) | def _parse_oldstyle_limit( method _parse_set_item_charset (line 475) | def _parse_set_item_charset(self, kind: str) -> exp.Expr: method _parse_set_item_names (line 479) | def _parse_set_item_names(self) -> exp.Expr: method _parse_type (line 488) | def _parse_type( method _parse_alter_table_alter_index (line 503) | def _parse_alter_table_alter_index(self) -> exp.AlterIndex: method _parse_partition_property (line 515) | def _parse_partition_property( method _parse_partition_range_value (line 545) | def _parse_partition_range_value(self) -> t.Optional[exp.Expr]: method _parse_partition_list_value (line 564) | def _parse_partition_list_value(self) -> exp.Partition: method _parse_primary_key (line 572) | def _parse_primary_key( FILE: sqlglot/parsers/oracle.py function _build_to_timestamp (line 15) | def _build_to_timestamp(args: t.List) -> exp.StrToTime | exp.Anonymous: class OracleParser (line 22) | class OracleParser(parser.Parser): method _parse_dbms_random (line 99) | def _parse_dbms_random(self) -> t.Optional[exp.Expr]: method _parse_oracle_json_array (line 112) | def _parse_oracle_json_array(self) -> exp.JSONArray: method _parse_oracle_json_arrayagg (line 118) | def _parse_oracle_json_arrayagg(self) -> exp.JSONArrayAgg: method _parse_json_array (line 125) | def _parse_json_array(self, expr_type: t.Type[E], **kwargs) -> E: method _parse_hint_function_call (line 135) | def _parse_hint_function_call(self) -> t.Optional[exp.Expr]: method _parse_hint_args (line 147) | def _parse_hint_args(self): method _parse_query_restrictions (line 157) | def _parse_query_restrictions(self) -> t.Optional[exp.Expr]: method _parse_json_exists (line 169) | def _parse_json_exists(self) -> exp.JSONExists: method _parse_into (line 182) | def _parse_into(self) -> t.Optional[exp.Into]: method _parse_connect_with_prior (line 200) | def _parse_connect_with_prior(self): method _parse_column_ops (line 203) | def _parse_column_ops(self, this: t.Optional[exp.Expr]) -> t.Optional[... method _parse_insert_table (line 219) | def _parse_insert_table(self) -> t.Optional[exp.Expr]: FILE: sqlglot/parsers/postgres.py function _build_generate_series (line 18) | def _build_generate_series(args: t.List) -> exp.ExplodingGenerateSeries: function _build_to_timestamp (line 31) | def _build_to_timestamp(args: t.List) -> exp.UnixToTime | exp.StrToTime: function _build_regexp_replace (line 41) | def _build_regexp_replace(args: t.List, dialect: DialectType = None) -> ... function _build_levenshtein_less_equal (line 66) | def _build_levenshtein_less_equal(args: t.List) -> exp.Levenshtein: class PostgresParser (line 83) | class PostgresParser(parser.Parser): method _parse_parameter_mode (line 205) | def _parse_parameter_mode(self) -> t.Optional[TokenType]: method _create_mode_constraint (line 253) | def _create_mode_constraint(self, param_mode: TokenType) -> exp.InOutC... method _parse_function_parameter (line 271) | def _parse_function_parameter(self) -> t.Optional[exp.Expr]: method _parse_query_parameter (line 290) | def _parse_query_parameter(self) -> t.Optional[exp.Expr]: method _parse_date_part (line 299) | def _parse_date_part(self) -> exp.Expr: method _parse_unique_key (line 309) | def _parse_unique_key(self) -> t.Optional[exp.Expr]: method _parse_jsonb_exists (line 312) | def _parse_jsonb_exists(self) -> exp.JSONBExists: method _parse_generated_as_identity (line 321) | def _parse_generated_as_identity( method _parse_user_defined_type (line 335) | def _parse_user_defined_type(self, identifier: exp.Identifier) -> t.Op... FILE: sqlglot/parsers/presto.py function _build_approx_percentile (line 17) | def _build_approx_percentile(args: t.List) -> exp.Expr: function _build_from_unixtime (line 32) | def _build_from_unixtime(args: t.List) -> exp.Expr: function _build_to_char (line 45) | def _build_to_char(args: t.List) -> exp.TimeToStr: class PrestoParser (line 56) | class PrestoParser(parser.Parser): FILE: sqlglot/parsers/prql.py function _select_all (line 11) | def _select_all(table: exp.Expr) -> t.Optional[exp.Select]: function _resolve_projection (line 15) | def _resolve_projection(s: exp.Expr, projections: t.Dict[str, exp.Expr])... class PRQLParser (line 21) | class PRQLParser(parser.Parser): method _parse_equality (line 58) | def _parse_equality(self) -> t.Optional[exp.Expr]: method _parse_statement (line 78) | def _parse_statement(self) -> t.Optional[exp.Expr]: method _parse_query (line 83) | def _parse_query(self) -> t.Optional[exp.Query]: method _parse_selection (line 96) | def _parse_selection( method _parse_take (line 124) | def _parse_take(self, query: exp.Query) -> t.Optional[exp.Query]: method _parse_ordered (line 128) | def _parse_ordered( method _parse_order_by (line 139) | def _parse_order_by(self, query: exp.Select) -> t.Optional[exp.Query]: method _parse_aggregate (line 146) | def _parse_aggregate(self) -> t.Optional[exp.Expr]: method _parse_expression (line 164) | def _parse_expression(self) -> t.Optional[exp.Expr]: method _parse_table (line 171) | def _parse_table( method _parse_from (line 183) | def _parse_from( FILE: sqlglot/parsers/redshift.py function _build_date_delta (line 17) | def _build_date_delta(expr_type: t.Type[E]) -> t.Callable[[t.List], E]: class RedshiftParser (line 32) | class RedshiftParser(PostgresParser): method _parse_table (line 69) | def _parse_table( method _parse_convert (line 91) | def _parse_convert(self, strict: bool, safe: t.Optional[bool] = None) ... method _parse_approximate_count (line 97) | def _parse_approximate_count(self) -> t.Optional[exp.ApproxDistinct]: method _parse_projections (line 106) | def _parse_projections(self) -> t.Tuple[t.List[exp.Expr], t.Optional[t... FILE: sqlglot/parsers/risingwave.py class RisingWaveParser (line 10) | class RisingWaveParser(PostgresParser): method _parse_table_hints (line 35) | def _parse_table_hints(self) -> t.Optional[t.List[exp.Expr]]: method _parse_include_property (line 40) | def _parse_include_property(self) -> t.Optional[exp.Expr]: method _parse_encode_property (line 56) | def _parse_encode_property(self, key: t.Optional[bool] = None) -> exp.... FILE: sqlglot/parsers/singlestore.py function cast_to_time6 (line 17) | def cast_to_time6( class SingleStoreParser (line 29) | class SingleStoreParser(MySQLParser): method _parse_vector_expressions (line 249) | def _parse_vector_expressions(self, expressions: t.List[exp.Expr]) -> ... FILE: sqlglot/parsers/snowflake.py function _build_approx_top_k (line 27) | def _build_approx_top_k(args: t.List) -> exp.ApproxTopK: function _build_date_from_parts (line 42) | def _build_date_from_parts(args: t.List) -> exp.DateFromParts: function _build_datetime (line 60) | def _build_datetime( function _build_bitwise (line 110) | def _build_bitwise(expr_type: t.Type[B], name: str) -> t.Callable[[t.Lis... function _build_if_from_div0 (line 132) | def _build_if_from_div0(args: t.List) -> exp.If: function _build_if_from_div0null (line 145) | def _build_if_from_div0null(args: t.List) -> exp.If: function _build_if_from_zeroifnull (line 159) | def _build_if_from_zeroifnull(args: t.List) -> exp.If: function _build_search (line 164) | def _build_search(args: t.List) -> exp.Search: function _build_if_from_nullifzero (line 174) | def _build_if_from_nullifzero(args: t.List) -> exp.If: function _build_regexp_replace (line 179) | def _build_regexp_replace(args: t.List) -> exp.RegexpReplace: function _build_regexp_like (line 188) | def _build_regexp_like(args: t.List) -> exp.RegexpLike: function _date_trunc_to_time (line 197) | def _date_trunc_to_time(args: t.List) -> exp.DateTrunc | exp.TimestampTr... function _build_regexp_extract (line 209) | def _build_regexp_extract(expr_type: t.Type[E]) -> t.Callable[[t.List, D... function _build_timestamp_from_parts (line 228) | def _build_timestamp_from_parts(args: t.List) -> exp.Func: function _build_round (line 239) | def _build_round(args: t.List) -> exp.Round: function _build_array_sort (line 269) | def _build_array_sort(args: t.List) -> exp.SortArray: function _build_generator (line 277) | def _build_generator(args: t.List) -> exp.Generator: function _build_try_to_number (line 300) | def _build_try_to_number(args: t.List[exp.Expr]) -> exp.Expr: function _show_parser (line 310) | def _show_parser(*args: t.Any, **kwargs: t.Any) -> t.Callable[[Snowflake... class SnowflakeParser (line 317) | class SnowflakeParser(parser.Parser): method _parse_directory (line 860) | def _parse_directory(self) -> exp.DirectoryStage: method _parse_describe (line 865) | def _parse_describe(self) -> exp.Describe: method _parse_use (line 891) | def _parse_use(self) -> exp.Use: method _negate_range (line 899) | def _negate_range(self, this: t.Optional[exp.Expr] = None) -> t.Option... method _parse_tag (line 915) | def _parse_tag(self) -> exp.Tags: method _parse_with_constraint (line 918) | def _parse_with_constraint(self) -> t.Optional[exp.Expr]: method _parse_with_property (line 943) | def _parse_with_property(self) -> t.Optional[exp.Expr] | t.List[exp.Ex... method _parse_create (line 949) | def _parse_create(self) -> exp.Create | exp.Command: method _parse_date_part (line 959) | def _parse_date_part(self) -> t.Optional[exp.Expr]: method _parse_bracket_key_value (line 971) | def _parse_bracket_key_value(self, is_map: bool = False) -> t.Optional... method _parse_lateral (line 980) | def _parse_lateral(self) -> t.Optional[exp.Lateral]: method _parse_table_parts (line 995) | def _parse_table_parts( method _parse_table (line 1037) | def _parse_table( method _parse_id_var (line 1065) | def _parse_id_var( method _parse_show_snowflake (line 1079) | def _parse_show_snowflake(self, this: str) -> exp.Show: method _parse_put (line 1126) | def _parse_put(self) -> exp.Put | exp.Command: method _parse_get (line 1138) | def _parse_get(self) -> t.Optional[exp.Expr]: method _parse_location_property (line 1156) | def _parse_location_property(self) -> exp.LocationProperty: method _parse_file_location (line 1160) | def _parse_file_location(self) -> t.Optional[exp.Expr]: method _parse_location_path (line 1168) | def _parse_location_path(self) -> exp.Var: method _parse_lambda_arg (line 1182) | def _parse_lambda_arg(self) -> t.Optional[exp.Expr]: method _parse_foreign_key (line 1195) | def _parse_foreign_key(self) -> exp.ForeignKey: method _parse_file_format_property (line 1203) | def _parse_file_format_property(self) -> exp.FileFormatProperty: method _parse_credentials_property (line 1212) | def _parse_credentials_property(self) -> exp.CredentialsProperty: method _parse_semantic_view (line 1215) | def _parse_semantic_view(self) -> exp.SemanticView: method _parse_set (line 1232) | def _parse_set(self, unset: bool = False, tag: bool = False) -> exp.Se... method _parse_window (line 1241) | def _parse_window( function build_object_construct (line 1277) | def build_object_construct(args: t.List) -> t.Union[exp.StarMap, exp.Str... FILE: sqlglot/parsers/solr.py class SolrParser (line 7) | class SolrParser(parser.Parser): FILE: sqlglot/parsers/spark.py function _build_datediff (line 14) | def _build_datediff(args: t.List) -> exp.Expr: function _build_dateadd (line 40) | def _build_dateadd(args: t.List) -> exp.Expr: class SparkParser (line 55) | class SparkParser(Spark2Parser): method _parse_query_parameter (line 113) | def _parse_query_parameter(self) -> t.Optional[exp.Expr]: method _parse_generated_as_identity (line 128) | def _parse_generated_as_identity( method _parse_pivot_aggregation (line 140) | def _parse_pivot_aggregation(self) -> t.Optional[exp.Expr]: FILE: sqlglot/parsers/spark2.py function build_as_cast (line 16) | def build_as_cast(to_type: str) -> t.Callable[[t.List], exp.Expr]: class Spark2Parser (line 20) | class Spark2Parser(HiveParser): method _parse_drop_column (line 93) | def _parse_drop_column(self) -> t.Optional[exp.Drop | exp.Command]: method _pivot_column_names (line 100) | def _pivot_column_names(self, aggregations: t.List[exp.Expr]) -> t.Lis... FILE: sqlglot/parsers/sqlite.py function _build_strftime (line 10) | def _build_strftime(args: t.List) -> exp.Anonymous | exp.TimeToStr: class SQLiteParser (line 18) | class SQLiteParser(parser.Parser): method _parse_unique (line 52) | def _parse_unique(self) -> exp.UniqueColumnConstraint: method _parse_attach_detach (line 60) | def _parse_attach_detach(self, is_attach=True) -> exp.Attach | exp.Det... FILE: sqlglot/parsers/starrocks.py class StarRocksParser (line 11) | class StarRocksParser(MySQLParser): method _parse_rollup_property (line 33) | def _parse_rollup_property(self) -> exp.RollupProperty: method _parse_create (line 53) | def _parse_create(self) -> exp.Create | exp.Command: method _parse_unnest (line 67) | def _parse_unnest(self, with_alias: bool = True) -> t.Optional[exp.Unn... method _parse_partitioned_by (line 86) | def _parse_partitioned_by(self) -> exp.PartitionedByProperty: method _parse_partition_property (line 95) | def _parse_partition_property( method _parse_partitioning_granularity_dynamic (line 121) | def _parse_partitioning_granularity_dynamic(self) -> exp.PartitionByRa... method _parse_refresh_property (line 132) | def _parse_refresh_property(self) -> exp.RefreshTriggerProperty: FILE: sqlglot/parsers/tableau.py class TableauParser (line 7) | class TableauParser(parser.Parser): FILE: sqlglot/parsers/teradata.py class TeradataParser (line 11) | class TeradataParser(parser.Parser): method _parse_locking_statement (line 66) | def _parse_locking_statement(self) -> exp.LockingStatement: method _parse_translate (line 103) | def _parse_translate(self) -> exp.TranslateCharacters: method _parse_update (line 118) | def _parse_update(self) -> exp.Update: method _parse_rangen (line 128) | def _parse_rangen(self): method _parse_query_band (line 137) | def _parse_query_band(self) -> exp.QueryBand: method _parse_index_params (line 162) | def _parse_index_params(self) -> exp.IndexParameters: method _parse_function (line 170) | def _parse_function( method _parse_column_ops (line 196) | def _parse_column_ops(self, this: t.Optional[exp.Expr]) -> t.Optional[... FILE: sqlglot/parsers/trino.py class TrinoParser (line 10) | class TrinoParser(PrestoParser): method _parse_json_query_quote (line 43) | def _parse_json_query_quote(self) -> t.Optional[exp.JSONExtractQuote]: method _parse_json_query (line 54) | def _parse_json_query(self) -> exp.JSONExtract: FILE: sqlglot/parsers/tsql.py function _build_formatted_time (line 113) | def _build_formatted_time( function _build_format (line 141) | def _build_format(args: t.List) -> exp.NumberToStr | exp.TimeToStr: function _build_eomonth (line 163) | def _build_eomonth(args: t.List) -> exp.LastDay: function _build_hashbytes (line 176) | def _build_hashbytes(args: t.List) -> exp.Expr: function _build_date_delta (line 194) | def _build_date_delta( function _build_datetimefromparts (line 226) | def _build_datetimefromparts(args: t.List) -> exp.TimestampFromParts: function _build_timefromparts (line 239) | def _build_timefromparts(args: t.List) -> exp.TimeFromParts: function _build_with_arg_as_text (line 249) | def _build_with_arg_as_text( function _build_parsename (line 270) | def _build_parsename(args: t.List) -> exp.SplitPart | exp.Anonymous: function _build_json_query (line 288) | def _build_json_query(args: t.List, dialect: Dialect) -> exp.JSONExtract: function _build_datetrunc (line 297) | def _build_datetrunc(args: t.List) -> exp.TimestampTrunc: class TSQLParser (line 307) | class TSQLParser(parser.Parser): method _parse_execute (line 439) | def _parse_execute(self) -> exp.Execute: method _parse_datepart (line 452) | def _parse_datepart(self) -> exp.Extract: method _parse_alter_table_set (line 459) | def _parse_alter_table_set(self) -> exp.AlterSet: method _parse_wrapped_select (line 462) | def _parse_wrapped_select(self, table: bool = False) -> t.Optional[exp... method _parse_dcolon (line 471) | def _parse_dcolon(self) -> t.Optional[exp.Expr]: method _parse_options (line 479) | def _parse_options(self) -> t.Optional[t.List[exp.Expr]]: method _parse_xml_key_value_option (line 495) | def _parse_xml_key_value_option(self) -> exp.XMLKeyValueOption: method _parse_for (line 504) | def _parse_for(self) -> t.Optional[t.List[exp.Expr]]: method _parse_projections (line 518) | def _parse_projections( method _parse_commit_or_rollback (line 537) | def _parse_commit_or_rollback(self) -> exp.Commit | exp.Rollback: method _parse_transaction (line 570) | def _parse_transaction(self) -> exp.Transaction | exp.Command: method _parse_returns (line 586) | def _parse_returns(self) -> exp.ReturnsProperty: method _parse_convert (line 592) | def _parse_convert(self, strict: bool, safe: t.Optional[bool] = None) ... method _parse_column_def (line 600) | def _parse_column_def( method _parse_user_defined_function (line 612) | def _parse_user_defined_function( method _parse_into (line 637) | def _parse_into(self) -> t.Optional[exp.Into]: method _parse_id_var (line 649) | def _parse_id_var( method _parse_create (line 666) | def _parse_create(self) -> exp.Create | exp.Command: method _parse_if (line 679) | def _parse_if(self) -> t.Optional[exp.Expr]: method _parse_unique (line 687) | def _parse_unique(self) -> exp.UniqueColumnConstraint: method _parse_update (line 695) | def _parse_update(self) -> exp.Update: method _parse_partition (line 700) | def _parse_partition(self) -> t.Optional[exp.Partition]: method _parse_alter_table_alter (line 716) | def _parse_alter_table_alter(self) -> t.Optional[exp.Expr]: method _parse_primary_key_part (line 727) | def _parse_primary_key_part(self) -> t.Optional[exp.Expr]: FILE: sqlglot/planner.py class Plan (line 12) | class Plan: method __init__ (line 13) | def __init__(self, expression: exp.Expr) -> None: method dag (line 19) | def dag(self) -> dict[Step, set[Step]]: method leaves (line 37) | def leaves(self) -> Iterator[Step]: method __repr__ (line 40) | def __repr__(self) -> str: class Step (line 44) | class Step: method from_expression (line 46) | def from_expression( method __init__ (line 246) | def __init__(self) -> None: method add_dependency (line 254) | def add_dependency(self, dependency: Step) -> None: method __repr__ (line 258) | def __repr__(self) -> str: method to_s (line 261) | def to_s(self, level: int = 0) -> str: method type_name (line 293) | def type_name(self) -> str: method id (line 297) | def id(self) -> str: method _to_s (line 302) | def _to_s(self, _indent: str) -> t.List[str]: class Scan (line 306) | class Scan(Step): method from_expression (line 308) | def from_expression( method __init__ (line 328) | def __init__(self) -> None: method _to_s (line 332) | def _to_s(self, indent: str) -> t.List[str]: class Join (line 336) | class Join(Step): method from_joins (line 338) | def from_joins( method __init__ (line 356) | def __init__(self) -> None: method _to_s (line 361) | def _to_s(self, indent: str) -> t.List[str]: class Aggregate (line 373) | class Aggregate(Step): method __init__ (line 374) | def __init__(self) -> None: method _to_s (line 381) | def _to_s(self, indent: str) -> t.List[str]: class Sort (line 402) | class Sort(Step): method __init__ (line 403) | def __init__(self) -> None: method _to_s (line 407) | def _to_s(self, indent: str) -> t.List[str]: class SetOperation (line 416) | class SetOperation(Step): method __init__ (line 417) | def __init__( method from_expression (line 431) | def from_expression( method _to_s (line 458) | def _to_s(self, indent: str) -> t.List[str]: method type_name (line 465) | def type_name(self) -> str: FILE: sqlglot/schema.py class Schema (line 23) | class Schema(abc.ABC): method dialect (line 27) | def dialect(self) -> t.Optional[Dialect]: method add_table (line 35) | def add_table( method column_names (line 56) | def column_names( method get_column_type (line 77) | def get_column_type( method has_column (line 97) | def has_column( method get_udf_type (line 119) | def get_udf_type( method supported_table_args (line 140) | def supported_table_args(self) -> t.Tuple[str, ...]: method empty (line 146) | def empty(self) -> bool: class AbstractMappingSchema (line 151) | class AbstractMappingSchema: method __init__ (line 152) | def __init__( method empty (line 170) | def empty(self) -> bool: method depth (line 173) | def depth(self) -> int: method udf_depth (line 176) | def udf_depth(self) -> int: method supported_table_args (line 180) | def supported_table_args(self) -> t.Tuple[str, ...]: method table_parts (line 193) | def table_parts(self, table: exp.Table) -> t.List[str]: method udf_parts (line 196) | def udf_parts(self, udf: exp.Anonymous) -> t.List[str]: method _find_in_trie (line 202) | def _find_in_trie( method find (line 228) | def find( method find_udf (line 250) | def find_udf(self, udf: exp.Anonymous, raise_on_missing: bool = False)... method nested_get (line 273) | def nested_get( class MappingSchema (line 283) | class MappingSchema(AbstractMappingSchema, Schema): method __init__ (line 302) | def __init__( method dialect (line 326) | def dialect(self) -> Dialect: method from_mapping_schema (line 331) | def from_mapping_schema(cls, mapping_schema: MappingSchema) -> Mapping... method find (line 340) | def find( method copy (line 354) | def copy(self, **kwargs) -> MappingSchema: method add_table (line 366) | def add_table( method column_names (line 407) | def column_names( method get_column_type (line 426) | def get_column_type( method get_udf_type (line 450) | def get_udf_type( method has_column (line 486) | def has_column( method _normalize (line 502) | def _normalize(self, schema: t.Dict) -> t.Dict: method _normalize_udfs (line 540) | def _normalize_udfs(self, udfs: t.Dict) -> t.Dict: method _normalize_udf (line 559) | def _normalize_udf( method _normalize_table (line 595) | def _normalize_table( method _normalize_name (line 623) | def _normalize_name( method depth (line 649) | def depth(self) -> int: method _to_data_type (line 655) | def _to_data_type(self, schema_type: str, dialect: DialectType = None)... function normalize_name (line 681) | def normalize_name( function ensure_schema (line 698) | def ensure_schema(schema: Schema | t.Optional[t.Dict], **kwargs: t.Any) ... function ensure_column_mapping (line 705) | def ensure_column_mapping(mapping: t.Optional[ColumnMapping]) -> t.Dict: function flatten_schema (line 722) | def flatten_schema( function nested_get (line 738) | def nested_get( function nested_set (line 765) | def nested_set(d: dict, keys: Sequence[str], value: t.Any) -> dict: FILE: sqlglot/serde.py function dump (line 19) | def dump(expression: exp.Expr) -> t.List[t.Dict[str, t.Any]]: function load (line 75) | def load( function _load (line 106) | def _load(payload: t.Dict[str, t.Any]) -> exp.Expr | exp.DType: FILE: sqlglot/time.py function format_time (line 9) | def format_time( function subsecond_precision (line 667) | def subsecond_precision(timestamp_literal: str) -> int: FILE: sqlglot/tokenizer_core.py class TokenType (line 13) | class TokenType(IntEnum): method __str__ (line 464) | def __str__(self) -> str: class Token (line 468) | class Token: method number (line 482) | def number(cls, number: int) -> Token: method string (line 487) | def string(cls, string: str) -> Token: method identifier (line 492) | def identifier(cls, identifier: str) -> Token: method var (line 497) | def var(cls, var: str) -> Token: method __init__ (line 501) | def __init__( method __bool__ (line 519) | def __bool__(self) -> bool: method __repr__ (line 522) | def __repr__(self) -> str: class TokenizerCore (line 532) | class TokenizerCore: method __init__ (line 574) | def __init__( method reset (line 642) | def reset(self) -> None: method tokenize (line 656) | def tokenize(self, sql: str) -> t.List[Token]: method _scan (line 672) | def _scan(self, check_semicolon: bool = False) -> None: method _chars (line 707) | def _chars(self, size: int) -> str: method _advance (line 716) | def _advance(self, i: int = 1, alnum: bool = False) -> None: method _text (line 754) | def _text(self) -> str: method _add (line 757) | def _add(self, token_type: TokenType, text: t.Optional[str] = None) ->... method _scan_keywords (line 795) | def _scan_keywords(self) -> None: method _scan_comment (line 855) | def _scan_comment(self, comment_start: str) -> bool: method _scan_number (line 913) | def _scan_number(self) -> None: method _scan_bits (line 993) | def _scan_bits(self) -> None: method _scan_hex (line 1003) | def _scan_hex(self) -> None: method _extract_value (line 1013) | def _extract_value(self) -> str: method _scan_string (line 1025) | def _scan_string(self, start: str) -> bool: method _scan_identifier (line 1088) | def _scan_identifier(self, identifier_end: str) -> None: method _scan_var (line 1095) | def _scan_var(self) -> None: method _extract_string (line 1113) | def _extract_string( FILE: sqlglot/tokens.py function _convert_quotes (line 31) | def _convert_quotes(arr: t.List[str | t.Tuple[str, str]]) -> t.Dict[str,... function _quotes_to_format (line 35) | def _quotes_to_format( class _TokenizerBase (line 41) | class _TokenizerBase: method __init_subclass__ (line 78) | def __init_subclass__(cls, **kwargs: t.Any) -> None: class Tokenizer (line 120) | class Tokenizer(_TokenizerBase): method __init__ (line 537) | def __init__( method tokenize (line 576) | def tokenize(self, sql: str) -> t.List[Token]: method sql (line 581) | def sql(self) -> str: method size (line 586) | def size(self) -> int: method tokens (line 591) | def tokens(self) -> t.List[Token]: FILE: sqlglot/transforms.py function preprocess (line 15) | def preprocess( function unnest_generate_date_array_using_recursive_cte (line 68) | def unnest_generate_date_array_using_recursive_cte(expression: exp.Expr)... function unnest_generate_series (line 125) | def unnest_generate_series(expression: exp.Expr) -> exp.Expr: function eliminate_distinct_on (line 138) | def eliminate_distinct_on(expression: exp.Expr) -> exp.Expr: function eliminate_qualify (line 193) | def eliminate_qualify(expression: exp.Expr) -> exp.Expr: function remove_precision_parameterized_types (line 257) | def remove_precision_parameterized_types(expression: exp.Expr) -> exp.Expr: function unqualify_unnest (line 270) | def unqualify_unnest(expression: exp.Expr) -> exp.Expr: function unnest_to_explode (line 289) | def unnest_to_explode( function explode_projection_to_unnest (line 393) | def explode_projection_to_unnest( function add_within_group_for_percentiles (line 546) | def add_within_group_for_percentiles(expression: exp.Expr) -> exp.Expr: function remove_within_group_for_percentiles (line 561) | def remove_within_group_for_percentiles(expression: exp.Expr) -> exp.Expr: function add_recursive_cte_column_names (line 575) | def add_recursive_cte_column_names(expression: exp.Expr) -> exp.Expr: function epoch_cast_to_ts (line 594) | def epoch_cast_to_ts(expression: exp.Expr) -> exp.Expr: function eliminate_semi_and_anti_joins (line 606) | def eliminate_semi_and_anti_joins(expression: exp.Expr) -> exp.Expr: function eliminate_full_outer_join (line 623) | def eliminate_full_outer_join(expression: exp.Expr) -> exp.Expr: function move_ctes_to_top_level (line 663) | def move_ctes_to_top_level(expression: E) -> E: function ensure_bools (line 702) | def ensure_bools(expression: exp.Expr) -> exp.Expr: function unqualify_columns (line 723) | def unqualify_columns(expression: exp.Expr) -> exp.Expr: function remove_unique_constraints (line 732) | def remove_unique_constraints(expression: exp.Expr) -> exp.Expr: function ctas_with_tmp_tables_to_create_tmp_view (line 741) | def ctas_with_tmp_tables_to_create_tmp_view( function move_schema_columns_to_partitioned_by (line 765) | def move_schema_columns_to_partitioned_by(expression: exp.Expr) -> exp.E... function move_partitioned_by_to_schema_columns (line 788) | def move_partitioned_by_to_schema_columns(expression: exp.Expr) -> exp.E... function struct_kv_to_alias (line 813) | def struct_kv_to_alias(expression: exp.Expr) -> exp.Expr: function eliminate_join_marks (line 827) | def eliminate_join_marks(expression: exp.Expr) -> exp.Expr: function any_to_exists (line 948) | def any_to_exists(expression: exp.Expr) -> exp.Expr: function eliminate_window_clause (line 975) | def eliminate_window_clause(expression: exp.Expr) -> exp.Expr: function inherit_struct_field_names (line 1006) | def inherit_struct_field_names(expression: exp.Expr) -> exp.Expr: FILE: sqlglot/trie.py class TrieResult (line 8) | class TrieResult(Enum): function new_trie (line 14) | def new_trie(keywords: Iterable[key], trie: t.Optional[dict] = None) -> ... function in_trie (line 44) | def in_trie(trie: t.Dict, key: key) -> t.Tuple[TrieResult, t.Dict]: FILE: sqlglot/typing/bigquery.py function _annotate_math_functions (line 12) | def _annotate_math_functions(self: TypeAnnotator, expression: exp.Expr) ... function _annotate_safe_divide (line 30) | def _annotate_safe_divide(self: TypeAnnotator, expression: exp.SafeDivid... function _annotate_by_args_with_coerce (line 49) | def _annotate_by_args_with_coerce(self: TypeAnnotator, expression: exp.E... function _annotate_by_args_approx_top (line 64) | def _annotate_by_args_approx_top(self: TypeAnnotator, expression: exp.Ap... function _annotate_concat (line 78) | def _annotate_concat(self: TypeAnnotator, expression: exp.Concat) -> exp... function _annotate_array (line 89) | def _annotate_array(self: TypeAnnotator, expression: exp.Array) -> exp.A... FILE: sqlglot/typing/snowflake.py function _annotate_reverse (line 19) | def _annotate_reverse(self: TypeAnnotator, expression: exp.Reverse) -> e... function _annotate_timestamp_from_parts (line 28) | def _annotate_timestamp_from_parts( function _annotate_date_or_time_add (line 43) | def _annotate_date_or_time_add(self: TypeAnnotator, expression: exp.Expr... function _annotate_decode_case (line 54) | def _annotate_decode_case(self: TypeAnnotator, expression: exp.DecodeCas... function _annotate_arg_max_min (line 83) | def _annotate_arg_max_min(self, expression): function _annotate_within_group (line 91) | def _annotate_within_group(self: TypeAnnotator, expression: exp.WithinGr... function _annotate_median (line 109) | def _annotate_median(self: TypeAnnotator, expression: exp.Median) -> exp... function _annotate_variance (line 145) | def _annotate_variance(self: TypeAnnotator, expression: exp.Expr) -> exp... function _annotate_kurtosis (line 183) | def _annotate_kurtosis(self: TypeAnnotator, expression: exp.Kurtosis) ->... function _annotate_math_with_float_decfloat (line 206) | def _annotate_math_with_float_decfloat(self: TypeAnnotator, expression: ... function _annotate_str_to_time (line 226) | def _annotate_str_to_time(self: TypeAnnotator, expression: exp.StrToTime... FILE: sqlglot/typing/spark2.py function _annotate_by_similar_args (line 15) | def _annotate_by_similar_args( FILE: sqlglotc/setup.py function _find_sqlglot_dir (line 12) | def _find_sqlglot_dir(): function _subpkg_files (line 33) | def _subpkg_files(src_dir, subpkg, files=None): function _source_files (line 44) | def _source_files(src_dir): function _source_paths (line 82) | def _source_paths(): class build_ext (line 86) | class build_ext(_build_ext): method copy_extensions_to_source (line 87) | def copy_extensions_to_source(self): class sdist (line 105) | class sdist(_sdist): method run (line 108) | def run(self): FILE: tests/dialects/test_athena.py class TestAthena (line 5) | class TestAthena(Validator): method test_athena (line 9) | def test_athena(self): method test_ddl (line 41) | def test_ddl(self): method test_dml (line 94) | def test_dml(self): method test_ddl_quoting (line 105) | def test_ddl_quoting(self): method test_dml_quoting (line 156) | def test_dml_quoting(self): method test_create_table (line 176) | def test_create_table(self): method test_ctas (line 237) | def test_ctas(self): method test_parse_partitioned_by_returns_iceberg_transforms (line 301) | def test_parse_partitioned_by_returns_iceberg_transforms(self): FILE: tests/dialects/test_bigquery.py class TestBigQuery (line 22) | class TestBigQuery(Validator): method test_bigquery (line 26) | def test_bigquery(self): method test_errors (line 2090) | def test_errors(self): method test_warnings (line 2118) | def test_warnings(self): method test_user_defined_functions (line 2261) | def test_user_defined_functions(self): method test_remove_precision_parameterized_types (line 2275) | def test_remove_precision_parameterized_types(self): method test_gap_fill (line 2294) | def test_gap_fill(self): method test_models (line 2314) | def test_models(self): method test_ml_functions (line 2353) | def test_ml_functions(self): method test_merge (line 2424) | def test_merge(self): method test_rename_table (line 2439) | def test_rename_table(self): method test_pushdown_cte_column_names (line 2449) | def test_pushdown_cte_column_names(self, logger): method test_json_object (line 2479) | def test_json_object(self): method test_mod (line 2504) | def test_mod(self): method test_inline_constructor (line 2515) | def test_inline_constructor(self): method test_convert (line 2575) | def test_convert(self): method test_unnest (line 2593) | def test_unnest(self): method test_range_type (line 2651) | def test_range_type(self): method test_null_ordering (line 2674) | def test_null_ordering(self): method test_null_ordering_in_analytic_functions (line 2698) | def test_null_ordering_in_analytic_functions(self): method test_json_extract (line 2726) | def test_json_extract(self): method test_json_extract_array (line 2778) | def test_json_extract_array(self): method test_unix_seconds (line 2795) | def test_unix_seconds(self): method test_unix_micros (line 2814) | def test_unix_micros(self): method test_unix_millis (line 2830) | def test_unix_millis(self): method test_regexp_extract (line 2846) | def test_regexp_extract(self): method test_format_temporal (line 2938) | def test_format_temporal(self): method test_string_agg (line 2990) | def test_string_agg(self): method test_annotate_timestamps (line 3003) | def test_annotate_timestamps(self): method test_set_operations (line 3018) | def test_set_operations(self): method test_with_offset (line 3058) | def test_with_offset(self): method test_identifier_meta (line 3071) | def test_identifier_meta(self): method test_quoted_identifier_meta (line 3108) | def test_quoted_identifier_meta(self): method test_override_normalization_strategy (line 3124) | def test_override_normalization_strategy(self): method test_array_agg (line 3141) | def test_array_agg(self): method test_array_concat (line 3160) | def test_array_concat(self): method test_select_as_struct (line 3168) | def test_select_as_struct(self): method test_avoid_generating_nested_comment (line 3201) | def test_avoid_generating_nested_comment(self): method test_unnest_with_offset (line 3212) | def test_unnest_with_offset(self): method test_generate_date_array (line 3225) | def test_generate_date_array(self): method test_json_array (line 3265) | def test_json_array(self): method test_declare (line 3272) | def test_declare(self): method test_week (line 3286) | def test_week(self): method test_approx_qunatiles (line 3413) | def test_approx_qunatiles(self): method test_json_lax (line 3418) | def test_json_lax(self): method test_safe_math_funcs (line 3424) | def test_safe_math_funcs(self): method test_bitwise_and (line 3463) | def test_bitwise_and(self): method test_bitwise_not (line 3472) | def test_bitwise_not(self): method test_bit_aggs (line 3481) | def test_bit_aggs(self): method test_to_hex (line 3555) | def test_to_hex(self): method test_md5 (line 3564) | def test_md5(self): method test_to_json_string (line 3573) | def test_to_json_string(self): method test_concat (line 3582) | def test_concat(self): method test_pseudocolumns (line 3591) | def test_pseudocolumns(self): method test_round (line 3616) | def test_round(self): method test_approx_quantiles (line 3649) | def test_approx_quantiles(self): method test_approx_quantiles_to_duckdb (line 3658) | def test_approx_quantiles_to_duckdb(self): method test_bignumeric (line 3739) | def test_bignumeric(self): FILE: tests/dialects/test_clickhouse.py class TestClickhouse (line 12) | class TestClickhouse(Validator): method test_clickhouse (line 15) | def test_clickhouse(self): method test_clickhouse_values (line 734) | def test_clickhouse_values(self): method test_cte (line 773) | def test_cte(self): method test_ternary (line 793) | def test_ternary(self): method test_parameterization (line 831) | def test_parameterization(self): method test_signed_and_unsigned_types (line 844) | def test_signed_and_unsigned_types(self): method test_geom_types (line 865) | def test_geom_types(self): method test_nothing_type (line 871) | def test_nothing_type(self): method test_json_type (line 877) | def test_json_type(self): method test_aggregate_function_column_with_any_keyword (line 912) | def test_aggregate_function_column_with_any_keyword(self): method test_create_table_as_alias (line 939) | def test_create_table_as_alias(self): method test_ddl (line 950) | def test_ddl(self): method test_agg_functions (line 1425) | def test_agg_functions(self): method test_agg_functions_multiple_suffixes (line 1462) | def test_agg_functions_multiple_suffixes(self): method test_detach (line 1528) | def test_detach(self): method test_drop_on_cluster (line 1541) | def test_drop_on_cluster(self): method test_datetime_funcs (line 1547) | def test_datetime_funcs(self): method test_convert (line 1579) | def test_convert(self): method test_timestr_to_time (line 1606) | def test_timestr_to_time(self): method test_grant (line 1670) | def test_grant(self): method test_revoke (line 1674) | def test_revoke(self): method test_array_join (line 1678) | def test_array_join(self): method test_traverse_scope (line 1705) | def test_traverse_scope(self): method test_window_functions (line 1711) | def test_window_functions(self): method test_functions (line 1719) | def test_functions(self): method test_array_offset (line 1725) | def test_array_offset(self): method test_to_start_of (line 1748) | def test_to_start_of(self): method test_string_split (line 1776) | def test_string_split(self): method test_sql_security (line 1804) | def test_sql_security(self): FILE: tests/dialects/test_databricks.py class TestDatabricks (line 6) | class TestDatabricks(Validator): method test_databricks (line 9) | def test_databricks(self): method test_json (line 269) | def test_json(self): method test_datediff (line 305) | def test_datediff(self): method test_add_date (line 384) | def test_add_date(self): method test_without_as (line 404) | def test_without_as(self): method test_streaming_tables (line 419) | def test_streaming_tables(self): method test_grant (line 427) | def test_grant(self): method test_revoke (line 433) | def test_revoke(self): method test_analyze (line 441) | def test_analyze(self): method test_udf_environment_property (line 453) | def test_udf_environment_property(self): method test_udf_handler_property (line 458) | def test_udf_handler_property(self): method test_udf_parameter_style_property (line 461) | def test_udf_parameter_style_property(self): method test_to_char_is_numeric_transpile_to_cast (line 464) | def test_to_char_is_numeric_transpile_to_cast(self): method test_qdcolon (line 476) | def test_qdcolon(self): method test_overlay (line 479) | def test_overlay(self): method test_declare (line 494) | def test_declare(self): FILE: tests/dialects/test_dialect.py class Validator (line 26) | class Validator(unittest.TestCase): method parse_one (line 29) | def parse_one(self, sql, **kwargs): method assert_duckdb_sql (line 32) | def assert_duckdb_sql( method validate_identity (line 53) | def validate_identity( method validate_all (line 68) | def validate_all(self, sql, read=None, write=None, pretty=False, ident... class TestDialect (line 112) | class TestDialect(Validator): method test_enum (line 115) | def test_enum(self): method test_lazy_load (line 124) | def test_lazy_load(self): method test_get_or_raise (line 131) | def test_get_or_raise(self): method test_compare_dialects (line 186) | def test_compare_dialects(self): method test_compare_dialect_versions (line 212) | def test_compare_dialect_versions(self): method test_cast (line 226) | def test_cast(self): method test_ddl (line 511) | def test_ddl(self): method test_heredoc_strings (line 536) | def test_heredoc_strings(self): method test_decode (line 574) | def test_decode(self): method test_to_binary (line 633) | def test_to_binary(self): method test_if_null (line 669) | def test_if_null(self): method test_is_ascii (line 684) | def test_is_ascii(self): method test_nvl2 (line 697) | def test_nvl2(self): method test_time (line 753) | def test_time(self): method test_array (line 1368) | def test_array(self): method test_order_by (line 1795) | def test_order_by(self): method test_json (line 1819) | def test_json(self): method test_cross_join (line 1998) | def test_cross_join(self): method test_multiple_chained_unnest (line 2065) | def test_multiple_chained_unnest(self): method test_lateral_subquery (line 2075) | def test_lateral_subquery(self): method test_set_operators (line 2083) | def test_set_operators(self): method test_operators (line 2210) | def test_operators(self): method test_typeddiv (line 2700) | def test_typeddiv(self): method test_safediv (line 2732) | def test_safediv(self): method test_limit (line 2752) | def test_limit(self): method test_alias (line 2864) | def test_alias(self): method test_nullsafe_eq (line 2953) | def test_nullsafe_eq(self): method test_nullsafe_neq (line 2966) | def test_nullsafe_neq(self): method test_hash_comments (line 2978) | def test_hash_comments(self): method test_transactions (line 3006) | def test_transactions(self): method test_merge (line 3040) | def test_merge(self): method test_substring (line 3114) | def test_substring(self): method test_logarithm (line 3132) | def test_logarithm(self): method test_count_if (line 3219) | def test_count_if(self): method test_cast_to_user_defined_type (line 3254) | def test_cast_to_user_defined_type(self): method test_qualify (line 3272) | def test_qualify(self): method test_window_exclude (line 3298) | def test_window_exclude(self): method test_nested_ctes (line 3327) | def test_nested_ctes(self): method test_unsupported_null_ordering (line 3439) | def test_unsupported_null_ordering(self): method test_random (line 3486) | def test_random(self): method test_array_any (line 3523) | def test_array_any(self): method test_truncate (line 3552) | def test_truncate(self): method test_create_sequence (line 3558) | def test_create_sequence(self): method test_reserved_keywords (line 3592) | def test_reserved_keywords(self): method test_string_functions (line 3607) | def test_string_functions(self): method test_generate_date_array (line 3637) | def test_generate_date_array(self): method test_set_operation_specifiers (line 3687) | def test_set_operation_specifiers(self): method test_normalize (line 3710) | def test_normalize(self): method test_coalesce (line 3729) | def test_coalesce(self): method test_trim (line 3752) | def test_trim(self): method test_uuid (line 3873) | def test_uuid(self): method test_escaped_identifier_delimiter (line 3905) | def test_escaped_identifier_delimiter(self): method test_median (line 3996) | def test_median(self): method test_current_schema (line 4023) | def test_current_schema(self): method test_integer_hex_strings (line 4039) | def test_integer_hex_strings(self): method test_ascii (line 4062) | def test_ascii(self): method test_between (line 4089) | def test_between(self): method test_like_quantifiers (line 4159) | def test_like_quantifiers(self): method test_date_to_unix_date (line 4199) | def test_date_to_unix_date(self): method test_week_of_year (line 4215) | def test_week_of_year(self): method test_justify (line 4228) | def test_justify(self): method test_unix_time (line 4272) | def test_unix_time(self): method test_reverse (line 4302) | def test_reverse(self): method test_regr_count (line 4340) | def test_regr_count(self): method test_regr_intercept (line 4373) | def test_regr_intercept(self): method test_regr_r2 (line 4404) | def test_regr_r2(self): method test_regr_slope (line 4435) | def test_regr_slope(self): method test_regr_sxx (line 4466) | def test_regr_sxx(self): method test_regr_sxy (line 4497) | def test_regr_sxy(self): method test_regr_syy (line 4528) | def test_regr_syy(self): method test_translate (line 4559) | def test_translate(self): method test_soundex (line 4596) | def test_soundex(self): method test_grouping (line 4634) | def test_grouping(self): method test_farm_fingerprint (line 4686) | def test_farm_fingerprint(self): method test_from_to_base32 (line 4702) | def test_from_to_base32(self): method test_regexp_instr (line 4732) | def test_regexp_instr(self): method test_format (line 4818) | def test_format(self): method test_json_array_append (line 4837) | def test_json_array_append(self): method test_json_array_insert (line 4850) | def test_json_array_insert(self): method test_json_remove (line 4863) | def test_json_remove(self): method test_json_set (line 4877) | def test_json_set(self): method test_json_strip_nulls (line 4892) | def test_json_strip_nulls(self): method test_is_unknown (line 4905) | def test_is_unknown(self): method test_is_with_dcolon (line 4935) | def test_is_with_dcolon(self): method test_regexp_replace (line 4955) | def test_regexp_replace(self): method test_subquery_unwrap (line 4968) | def test_subquery_unwrap(self): method test_initcap (line 4979) | def test_initcap(self): method test_initcap_custom_delimiter_warning (line 5054) | def test_initcap_custom_delimiter_warning(self): method test_parse_at_time_zone (line 5062) | def test_parse_at_time_zone(self): method test_underscore_scientific_notation (line 5075) | def test_underscore_scientific_notation(self): method test_localtime_and_localtimestamp (line 5094) | def test_localtime_and_localtimestamp(self): method test_current_catalog (line 5162) | def test_current_catalog(self): method test_session_user (line 5198) | def test_session_user(self): method test_operator (line 5236) | def test_operator(self): method test_json_keys (line 5250) | def test_json_keys(self): method test_interval_with_units_dcolon (line 5293) | def test_interval_with_units_dcolon(self): method test_patch_dialect_parser (line 5304) | def test_patch_dialect_parser(self): method test_custom_dialect (line 5324) | def test_custom_dialect(self): FILE: tests/dialects/test_doris.py class TestDoris (line 4) | class TestDoris(Validator): method test_doris (line 7) | def test_doris(self): method test_identity (line 91) | def test_identity(self): method test_time (line 102) | def test_time(self): method test_regex (line 108) | def test_regex(self): method test_analyze (line 116) | def test_analyze(self): method test_key (line 121) | def test_key(self): method test_distributed (line 126) | def test_distributed(self): method test_partition (line 135) | def test_partition(self): method test_table_alias_conversion (line 154) | def test_table_alias_conversion(self): method test_rename_table (line 229) | def test_rename_table(self): method test_materialized_view_properties (line 239) | def test_materialized_view_properties(self): FILE: tests/dialects/test_dremio.py class TestDremio (line 6) | class TestDremio(Validator): method test_type_mappings (line 10) | def test_type_mappings(self): method test_concat_coalesce (line 38) | def test_concat_coalesce(self): method test_typed_division (line 47) | def test_typed_division(self): method test_user_defined_types_unsupported (line 56) | def test_user_defined_types_unsupported(self): method test_null_ordering (line 60) | def test_null_ordering(self): method test_convert_timezone (line 77) | def test_convert_timezone(self): method test_interval_plural (line 86) | def test_interval_plural(self): method test_limit_only_literals (line 89) | def test_limit_only_literals(self): method test_multi_arg_distinct_unsupported (line 92) | def test_multi_arg_distinct_unsupported(self): method test_time_mapping (line 98) | def test_time_mapping(self): method test_to_char_special (line 133) | def test_to_char_special(self): method test_date_add (line 157) | def test_date_add(self): method test_date_sub (line 165) | def test_date_sub(self): method test_datetime_parsing (line 173) | def test_datetime_parsing(self): method test_array_generate_range (line 179) | def test_array_generate_range(self): method test_current_date_utc (line 186) | def test_current_date_utc(self): method test_repeatstr (line 193) | def test_repeatstr(self): method test_regexp_like (line 197) | def test_regexp_like(self): method test_date_part (line 210) | def test_date_part(self): method test_datetype (line 216) | def test_datetype(self): method test_try_cast (line 220) | def test_try_cast(self): FILE: tests/dialects/test_drill.py class TestDrill (line 4) | class TestDrill(Validator): method test_drill (line 7) | def test_drill(self): method test_analyze (line 23) | def test_analyze(self): FILE: tests/dialects/test_druid.py class TestDruid (line 5) | class TestDruid(Validator): method test_druid (line 8) | def test_druid(self): FILE: tests/dialects/test_duckdb.py class TestDuckDB (line 8) | class TestDuckDB(Validator): method test_duckdb (line 11) | def test_duckdb(self): method test_array_index (line 1506) | def test_array_index(self): method test_array_insert (line 1546) | def test_array_insert(self): method test_array_remove (line 1587) | def test_array_remove(self): method test_array_remove_at (line 1612) | def test_array_remove_at(self): method test_time (line 1677) | def test_time(self): method test_sample (line 1847) | def test_sample(self): method test_array (line 1895) | def test_array(self): method test_cast (line 1899) | def test_cast(self): method test_encode_decode (line 2075) | def test_encode_decode(self): method test_sha (line 2107) | def test_sha(self): method test_rename_table (line 2114) | def test_rename_table(self): method test_timestamps_with_units (line 2132) | def test_timestamps_with_units(self): method test_isnan (line 2140) | def test_isnan(self): method test_isinf (line 2147) | def test_isinf(self): method test_parameter_token (line 2154) | def test_parameter_token(self): method test_ignore_nulls (line 2161) | def test_ignore_nulls(self): method test_attach_detach (line 2184) | def test_attach_detach(self): method test_simplified_pivot_unpivot (line 2205) | def test_simplified_pivot_unpivot(self): method test_from_first_with_parentheses (line 2233) | def test_from_first_with_parentheses(self): method test_analyze (line 2247) | def test_analyze(self): method test_prefix_aliases (line 2250) | def test_prefix_aliases(self): method test_at_sign_to_abs (line 2333) | def test_at_sign_to_abs(self): method test_show_tables (line 2359) | def test_show_tables(self): method test_extract_date_parts (line 2363) | def test_extract_date_parts(self): method test_set_item (line 2380) | def test_set_item(self): method test_reset (line 2398) | def test_reset(self): method test_map_struct (line 2409) | def test_map_struct(self): method test_create_sequence (line 2414) | def test_create_sequence(self): method test_install (line 2423) | def test_install(self): method test_cte_using_key (line 2435) | def test_cte_using_key(self): method test_udf (line 2443) | def test_udf(self): method test_bitwise_agg (line 2453) | def test_bitwise_agg(self): method test_approx_percentile (line 2504) | def test_approx_percentile(self): method test_current_database (line 2523) | def test_current_database(self): method test_current_schema (line 2535) | def test_current_schema(self): method test_current_schemas (line 2547) | def test_current_schemas(self): method test_map_delete (line 2559) | def test_map_delete(self): method test_map_size (line 2579) | def test_map_size(self): method test_map_pick (line 2599) | def test_map_pick(self): method test_to_array (line 2634) | def test_to_array(self): method test_map_insert (line 2663) | def test_map_insert(self): FILE: tests/dialects/test_dune.py class TestDune (line 5) | class TestDune(Validator): method test_dune (line 8) | def test_dune(self): FILE: tests/dialects/test_exasol.py class TestExasol (line 5) | class TestExasol(Validator): method test_exasol (line 9) | def test_exasol(self): method test_exasol_keywords (line 35) | def test_exasol_keywords(self): method test_qualify_unscoped_star (line 42) | def test_qualify_unscoped_star(self): method test_type_mappings (line 80) | def test_type_mappings(self): method test_mod (line 136) | def test_mod(self): method test_bits (line 147) | def test_bits(self): method test_aggregateFunctions (line 248) | def test_aggregateFunctions(self): method test_stringFunctions (line 298) | def test_stringFunctions(self): method test_datetime_functions (line 430) | def test_datetime_functions(self): method test_number_functions (line 617) | def test_number_functions(self): method test_scalar (line 666) | def test_scalar(self): method test_odbc_date_literals (line 801) | def test_odbc_date_literals(self): method test_local_prefix_for_alias (line 808) | def test_local_prefix_for_alias(self): method test_regexp_like (line 859) | def test_regexp_like(self): method test_json (line 877) | def test_json(self): method test_group_by_all (line 890) | def test_group_by_all(self): FILE: tests/dialects/test_fabric.py class TestFabric (line 4) | class TestFabric(Validator): method test_type_mappings (line 8) | def test_type_mappings(self): method test_precision_capping (line 33) | def test_precision_capping(self): method test_timestamptz_without_at_time_zone (line 53) | def test_timestamptz_without_at_time_zone(self): method test_timestamptz_with_at_time_zone (line 72) | def test_timestamptz_with_at_time_zone(self): method test_unix_to_time (line 91) | def test_unix_to_time(self): method test_varchar_precision_inference (line 99) | def test_varchar_precision_inference(self): FILE: tests/dialects/test_hive.py class TestHive (line 5) | class TestHive(Validator): method test_bits (line 8) | def test_bits(self): method test_cast (line 90) | def test_cast(self): method test_ddl (line 149) | def test_ddl(self): method test_lateral_view (line 271) | def test_lateral_view(self): method test_quotes (line 319) | def test_quotes(self): method test_regex (line 363) | def test_regex(self): method test_time (line 386) | def test_time(self): method test_order_by (line 505) | def test_order_by(self): method test_hive (line 516) | def test_hive(self): method test_escapes (line 1027) | def test_escapes(self) -> None: method test_data_type (line 1036) | def test_data_type(self): method test_joins_without_on (line 1044) | def test_joins_without_on(self): method test_percentile (line 1066) | def test_percentile(self): FILE: tests/dialects/test_materialize.py class TestMaterialize (line 4) | class TestMaterialize(Validator): method test_materialize (line 7) | def test_materialize(self): FILE: tests/dialects/test_mysql.py class TestMySQL (line 9) | class TestMySQL(Validator): method test_ddl (line 12) | def test_ddl(self): method test_identity (line 230) | def test_identity(self): method test_types (line 372) | def test_types(self): method test_canonical_functions (line 415) | def test_canonical_functions(self): method test_escape (line 454) | def test_escape(self): method test_introducers (line 486) | def test_introducers(self): method test_hexadecimal_literal (line 515) | def test_hexadecimal_literal(self): method test_bits_literal (line 567) | def test_bits_literal(self): method test_string_literals (line 591) | def test_string_literals(self): method test_convert (line 599) | def test_convert(self): method test_match_against (line 616) | def test_match_against(self): method test_date_format (line 652) | def test_date_format(self): method test_mysql_time (line 727) | def test_mysql_time(self): method test_mysql_time_python311 (line 838) | def test_mysql_time_python311(self): method test_mysql (line 856) | def test_mysql(self): method test_show_simple (line 1144) | def test_show_simple(self): method test_show_events (line 1162) | def test_show_events(self): method test_show_like_or_where (line 1178) | def test_show_like_or_where(self): method test_show_columns (line 1212) | def test_show_columns(self): method test_show_name (line 1227) | def test_show_name(self): method test_show_grants (line 1244) | def test_show_grants(self): method test_show_engine (line 1250) | def test_show_engine(self): method test_show_errors (line 1262) | def test_show_errors(self): method test_show_index (line 1272) | def test_show_index(self): method test_show_db_like_or_where_sql (line 1285) | def test_show_db_like_or_where_sql(self): method test_show_processlist (line 1309) | def test_show_processlist(self): method test_show_profile (line 1319) | def test_show_profile(self): method test_show_replica_status (line 1336) | def test_show_replica_status(self): method test_show_tables (line 1348) | def test_show_tables(self): method test_set_variable (line 1359) | def test_set_variable(self): method test_json_object (line 1388) | def test_json_object(self): method test_is_null (line 1391) | def test_is_null(self): method test_monthname (line 1396) | def test_monthname(self): method test_safe_div (line 1405) | def test_safe_div(self): method test_timestamp_trunc (line 1430) | def test_timestamp_trunc(self): method test_at_time_zone (line 1455) | def test_at_time_zone(self): method test_json_value (line 1464) | def test_json_value(self): method test_grant (line 1476) | def test_grant(self): method test_revoke (line 1491) | def test_revoke(self): method test_explain (line 1506) | def test_explain(self): method test_number_format (line 1518) | def test_number_format(self): method test_analyze (line 1548) | def test_analyze(self): method test_utc_time (line 1558) | def test_utc_time(self): method test_mod (line 1564) | def test_mod(self): method test_numeric_trunc (line 1569) | def test_numeric_trunc(self): method test_valid_interval_units (line 1589) | def test_valid_interval_units(self): method test_create_trigger (line 1606) | def test_create_trigger(self): FILE: tests/dialects/test_oracle.py class TestOracle (line 6) | class TestOracle(Validator): method test_oracle (line 9) | def test_oracle(self): method test_join_marker (line 378) | def test_join_marker(self): method test_hints (line 393) | def test_hints(self): method test_xml_table (line 468) | def test_xml_table(self): method test_match_recognize (line 532) | def test_match_recognize(self): method test_json_table (line 557) | def test_json_table(self): method test_connect_by (line 586) | def test_connect_by(self): method test_query_restrictions (line 608) | def test_query_restrictions(self): method test_multitable_inserts (line 617) | def test_multitable_inserts(self): method test_json_functions (line 693) | def test_json_functions(self): method test_grant (line 707) | def test_grant(self): method test_revoke (line 725) | def test_revoke(self): method test_datetrunc (line 743) | def test_datetrunc(self): method test_trunc_type_inference (line 760) | def test_trunc_type_inference(self): method test_trunc (line 780) | def test_trunc(self): method test_analyze (line 846) | def test_analyze(self): method test_prior (line 870) | def test_prior(self): method test_utc_time (line 878) | def test_utc_time(self): method test_merge_builder_alias (line 884) | def test_merge_builder_alias(self): method test_pseudocolumns (line 898) | def test_pseudocolumns(self): method test_chr (line 912) | def test_chr(self): method test_full_procedure (line 916) | def test_full_procedure(self): method test_create_trigger (line 958) | def test_create_trigger(self): FILE: tests/dialects/test_pipe_syntax.py class TestPipeSyntax (line 4) | class TestPipeSyntax(Validator): method test_select (line 5) | def test_select(self): method test_order_by (line 75) | def test_order_by(self): method test_limit (line 97) | def test_limit(self): method test_aggregate (line 119) | def test_aggregate(self): method test_set_operators (line 172) | def test_set_operators(self): method test_join (line 331) | def test_join(self): method test_pivot_unpivot (line 384) | def test_pivot_unpivot(self): method test_as (line 403) | def test_as(self): method test_extend (line 417) | def test_extend(self): method test_tablesample (line 431) | def test_tablesample(self): FILE: tests/dialects/test_postgres.py class TestPostgres (line 6) | class TestPostgres(Validator): method test_postgres (line 10) | def test_postgres(self): method test_ddl (line 1058) | def test_ddl(self): method test_unnest (line 1374) | def test_unnest(self): method test_array_offset (line 1396) | def test_array_offset(self): method test_bool_or (line 1419) | def test_bool_or(self): method test_string_concat (line 1425) | def test_string_concat(self): method test_variance (line 1449) | def test_variance(self): method test_corr (line 1473) | def test_corr(self): method test_regexp_binary (line 1503) | def test_regexp_binary(self): method test_unnest_json_array (line 1508) | def test_unnest_json_array(self): method test_rows_from (line 1536) | def test_rows_from(self): method test_array_length (line 1545) | def test_array_length(self): method test_xmlelement (line 1591) | def test_xmlelement(self): method test_analyze (line 1605) | def test_analyze(self): method test_recursive_cte (line 1611) | def test_recursive_cte(self): method test_json_extract (line 1621) | def test_json_extract(self): method test_udt (line 1643) | def test_udt(self): method test_round (line 1654) | def test_round(self): method test_datatype (line 1672) | def test_datatype(self): method test_locks (line 1676) | def test_locks(self): method test_grant (line 1681) | def test_grant(self): method test_revoke (line 1717) | def test_revoke(self): method test_begin_transaction (line 1756) | def test_begin_transaction(self): method test_interval_span (line 1779) | def test_interval_span(self): method test_postgres_create_trigger (line 1801) | def test_postgres_create_trigger(self): FILE: tests/dialects/test_presto.py class TestPresto (line 6) | class TestPresto(Validator): method test_cast (line 9) | def test_cast(self): method test_replace (line 159) | def test_replace(self): method test_regex (line 190) | def test_regex(self): method test_interval_plural_to_singular (line 253) | def test_interval_plural_to_singular(self): method test_time (line 276) | def test_time(self): method test_ddl (line 510) | def test_ddl(self): method test_quotes (line 602) | def test_quotes(self): method test_unnest (line 649) | def test_unnest(self): method test_unicode_string (line 667) | def test_unicode_string(self): method test_presto (line 688) | def test_presto(self): method test_encode_decode (line 1152) | def test_encode_decode(self): method test_hex_unhex (line 1194) | def test_hex_unhex(self): method test_json (line 1220) | def test_json(self): method test_match_recognize (line 1252) | def test_match_recognize(self): method test_to_char (line 1277) | def test_to_char(self): method test_signum (line 1335) | def test_signum(self): method test_json_vs_row_extract (line 1350) | def test_json_vs_row_extract(self): method test_analyze (line 1365) | def test_analyze(self): method test_bit_aggs (line 1369) | def test_bit_aggs(self): method test_initcap (line 1395) | def test_initcap(self): FILE: tests/dialects/test_prql.py class TestPRQL (line 4) | class TestPRQL(Validator): method test_prql (line 7) | def test_prql(self): FILE: tests/dialects/test_redshift.py class TestRedshift (line 6) | class TestRedshift(Validator): method test_redshift (line 9) | def test_redshift(self): method test_identity (line 335) | def test_identity(self): method test_values (line 507) | def test_values(self): method test_create_table_like (line 580) | def test_create_table_like(self): method test_alter_table (line 604) | def test_alter_table(self): method test_varchar_max (line 631) | def test_varchar_max(self): method test_no_schema_binding (line 644) | def test_no_schema_binding(self): method test_column_unnesting (line 652) | def test_column_unnesting(self): method test_join_markers (line 680) | def test_join_markers(self): method test_time (line 686) | def test_time(self): method test_grant (line 692) | def test_grant(self): method test_revoke (line 725) | def test_revoke(self): method test_analyze (line 744) | def test_analyze(self): method test_cast (line 750) | def test_cast(self): method test_fetch_to_limit (line 756) | def test_fetch_to_limit(self): method test_to_timestamp (line 765) | def test_to_timestamp(self): method test_regexp_extract (line 785) | def test_regexp_extract(self): FILE: tests/dialects/test_risingwave.py class TestRisingWave (line 4) | class TestRisingWave(Validator): method test_risingwave (line 8) | def test_risingwave(self): method test_datatypes (line 25) | def test_datatypes(self): FILE: tests/dialects/test_singlestore.py class TestSingleStore (line 6) | class TestSingleStore(Validator): method test_singlestore (line 9) | def test_singlestore(self): method test_byte_strings (line 30) | def test_byte_strings(self): method test_national_strings (line 34) | def test_national_strings(self): method test_restricted_keywords (line 39) | def test_restricted_keywords(self): method test_time_formatting (line 47) | def test_time_formatting(self): method test_cast (line 72) | def test_cast(self): method test_unix_functions (line 104) | def test_unix_functions(self): method test_json_extract (line 136) | def test_json_extract(self): method test_json (line 223) | def test_json(self): method test_date_parts_functions (line 281) | def test_date_parts_functions(self): method test_math_functions (line 322) | def test_math_functions(self): method test_logical (line 403) | def test_logical(self): method test_string_functions (line 412) | def test_string_functions(self): method test_reduce_functions (line 523) | def test_reduce_functions(self): method test_time_functions (line 533) | def test_time_functions(self): method test_types (line 706) | def test_types(self): method test_column_with_tablename (line 856) | def test_column_with_tablename(self): method test_unicodestring_sql (line 859) | def test_unicodestring_sql(self): method test_collate_sql (line 865) | def test_collate_sql(self): method test_match_against (line 877) | def test_match_against(self): method test_show (line 888) | def test_show(self): method test_truncate (line 930) | def test_truncate(self): method test_vector (line 938) | def test_vector(self): method test_alter (line 960) | def test_alter(self): method test_constraints (line 964) | def test_constraints(self): method test_dcolonqmark (line 976) | def test_dcolonqmark(self): FILE: tests/dialects/test_snowflake.py class TestSnowflake (line 10) | class TestSnowflake(Validator): method test_snowflake (line 14) | def test_snowflake(self): method test_null_treatment (line 3223) | def test_null_treatment(self): method test_staged_files (line 3264) | def test_staged_files(self): method test_sample (line 3312) | def test_sample(self): method test_timestamps (line 3407) | def test_timestamps(self): method test_to_date (line 3747) | def test_to_date(self): method test_trunc (line 3840) | def test_trunc(self): method test_semi_structured_types (line 3900) | def test_semi_structured_types(self): method test_next_day (line 3942) | def test_next_day(self): method test_previous_day (line 3983) | def test_previous_day(self): method test_historical_data (line 4016) | def test_historical_data(self): method test_ddl (line 4074) | def test_ddl(self): method test_user_defined_functions (line 4244) | def test_user_defined_functions(self): method test_stored_procedures (line 4265) | def test_stored_procedures(self): method test_table_function (line 4271) | def test_table_function(self): method test_flatten (line 4288) | def test_flatten(self): method test_minus (line 4496) | def test_minus(self): method test_values (line 4505) | def test_values(self): method test_describe (line 4535) | def test_describe(self): method test_parse_like_any (line 4632) | def test_parse_like_any(self): method test_regexp_functions (line 4639) | def test_regexp_functions(self, logger): method test_regexp_replace (line 4878) | def test_regexp_replace(self, logger): method test_replace (line 4970) | def test_replace(self): method test_match_recognize (line 4998) | def test_match_recognize(self): method test_show_users (line 5036) | def test_show_users(self): method test_show_databases (line 5041) | def test_show_databases(self): method test_show_file_formats (line 5051) | def test_show_file_formats(self): method test_show_functions (line 5060) | def test_show_functions(self): method test_show_procedures (line 5068) | def test_show_procedures(self): method test_show_stages (line 5077) | def test_show_stages(self): method test_show_warehouses (line 5086) | def test_show_warehouses(self): method test_show_schemas (line 5093) | def test_show_schemas(self): method test_show_objects (line 5103) | def test_show_objects(self): method test_show_columns (line 5117) | def test_show_columns(self): method test_show_tables (line 5128) | def test_show_tables(self): method test_show_primary_keys (line 5149) | def test_show_primary_keys(self): method test_show_views (line 5168) | def test_show_views(self): method test_show_unique_keys (line 5184) | def test_show_unique_keys(self): method test_show_imported_keys (line 5203) | def test_show_imported_keys(self): method test_show_sequences (line 5222) | def test_show_sequences(self): method test_storage_integration (line 5238) | def test_storage_integration(self): method test_swap (line 5249) | def test_swap(self): method test_try_cast (line 5254) | def test_try_cast(self): method test_decfloat (line 5289) | def test_decfloat(self): method test_copy (line 5305) | def test_copy(self): method test_put_to_stage (line 5382) | def test_put_to_stage(self): method test_get_from_stage (line 5422) | def test_get_from_stage(self): method test_querying_semi_structured_data (line 5449) | def test_querying_semi_structured_data(self): method test_alter_set_unset (line 5531) | def test_alter_set_unset(self): method test_alter_session (line 5548) | def test_alter_session(self): method test_from_changes (line 5591) | def test_from_changes(self): method test_grant (line 5603) | def test_grant(self): method test_revoke (line 5620) | def test_revoke(self): method test_window_function_arg (line 5637) | def test_window_function_arg(self): method test_offset_without_limit (line 5647) | def test_offset_without_limit(self): method test_listagg (line 5655) | def test_listagg(self): method test_rely_options (line 5672) | def test_rely_options(self): method test_parameter (line 5681) | def test_parameter(self): method test_max_by_min_by (line 5687) | def test_max_by_min_by(self): method test_create_view_copy_grants (line 5718) | def test_create_view_copy_grants(self): method test_semantic_view (line 5740) | def test_semantic_view(self): method test_get_extract (line 5784) | def test_get_extract(self): method test_create_sequence (line 5811) | def test_create_sequence(self): method test_bit_aggs (line 5824) | def test_bit_aggs(self): method test_bitmap_or_agg (line 5833) | def test_bitmap_or_agg(self): method test_md5_functions (line 5836) | def test_md5_functions(self): method test_sha1 (line 5843) | def test_sha1(self): method test_model_attribute (line 5874) | def test_model_attribute(self): method test_set_item_kind_attribute (line 5884) | def test_set_item_kind_attribute(self): method test_round (line 5895) | def test_round(self): method test_get_bit (line 5992) | def test_get_bit(self): method test_to_binary (line 6007) | def test_to_binary(self): method test_reverse (line 6044) | def test_reverse(self): method test_float_interval (line 6073) | def test_float_interval(self): method test_transpile_bitwise_ops (line 6106) | def test_transpile_bitwise_ops(self): method test_quoting (line 6137) | def test_quoting(self): method test_floor (line 6145) | def test_floor(self): method test_seq_functions (line 6165) | def test_seq_functions(self): method test_generator (line 6259) | def test_generator(self): method test_ceil (line 6302) | def test_ceil(self): method test_corr (line 6322) | def test_corr(self): method test_encryption_functions (line 6361) | def test_encryption_functions(self): method test_update_statement (line 6394) | def test_update_statement(self): method test_type_sensitive_bitshift_transpilation (line 6406) | def test_type_sensitive_bitshift_transpilation(self): method test_array_flatten (line 6413) | def test_array_flatten(self): method test_array_except (line 6451) | def test_array_except(self): method test_array_position (line 6460) | def test_array_position(self): method test_array_slice (line 6469) | def test_array_slice(self): method test_space (line 6478) | def test_space(self): method test_charindex (line 6506) | def test_charindex(self): method test_directed_joins (line 6522) | def test_directed_joins(self): FILE: tests/dialects/test_solr.py class TestSolr (line 5) | class TestSolr(Validator): method test_solr (line 8) | def test_solr(self): FILE: tests/dialects/test_spark.py class TestSpark (line 9) | class TestSpark(Validator): method test_ddl (line 12) | def test_ddl(self): method test_to_date (line 176) | def test_to_date(self): method test_hint (line 201) | def test_hint(self, logger): method test_spark (line 273) | def test_spark(self): method test_bool_or (line 1062) | def test_bool_or(self): method test_current_user (line 1068) | def test_current_user(self): method test_transform_query (line 1078) | def test_transform_query(self): method test_insert_cte (line 1096) | def test_insert_cte(self): method test_explode_projection_to_unnest (line 1107) | def test_explode_projection_to_unnest(self): method test_strip_modifiers (line 1187) | def test_strip_modifiers(self): method test_schema_binding_options (line 1200) | def test_schema_binding_options(self): method test_minus (line 1212) | def test_minus(self): method test_string (line 1221) | def test_string(self): method test_binary_string (line 1227) | def test_binary_string(self): method test_analyze (line 1237) | def test_analyze(self): method test_transpile_annotated_exploded_column (line 1249) | def test_transpile_annotated_exploded_column(self): method test_approx_percentile (line 1288) | def test_approx_percentile(self): method test_array_insert (line 1315) | def test_array_insert(self): method test_declare (line 1327) | def test_declare(self): method test_set_variable (line 1338) | def test_set_variable(self): FILE: tests/dialects/test_sqlite.py class TestSQLite (line 7) | class TestSQLite(Validator): method test_sqlite (line 10) | def test_sqlite(self): method test_strftime (line 200) | def test_strftime(self): method test_datediff (line 223) | def test_datediff(self): method test_hexadecimal_literal (line 237) | def test_hexadecimal_literal(self): method test_window_null_treatment (line 246) | def test_window_null_treatment(self): method test_longvarchar_dtype (line 254) | def test_longvarchar_dtype(self): method test_warnings (line 260) | def test_warnings(self): method test_trunc (line 269) | def test_trunc(self): method test_ddl (line 278) | def test_ddl(self): method test_analyze (line 340) | def test_analyze(self): method test_create_trigger (line 344) | def test_create_trigger(self): FILE: tests/dialects/test_starrocks.py class TestStarrocks (line 6) | class TestStarrocks(Validator): method test_starrocks (line 9) | def test_starrocks(self): method test_ddl (line 30) | def test_ddl(self): method test_identity (line 125) | def test_identity(self): method test_time (line 136) | def test_time(self): method test_regex (line 145) | def test_regex(self): method test_unnest (line 157) | def test_unnest(self): method test_analyze (line 215) | def test_analyze(self): method test_between (line 236) | def test_between(self): method test_partition (line 254) | def test_partition(self): FILE: tests/dialects/test_tableau.py class TestTableau (line 4) | class TestTableau(Validator): method test_tableau (line 7) | def test_tableau(self): FILE: tests/dialects/test_teradata.py class TestTeradata (line 5) | class TestTeradata(Validator): method test_teradata (line 8) | def test_teradata(self): method test_translate (line 43) | def test_translate(self): method test_locking (line 47) | def test_locking(self): method test_update (line 68) | def test_update(self): method test_statistics (line 77) | def test_statistics(self): method test_create (line 86) | def test_create(self): method test_insert (line 188) | def test_insert(self): method test_mod (line 193) | def test_mod(self): method test_power (line 196) | def test_power(self): method test_abbrev (line 199) | def test_abbrev(self): method test_datatype (line 216) | def test_datatype(self): method test_cast (line 227) | def test_cast(self): method test_format_override (line 255) | def test_format_override(self): method test_time (line 266) | def test_time(self): method test_query_band (line 357) | def test_query_band(self): FILE: tests/dialects/test_trino.py class TestTrino (line 4) | class TestTrino(Validator): method test_trino (line 7) | def test_trino(self): method test_listagg (line 54) | def test_listagg(self): method test_trim (line 78) | def test_trim(self): method test_ddl (line 91) | def test_ddl(self): method test_analyze (line 145) | def test_analyze(self): method test_json_value (line 149) | def test_json_value(self): method test_array_first (line 165) | def test_array_first(self): FILE: tests/dialects/test_tsql.py class TestTSQL (line 7) | class TestTSQL(Validator): method test_tsql (line 10) | def test_tsql(self): method test_option (line 560) | def test_option(self): method test_for_xml (line 639) | def test_for_xml(self): method test_types (line 712) | def test_types(self): method test_types_ints (line 751) | def test_types_ints(self): method test_types_decimals (line 796) | def test_types_decimals(self): method test_types_string (line 877) | def test_types_string(self): method test_types_date (line 918) | def test_types_date(self): method test_types_bin (line 969) | def test_types_bin(self): method test_ddl (line 1022) | def test_ddl(self): method test_transaction (line 1233) | def test_transaction(self): method test_commit (line 1240) | def test_commit(self): method test_rollback (line 1254) | def test_rollback(self): method test_udf (line 1261) | def test_udf(self): method test_procedure_keywords (line 1333) | def test_procedure_keywords(self): method test_charindex (line 1338) | def test_charindex(self): method test_len (line 1384) | def test_len(self): method test_replicate (line 1401) | def test_replicate(self): method test_isnull (line 1410) | def test_isnull(self): method test_json (line 1414) | def test_json(self): method test_datefromparts (line 1435) | def test_datefromparts(self): method test_datename (line 1444) | def test_datename(self): method test_datepart (line 1460) | def test_datepart(self): method test_convert (line 1543) | def test_convert(self): method test_add_date (line 1736) | def test_add_date(self): method test_date_diff (line 1759) | def test_date_diff(self): method test_lateral_subquery (line 1821) | def test_lateral_subquery(self): method test_lateral_table_valued_function (line 1847) | def test_lateral_table_valued_function(self): method test_top (line 1873) | def test_top(self): method test_format (line 1898) | def test_format(self): method test_string (line 1948) | def test_string(self): method test_eomonth (line 1962) | def test_eomonth(self): method test_identifier_prefixes (line 1997) | def test_identifier_prefixes(self): method test_temporal_table (line 2042) | def test_temporal_table(self): method test_system_time (line 2063) | def test_system_time(self): method test_current_user (line 2071) | def test_current_user(self): method test_hints (line 2089) | def test_hints(self): method test_openjson (line 2116) | def test_openjson(self): method test_set (line 2157) | def test_set(self): method test_qualify_derived_table_outputs (line 2175) | def test_qualify_derived_table_outputs(self): method test_declare (line 2200) | def test_declare(self): method test_scope_resolution_op (line 2232) | def test_scope_resolution_op(self): method test_count (line 2254) | def test_count(self): method test_grant (line 2282) | def test_grant(self): method test_revoke (line 2289) | def test_revoke(self): method test_parsename (line 2293) | def test_parsename(self): method test_next_value_for (line 2329) | def test_next_value_for(self): method test_datetrunc (line 2345) | def test_datetrunc(self): method test_numeric_trunc (line 2368) | def test_numeric_trunc(self): method test_collation_parse (line 2383) | def test_collation_parse(self): method test_odbc_date_literals (line 2388) | def test_odbc_date_literals(self): method test_create_trigger (line 2400) | def test_create_trigger(self): method test_procedures (line 2416) | def test_procedures(self): FILE: tests/fixtures/optimizer/optimizer.sql type latest_boo (line 21) | CREATE OR REPLACE TEMPORARY VIEW latest_boo AS type `latest_boo` (line 35) | CREATE OR REPLACE TEMPORARY VIEW `latest_boo` AS FILE: tests/fixtures/optimizer/qualify_columns_ddl.sql type foo (line 10) | CREATE TABLE foo AS SELECT a FROM tbl type foo (line 11) | CREATE TABLE foo AS SELECT tbl.a AS a FROM tbl AS tbl type s (line 26) | CREATE TABLE s AS SELECT * FROM (SELECT b FROM (SELECT b FROM y)) type s (line 27) | CREATE TABLE s AS SELECT _1.b AS b FROM (SELECT _0.b AS b FROM (SELECT y... type WITH (line 29) | Create with a CTE and a derived table type s (line 30) | CREATE TABLE s AS SELECT * FROM (SELECT b FROM (SELECT b FROM cte)) FILE: tests/fixtures/optimizer/qualify_tables.sql type t1 (line 178) | CREATE TABLE t1 AS (WITH cte AS (SELECT x FROM t2) SELECT * FROM cte) type c (line 179) | CREATE TABLE c.db.t1 AS (WITH cte AS (SELECT x FROM c.db.t2 AS t2) SELEC... FILE: tests/fixtures/pretty.sql type "t_customer_account" (line 248) | CREATE TABLE "t_customer_account" ( "id" int, "customer_id" int, "bank" ... type "t_customer_account" (line 249) | CREATE TABLE "t_customer_account" ( FILE: tests/gen_fixtures.py function rewrite_fixtures (line 558) | def rewrite_fixtures(in_path, out_path, schema, num, kind): FILE: tests/helpers.py function _filter_comments (line 7) | def _filter_comments(s): function _extract_meta (line 11) | def _extract_meta(sql): function assert_logger_contains (line 23) | def assert_logger_contains(message, logger, level="error"): function load_sql_fixtures (line 30) | def load_sql_fixtures(filename): function load_sql_fixture_pairs (line 35) | def load_sql_fixture_pairs(filename): function string_to_bool (line 49) | def string_to_bool(string): FILE: tests/test_build.py class TestBuild (line 20) | class TestBuild(unittest.TestCase): method test_build (line 21) | def test_build(self): FILE: tests/test_dialect_entry_points.py class FakeDialect (line 8) | class FakeDialect(DialectBase): class TestDialectEntryPoints (line 12) | class TestDialectEntryPoints(unittest.TestCase): method setUp (line 13) | def setUp(self): method tearDown (line 16) | def tearDown(self): method test_entry_point_plugin_discovery_modern_api (line 19) | def test_entry_point_plugin_discovery_modern_api(self): method test_entry_point_plugin_discovery_legacy_api (line 37) | def test_entry_point_plugin_discovery_legacy_api(self): method test_entry_point_plugin_not_found (line 55) | def test_entry_point_plugin_not_found(self): FILE: tests/test_dialect_imports.py class TestDialectImports (line 7) | class TestDialectImports(unittest.TestCase): method test_athena_import_no_deadlock (line 8) | def test_athena_import_no_deadlock(self): method test_nested_dialect_import_with_rlock (line 22) | def test_nested_dialect_import_with_rlock(self): FILE: tests/test_diff.py function diff_delta_only (line 7) | def diff_delta_only(source, target, matchings=None, **kwargs): class TestDiff (line 11) | class TestDiff(unittest.TestCase): method test_simple (line 12) | def test_simple(self): method test_lambda (line 50) | def test_lambda(self): method test_udf (line 67) | def test_udf(self): method test_node_position_changed (line 88) | def test_node_position_changed(self): method test_cte (line 153) | def test_cte(self): method test_join (line 178) | def test_join(self): method test_window_functions (line 200) | def test_window_functions(self): method test_pre_matchings (line 223) | def test_pre_matchings(self): method test_identifier (line 270) | def test_identifier(self): method test_dialect_aware_diff (line 295) | def test_dialect_aware_diff(self): method test_non_expression_leaf_delta (line 310) | def test_non_expression_leaf_delta(self): method test_none_args_are_not_treated_as_leaves (line 348) | def test_none_args_are_not_treated_as_leaves(self): method test_comments_do_not_affect_diff (line 359) | def test_comments_do_not_affect_diff(self): method _validate_delta_only (line 366) | def _validate_delta_only(self, actual_delta, expected_delta): FILE: tests/test_docs.py function load_tests (line 9) | def load_tests(loader, tests, ignore): FILE: tests/test_errors.py class TestErrors (line 6) | class TestErrors(unittest.TestCase): method test_highlight_sql_single_character (line 7) | def test_highlight_sql_single_character(self): method test_highlight_sql_multi_character (line 16) | def test_highlight_sql_multi_character(self): method test_highlight_sql_multiple_highlights (line 25) | def test_highlight_sql_multiple_highlights(self): method test_highlight_sql_at_end (line 37) | def test_highlight_sql_at_end(self): method test_highlight_sql_entire_string (line 46) | def test_highlight_sql_entire_string(self): method test_highlight_sql_adjacent_highlights (line 55) | def test_highlight_sql_adjacent_highlights(self): method test_highlight_sql_small_context_length (line 66) | def test_highlight_sql_small_context_length(self): method test_highlight_sql_empty_positions (line 79) | def test_highlight_sql_empty_positions(self): method test_highlight_sql_partial_overlap (line 84) | def test_highlight_sql_partial_overlap(self): method test_highlight_sql_full_overlap (line 99) | def test_highlight_sql_full_overlap(self): method test_highlight_sql_identical_positions (line 111) | def test_highlight_sql_identical_positions(self): method test_highlight_sql_reversed_positions (line 120) | def test_highlight_sql_reversed_positions(self): method test_highlight_sql_zero_context_length (line 132) | def test_highlight_sql_zero_context_length(self): FILE: tests/test_executor.py function open_file (line 32) | def open_file(file_name): function initializer (line 49) | def initializer(schema, tables): function mp_execute (line 55) | def mp_execute(expression, meta): class TestExecutor (line 69) | class TestExecutor(unittest.TestCase): method setUpClass (line 71) | def setUpClass(cls): method tearDownClass (line 120) | def tearDownClass(cls): method cached_execute (line 124) | def cached_execute(self, sql, tpch=True): method rename_anonymous (line 130) | def rename_anonymous(self, source, target): method test_py_dialect (line 135) | def test_py_dialect(self): method test_optimized_tpch (line 142) | def test_optimized_tpch(self): method subtestHelper (line 150) | def subtestHelper(self, i, table, tpch=True): method _mp_execute (line 160) | def _mp_execute(self, schema, tables, sqls, tpch): method test_execute_tpch (line 171) | def test_execute_tpch(self): method test_execute_tpcds (line 174) | def test_execute_tpcds(self): method test_execute_callable (line 177) | def test_execute_callable(self): method test_set_operations (line 299) | def test_set_operations(self): method test_execute_catalog_db_table (line 406) | def test_execute_catalog_db_table(self): method test_execute_tables (line 432) | def test_execute_tables(self): method test_execute_subqueries (line 515) | def test_execute_subqueries(self): method test_correlated_count (line 547) | def test_correlated_count(self): method test_table_depth_mismatch (line 577) | def test_table_depth_mismatch(self): method test_tables (line 583) | def test_tables(self): method test_static_queries (line 625) | def test_static_queries(self): method test_aggregate_without_group_by (line 644) | def test_aggregate_without_group_by(self): method test_scalar_functions (line 649) | def test_scalar_functions(self): method test_case_sensitivity (line 777) | def test_case_sensitivity(self): method test_nested_table_reference (line 786) | def test_nested_table_reference(self): method test_group_by (line 804) | def test_group_by(self): method test_nested_values (line 877) | def test_nested_values(self): method test_agg_order (line 916) | def test_agg_order(self): method test_table_to_pylist (line 931) | def test_table_to_pylist(self): FILE: tests/test_expressions.py class TestExprs (line 9) | class TestExprs(unittest.TestCase): method test_to_s (line 12) | def test_to_s(self): method test_arg_key (line 25) | def test_arg_key(self): method test_depth (line 28) | def test_depth(self): method test_iter (line 31) | def test_iter(self): method test_eq (line 38) | def test_eq(self): method test_eq_on_same_instance_short_circuits (line 81) | def test_eq_on_same_instance_short_circuits(self): method test_find (line 86) | def test_find(self): method test_find_all (line 95) | def test_find_all(self): method test_find_ancestor (line 136) | def test_find_ancestor(self): method test_to_dot (line 142) | def test_to_dot(self): method test_root (line 187) | def test_root(self): method test_alias_or_name (line 192) | def test_alias_or_name(self): method test_table_name (line 228) | def test_table_name(self): method test_table (line 251) | def test_table(self): method test_replace_tables (line 256) | def test_replace_tables(self): method test_expand (line 292) | def test_expand(self): method test_expand_with_lazy_source_provider (line 304) | def test_expand_with_lazy_source_provider(self): method test_replace_placeholders (line 314) | def test_replace_placeholders(self): method test_function_building (line 376) | def test_function_building(self): method test_named_selects (line 420) | def test_named_selects(self): method test_selects (line 443) | def test_selects(self): method test_alias_column_names (line 456) | def test_alias_column_names(self): method test_cast (line 481) | def test_cast(self): method test_ctes (line 509) | def test_ctes(self): method test_hash (line 516) | def test_hash(self): method test_sql (line 532) | def test_sql(self): method test_transform_with_arguments (line 539) | def test_transform_with_arguments(self): method test_transform_simple (line 553) | def test_transform_simple(self): method test_transform_no_infinite_recursion (line 569) | def test_transform_no_infinite_recursion(self): method test_transform_with_parent_mutation (line 579) | def test_transform_with_parent_mutation(self): method test_transform_multiple_children (line 591) | def test_transform_multiple_children(self): method test_transform_node_removal (line 601) | def test_transform_node_removal(self): method test_replace (line 629) | def test_replace(self): method test_arg_deletion (line 641) | def test_arg_deletion(self): method test_walk (line 666) | def test_walk(self): method test_str_position_order (line 673) | def test_str_position_order(self): method test_functions (line 679) | def test_functions(self): method test_column (line 777) | def test_column(self): method test_text (line 821) | def test_text(self): method test_alias (line 830) | def test_alias(self): method test_alias_with_placeholder (line 838) | def test_alias_with_placeholder(self): method test_unit (line 848) | def test_unit(self): method test_identifier (line 859) | def test_identifier(self): method test_function_normalizer (line 865) | def test_function_normalizer(self): method test_properties_from_dict (line 872) | def test_properties_from_dict(self): method test_convert (line 898) | def test_convert(self): method test_convert_python39 (line 947) | def test_convert_python39(self): method test_comment_alias (line 961) | def test_comment_alias(self): method test_to_interval (line 1010) | def test_to_interval(self): method test_to_table (line 1021) | def test_to_table(self): method test_to_column (line 1040) | def test_to_column(self): method test_union (line 1056) | def test_union(self): method test_values (line 1068) | def test_values(self): method test_data_type_builder (line 1084) | def test_data_type_builder(self): method test_rename_table (line 1142) | def test_rename_table(self): method test_to_py (line 1148) | def test_to_py(self): method test_is_int (line 1158) | def test_is_int(self): method test_is_star (line 1161) | def test_is_star(self): method test_set_metadata (line 1178) | def test_set_metadata(self): method test_unnest (line 1194) | def test_unnest(self): method test_is_type (line 1206) | def test_is_type(self): method test_set_meta (line 1249) | def test_set_meta(self): method test_assert_is (line 1254) | def test_assert_is(self): method test_parse_identifier (line 1262) | def test_parse_identifier(self): method test_convert_datetime_time (line 1265) | def test_convert_datetime_time(self): method test_hash_large_ast (line 1296) | def test_hash_large_ast(self): method test_literal_number (line 1300) | def test_literal_number(self): method test_update_positions_empty_meta (line 1336) | def test_update_positions_empty_meta(self): FILE: tests/test_generator.py class TestGenerator (line 12) | class TestGenerator(unittest.TestCase): method test_fallback_function_sql (line 14) | def test_fallback_function_sql(self): method test_fallback_function_var_args_sql (line 27) | def test_fallback_function_var_args_sql(self): method test_identify (line 45) | def test_identify(self): method test_generate_nested_binary (line 55) | def test_generate_nested_binary(self): method test_overlap_operator (line 59) | def test_overlap_operator(self): method test_pretty_nested_types (line 70) | def test_pretty_nested_types(self): FILE: tests/test_helper.py class TestHelper (line 6) | class TestHelper(unittest.TestCase): method test_tsort (line 7) | def test_tsort(self): method test_name_sequence (line 32) | def test_name_sequence(self): method test_merge_ranges (line 43) | def test_merge_ranges(self): FILE: tests/test_integration_loader.py function load_tests (line 14) | def load_tests(loader, suite, pattern): FILE: tests/test_jsonpath.py class TestJsonpath (line 11) | class TestJsonpath(unittest.TestCase): method test_jsonpath (line 14) | def test_jsonpath(self): method test_identity (line 33) | def test_identity(self): method test_cts_file (line 42) | def test_cts_file(self): FILE: tests/test_lineage.py class TestLineage (line 10) | class TestLineage(unittest.TestCase): method setUpClass (line 14) | def setUpClass(cls): method test_lineage (line 17) | def test_lineage(self) -> None: method test_lineage_sql_with_cte (line 67) | def test_lineage_sql_with_cte(self) -> None: method test_lineage_source_with_cte (line 98) | def test_lineage_source_with_cte(self) -> None: method test_lineage_source_with_star (line 128) | def test_lineage_source_with_star(self) -> None: method test_lineage_join_with_star (line 148) | def test_lineage_join_with_star(self) -> None: method test_lineage_join_with_qualified_star (line 169) | def test_lineage_join_with_qualified_star(self) -> None: method test_lineage_external_col (line 186) | def test_lineage_external_col(self) -> None: method test_lineage_values (line 206) | def test_lineage_values(self) -> None: method test_lineage_cte_name_appears_in_schema (line 228) | def test_lineage_cte_name_appears_in_schema(self) -> None: method test_lineage_union (line 260) | def test_lineage_union(self) -> None: method test_lineage_lateral_flatten (line 273) | def test_lineage_lateral_flatten(self) -> None: method test_subquery (line 333) | def test_subquery(self) -> None: method test_lineage_cte_union (line 425) | def test_lineage_cte_union(self) -> None: method test_lineage_source_union (line 452) | def test_lineage_source_union(self) -> None: method test_select_star (line 483) | def test_select_star(self) -> None: method test_unnest (line 496) | def test_unnest(self) -> None: method test_lineage_normalize (line 503) | def test_lineage_normalize(self) -> None: method test_ddl_lineage (line 517) | def test_ddl_lineage(self) -> None: method test_trim (line 543) | def test_trim(self) -> None: method test_node_name_doesnt_contain_comment (line 561) | def test_node_name_doesnt_contain_comment(self) -> None: method test_pivot_without_alias (line 569) | def test_pivot_without_alias(self) -> None: method test_pivot_with_alias (line 584) | def test_pivot_with_alias(self) -> None: method test_pivot_with_cte (line 599) | def test_pivot_with_cte(self) -> None: method test_pivot_with_implicit_column_of_pivoted_source (line 618) | def test_pivot_with_implicit_column_of_pivoted_source(self) -> None: method test_pivot_with_implicit_column_of_pivoted_source_and_cte (line 632) | def test_pivot_with_implicit_column_of_pivoted_source_and_cte(self) ->... method test_table_udtf_snowflake (line 650) | def test_table_udtf_snowflake(self) -> None: method test_pivot_with_subquery (line 695) | def test_pivot_with_subquery(self) -> None: method test_copy_flag (line 732) | def test_copy_flag(self) -> None: method test_lineage_shared_cte_performance (line 782) | def test_lineage_shared_cte_performance(self) -> None: method test_lineage_cte_self_join_distinct_aliases (line 819) | def test_lineage_cte_self_join_distinct_aliases(self) -> None: FILE: tests/test_optimizer.py function parse_and_optimize (line 26) | def parse_and_optimize(func, sql, read_dialect, **kwargs): function qualify_columns (line 30) | def qualify_columns(expression, validate_qualify_columns=True, **kwargs): function pushdown_projections (line 41) | def pushdown_projections(expression, **kwargs): function normalize (line 48) | def normalize(expression, **kwargs): function simplify (line 56) | def simplify(expression, **kwargs): function pushdown_ctes (line 66) | def pushdown_ctes(expression, **kwargs): function annotate_functions (line 71) | def annotate_functions(expression, **kwargs): class TestOptimizer (line 80) | class TestOptimizer(unittest.TestCase): method setUpClass (line 84) | def setUpClass(cls): method setUp (line 116) | def setUp(self): method check_file (line 148) | def check_file( method test_optimize (line 222) | def test_optimize(self, logger): method test_isolate_table_selects (line 241) | def test_isolate_table_selects(self): method test_qualify_tables (line 248) | def test_qualify_tables(self): method test_normalize (line 309) | def test_normalize(self): method test_qualify_columns (line 328) | def test_qualify_columns(self, logger): method test_validate_columns (line 613) | def test_validate_columns(self): method test_qualify_columns__with_invisible (line 632) | def test_qualify_columns__with_invisible(self): method test_pushdown_cte_alias_columns (line 636) | def test_pushdown_cte_alias_columns(self): method test_qualify_columns__invalid (line 642) | def test_qualify_columns__invalid(self): method test_optimize_error_highlighting (line 679) | def test_optimize_error_highlighting(self): method test_normalize_identifiers (line 700) | def test_normalize_identifiers(self): method test_quote_identifiers (line 708) | def test_quote_identifiers(self): method test_pushdown_projection (line 714) | def test_pushdown_projection(self): method test_simplify (line 717) | def test_simplify(self): method test_simplify_nested (line 800) | def test_simplify_nested(self): method test_unnest_subqueries (line 820) | def test_unnest_subqueries(self): method test_pushdown_predicates (line 823) | def test_pushdown_predicates(self): method test_expand_alias_refs (line 826) | def test_expand_alias_refs(self): method test_optimize_joins (line 887) | def test_optimize_joins(self): method test_eliminate_joins (line 893) | def test_eliminate_joins(self): method test_eliminate_ctes (line 900) | def test_eliminate_ctes(self): method test_merge_subqueries (line 908) | def test_merge_subqueries(self, logger): method test_eliminate_subqueries (line 920) | def test_eliminate_subqueries(self): method test_canonicalize (line 923) | def test_canonicalize(self): method test_tpch (line 943) | def test_tpch(self): method test_tpcds (line 946) | def test_tpcds(self): method test_file_schema (line 949) | def test_file_schema(self): method test_scope (line 958) | def test_scope(self): method test_scope_warning (line 1079) | def test_scope_warning(self, logger): method test_annotate_types (line 1087) | def test_annotate_types(self): method test_annotate_funcs (line 1101) | def test_annotate_funcs(self): method test_cast_type_annotation (line 1140) | def test_cast_type_annotation(self): method test_cache_annotation (line 1155) | def test_cache_annotation(self): method test_binary_annotation (line 1161) | def test_binary_annotation(self): method test_typeddiv_annotation (line 1176) | def test_typeddiv_annotation(self): method test_bracket_annotation (line 1192) | def test_bracket_annotation(self): method test_interval_math_annotation (line 1233) | def test_interval_math_annotation(self): method test_lateral_annotation (line 1295) | def test_lateral_annotation(self): method test_derived_tables_column_annotation (line 1301) | def test_derived_tables_column_annotation(self): method test_cte_column_annotation (line 1333) | def test_cte_column_annotation(self): method test_function_annotation (line 1392) | def test_function_annotation(self): method test_unknown_annotation (line 1433) | def test_unknown_annotation(self): method test_udf_annotation (line 1459) | def test_udf_annotation(self): method test_predicate_annotation (line 1512) | def test_predicate_annotation(self): method test_aggfunc_annotation (line 1519) | def test_aggfunc_annotation(self): method test_concat_annotation (line 1543) | def test_concat_annotation(self): method test_root_subquery_annotation (line 1547) | def test_root_subquery_annotation(self): method test_nested_type_annotation (line 1553) | def test_nested_type_annotation(self): method test_type_annotation_cache (line 1592) | def test_type_annotation_cache(self): method test_user_defined_type_annotation (line 1603) | def test_user_defined_type_annotation(self): method test_unnest_annotation (line 1610) | def test_unnest_annotation(self): method test_unnest_struct_field_annotation (line 1652) | def test_unnest_struct_field_annotation(self): method test_map_annotation (line 1736) | def test_map_annotation(self): method test_union_annotation (line 1751) | def test_union_annotation(self): method test_udtf_annotation (line 1847) | def test_udtf_annotation(self): method test_recursive_cte (line 1857) | def test_recursive_cte(self): method test_schema_with_spaces (line 1883) | def test_schema_with_spaces(self): method test_quotes (line 1896) | def test_quotes(self): method test_no_pseudocolumn_expansion (line 1923) | def test_no_pseudocolumn_expansion(self): method test_semistructured (line 1941) | def test_semistructured(self): method test_gen (line 1946) | def test_gen(self): method test_normalization_distance (line 1950) | def test_normalization_distance(self): method test_manually_annotate_snowflake (line 1958) | def test_manually_annotate_snowflake(self): method test_annotate_table_as_struct_bigquery (line 1974) | def test_annotate_table_as_struct_bigquery(self): method test_semi_anti_join (line 2016) | def test_semi_anti_join(self): method test_qualify_group_by_conflict_bigquery (line 2027) | def test_qualify_group_by_conflict_bigquery(self): method test_struct_annotation_bigquery (line 2044) | def test_struct_annotation_bigquery(self): method test_bigquery_unnest_alias_shadowing (line 2057) | def test_bigquery_unnest_alias_shadowing(self): method test_struct_field_case_sensitivity_annotation (line 2081) | def test_struct_field_case_sensitivity_annotation(self): method test_annotate_object_construct (line 2117) | def test_annotate_object_construct(self): method test_nonnull_annotation (line 2127) | def test_nonnull_annotation(self): method test_case_sensitive_json_dot_access (line 2189) | def test_case_sensitive_json_dot_access(self): method test_deep_ast_type_annotation (line 2255) | def test_deep_ast_type_annotation(self): method test_null_coerce_annotation (line 2266) | def test_null_coerce_annotation(self): method test_correlated_subqueries_annotation (line 2278) | def test_correlated_subqueries_annotation(self): FILE: tests/test_parser.py class TestParser (line 11) | class TestParser(unittest.TestCase): method test_parse_empty (line 12) | def test_parse_empty(self): method test_parse_into (line 16) | def test_parse_into(self): method test_parse_into_error (line 45) | def test_parse_into_error(self): method test_parse_into_errors (line 66) | def test_parse_into_errors(self): method test_column (line 94) | def test_column(self): method test_tuple (line 100) | def test_tuple(self): method test_structs (line 103) | def test_structs(self): method test_float (line 112) | def test_float(self): method test_unnest (line 115) | def test_unnest(self): method test_unnest_projection (line 122) | def test_unnest_projection(self): method test_unary_plus (line 128) | def test_unary_plus(self): method test_table (line 131) | def test_table(self): method test_union (line 135) | def test_union(self): method test_select (line 160) | def test_select(self): method test_command (line 175) | def test_command(self): method test_lambda_struct (line 185) | def test_lambda_struct(self): method test_transactions (line 194) | def test_transactions(self): method test_identify (line 223) | def test_identify(self): method test_multi (line 240) | def test_multi(self): method test_expression (line 256) | def test_expression(self): method test_parse_errors (line 273) | def test_parse_errors(self): method test_space (line 303) | def test_space(self): method test_missing_by (line 317) | def test_missing_by(self): method test_parameter (line 321) | def test_parameter(self): method test_var (line 324) | def test_var(self): method test_comments_select (line 328) | def test_comments_select(self): method test_comments_select_cte (line 366) | def test_comments_select_cte(self): method test_comments_insert (line 383) | def test_comments_insert(self): method test_comments_insert_cte (line 398) | def test_comments_insert_cte(self): method test_comments_update (line 414) | def test_comments_update(self): method test_comments_update_cte (line 432) | def test_comments_update_cte(self): method test_comments_delete (line 448) | def test_comments_delete(self): method test_comments_delete_cte (line 465) | def test_comments_delete_cte(self): method test_type_literals (line 480) | def test_type_literals(self): method test_set_expression (line 524) | def test_set_expression(self): method test_pretty_config_override (line 559) | def test_pretty_config_override(self): method test_comment_error_n (line 567) | def test_comment_error_n(self, logger): method test_comment_error_r (line 582) | def test_comment_error_r(self, logger): method test_create_table_error (line 594) | def test_create_table_error(self, logger): method test_pivot_columns (line 605) | def test_pivot_columns(self): method test_parse_nested (line 779) | def test_parse_nested(self): method test_parse_properties (line 796) | def test_parse_properties(self): method test_parse_floats (line 801) | def test_parse_floats(self): method test_parse_terse_coalesce (line 804) | def test_parse_terse_coalesce(self): method test_parse_intervals (line 815) | def test_parse_intervals(self): method test_parse_concat_ws (line 823) | def test_parse_concat_ws(self): method test_parse_drop_schema (line 838) | def test_parse_drop_schema(self): method test_parse_create_schema (line 890) | def test_parse_create_schema(self): method test_values_as_identifier (line 907) | def test_values_as_identifier(self): method test_alter_set (line 920) | def test_alter_set(self): method test_distinct_from (line 940) | def test_distinct_from(self): method test_trailing_comments (line 943) | def test_trailing_comments(self): method test_parse_prop_eq (line 955) | def test_parse_prop_eq(self): method test_collate (line 958) | def test_collate(self): method test_drop_column (line 973) | def test_drop_column(self): method test_udf_meta (line 978) | def test_udf_meta(self): method test_token_position_meta (line 990) | def test_token_position_meta(self): method test_quoted_identifier_meta (line 1032) | def test_quoted_identifier_meta(self): method test_qualified_function (line 1042) | def test_qualified_function(self): method test_pivot_missing_agg_func (line 1048) | def test_pivot_missing_agg_func(self): method test_multiple_query_modifiers (line 1054) | def test_multiple_query_modifiers(self): method test_parse_into_grant_principal (line 1067) | def test_parse_into_grant_principal(self): method test_parse_into_grant_privilege (line 1082) | def test_parse_into_grant_privilege(self): FILE: tests/test_schema.py class TestSchema (line 8) | class TestSchema(unittest.TestCase): method assert_column_names (line 9) | def assert_column_names(self, schema, *table_results): method assert_column_names_raises (line 14) | def assert_column_names_raises(self, schema, *tables): method assert_column_names_empty (line 20) | def assert_column_names_empty(self, schema, *tables): method test_schema (line 25) | def test_schema(self): method test_schema_db (line 53) | def test_schema_db(self): method test_schema_catalog (line 92) | def test_schema_catalog(self): method test_schema_add_table_with_and_without_mapping (line 154) | def test_schema_add_table_with_and_without_mapping(self): method test_schema_get_column_type (line 165) | def test_schema_get_column_type(self): method test_schema_normalization (line 199) | def test_schema_normalization(self): method test_same_number_of_qualifiers (line 274) | def test_same_number_of_qualifiers(self): method test_has_column (line 332) | def test_has_column(self): method test_find (line 337) | def test_find(self): FILE: tests/test_serde.py class CustomExpression (line 16) | class CustomExpression(exp.Expression): ... class TestSerde (line 19) | class TestSerde(unittest.TestCase): method dump_load (line 20) | def dump_load(self, expression): method test_serde (line 23) | def test_serde(self): method test_custom_expression (line 31) | def test_custom_expression(self): method test_type_annotations (line 36) | def test_type_annotations(self): method test_meta (line 42) | def test_meta(self): method test_recursion (line 48) | def test_recursion(self): FILE: tests/test_time.py class TestTime (line 7) | class TestTime(unittest.TestCase): method test_format_time (line 8) | def test_format_time(self): method test_subsecond_precision (line 17) | def test_subsecond_precision(self): method test_subsecond_precision_python311 (line 28) | def test_subsecond_precision_python311(self): FILE: tests/test_tokens.py class TestTokens (line 8) | class TestTokens(unittest.TestCase): method test_space_keywords (line 9) | def test_space_keywords(self): method test_comment_attachment (line 22) | def test_comment_attachment(self): method test_token_line_col (line 39) | def test_token_line_col(self): method test_crlf (line 84) | def test_crlf(self): method test_command (line 110) | def test_command(self): method test_error_msg (line 125) | def test_error_msg(self): method test_jinja (line 129) | def test_jinja(self): method test_partial_token_list (line 190) | def test_partial_token_list(self): method test_unicode_identifiers (line 205) | def test_unicode_identifiers(self): method test_token_repr (line 209) | def test_token_repr(self): FILE: tests/test_transforms.py class TestTransforms (line 14) | class TestTransforms(unittest.TestCase): method validate (line 17) | def validate(self, transform, sql, target, dialect=None): method test_eliminate_distinct_on (line 24) | def test_eliminate_distinct_on(self): method test_eliminate_qualify (line 81) | def test_eliminate_qualify(self): method test_remove_precision_parameterized_types (line 143) | def test_remove_precision_parameterized_types(self): method test_eliminate_join_marks (line 150) | def test_eliminate_join_marks(self): method test_eliminate_window_clause (line 282) | def test_eliminate_window_clause(self): method test_inherit_struct_field_names (line 294) | def test_inherit_struct_field_names(self): FILE: tests/test_transpile.py class TestTranspile (line 16) | class TestTranspile(unittest.TestCase): method validate (line 21) | def validate(self, sql, target, **kwargs): method test_weird_chars (line 24) | def test_weird_chars(self): method test_alias (line 32) | def test_alias(self): method test_unary (line 57) | def test_unary(self): method test_paren (line 62) | def test_paren(self): method test_some (line 67) | def test_some(self): method test_leading_comma (line 73) | def test_leading_comma(self): method test_space (line 111) | def test_space(self): method test_comments (line 118) | def test_comments(self): method test_comment_single_line_with_block_close (line 642) | def test_comment_single_line_with_block_close(self): method test_types (line 663) | def test_types(self): method test_not_range (line 680) | def test_not_range(self): method test_extract (line 687) | def test_extract(self): method test_if (line 710) | def test_if(self): method test_with (line 725) | def test_with(self): method test_alter (line 745) | def test_alter(self): method test_time (line 759) | def test_time(self): method test_index_offset (line 899) | def test_index_offset(self): method test_identify_lambda (line 924) | def test_identify_lambda(self): method test_identity (line 927) | def test_identity(self): method test_command_identity (line 933) | def test_command_identity(self): method test_normalize_name (line 965) | def test_normalize_name(self): method test_partial (line 973) | def test_partial(self): method test_pretty (line 978) | def test_pretty(self): method test_pretty_line_breaks (line 985) | def test_pretty_line_breaks(self): method test_sql_security (line 992) | def test_sql_security(self): method test_error_level (line 1007) | def test_error_level(self, logger): method test_unsupported_level (line 1087) | def test_unsupported_level(self, logger): method test_recursion (line 1109) | def test_recursion(self):