From 4082b47ccd852451ba57547164792c2dd3b61cd4 Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Mon, 16 Nov 2026 09:43:31 +0000 Subject: [PATCH 01/10] feat(syntax)!: record a call's set quantifier, keeping an explicit ALL Function and AggregateFunction replace their distinct flag with set_quantifier: none, all or distinct. The Databricks parser and Snowflake's generic aggregates record ALL, which was dropped, so a call written with ALL no longer has the same tree as one without it. Translation, lint and semantics read only whether the quantifier is DISTINCT, so ALL behaves exactly as no quantifier; a conversion test holds that. BREAKING CHANGE: serialised call trees carry set_quantifier in place of distinct. --- .../_helpers/expressions/named_aggregates.rs | 6 +-- .../expressions/ordered_aggregates.rs | 12 ++--- .../_helpers/expressions/spellings.rs | 16 +++--- .../_helpers/expressions/variants.rs | 6 +-- .../_helpers/expressions/windows.rs | 9 ++-- .../conversion/_helpers/support/tree.rs | 9 ++++ .../src/quality/_helpers/removal_safety.rs | 2 +- .../databricks/profile/tests/test_lineage.rs | 30 +++++++++++ .../src/parse/_helpers/tree/nodes.rs | 3 +- .../src/parse/_helpers/tree/nodes.rs | 3 +- .../src/parse/_helpers/tree/nodes.rs | 3 +- .../src/parse/_helpers/values/functions.rs | 18 ++++--- .../src/parse/_helpers/values/primary.rs | 1 - .../src/parse/tests/test_parse.rs | 24 +++++++++ .../src/parse/_helpers/tree/nodes.rs | 3 +- .../src/parse/_helpers/tree/nodes.rs | 3 +- .../src/parser/_helpers/ddl/table_options.rs | 3 +- .../parser/_helpers/expressions/grouping.rs | 5 +- .../src/parser/_helpers/expressions/paths.rs | 5 +- .../parser/_helpers/expressions/primary.rs | 17 +++--- .../src/parser/_helpers/functions/generic.rs | 21 +++++--- .../src/parser/_helpers/functions/registry.rs | 21 ++++---- .../_helpers/functions/registry_functions.rs | 43 +++++++-------- .../src/parser/_helpers/functions/typed.rs | 23 ++++---- .../src/parser/_helpers/queries/clauses.rs | 13 ++--- .../src/parser/_helpers/queries/insert.rs | 3 +- .../src/parser/_helpers/queries/modifiers.rs | 3 +- .../src/parser/_helpers/queries/select.rs | 11 ++-- .../src/parser/_helpers/queries/tables.rs | 3 +- .../parser/_helpers/statements/sessions.rs | 5 +- .../src/parser/_helpers/support/names.rs | 3 +- .../tests/parser/test_fixes.rs | 12 ++--- .../tests/parser/test_snowflake_recorded.rs | 2 +- .../src/parse/_helpers/tree/nodes.rs | 3 +- .../src/parse/_helpers/tree/nodes.rs | 3 +- .../functions/main/make_unquoted_function.rs | 3 +- .../src/expressions/functions/models.rs | 54 +++++++++++++++++-- crates/sqlquack/tests/cli/test_convert.rs | 21 ++++++++ 38 files changed, 288 insertions(+), 137 deletions(-) diff --git a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/named_aggregates.rs b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/named_aggregates.rs index 873ac5336..c5858156b 100644 --- a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/named_aggregates.rs +++ b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/named_aggregates.rs @@ -28,7 +28,7 @@ use crate::snowflake::conversion::_helpers::support::divergence::diverge; use crate::snowflake::conversion::_helpers::support::scope::Emitted; use crate::snowflake::conversion::_helpers::support::site::{Placement, Site}; use crate::snowflake::conversion::_helpers::support::tree::{ - flag, function_construct, list, payload_object, require_understood, + SET_QUANTIFIER, function_construct, is_distinct, list, payload_object, require_understood, }; use crate::snowflake::conversion::_helpers::support::typed_leaves::compared_value; use crate::snowflake::conversion::constants::{ @@ -56,8 +56,8 @@ pub(crate) fn named_aggregate( let _rule = site.context.log.rule(NAMED_AGGREGATES); let refuse = |reason: String| outside_conditions(construct.clone(), reason); let payload = payload_object(payload, &construct)?; - require_understood(payload, &["name", "args", "distinct"], &construct)?; - let distinct = flag(payload, "distinct"); + require_understood(payload, &["name", "args", SET_QUANTIFIER], &construct)?; + let distinct = is_distinct(payload); if distinct != (name == MULTI_COUNT) && !is_statistic(name) { return Err(refuse(format!( "{name} with or without DISTINCT as written" diff --git a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/ordered_aggregates.rs b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/ordered_aggregates.rs index deb1cbf5c..e60d4962f 100644 --- a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/ordered_aggregates.rs +++ b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/ordered_aggregates.rs @@ -21,8 +21,8 @@ use crate::snowflake::conversion::_helpers::support::scope::{ }; use crate::snowflake::conversion::_helpers::support::site::{Placement, Site}; use crate::snowflake::conversion::_helpers::support::tree::{ - Payload, field, flag, function_construct, list, node_construct, payload_object, - require_understood, + Payload, SET_QUANTIFIER, field, flag, function_construct, is_distinct, list, node_construct, + payload_object, require_understood, }; use crate::snowflake::conversion::_helpers::support::typed_leaves::compared_value; use crate::snowflake::conversion::constants::DUPLICATE_VARIANTS; @@ -54,7 +54,7 @@ pub(crate) fn within_group( .unwrap_or_default() .to_ascii_uppercase(); let function = function_construct(&name); - require_understood(call, &["args", "distinct", "name"], &function)?; + require_understood(call, &["args", SET_QUANTIFIER, "name"], &function)?; let ordered = Ordered { call, order: list(payload, "order_by"), @@ -144,7 +144,7 @@ impl Ordered<'_> { for item in self.order { keys.push(order_item(item, self.site)?); } - let distinct = flag(self.call, "distinct"); + let distinct = is_distinct(self.call); let by_value = self.order_is_value(&value)?; if distinct && !by_value { return Err(refuse("LISTAGG DISTINCT ordered by anything but its value")); @@ -199,7 +199,7 @@ impl Ordered<'_> { } keys.push(format!("{} ASC", emitted.sql)); } - let distinct = flag(self.call, "distinct"); + let distinct = is_distinct(self.call); if distinct && emitted.data_type == SnowflakeType::SemiStructured { return Err(refuse(&format!("ARRAY_AGG DISTINCT {DUPLICATE_VARIANTS}"))); } @@ -282,7 +282,7 @@ impl Ordered<'_> { let log = self.site.context.log; let _rule = log.rule(PERCENTILE_RULE); let refuse = |reason: String| outside_conditions(construct.clone(), reason); - if flag(self.call, "distinct") { + if is_distinct(self.call) { return Err(refuse(format!("{name} with DISTINCT"))); } let [fraction] = list(self.call, "args") else { diff --git a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/spellings.rs b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/spellings.rs index 33ceb53f5..7875c248f 100644 --- a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/spellings.rs +++ b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/spellings.rs @@ -5,7 +5,7 @@ use serde_json::{Map, Value, json}; use sqlquack_diagnostics::refusals::models::Refusal; use crate::snowflake::conversion::_helpers::support::tree::{ - Payload, function_construct, is_inert, node_construct, node_kind, + Payload, function_construct, is_distinct, is_inert, node_construct, node_kind, }; use crate::snowflake::conversion::constants::{ AGGREGATE_CALL_KIND, CALL_KIND, CALL_SPELLINGS, REGEXP_LIKE_NAME, @@ -55,17 +55,14 @@ fn plain(payload: &Payload, aggregate: bool, shape: CallShape) -> bool { let unmodified = ["order_by", "limit"] .iter() .all(|field| payload.get(*field).is_none_or(is_inert)); - let scalar_only = aggregate - || ["distinct", "filter"] - .iter() - .all(|field| payload.get(*field).is_none_or(is_inert)); + let scalar_only = + aggregate || (!is_distinct(payload) && payload.get("filter").is_none_or(is_inert)); let nulls = shape == CallShape::FirstLast || payload.get("ignore_nulls").is_none_or(is_inert); unquoted && unmodified && scalar_only && nulls } /// The payload `spelling`'s rule reads, or `None` for an arity it does not accept. fn shaped(spelling: &SpellingRule, arguments: &[Value], payload: &Payload) -> Option { - let flag = |field: &str| payload.get(field).cloned().unwrap_or(Value::Bool(false)); let filter = || payload.get("filter").cloned().unwrap_or(Value::Null); let typed = match (spelling.shape, arguments) { (CallShape::Expressions, [_, ..]) => json!({ "expressions": arguments }), @@ -108,14 +105,14 @@ fn shaped(spelling: &SpellingRule, arguments: &[Value], payload: &Payload) -> Op json!({ "this": if star { Value::Null } else { argument.clone() }, "star": star, - "distinct": flag("distinct"), + "distinct": is_distinct(payload), "filter": filter(), "original_name": spelling.name, }) } (CallShape::Aggregate, [this]) => json!({ "this": this, - "distinct": flag("distinct"), + "distinct": is_distinct(payload), "filter": filter(), "name": spelling.name, "order_by": [], @@ -126,7 +123,7 @@ fn shaped(spelling: &SpellingRule, arguments: &[Value], payload: &Payload) -> Op (CallShape::Offset, [this, offset, default]) => { json!({ "this": this, "offset": offset, "default": default }) } - (CallShape::FirstLast, [this]) if is_inert(&flag("distinct")) && filter().is_null() => { + (CallShape::FirstLast, [this]) if !is_distinct(payload) && filter().is_null() => { let mut typed: Map = Map::new(); typed.insert("this".to_owned(), this.clone()); if let Some(ignore) = payload.get("ignore_nulls").filter(|value| !value.is_null()) { @@ -165,7 +162,6 @@ pub(crate) fn rlike_as_call(payload: &Value) -> Option { json!({ CALL_KIND: { "name": REGEXP_LIKE_NAME, "args": [text, pattern], - "distinct": false, }}) }) } diff --git a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/variants.rs b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/variants.rs index 34a10dc1b..7c061db73 100644 --- a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/variants.rs +++ b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/variants.rs @@ -43,7 +43,7 @@ use crate::snowflake::conversion::_helpers::support::scope::{ }; use crate::snowflake::conversion::_helpers::support::site::{Placement, Site}; use crate::snowflake::conversion::_helpers::support::tree::{ - Payload, flag, function_construct, list, node_kind, require_understood, + Payload, function_construct, is_distinct, list, node_kind, require_understood, }; use crate::snowflake::conversion::_helpers::support::typed_leaves::compared_by_text; use crate::snowflake::conversion::constants::DUPLICATE_VARIANTS; @@ -104,13 +104,13 @@ fn array_agg_size( return Err(refused(construct, "ARRAY_AGG takes one value")); }; let value = convert_expression(value, site.placed(Placement::ROW))?; - if flag(call, "distinct") && value.data_type == SnowflakeType::SemiStructured { + if is_distinct(call) && value.data_type == SnowflakeType::SemiStructured { return Err(refused( construct, &format!("ARRAY_AGG DISTINCT {DUPLICATE_VARIANTS}"), )); } - let distinct = match flag(call, "distinct") { + let distinct = match is_distinct(call) { true => "DISTINCT ", false => "", }; diff --git a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/windows.rs b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/windows.rs index 6f42d188b..8103c4683 100644 --- a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/windows.rs +++ b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/expressions/windows.rs @@ -31,8 +31,8 @@ use crate::snowflake::conversion::_helpers::support::scope::{Context, Emitted}; use crate::snowflake::conversion::_helpers::support::shapes::type_family; use crate::snowflake::conversion::_helpers::support::site::{Placement, Site}; use crate::snowflake::conversion::_helpers::support::tree::{ - Payload, field, flag, function_construct, integer_literal, list, node_construct, node_kind, - payload_object, require_understood, + Payload, field, flag, function_construct, integer_literal, is_distinct, list, node_construct, + node_kind, payload_object, require_understood, }; use crate::snowflake::conversion::_helpers::support::typed_leaves::compared_by_text; use crate::snowflake::conversion::constants::{ @@ -196,7 +196,7 @@ pub(crate) fn convert_window(payload: &Value, site: Site<'_>) -> Result) -> Result(payload: &'a Payload, understood: &[&str]) - !understood.contains(&field.as_str()) && !COSMETIC_FIELDS.contains(&field.as_str()) && !is_inert(value) + && !(field.as_str() == SET_QUANTIFIER && !is_distinct(payload)) }) .map(|(field, _)| field.as_str()) .collect() @@ -156,6 +157,14 @@ pub(crate) fn list<'a>(payload: &'a Payload, name: &str) -> &'a [Value] { .map_or(&[], Vec::as_slice) } +/// A call's set quantifier field: `none`, `all` or `distinct`. +pub(crate) const SET_QUANTIFIER: &str = "set_quantifier"; + +/// Whether a call's set quantifier is DISTINCT; an explicit ALL reads exactly as none. +pub(crate) fn is_distinct(payload: &Payload) -> bool { + payload.get(SET_QUANTIFIER).and_then(Value::as_str) == Some("distinct") +} + /// A boolean field; absent or null reads as false. pub(crate) fn flag(payload: &Payload, name: &str) -> bool { payload.get(name).and_then(Value::as_bool).unwrap_or(false) diff --git a/crates/sqlquack-lint/src/quality/_helpers/removal_safety.rs b/crates/sqlquack-lint/src/quality/_helpers/removal_safety.rs index 2f2775cc6..ff70a28cb 100644 --- a/crates/sqlquack-lint/src/quality/_helpers/removal_safety.rs +++ b/crates/sqlquack-lint/src/quality/_helpers/removal_safety.rs @@ -76,7 +76,7 @@ fn row_neutral(expression: &Expression) -> bool { Expression::Function(function) => { let name: String = function.name.to_ascii_uppercase(); let arguments: usize = function.args.len(); - !function.distinct + !function.set_quantifier.is_distinct() && DETERMINISTIC_SCALAR_FUNCTIONS.contains(&name.as_str()) && (arguments == 1 || !SINGLE_ARGUMENT_SCALAR_FUNCTIONS.contains(&name.as_str())) && (arguments > 1 || !MULTI_ARGUMENT_SCALAR_FUNCTIONS.contains(&name.as_str())) diff --git a/crates/sqlquack-semantics/src/databricks/profile/tests/test_lineage.rs b/crates/sqlquack-semantics/src/databricks/profile/tests/test_lineage.rs index e6b8ee549..1134931dc 100644 --- a/crates/sqlquack-semantics/src/databricks/profile/tests/test_lineage.rs +++ b/crates/sqlquack-semantics/src/databricks/profile/tests/test_lineage.rs @@ -236,3 +236,33 @@ fn given_a_strict_parse_when_tracing_lineage_then_each_output_has_its_items_byte ); } } + +#[test] +fn given_an_aggregate_written_with_all_when_analysed_then_it_reads_as_no_quantifier() { + let calls = [ + "sum({q}quantity)", + "avg({q}price)", + "count({q}status)", + "max({q}status)", + ]; + for call in calls { + let sql = |quantifier: &str| { + format!( + "SELECT {} AS a FROM orders HAVING {} > 0", + call.replace("{q}", quantifier), + call.replace("{q}", quantifier) + ) + }; + let (none, all) = (sql(""), sql("ALL ")); + assert_eq!( + databricks_outputs(&all), + databricks_outputs(&none), + "{call}: outputs" + ); + assert_eq!( + databricks_findings(&all), + databricks_findings(&none), + "{call}: findings" + ); + } +} diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/nodes.rs index 7fb62d88d..471a12ad5 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/nodes.rs @@ -2,6 +2,7 @@ use sqlquack_syntax::DataType; use sqlquack_syntax::Expression; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::{ AggregateFunction, Function, WindowFunction, }; @@ -278,7 +279,7 @@ pub(crate) fn aggregate( Expression::AggregateFunction(Box::new(AggregateFunction { name, args: function.args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, ignore_nulls, ..AggregateFunction::default() diff --git a/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/tree/nodes.rs index d55d84152..6b8165785 100644 --- a/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/tree/nodes.rs @@ -2,6 +2,7 @@ use sqlquack_syntax::DataType; use sqlquack_syntax::Expression; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::{ AggregateFunction, Function, WindowFunction, }; @@ -275,7 +276,7 @@ pub(crate) fn aggregate( Expression::AggregateFunction(Box::new(AggregateFunction { name, args: function.args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, ignore_nulls, ..AggregateFunction::default() diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/tree/nodes.rs index 0f8ea4188..34f64d82c 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/tree/nodes.rs @@ -262,7 +262,6 @@ pub(crate) fn call(name: &str, args: Vec) -> Expression { pub(crate) fn aggregate( function: Function, - distinct: bool, filter: Option, ignore_nulls: Option, ) -> Expression { @@ -278,7 +277,7 @@ pub(crate) fn aggregate( Expression::AggregateFunction(Box::new(AggregateFunction { name, args: function.args, - distinct, + set_quantifier: function.set_quantifier, filter, ignore_nulls, ..AggregateFunction::default() diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/values/functions.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/values/functions.rs index 53d22d9dc..dbfe356cf 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/values/functions.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/values/functions.rs @@ -1,6 +1,7 @@ //! `functionCall` (SqlBaseParser.g4), with `windowSpec`, `windowFrame` and `sortItem`. use sqlquack_syntax::Expression; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::WithinGroup; use sqlquack_syntax::expressions::names::models::Identifier; use sqlquack_syntax::expressions::operators::models::{ @@ -19,14 +20,15 @@ impl Parser<'_> { /// A call of `name`: `( [DISTINCT|ALL] args )` and its trailing clauses. pub(crate) fn function_call(&mut self, name: Vec) -> Parsing { self.expect_char('(')?; - let mut distinct: bool = false; + let mut quantifier: SetQuantifier = SetQuantifier::None; let mut args: Vec = Vec::new(); if !self.is_char(')') { if self.kw("DISTINCT") && !self.char_at(1, ')') && !self.char_at(1, ',') { self.at += 1; - distinct = true; + quantifier = SetQuantifier::Distinct; } else if self.kw("ALL") && !self.char_at(1, ')') && !self.char_at(1, ',') { self.at += 1; + quantifier = SetQuantifier::All; } args = self.comma_list(|parser| parser.function_argument())?; } @@ -55,11 +57,13 @@ impl Parser<'_> { true => Some(self.window_spec()?), false => None, }; - let call = function(name, args); - let mut node: Expression = match distinct || filter.is_some() || ignore_nulls.is_some() { - true => aggregate(call, distinct, filter, ignore_nulls), - false => Expression::Function(Box::new(call)), - }; + let mut call = function(name, args); + call.set_quantifier = quantifier; + let mut node: Expression = + match quantifier.is_distinct() || filter.is_some() || ignore_nulls.is_some() { + true => aggregate(call, filter, ignore_nulls), + false => Expression::Function(Box::new(call)), + }; if let Some(order_by) = within { node = Expression::WithinGroup(Box::new(WithinGroup { this: node, diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/values/primary.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/values/primary.rs index 009b37197..3f4742992 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/values/primary.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/values/primary.rs @@ -689,7 +689,6 @@ impl Parser<'_> { parser.expect_char(')')?; Ok(aggregate( function(vec![Identifier::new(name.clone())], vec![value]), - false, None, Some(true), )) diff --git a/crates/sqlquack-syntax-databricks/src/parse/tests/test_parse.rs b/crates/sqlquack-syntax-databricks/src/parse/tests/test_parse.rs index 2a8f5874c..0baaf9a16 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/tests/test_parse.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/tests/test_parse.rs @@ -692,6 +692,30 @@ fn given_sql_when_parsing_then_the_tree_keeps_what_lineage_reads() { pointer: "/0/select/expressions/0/column/table/name", expected_json: "\"t\"", }, + ValueTestCase { + description: "a call without a quantifier records none", + sql: "SELECT sum(a) FROM t", + pointer: "/0/select/expressions/0/function/set_quantifier", + expected_json: "\"none\"", + }, + ValueTestCase { + description: "an explicit ALL is recorded, not folded into none", + sql: "SELECT sum(ALL a) FROM t", + pointer: "/0/select/expressions/0/function/set_quantifier", + expected_json: "\"all\"", + }, + ValueTestCase { + description: "ALL survives on an aggregate with FILTER", + sql: "SELECT sum(ALL a) FILTER (WHERE a > 0) FROM t", + pointer: "/0/select/expressions/0/aggregate_function/set_quantifier", + expected_json: "\"all\"", + }, + ValueTestCase { + description: "DISTINCT is recorded on the aggregate", + sql: "SELECT sum(DISTINCT a) FROM t", + pointer: "/0/select/expressions/0/aggregate_function/set_quantifier", + expected_json: "\"distinct\"", + }, ValueTestCase { description: "a table keeps its schema", sql: "SELECT t.a FROM s.t AS t", diff --git a/crates/sqlquack-syntax-duckdb/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-duckdb/src/parse/_helpers/tree/nodes.rs index df34102f3..cf5a92f4f 100644 --- a/crates/sqlquack-syntax-duckdb/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-duckdb/src/parse/_helpers/tree/nodes.rs @@ -2,6 +2,7 @@ use sqlquack_syntax::DataType; use sqlquack_syntax::Expression; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::{ AggregateFunction, Function, WindowFunction, }; @@ -260,7 +261,7 @@ pub(crate) fn aggregate( Expression::AggregateFunction(Box::new(AggregateFunction { name, args: function.args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, ignore_nulls, qualified_name: function.qualified_name, diff --git a/crates/sqlquack-syntax-postgres/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-postgres/src/parse/_helpers/tree/nodes.rs index e8e4762b1..1834a57d8 100644 --- a/crates/sqlquack-syntax-postgres/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-postgres/src/parse/_helpers/tree/nodes.rs @@ -2,6 +2,7 @@ use sqlquack_syntax::DataType; use sqlquack_syntax::Expression; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::{ AggregateFunction, Function, WindowFunction, }; @@ -257,7 +258,7 @@ pub(crate) fn aggregate( Expression::AggregateFunction(Box::new(AggregateFunction { name: name_text(&parts), args: function.args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, order_by, ..AggregateFunction::default() diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/ddl/table_options.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/ddl/table_options.rs index 6072b5a77..f27748fd6 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/ddl/table_options.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/ddl/table_options.rs @@ -14,6 +14,7 @@ use sqlquack_syntax::expressions::columns::models::GeneratedAsRow; use sqlquack_syntax::expressions::columns::models::LikeOptionAction; use sqlquack_syntax::expressions::columns::models::TableConstraint; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::main::identifier_from_token::identifier_from_token; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Identifier; @@ -1443,7 +1444,7 @@ impl Parser { name: func_name, args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/grouping.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/grouping.rs index 89a40875a..9732cf9ac 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/grouping.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/grouping.rs @@ -15,6 +15,7 @@ use sqlquack_syntax::expressions::functions::models::JSONColumnDef; use sqlquack_syntax::expressions::functions::models::JSONSchema; use sqlquack_syntax::expressions::functions::models::OpenJSON; use sqlquack_syntax::expressions::functions::models::OpenJSONColumnDef; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::main::identifier_from_token::identifier_from_token; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Column; @@ -242,7 +243,7 @@ impl Parser { name: original_name.clone().unwrap_or_else(|| "IF".to_string()), args: vec![], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -280,7 +281,7 @@ impl Parser { name: original_name.clone().unwrap_or_else(|| "IF".to_string()), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/paths.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/paths.rs index 5f437991e..078bf2051 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/paths.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/paths.rs @@ -6,6 +6,7 @@ use crate::parser::models::Parser; use sqlquack_syntax::expressions::columns::models::Comprehension; use sqlquack_syntax::expressions::functions::models::Function; use sqlquack_syntax::expressions::functions::models::JSONExtract; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Column; use sqlquack_syntax::expressions::names::models::Identifier; @@ -1070,7 +1071,7 @@ impl Parser { name: token.text.to_string(), args: Vec::new(), - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: true, @@ -1111,7 +1112,7 @@ impl Parser { name: dynamic_name, args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/primary.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/primary.rs index 47f2a8123..b2d3184b9 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/primary.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/expressions/primary.rs @@ -13,6 +13,7 @@ use crate::parser::constants::STRUCT; use crate::parser::models::Parser; use sqlquack_syntax::expressions::functions::models::Columns; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::WithinGroup; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Column; @@ -479,7 +480,7 @@ impl Parser { name: format!("APPROXIMATE {}", name), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -725,7 +726,7 @@ impl Parser { name: "EXISTS".to_string(), args: vec![array_expr, predicate], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1026,7 +1027,7 @@ impl Parser { name: "ROW".to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1394,7 +1395,7 @@ impl Parser { name: token.text.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1423,7 +1424,7 @@ impl Parser { name: token.text.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1474,7 +1475,7 @@ impl Parser { name: token.text.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1494,7 +1495,7 @@ impl Parser { name: token.text.to_string(), args: Vec::new(), - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: true, @@ -1936,7 +1937,7 @@ impl Parser { name: token.text, args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/generic.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/generic.rs index de2ad9a42..9bfe84987 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/generic.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/generic.rs @@ -11,6 +11,7 @@ use sqlquack_syntax::expressions::functions::models::AggregateFunction; use sqlquack_syntax::expressions::functions::models::Function; use sqlquack_syntax::expressions::functions::models::JSONCast; use sqlquack_syntax::expressions::functions::models::Keep; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::WindowFunction; use sqlquack_syntax::expressions::functions::models::WithinGroup; use sqlquack_syntax::expressions::names::main::identifier_from_token::identifier_from_token; @@ -64,6 +65,7 @@ impl Parser { return Err(self.parse_error("IN is an operator, not a function")); } let is_known_agg = self.is_aggregate_function(name); + let mut all = false; let (mut args, distinct) = if self.check(TokenType::RParen) { (Vec::new(), false) @@ -95,11 +97,14 @@ impl Parser { self.skip(); (self.parse_function_arguments_for(Some(name))?, true) } else { - if is_known_agg { - self.match_token(TokenType::All); - } + all = is_known_agg && self.match_token(TokenType::All); (self.parse_function_arguments_for(Some(name))?, false) }; + let quantifier = match (distinct, all) { + (true, _) => SetQuantifier::Distinct, + (false, true) => SetQuantifier::All, + (false, false) => SetQuantifier::None, + }; let (ignore_nulls, order_by, agg_limit) = if is_known_agg { let ignore_nulls = if self.match_token(TokenType::Ignore) @@ -142,7 +147,7 @@ impl Parser { name: name.to_string(), args, - distinct, + set_quantifier: quantifier, filter: None, order_by: Vec::new(), limit: None, @@ -162,7 +167,7 @@ impl Parser { name: format!("__WITHIN_GROUP_{}", name), args: vec![within, filter_expr], - distinct: false, + set_quantifier: SetQuantifier::None, filter: None, order_by: Vec::new(), limit: None, @@ -192,7 +197,7 @@ impl Parser { name: name.to_string(), args, - distinct, + set_quantifier: quantifier, filter, order_by, limit: agg_limit, @@ -236,7 +241,7 @@ impl Parser { } args = self.normalize_date_part_arg(name, args); let mut func = Function::new(name.to_string(), args); - func.distinct = distinct; + func.set_quantifier = quantifier; func.trailing_comments = trailing_comments; func.quoted = quoted; Ok(Expression::Function(Box::new(func))) @@ -1075,7 +1080,7 @@ impl Parser { name: "MAP".to_string(), args: vec![keys, values], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: true, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/registry.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/registry.rs index f98ae34f9..83572a842 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/registry.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/registry.rs @@ -7,6 +7,7 @@ use crate::parser::models::Parser; use sqlquack_syntax::expressions::functions::models::AggregateFunction; use sqlquack_syntax::expressions::functions::models::CurrentSchemas; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::operators::models::Cast; use sqlquack_syntax::expressions::tree::models::Expression; use sqlquack_syntax::expressions::typed_functions::main::new_unary_func::new_unary_func; @@ -419,7 +420,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -520,7 +521,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -543,7 +544,7 @@ impl Parser { name: "COALESCE".to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -570,7 +571,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -602,7 +603,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -631,7 +632,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -672,7 +673,7 @@ impl Parser { name: name.to_string(), args: Vec::new(), - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -702,7 +703,7 @@ impl Parser { name: "XMLCOMMENT".to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -764,7 +765,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -836,7 +837,7 @@ impl Parser { name: name.to_string(), args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, order_by: Vec::new(), limit: None, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/registry_functions.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/registry_functions.rs index 29a2e679e..a3afa6925 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/registry_functions.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/registry_functions.rs @@ -10,6 +10,7 @@ use crate::parser::constants::TRY_CONVERT; use crate::parser::constants::TRY_TO_NUMBER; use crate::parser::models::Parser; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::ToNumber; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Literal; @@ -178,7 +179,7 @@ impl Parser { name: name.to_string(), args: all_args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -247,7 +248,7 @@ impl Parser { name: name.to_string(), args: vec![this, dimension], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -383,7 +384,7 @@ impl Parser { name: name.to_string(), args: vec![this], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -424,7 +425,7 @@ impl Parser { name: "DATE_PART".to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -465,7 +466,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -484,7 +485,7 @@ impl Parser { name: name.to_string(), args: vec![first_arg, second_arg], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -536,7 +537,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -601,7 +602,7 @@ impl Parser { name: name.to_string(), args: vec![], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -622,7 +623,7 @@ impl Parser { name: name.to_string(), args: vec![first], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -713,7 +714,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -780,7 +781,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -830,7 +831,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -868,7 +869,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -938,7 +939,7 @@ impl Parser { name: "XMLATTRIBUTES".to_string(), args: attrs, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -971,7 +972,7 @@ impl Parser { name: "MATCH".to_string(), args: expressions, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1079,7 +1080,7 @@ impl Parser { name: name.to_string(), args: expressions, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1130,7 +1131,7 @@ impl Parser { name: func_name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1150,7 +1151,7 @@ impl Parser { name: func_name.to_string(), args: vec![this], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1297,7 +1298,7 @@ impl Parser { name: name.to_string(), args: vec![this, replacement], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1317,7 +1318,7 @@ impl Parser { name: name.to_string(), args: vec![this], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1364,7 +1365,7 @@ impl Parser { name: name.to_string(), args: vec![], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/typed.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/typed.rs index e800968f7..004838011 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/typed.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/functions/typed.rs @@ -15,6 +15,7 @@ use sqlquack_syntax::expressions::functions::models::JSONFormat; use sqlquack_syntax::expressions::functions::models::JSONKeyValue; use sqlquack_syntax::expressions::functions::models::JSONObjectAgg; use sqlquack_syntax::expressions::functions::models::JSONTable; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Literal; use sqlquack_syntax::expressions::names::models::Null; @@ -405,7 +406,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -573,7 +574,7 @@ impl Parser { name: name.to_string(), args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, order_by, limit, @@ -592,7 +593,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -616,7 +617,7 @@ impl Parser { name: name.to_string(), args: vec![query], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -687,7 +688,7 @@ impl Parser { name: name.to_string(), args: vec![subquery], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -714,7 +715,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -825,7 +826,7 @@ impl Parser { name: name.to_string(), args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, order_by, limit: None, @@ -844,7 +845,7 @@ impl Parser { name: name.to_string(), args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1185,7 +1186,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments, use_bracket_syntax: false, no_parens: false, @@ -1487,7 +1488,7 @@ impl Parser { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -1596,7 +1597,7 @@ impl Parser { name: name.to_string(), args: all_args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/clauses.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/clauses.rs index a36a03902..9b868ee62 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/clauses.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/clauses.rs @@ -3,6 +3,7 @@ use crate::parser::_helpers::support::dialects::supports_order_by_all; use crate::parser::models::Parser; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Identifier; use sqlquack_syntax::expressions::names::models::Null; @@ -134,7 +135,7 @@ impl Parser { name: "GROUPING SETS".to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -155,7 +156,7 @@ impl Parser { name: "CUBE".to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -176,7 +177,7 @@ impl Parser { name: "ROLLUP".to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -275,7 +276,7 @@ impl Parser { name: "GROUPING SETS".to_string(), args: inner_args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -296,7 +297,7 @@ impl Parser { name: "CUBE".to_string(), args: inner_args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -317,7 +318,7 @@ impl Parser { name: "ROLLUP".to_string(), args: inner_args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/insert.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/insert.rs index 1343a9e16..03cbaf546 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/insert.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/insert.rs @@ -4,6 +4,7 @@ use crate::parser::models::InsertPrefix; use crate::parser::models::Parser; use crate::parser::types::InsertPartition; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Column; use sqlquack_syntax::expressions::names::models::Identifier; @@ -400,7 +401,7 @@ impl Parser { name: func_name, args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/modifiers.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/modifiers.rs index 348c50e83..f779984c4 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/modifiers.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/modifiers.rs @@ -5,6 +5,7 @@ use crate::parser::models::JoinKindParts; use crate::parser::models::Parser; use crate::parser::models::SetOperationCorresponding; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::models::Column; use sqlquack_syntax::expressions::names::models::Identifier; use sqlquack_syntax::expressions::names::models::TableRef; @@ -1002,7 +1003,7 @@ impl Parser { name: "REPLACE".to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/select.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/select.rs index 5ad3f14dc..e9dd4b0b2 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/select.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/select.rs @@ -5,6 +5,7 @@ use crate::parser::constants::SECOND_PREVIOUS_OFFSET; use crate::parser::models::Parser; use sqlquack_syntax::expressions::functions::models::Function; use sqlquack_syntax::expressions::functions::models::JSONTable; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Identifier; use sqlquack_syntax::expressions::names::models::Literal; @@ -884,7 +885,7 @@ impl Parser { name: format!("{}.{}.{}", first_name, second_name, third_name), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments, use_bracket_syntax: false, no_parens: false, @@ -941,7 +942,7 @@ impl Parser { name: format!("{}.{}", first_name, second_name), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments, use_bracket_syntax: false, no_parens: false, @@ -1102,7 +1103,7 @@ impl Parser { name: first_name.to_string(), args: vec![query], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments, use_bracket_syntax: false, no_parens: false, @@ -1161,7 +1162,7 @@ impl Parser { name: func_name, args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments, use_bracket_syntax: false, no_parens: false, @@ -1358,7 +1359,7 @@ impl Parser { name: first_name, args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/tables.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/tables.rs index 485104ad1..2a5e55201 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/tables.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/queries/tables.rs @@ -4,6 +4,7 @@ use crate::parser::models::Parser; use sqlquack_syntax::expressions::columns::models::ColumnDef; use sqlquack_syntax::expressions::functions::models::AtIndex; use sqlquack_syntax::expressions::functions::models::PivotAny; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::models::Column; use sqlquack_syntax::expressions::names::models::Identifier; use sqlquack_syntax::expressions::names::models::Literal; @@ -1522,7 +1523,7 @@ impl Parser { name: "IDENTIFIER".to_string(), args: vec![arg], - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/statements/sessions.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/statements/sessions.rs index bf3a68869..086031685 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/statements/sessions.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/statements/sessions.rs @@ -16,6 +16,7 @@ use sqlquack_syntax::expressions::columns::models::PrimaryKeyColumnConstraint; use sqlquack_syntax::expressions::columns::models::UniqueColumnConstraint; use sqlquack_syntax::expressions::functions::models::ForIn; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::main::identifier_from_token::identifier_from_token; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Column; @@ -1767,7 +1768,7 @@ impl Parser { name, args: Vec::new(), - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: true, @@ -1815,7 +1816,7 @@ impl Parser { name, args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/support/names.rs b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/support/names.rs index cb22457bc..f922caa09 100644 --- a/crates/sqlquack-syntax-snowflake/src/parser/_helpers/support/names.rs +++ b/crates/sqlquack-syntax-snowflake/src/parser/_helpers/support/names.rs @@ -8,6 +8,7 @@ use crate::parser::models::Parser; use sqlquack_syntax::expressions::columns::models::ColumnDef; use sqlquack_syntax::expressions::functions::models::Anonymous; use sqlquack_syntax::expressions::functions::models::Function; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::names::main::identifier_from_token::identifier_from_token; use sqlquack_syntax::expressions::names::models::BooleanLiteral; use sqlquack_syntax::expressions::names::models::Identifier; @@ -1562,7 +1563,7 @@ impl Parser { name: func_name, args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax-snowflake/tests/parser/test_fixes.rs b/crates/sqlquack-syntax-snowflake/tests/parser/test_fixes.rs index e095591b0..147ab2326 100644 --- a/crates/sqlquack-syntax-snowflake/tests/parser/test_fixes.rs +++ b/crates/sqlquack-syntax-snowflake/tests/parser/test_fixes.rs @@ -574,8 +574,8 @@ fn given_reviewed_tree_findings_when_parsing_faithfully_then_the_tree_records_wh ProjectionTestCase { description: "HASH_AGG takes DISTINCT over several arguments", sql: "SELECT HASH_AGG(DISTINCT 1, 2)", - pointer: "/aggregate_function/distinct", - expected_value: json!(true), + pointer: "/aggregate_function/set_quantifier", + expected_value: json!("distinct"), }, ProjectionTestCase { description: "OBJECT_AGG takes DISTINCT over its key and value", @@ -586,8 +586,8 @@ fn given_reviewed_tree_findings_when_parsing_faithfully_then_the_tree_records_wh ProjectionTestCase { description: "OBJECT_AGG without DISTINCT stays not distinct", sql: "SELECT OBJECT_AGG(v1, 1) FROM t1", - pointer: "/aggregate_function/distinct", - expected_value: json!(false), + pointer: "/aggregate_function/set_quantifier", + expected_value: json!("none"), }, ]; @@ -1691,8 +1691,8 @@ fn given_a_documented_snowflake_element_when_parsing_then_the_tree_keeps_it() { ProjectionTestCase { description: "DISTINCT is kept on an aggregate of two arguments", sql: "SELECT APPROX_COUNT_DISTINCT ( DISTINCT 1 , 1 )", - pointer: "/0/select/expressions/0/function/distinct", - expected_value: json!(true), + pointer: "/0/select/expressions/0/function/set_quantifier", + expected_value: json!("distinct"), }, ProjectionTestCase { description: "TIMESTAMP WITHOUT TIME ZONE keeps its written name, not bare TIMESTAMP", diff --git a/crates/sqlquack-syntax-snowflake/tests/parser/test_snowflake_recorded.rs b/crates/sqlquack-syntax-snowflake/tests/parser/test_snowflake_recorded.rs index 9cb25b4cf..3e057409f 100644 --- a/crates/sqlquack-syntax-snowflake/tests/parser/test_snowflake_recorded.rs +++ b/crates/sqlquack-syntax-snowflake/tests/parser/test_snowflake_recorded.rs @@ -1190,7 +1190,7 @@ fn given_snowflake_create_and_begin_name_when_parsing_then_the_tree_keeps_the_el "final_": false, "hints": [], "identifier_func": {"function": { "name": "IDENTIFIER", "args": [{"literal": {"literal_type": "string", "value": "q1"}}], - "distinct": false, "trailing_comments": [], "use_bracket_syntax": false, + "set_quantifier": "none", "trailing_comments": [], "use_bracket_syntax": false, "no_parens": false, "quoted": false, }}, }), diff --git a/crates/sqlquack-syntax-sqlite/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-sqlite/src/parse/_helpers/tree/nodes.rs index 2f91e3e3a..2e0d2442f 100644 --- a/crates/sqlquack-syntax-sqlite/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-sqlite/src/parse/_helpers/tree/nodes.rs @@ -2,6 +2,7 @@ use sqlquack_syntax::DataType; use sqlquack_syntax::Expression; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; use sqlquack_syntax::expressions::functions::models::{ AggregateFunction, Function, WindowFunction, }; @@ -204,7 +205,7 @@ pub(crate) fn aggregate( Expression::AggregateFunction(Box::new(AggregateFunction { name: function.name, args: function.args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, ignore_nulls, ..AggregateFunction::default() diff --git a/crates/sqlquack-syntax-sqlserver/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-sqlserver/src/parse/_helpers/tree/nodes.rs index a2ab45c14..965e6e3ea 100644 --- a/crates/sqlquack-syntax-sqlserver/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-sqlserver/src/parse/_helpers/tree/nodes.rs @@ -18,6 +18,7 @@ use sqlquack_syntax::expressions::types::models::Tuple; use sqlquack_syntax::tokens::models::{SourceSpan, Span}; use crate::parse::_helpers::tree::cursor::Parser; +use sqlquack_syntax::expressions::functions::models::SetQuantifier; pub(crate) fn column(table: Option, name: Identifier) -> Expression { let span = name.span; @@ -210,7 +211,7 @@ pub(crate) fn aggregate( Expression::AggregateFunction(Box::new(AggregateFunction { name, args: function.args, - distinct, + set_quantifier: SetQuantifier::from_distinct(distinct), filter, ignore_nulls, span: function.span, diff --git a/crates/sqlquack-syntax/src/expressions/functions/main/make_unquoted_function.rs b/crates/sqlquack-syntax/src/expressions/functions/main/make_unquoted_function.rs index 3286ddae5..b39909ebe 100644 --- a/crates/sqlquack-syntax/src/expressions/functions/main/make_unquoted_function.rs +++ b/crates/sqlquack-syntax/src/expressions/functions/main/make_unquoted_function.rs @@ -1,6 +1,7 @@ //! `make_unquoted_function`. use crate::expressions::functions::models::Function; +use crate::expressions::functions::models::SetQuantifier; use crate::expressions::tree::models::Expression; use crate::tokens::models::SourceSpan; @@ -12,7 +13,7 @@ pub fn make_unquoted_function(name: &str, args: Vec) -> Expression { name: name.to_string(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, diff --git a/crates/sqlquack-syntax/src/expressions/functions/models.rs b/crates/sqlquack-syntax/src/expressions/functions/models.rs index d72920a6e..cf238bbcb 100644 --- a/crates/sqlquack-syntax/src/expressions/functions/models.rs +++ b/crates/sqlquack-syntax/src/expressions/functions/models.rs @@ -12,6 +12,48 @@ use crate::expressions::queries::models::Over; use crate::expressions::tree::models::Expression; use crate::expressions::types::models::DataType; +/// The set quantifier written at the start of a call's arguments. +/// +/// `ALL` means the same as writing nothing; it is kept so the tree records what was written. +#[derive( + sqlquack_derive::AstNode, + Debug, + Clone, + Copy, + PartialEq, + Eq, + Hash, + Default, + Serialize, + Deserialize, +)] +#[serde(rename_all = "snake_case")] +pub enum SetQuantifier { + /// No quantifier was written. + #[default] + None, + /// `ALL` was written; equivalent to `None`. + All, + /// `DISTINCT` was written. + Distinct, +} + +impl SetQuantifier { + /// Whether duplicate inputs are removed, which only `DISTINCT` does. + pub fn is_distinct(self) -> bool { + self == Self::Distinct + } + + /// `Distinct` when `distinct` holds, otherwise `None`. + pub fn from_distinct(distinct: bool) -> Self { + if distinct { + Self::Distinct + } else { + Self::None + } + } +} + /// A scalar function call not recognized as a dedicated `Expression` variant. #[derive(sqlquack_derive::AstNode, Debug, Clone, PartialEq, Serialize, Deserialize, Default)] pub struct Function { @@ -30,8 +72,9 @@ pub struct Function { pub name: String, /// Positional arguments to the function. pub args: Vec, - /// Whether DISTINCT was specified inside the call (e.g. `COUNT(DISTINCT x)`). - pub distinct: bool, + /// The set quantifier written inside the call, as in `COUNT(DISTINCT x)` or `SUM(ALL x)`. + #[serde(default)] + pub set_quantifier: SetQuantifier, #[serde(default)] pub trailing_comments: Vec, /// Whether this function uses bracket syntax (e.g., MAP[keys, values]) @@ -80,7 +123,7 @@ impl Function { on_error: None, name: name.into(), args, - distinct: false, + set_quantifier: SetQuantifier::None, trailing_comments: Vec::new(), use_bracket_syntax: false, no_parens: false, @@ -105,8 +148,9 @@ pub struct AggregateFunction { pub name: String, /// Positional arguments. pub args: Vec, - /// Whether DISTINCT was specified. - pub distinct: bool, + /// The set quantifier written inside the call: none, `ALL` or `DISTINCT`. + #[serde(default)] + pub set_quantifier: SetQuantifier, /// Optional FILTER (WHERE ...) clause applied to the aggregate. pub filter: Option, /// ORDER BY inside aggregate (e.g., JSON_AGG(x ORDER BY y)) diff --git a/crates/sqlquack/tests/cli/test_convert.rs b/crates/sqlquack/tests/cli/test_convert.rs index 76c09b4a1..d8a04bf29 100644 --- a/crates/sqlquack/tests/cli/test_convert.rs +++ b/crates/sqlquack/tests/cli/test_convert.rs @@ -1997,3 +1997,24 @@ fn given_a_naive_timestamp_joined_with_a_local_one_when_converting_then_its_nano ); } } + +#[test] +fn given_an_aggregate_with_an_explicit_all_when_converting_then_it_converts_as_if_none_was_written() +{ + let sources = [ + "SELECT MEDIAN({q}a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", + "SELECT ARRAY_AGG({q}a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", + ]; + for source in sources { + let written = |quantifier: &str| { + convert_streams(&source.replace("{q}", quantifier), &["--no-config"]).0 + }; + let (none, all, distinct) = (written(""), written("ALL "), written("DISTINCT ")); + assert!(!none.is_empty(), "{source}: converts without a quantifier"); + assert_eq!(all, none, "{source}: ALL converts exactly as no quantifier"); + assert_ne!( + distinct, none, + "{source}: DISTINCT still changes the conversion" + ); + } +} From 7e021f50d9b525e2d4a5f14c227a822dae9350bc Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Wed, 18 Nov 2026 03:30:06 +0000 Subject: [PATCH 02/10] fix(convert): count rows for COUNT(*) under any quantifier but DISTINCT The set quantifier rename serialises a call's quantifier as "none" or "all" rather than a false distinct flag, and the check for COUNT(*) alone read any non-empty field as something it does not understand. COUNT(*) therefore looked like it read the source's columns, and converting it over a table with ARRAY or VARIANT columns checked their JSON for nothing. The check now reads the quantifier the way the rest of conversion does: only DISTINCT counts. The explicit-ALL conversion test moves to its own table-driven file, since test_convert.rs passed 2,000 lines. --- .../conversion/_helpers/queries/sources.rs | 5 ++- .../conversion/_helpers/support/tree.rs | 5 +-- crates/sqlquack/tests/cli.rs | 2 + crates/sqlquack/tests/cli/test_convert.rs | 21 ---------- .../sqlquack/tests/cli/test_set_quantifier.rs | 38 +++++++++++++++++++ crates/sqlquack/tests/cli/test_types.rs | 7 ++++ 6 files changed, 52 insertions(+), 26 deletions(-) create mode 100644 crates/sqlquack/tests/cli/test_set_quantifier.rs diff --git a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/queries/sources.rs b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/queries/sources.rs index b3a4f98f5..50044dc0f 100644 --- a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/queries/sources.rs +++ b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/queries/sources.rs @@ -32,8 +32,8 @@ use crate::snowflake::conversion::_helpers::support::collecting::{ use crate::snowflake::conversion::_helpers::support::scope::{Context, Scope}; use crate::snowflake::conversion::_helpers::support::site::{Placement, Site}; use crate::snowflake::conversion::_helpers::support::tree::{ - Payload, field, function_construct, identifier_name, integer_literal, is_inert, list, - node_construct, node_kind, payload_object, require_understood, + Payload, SET_QUANTIFIER, field, function_construct, identifier_name, integer_literal, + is_distinct, is_inert, list, node_construct, node_kind, payload_object, require_understood, }; use crate::snowflake::conversion::constants::{ ASOF_JOIN, ASOF_KIND, CORRELATED_DERIVED, FROM_RELATION, FROM_SUBQUERY, GENERATOR_MAX_ROWS, @@ -1080,6 +1080,7 @@ fn counts_rows(payload: &Value) -> bool { .as_array() .is_some_and(|items| items.len() == 1 && star(&items[0])), "name" => true, + SET_QUANTIFIER => !is_distinct(fields), _ => is_inert(value), }) } diff --git a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/support/tree.rs b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/support/tree.rs index 1edac8171..ec7505715 100644 --- a/crates/sqlquack-convert/src/snowflake/conversion/_helpers/support/tree.rs +++ b/crates/sqlquack-convert/src/snowflake/conversion/_helpers/support/tree.rs @@ -54,6 +54,8 @@ pub(crate) const LITERAL_STRING: &str = "string"; pub(crate) const LITERAL_DATE: &str = "date"; /// The parser's literal type for `TIMESTAMP '...'`. pub(crate) const LITERAL_TIMESTAMP: &str = "timestamp"; +/// A call's set quantifier field: `none`, `all` or `distinct`. +pub(crate) const SET_QUANTIFIER: &str = "set_quantifier"; /// The kind and payload of a one-key node such as `{"add": {...}}`. pub(crate) fn node_kind(node: &Value) -> Option<(&str, &Value)> { @@ -157,9 +159,6 @@ pub(crate) fn list<'a>(payload: &'a Payload, name: &str) -> &'a [Value] { .map_or(&[], Vec::as_slice) } -/// A call's set quantifier field: `none`, `all` or `distinct`. -pub(crate) const SET_QUANTIFIER: &str = "set_quantifier"; - /// Whether a call's set quantifier is DISTINCT; an explicit ALL reads exactly as none. pub(crate) fn is_distinct(payload: &Payload) -> bool { payload.get(SET_QUANTIFIER).and_then(Value::as_str) == Some("distinct") diff --git a/crates/sqlquack/tests/cli.rs b/crates/sqlquack/tests/cli.rs index 9646c08b1..909d7ae52 100644 --- a/crates/sqlquack/tests/cli.rs +++ b/crates/sqlquack/tests/cli.rs @@ -38,5 +38,7 @@ mod test_review; mod test_row_limits; #[path = "cli/test_run.rs"] mod test_run; +#[path = "cli/test_set_quantifier.rs"] +mod test_set_quantifier; #[path = "cli/test_types.rs"] mod test_types; diff --git a/crates/sqlquack/tests/cli/test_convert.rs b/crates/sqlquack/tests/cli/test_convert.rs index d8a04bf29..76c09b4a1 100644 --- a/crates/sqlquack/tests/cli/test_convert.rs +++ b/crates/sqlquack/tests/cli/test_convert.rs @@ -1997,24 +1997,3 @@ fn given_a_naive_timestamp_joined_with_a_local_one_when_converting_then_its_nano ); } } - -#[test] -fn given_an_aggregate_with_an_explicit_all_when_converting_then_it_converts_as_if_none_was_written() -{ - let sources = [ - "SELECT MEDIAN({q}a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", - "SELECT ARRAY_AGG({q}a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", - ]; - for source in sources { - let written = |quantifier: &str| { - convert_streams(&source.replace("{q}", quantifier), &["--no-config"]).0 - }; - let (none, all, distinct) = (written(""), written("ALL "), written("DISTINCT ")); - assert!(!none.is_empty(), "{source}: converts without a quantifier"); - assert_eq!(all, none, "{source}: ALL converts exactly as no quantifier"); - assert_ne!( - distinct, none, - "{source}: DISTINCT still changes the conversion" - ); - } -} diff --git a/crates/sqlquack/tests/cli/test_set_quantifier.rs b/crates/sqlquack/tests/cli/test_set_quantifier.rs new file mode 100644 index 000000000..bec11304e --- /dev/null +++ b/crates/sqlquack/tests/cli/test_set_quantifier.rs @@ -0,0 +1,38 @@ +use crate::helpers::convert_streams; +use crate::test_types::SetQuantifierTestCase; + +#[test] +fn given_an_aggregate_with_an_explicit_all_when_converting_then_it_converts_as_if_none_was_written() +{ + let test_cases = [ + SetQuantifierTestCase { + description: "MEDIAN with ALL converts as without; with DISTINCT it does not", + sql: "SELECT MEDIAN(ALL a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", + expected_same_as: "SELECT MEDIAN(a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", + expected_unlike: "SELECT MEDIAN(DISTINCT a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", + }, + SetQuantifierTestCase { + description: "ARRAY_AGG with ALL converts as without; with DISTINCT it does not", + sql: "SELECT ARRAY_AGG(ALL a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", + expected_same_as: "SELECT ARRAY_AGG(a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", + expected_unlike: "SELECT ARRAY_AGG(DISTINCT a) AS m FROM (SELECT 1 AS a UNION ALL SELECT 1)", + }, + ]; + for test_case in test_cases { + let converted = |sql: &str| convert_streams(sql, &["--no-config"]).0; + let expected = converted(test_case.expected_same_as); + assert!(!expected.is_empty(), "{}", test_case.description); + assert_eq!( + converted(test_case.sql), + expected, + "{}", + test_case.description + ); + assert_ne!( + converted(test_case.expected_unlike), + expected, + "{}", + test_case.description + ); + } +} diff --git a/crates/sqlquack/tests/cli/test_types.rs b/crates/sqlquack/tests/cli/test_types.rs index 68a9d628c..fd821af1b 100644 --- a/crates/sqlquack/tests/cli/test_types.rs +++ b/crates/sqlquack/tests/cli/test_types.rs @@ -396,3 +396,10 @@ pub(crate) struct ReplayCacheTestCase { pub(crate) between_runs: fn(&std::path::Path), pub(crate) expected_outcome: ReplayCacheOutcome, } + +pub(crate) struct SetQuantifierTestCase { + pub(crate) description: &'static str, + pub(crate) sql: &'static str, + pub(crate) expected_same_as: &'static str, + pub(crate) expected_unlike: &'static str, +} From 1a5c9cea064ea6808ba6cbde51dc855dd313cfd3 Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Wed, 18 Nov 2026 03:31:11 +0000 Subject: [PATCH 03/10] chore(coverage): re-bind reviews whose trees changed only by the set quantifier Snowflake and SQLite reviews whose forms' trees differ from the reviewed ones only by the call flag now read as set_quantifier are re-bound, each noted as diff-checked. A re-bound review check refuses every re-bind whose form changed by more than its class allows: a set_quantifier re-bind only by that flag in the trees, and a stage re-bind only by the stage of cases expected to be accepted, each the stage of its receipt phase. --- .../syntax-sqlite/reviews/expressions.toml | 38 + coverage/syntax-sqlite/reviews/functions.toml | 449 +++ coverage/syntax-sqlite/reviews/query.toml | 17 + coverage/syntax/reviews/classes.toml | 113 + coverage/syntax/reviews/ddl.toml | 89 + coverage/syntax/reviews/expressions.toml | 47 + coverage/syntax/reviews/functions.toml | 3470 +++++++++++++++++ coverage/syntax/reviews/query.toml | 35 + coverage/syntax/reviews/scripting.toml | 26 + coverage/syntax/reviews/security-admin.toml | 41 + .../syntax/reviews/transaction-session.toml | 17 + scripts/check_rebound_reviews.py | 14 + scripts/rebound_reviews/__init__.py | 1 + scripts/rebound_reviews/_helpers/__init__.py | 0 .../rebound_reviews/_helpers/fingerprints.py | 34 + scripts/rebound_reviews/_helpers/inputs.py | 98 + scripts/rebound_reviews/_helpers/refusals.py | 113 + scripts/rebound_reviews/_helpers/trees.py | 74 + scripts/rebound_reviews/constants.py | 37 + scripts/rebound_reviews/main/__init__.py | 0 scripts/rebound_reviews/main/check.py | 62 + scripts/rebound_reviews/models.py | 29 + .../unit/scripts/rebound_reviews/__init__.py | 0 .../scripts/rebound_reviews/_test_types.py | 28 + tests/unit/scripts/rebound_reviews/helpers.py | 116 + .../scripts/rebound_reviews/test_check.py | 227 ++ 26 files changed, 5175 insertions(+) create mode 100644 scripts/check_rebound_reviews.py create mode 100644 scripts/rebound_reviews/__init__.py create mode 100644 scripts/rebound_reviews/_helpers/__init__.py create mode 100644 scripts/rebound_reviews/_helpers/fingerprints.py create mode 100644 scripts/rebound_reviews/_helpers/inputs.py create mode 100644 scripts/rebound_reviews/_helpers/refusals.py create mode 100644 scripts/rebound_reviews/_helpers/trees.py create mode 100644 scripts/rebound_reviews/constants.py create mode 100644 scripts/rebound_reviews/main/__init__.py create mode 100644 scripts/rebound_reviews/main/check.py create mode 100644 scripts/rebound_reviews/models.py create mode 100644 tests/unit/scripts/rebound_reviews/__init__.py create mode 100644 tests/unit/scripts/rebound_reviews/_test_types.py create mode 100644 tests/unit/scripts/rebound_reviews/helpers.py create mode 100644 tests/unit/scripts/rebound_reviews/test_check.py diff --git a/coverage/syntax-sqlite/reviews/expressions.toml b/coverage/syntax-sqlite/reviews/expressions.toml index e88eece25..736a6ba86 100644 --- a/coverage/syntax-sqlite/reviews/expressions.toml +++ b/coverage/syntax-sqlite/reviews/expressions.toml @@ -150,3 +150,41 @@ note = "Read against the pinned SQLite 3.54.1 documentation and the tokenizer, t [review.definitions] "sl.expressions.numeric-literal.fraction" = "60b90ebc35b8ab1f7c4f66a6e3a2914ae81c0709ec0c1e5f6e2997208d9a7518" + +[[review]] +id = "sl-expressions-003" +family = "expressions" +parser_tree = "c3d9c006c4baa98888ebbb5e1987ebc4e034be3a" +reviewed_utc = "2026-11-16T10:00:48Z" +verdict = "approved" +forms = [ + "sl.expressions.aggregate-function-invocation", + "sl.expressions.expr.function", + "sl.expressions.filter-clause", + "sl.expressions.function-arguments", + "sl.expressions.literal-value", + "sl.expressions.over-clause", + "sl.expressions.simple-function-invocation", + "sl.expressions.window-function-invocation", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sl.expressions.aggregate-function-invocation" = "2dd15e5bbdba58e348dee834229b2f258f1bf8d0c55e1816591f813e0c84cbab" +"sl.expressions.expr.function" = "1e8c1a5c0fbf62591cc4e0606854605bbcc41de657466bf6953702b383658f5b" +"sl.expressions.filter-clause" = "f129e2af42eefe62c75b8a1855b9da671d52c5ac8aa0140515f970ed7b7b8b57" +"sl.expressions.function-arguments" = "a4119c9499d047262e53a1997db3da11d2d6778812072caa9388835334360b79" +"sl.expressions.literal-value" = "24ace104b953125bcee2a7607f8fb85f4b601135d070615bae4eda711939ac50" +"sl.expressions.over-clause" = "5c8966fb2d629f0a3b0a82ac648b406e8dd223c63569be4404f62be8e7500fe2" +"sl.expressions.simple-function-invocation" = "4fac001e66d56a5417889dbca6b95d0c3447846234dbea5fd4240639651d9823" +"sl.expressions.window-function-invocation" = "56ce285602ad793ec2b9b6d625563e476460b8db8c4fa9c03fdb608c448571ec" + +[review.definitions] +"sl.expressions.aggregate-function-invocation" = "7d5225a596d1b572feb39060bbea8c5fc38be6353a85445897deecc64a13ea05" +"sl.expressions.expr.function" = "3337bcf9bfb226cff619db48e02395b7c0cffe08482dca1600adf8caa4220367" +"sl.expressions.filter-clause" = "1aed64c30d47aaf120012ddc058c08843e30a4c77734ea217ca6f85fe8445c05" +"sl.expressions.function-arguments" = "5726b9a1b90552dff11342755dfd1bd76301144590c637b604081e40bb2beae6" +"sl.expressions.literal-value" = "b9a6e951ce91b5b491fac9f265cfe5b8848607b374c1b0b1026d1f0f58d9583c" +"sl.expressions.over-clause" = "79206d05611519db7fcc2800c9d98100fb9a17ed006cf755639a351f1c526d39" +"sl.expressions.simple-function-invocation" = "7dd4ba952cfdcb967afe22304caae693c6e70576e509f4461dc837a116928127" +"sl.expressions.window-function-invocation" = "d44c4af709d52f40941e3daca3edd582ba9b3071bca58db851105250850b436d" diff --git a/coverage/syntax-sqlite/reviews/functions.toml b/coverage/syntax-sqlite/reviews/functions.toml index 01f937621..9584278b7 100644 --- a/coverage/syntax-sqlite/reviews/functions.toml +++ b/coverage/syntax-sqlite/reviews/functions.toml @@ -451,3 +451,452 @@ note = "Read against the pinned SQLite 3.54.1 documentation and parse.y, the obl "sl.functions.window.percent-rank" = "bfaff27747aa9c20b24baff5eddf7c8a6f801a1c7e742c3b5b321803535be916" "sl.functions.window.rank" = "323a4dd406ddfe851549191cf164dd1df6b4f5842b0289e2f571abe2ae9ef7c5" "sl.functions.window.row-number" = "7a13a8805ef9c5828b91f7a4474a6da69dc819c7133de64b9944d8711ebb6a85" + +[[review]] +id = "sl-functions-002" +family = "functions" +parser_tree = "c3d9c006c4baa98888ebbb5e1987ebc4e034be3a" +reviewed_utc = "2026-11-16T10:00:48Z" +verdict = "approved" +forms = [ + "sl.functions.aggregate.avg", + "sl.functions.aggregate.count", + "sl.functions.aggregate.group-concat", + "sl.functions.aggregate.max", + "sl.functions.aggregate.median", + "sl.functions.aggregate.min", + "sl.functions.aggregate.percentile", + "sl.functions.aggregate.percentile-cont", + "sl.functions.aggregate.percentile-disc", + "sl.functions.aggregate.string-agg", + "sl.functions.aggregate.sum", + "sl.functions.aggregate.total", + "sl.functions.datetime.date", + "sl.functions.datetime.datetime", + "sl.functions.datetime.julianday", + "sl.functions.datetime.modifiers", + "sl.functions.datetime.strftime", + "sl.functions.datetime.time", + "sl.functions.datetime.timediff", + "sl.functions.datetime.unixepoch", + "sl.functions.json.json", + "sl.functions.json.json-array", + "sl.functions.json.json-array-insert", + "sl.functions.json.json-array-length", + "sl.functions.json.json-each", + "sl.functions.json.json-error-position", + "sl.functions.json.json-extract", + "sl.functions.json.json-group-array", + "sl.functions.json.json-group-object", + "sl.functions.json.json-insert", + "sl.functions.json.json-object", + "sl.functions.json.json-patch", + "sl.functions.json.json-pretty", + "sl.functions.json.json-quote", + "sl.functions.json.json-remove", + "sl.functions.json.json-replace", + "sl.functions.json.json-set", + "sl.functions.json.json-tree", + "sl.functions.json.json-type", + "sl.functions.json.json-valid", + "sl.functions.json.jsonb", + "sl.functions.json.jsonb-array", + "sl.functions.json.jsonb-array-insert", + "sl.functions.json.jsonb-each", + "sl.functions.json.jsonb-extract", + "sl.functions.json.jsonb-group-array", + "sl.functions.json.jsonb-group-object", + "sl.functions.json.jsonb-insert", + "sl.functions.json.jsonb-object", + "sl.functions.json.jsonb-patch", + "sl.functions.json.jsonb-remove", + "sl.functions.json.jsonb-replace", + "sl.functions.json.jsonb-set", + "sl.functions.json.jsonb-tree", + "sl.functions.math.acos", + "sl.functions.math.acosh", + "sl.functions.math.asin", + "sl.functions.math.asinh", + "sl.functions.math.atan", + "sl.functions.math.atan2", + "sl.functions.math.atanh", + "sl.functions.math.ceil", + "sl.functions.math.ceiling", + "sl.functions.math.cos", + "sl.functions.math.cosh", + "sl.functions.math.degrees", + "sl.functions.math.exp", + "sl.functions.math.floor", + "sl.functions.math.ln", + "sl.functions.math.log", + "sl.functions.math.log10", + "sl.functions.math.log2", + "sl.functions.math.mod", + "sl.functions.math.pi", + "sl.functions.math.pow", + "sl.functions.math.power", + "sl.functions.math.radians", + "sl.functions.math.sin", + "sl.functions.math.sinh", + "sl.functions.math.sqrt", + "sl.functions.math.tan", + "sl.functions.math.tanh", + "sl.functions.math.trunc", + "sl.functions.scalar.abs", + "sl.functions.scalar.changes", + "sl.functions.scalar.char", + "sl.functions.scalar.coalesce", + "sl.functions.scalar.concat", + "sl.functions.scalar.concat-ws", + "sl.functions.scalar.format", + "sl.functions.scalar.glob", + "sl.functions.scalar.hex", + "sl.functions.scalar.if", + "sl.functions.scalar.ifnull", + "sl.functions.scalar.iif", + "sl.functions.scalar.instr", + "sl.functions.scalar.last-insert-rowid", + "sl.functions.scalar.length", + "sl.functions.scalar.like", + "sl.functions.scalar.likelihood", + "sl.functions.scalar.likely", + "sl.functions.scalar.load-extension", + "sl.functions.scalar.lower", + "sl.functions.scalar.ltrim", + "sl.functions.scalar.max", + "sl.functions.scalar.min", + "sl.functions.scalar.nullif", + "sl.functions.scalar.octet-length", + "sl.functions.scalar.printf", + "sl.functions.scalar.quote", + "sl.functions.scalar.random", + "sl.functions.scalar.randomblob", + "sl.functions.scalar.replace", + "sl.functions.scalar.round", + "sl.functions.scalar.rtrim", + "sl.functions.scalar.sign", + "sl.functions.scalar.soundex", + "sl.functions.scalar.sqlite-compileoption-get", + "sl.functions.scalar.sqlite-compileoption-used", + "sl.functions.scalar.sqlite-offset", + "sl.functions.scalar.sqlite-source-id", + "sl.functions.scalar.sqlite-version", + "sl.functions.scalar.substr", + "sl.functions.scalar.substring", + "sl.functions.scalar.total-changes", + "sl.functions.scalar.trim", + "sl.functions.scalar.typeof", + "sl.functions.scalar.unhex", + "sl.functions.scalar.unicode", + "sl.functions.scalar.unistr", + "sl.functions.scalar.unistr-quote", + "sl.functions.scalar.unlikely", + "sl.functions.scalar.upper", + "sl.functions.scalar.zeroblob", + "sl.functions.window.cume-dist", + "sl.functions.window.dense-rank", + "sl.functions.window.first-value", + "sl.functions.window.lag", + "sl.functions.window.last-value", + "sl.functions.window.lead", + "sl.functions.window.nth-value", + "sl.functions.window.ntile", + "sl.functions.window.percent-rank", + "sl.functions.window.rank", + "sl.functions.window.row-number", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sl.functions.aggregate.avg" = "909cf7afbcaca7d2e267b3a89bcdfdece5cfecf5826775038bbe2b7a616382e1" +"sl.functions.aggregate.count" = "57fb36c65f53cb03e153431754124e507947a9925ec705e6bbd7f9204fe93e06" +"sl.functions.aggregate.group-concat" = "088486ed9d549a5a2d4593c50d47909dfbb70cb9bd8154f124b21760d366ac62" +"sl.functions.aggregate.max" = "f30494c6930d40fceb9cdc4bea4410069869170823dc6135c5e7ef2f95ae1b1f" +"sl.functions.aggregate.median" = "ea0ec9f9aff6eb280ae3cc145d42c9087a72044f2fa515d3fed74fdacc57bcc9" +"sl.functions.aggregate.min" = "2341516fb13d342dd78791573b980db6fea693bbb0f73db45cba1db52702e931" +"sl.functions.aggregate.percentile" = "e47a215925636ee5233114d9ed6a4792deadeee7e64445f189cad4fe30a3c915" +"sl.functions.aggregate.percentile-cont" = "7b4fa079178301ab6225f4e795ad69a84b1e6ff8b9dfb79de0f18f2d2f2a76dc" +"sl.functions.aggregate.percentile-disc" = "8db99ee062b21a716bddc4143af184f99dced55ad56c8c205c0b76ecb7468b7a" +"sl.functions.aggregate.string-agg" = "52ca39e476228b9e88cadc789da92f1995473e0b0251b197ae5f2ab3f7af0a20" +"sl.functions.aggregate.sum" = "906a7133c64a7108f606150d63054283689b38b20cd7f77c22dc975ee57f52b8" +"sl.functions.aggregate.total" = "2f573e4d9fe21a6103c8c1ebe21fb6d13b885b8568986044fc7dea58a00d820a" +"sl.functions.datetime.date" = "4dad2bc2b646106a9dbd896bb0b4ad8b541e18846a78e004dcee67be5faeb2a7" +"sl.functions.datetime.datetime" = "d287365bcbd3019773b7299b823dafd14a9ac5a00fe7b379a9deff59e92f1716" +"sl.functions.datetime.julianday" = "89889ea68ad01da165a90f14d7685dcf0881773bcd21dfce286f82018fe3ce80" +"sl.functions.datetime.modifiers" = "c8544e802263071a68712674ed058888ab584ddec0f74a6682a4d969ef4ffb87" +"sl.functions.datetime.strftime" = "127b0a9e99e130ab8b0bd6f93da8c8e1acc59059542275718eb96de2720cbea9" +"sl.functions.datetime.time" = "9fc2db87cef7ea5317d34e7011a02a0ec6e91997f2290eee34861651dc63befe" +"sl.functions.datetime.timediff" = "ef1f152e3e1fbcb17348ff82725ad62862177c8d81eab33ef718ccbf219cba1a" +"sl.functions.datetime.unixepoch" = "549a370e5e9e4321988314105de60ed9580bf9d1e45bd12a243e262dd4781060" +"sl.functions.json.json" = "1d1874ec78786d6ea491135ee0019a5636f863cbbba48967d0a3e8c0c5961834" +"sl.functions.json.json-array" = "73a7ff6fc1ededd671a5e6d76bf0527eecc18342c2e49b0369733d44fa34d823" +"sl.functions.json.json-array-insert" = "cec2eef758aac95cf153a47f3764084bdad55fed4fe7718e67fd434ea8a31141" +"sl.functions.json.json-array-length" = "c735ee0d8cc1a24d3dddef909cabdb358b7789210519f9eae09f97a2427eed56" +"sl.functions.json.json-each" = "a6b262bac673295f83954e1504e3132981d4dce05178c309f5aeb4133d86e1ee" +"sl.functions.json.json-error-position" = "297f59768da8c749bbc345fa46a2559b698a6c17093dbb3902730a98615b6f8a" +"sl.functions.json.json-extract" = "e1525de13b83c204312e9b762e8106b726e3d63de21b03f4830b505776ac9ae1" +"sl.functions.json.json-group-array" = "d832272907e7743da343c94213eb4c5a6030a418b47e69250c18c58ef2eb4a2c" +"sl.functions.json.json-group-object" = "1acef3bbf23c62fac6ebe9f94715f8878162ce7b3f5ed1a37e6a2fe6370bb795" +"sl.functions.json.json-insert" = "30b37f79fbd075faac85684daf3c90c4b933a81a1039a0310f7928c8a419a784" +"sl.functions.json.json-object" = "506b1270c7a2f4ec0e1fa75e3b3b1b52403c3eb7c40aa8ec5efdcfff9e53e8f2" +"sl.functions.json.json-patch" = "b231d10f3600dc3eec94ea52a15f46094cf81c1046df104ab7e73cf68c947b1b" +"sl.functions.json.json-pretty" = "3827d181989784498eb393b88a615b2f5d6f7b79a6228df6fc36946154babbea" +"sl.functions.json.json-quote" = "d837fbae0775920e4c9547f704e56c0847ac4a2ee40b1c22c51ec9a0e7289ad6" +"sl.functions.json.json-remove" = "f6731537a13fdce72008ceb8e4eaa2117f3ae2325bb70f2658bb464e33b86734" +"sl.functions.json.json-replace" = "f93df31d7f1f786b70c35224cbdeed33298af102d6ff469af61c52f0862d7598" +"sl.functions.json.json-set" = "042ecaacebb3c1befdd8d748787a3ec29c94a728ca4c103be586640296119e02" +"sl.functions.json.json-tree" = "099170694ce19e72adf5fd80a56f5290da9e859d4f0a9199b278811801aa4c06" +"sl.functions.json.json-type" = "2aac350d68f6a2755108e7d33fa65cd1c6d8711587582d8561b3fa6f0233b228" +"sl.functions.json.json-valid" = "91f0853388139ade210cdcef6cd7f35d9489ece71573e593c162295c76fe2b24" +"sl.functions.json.jsonb" = "aeaf790ccdeea78d80154af6233d88b89f2ebe38292b9ba8a9ad5ab82528b66e" +"sl.functions.json.jsonb-array" = "6157145c2d3718971223760374f6ac4b4be0a34799941551188e93dc80e2c097" +"sl.functions.json.jsonb-array-insert" = "7a4829ece81e0289cba3ab5db13d84f757d6d87dadf9a229e5433b3de32323c0" +"sl.functions.json.jsonb-each" = "5cba493fa8270142316a61004cb92ad6004b1b652dba05ff300cf561b577e142" +"sl.functions.json.jsonb-extract" = "c4ef196d8b09fa442c5507bfc144d169400624dde68ddb13c5e44f295cfd918e" +"sl.functions.json.jsonb-group-array" = "1f8f45d858273a803495aa259dcb9a304da1ba610c80e4bb0d9392cb3b8823c4" +"sl.functions.json.jsonb-group-object" = "a6a6934d69b88fe4435ebf5b3b394f7a11e4a02a9477eed017534978ee295efa" +"sl.functions.json.jsonb-insert" = "4d4575a8eb231516fba066bc982f9e45b78491c9a528237c0817ad947cf3b9a5" +"sl.functions.json.jsonb-object" = "f86407ae5b710df00ceec6c9a49d585627f8c1a581dfe0e885cec5481e53ecce" +"sl.functions.json.jsonb-patch" = "0282b944104456a67453bf539eb4cca15dcf3786b0635f2316991b12c2fe8f83" +"sl.functions.json.jsonb-remove" = "2b22ca0ef59412a27707e6e20322262d4b034a6efdbe74ff9c897c01e5c7dbd7" +"sl.functions.json.jsonb-replace" = "c376d69a77f4a424fbeb47b1a5758e7e7b1a4111449123952a5958bf7331a0af" +"sl.functions.json.jsonb-set" = "7c9d54bf2a93c811fcf7973d03452d663136c89cd26ea7e75f5ce931ae4f1e51" +"sl.functions.json.jsonb-tree" = "1831668d1941d75809b8844e1b9ad89a8f523bd9ccfbeb8f22c2e3430f86baa6" +"sl.functions.math.acos" = "ef1c07deb19b01934b286ae4eaa0094aa1bc94053d9e387e55f7d5bd42ee3b73" +"sl.functions.math.acosh" = "50f43a52ea7c7f3f2f9dbb3ba03355a6b201d2472628d380cfd7ee6dbe0ba247" +"sl.functions.math.asin" = "605943d94f4df5fe575207fc8882084318d150557b3f29c7e825bb4e68b37ded" +"sl.functions.math.asinh" = "5466b704a63602a03db92d5c9279724466cea4d4b99a1437d2db0b3777176774" +"sl.functions.math.atan" = "72f1b63e1ef54172c5f1c9fac85a0a798a23ac2c06a374e531d720e58d0bd85a" +"sl.functions.math.atan2" = "1728d8139f0ddda8941865236c6f38cd00de651824e2f0442dce55980e284a50" +"sl.functions.math.atanh" = "4fbce333d72e28708073b7adbc7325b32732ff34ec5afdd338e50c8c88daa123" +"sl.functions.math.ceil" = "b3a3b536751f29d9b6d2b547df7f9a2e0e349d405aebcf626750fba29ce98697" +"sl.functions.math.ceiling" = "f91f5b7e08f4eb377803394cc09263274621d68ec4b6dea6188e5b2073c727cd" +"sl.functions.math.cos" = "e15d1ca375986c6c49fb562734526f31de6b4f0dec5fcaf2f0ff048b112f52ec" +"sl.functions.math.cosh" = "5419bfbf77e233c087939ad56102778fe59b5450ceef4484d8c64e043a8fafde" +"sl.functions.math.degrees" = "f12c5abc4ba6ac74af968d2a01a01921aa353c6e2293df5fdc9b84f7585a9d1f" +"sl.functions.math.exp" = "1c27f988d110d743b3f4d2bb383dbe091b393cd4062d192f19718b880a61597d" +"sl.functions.math.floor" = "f758761f1f2c62a0b5388d901c17720daf86d63648ce613f70782f118918a10c" +"sl.functions.math.ln" = "444ae90b7dd45a00fafb5453182d19f2a7d1733c3e7967afbb0e6c745ca9d1ac" +"sl.functions.math.log" = "b9c49f3286c2f0640471ee0b965890f2c3c0877912f8be6f2639666b04575aec" +"sl.functions.math.log10" = "bab165dc92c332a335e890a0a140774987042161be1040f6f26f903640b6ef2b" +"sl.functions.math.log2" = "63719c2945e2fbe5ac3c8fb8b35219f8935c0cda13f501448479d99378425089" +"sl.functions.math.mod" = "96c744cc5f0b8133d5972b717c29c9a79201abebf51e01a0a91588406236c060" +"sl.functions.math.pi" = "6bd3567e800b49ca4a3f12c1fd062c57539ce0bc7d9060c646978662751eff54" +"sl.functions.math.pow" = "fbe61ff4599903cea8abd662a4ac513de5089a330184cf55f22cbc6022d5b80d" +"sl.functions.math.power" = "81167e7dcd7cb80e6283d690b015df133b99fe4cb23c8fd47381c752e37d6cfa" +"sl.functions.math.radians" = "6f8ccd8f7bc2b0dab78e0ced844f00d5588051e2b27214beac0f82e12a937994" +"sl.functions.math.sin" = "a69d6aabc9dd1be4e6ab576316a133a6c1fc6fb7599da913bc41366a8c3565a6" +"sl.functions.math.sinh" = "19c36ef1e90e5a55d70fb06445e8798874f4754a1d44d83cdf5bce67c990ae52" +"sl.functions.math.sqrt" = "33d9f347e263e49e6aaf8c8ae14c353573335502b4c20bd2fccdb78716f4be81" +"sl.functions.math.tan" = "44828d6428df1237689b31506e4136a104fa3933d6afc0dd6f7ddb4ac0347b71" +"sl.functions.math.tanh" = "d963b1ddad0ab1124bfe358d8fffc46cf0535da9eff48382c73459048fa7c988" +"sl.functions.math.trunc" = "82c7a4166c6e72448582f68de5791f6599e6114bfca878d0fadc9b91cfadb13e" +"sl.functions.scalar.abs" = "321d211197eebe8bf800f4f00236115c00f23cfc51f3325dd826d2c9f8075aa1" +"sl.functions.scalar.changes" = "e8f6dfb927c997ffcca55c2f566d3b95dcec5c2c2f8a5a306dcbab6efa98c4f2" +"sl.functions.scalar.char" = "02afcb2783f5ab67fb8b1b8e7328bf824a4d9092358da678e87d21d9a8a8211a" +"sl.functions.scalar.coalesce" = "daa6dfd7407754305b1da09618f62cb10f47a54c1bdcbb4b5a726b56b193501a" +"sl.functions.scalar.concat" = "c79931a106a9b388886e674562a7b89ad30441153fa8973efa5ec41eab05ec49" +"sl.functions.scalar.concat-ws" = "d4b37de5e1ca1b16b7216d6fdfd01b13a0ffee821b4acd3ffeb2767e7d0b6a1b" +"sl.functions.scalar.format" = "e01fa3e3379e553ce8a18cd6a953ff1d81746bfe2661bffdd9cedfa1a40e0afa" +"sl.functions.scalar.glob" = "9958194e8a2d6e7b176eab332506b840fe9cf6b06b9a53f7f14543925868f5ff" +"sl.functions.scalar.hex" = "edf2187b3282f6ad785d4c1d67170242629cd5b5a798a72709ad306be9651702" +"sl.functions.scalar.if" = "5651a9115a0a2e4626eee963057c17d8ba8d2167c9d089b899d0d9ff33e4d16a" +"sl.functions.scalar.ifnull" = "cc47ed0726cdaec315cfc63c6d718637883e0e4d264d47121605fc791296b4ed" +"sl.functions.scalar.iif" = "df51d628c5182310a7200ab88715a98fbc04afa4376690bd4ad71fc5f9069d6d" +"sl.functions.scalar.instr" = "0025ace19bcdf8a3aafe98861de803c636c86d1c7174378fb3b204b2db172acb" +"sl.functions.scalar.last-insert-rowid" = "f4815528a7109babaf09cfc2abb78287c5979c571274affd66434b9a6fd2de5c" +"sl.functions.scalar.length" = "d1a1ed1f74c97e835d56b7e99e09310a9b6f282f14686a0d08758ea962ceffad" +"sl.functions.scalar.like" = "c0886738b0de7d8f67e751e01becaa725e56980713e7d90ec9200001d8588878" +"sl.functions.scalar.likelihood" = "e48f03e9fe9f928f74408812c13c0ea8b662544ff83736c40f112d551ede46ee" +"sl.functions.scalar.likely" = "5e8142119873e610756d5b74b7469a89a46efa141d5f689e144515b267bc82ab" +"sl.functions.scalar.load-extension" = "c520ed6e6f61c878a04364fb8b9cd4219f981ca1f72a639d30d68289a4cc94f4" +"sl.functions.scalar.lower" = "338255979efd3e6653cf20d2da138bb6d62a115f8501bc0b209ccad3f3176369" +"sl.functions.scalar.ltrim" = "aeb3184664f4ecef78f0a732e798d9461d0f9f762b453b371792a7a9ee6aef8e" +"sl.functions.scalar.max" = "82f4303bf9a5136df5f51d932e4cf05a6391dfe3d1752407656a30a7aac72475" +"sl.functions.scalar.min" = "ba64a991356a66f6581f58d5d2e0f2437f64696875ec5244851528c85dfefb4d" +"sl.functions.scalar.nullif" = "ee8ed3109d31375be3908e31d8db474c581e21483650423166acdafb2d87c6bf" +"sl.functions.scalar.octet-length" = "4d1dde639c9fe167a394db1d8637b1380fc4a51ab46146e266396be0c6191805" +"sl.functions.scalar.printf" = "b5c3ecf121edb9dc239a58d231d90376d4440b2f14ff667118e303048ba23c04" +"sl.functions.scalar.quote" = "f34ecc88902c4521e5a70f79a07d1344af6ccf4a5637597b6fa1ef20fbb5ba9d" +"sl.functions.scalar.random" = "9c9d909de244e817440ab5a6f663e2f30d796aa80dcd6848f2e2727857e4aff3" +"sl.functions.scalar.randomblob" = "03221ea49224a5d8f1d9dc995b287067e6375046ed8f4248a14227975cd2287a" +"sl.functions.scalar.replace" = "a516c1b74b42bb6c8a8a9c52788e68df4493025cddf28d91482d78dd68f26e68" +"sl.functions.scalar.round" = "f6a9d88ad3a7b021008a2875f3426bcee53b2e0048611b2d5e77658c221cc143" +"sl.functions.scalar.rtrim" = "d82107df94a7453ddd2cc9a9b7144eae24de86d7b202b6e264c13e5973c5e41a" +"sl.functions.scalar.sign" = "328f155f031347992887ff5aad1ab8d8b50ac7368d7636824374cd7c751747c4" +"sl.functions.scalar.soundex" = "862a59be7bf9bfbaa747d241a5ac4c558d33cc138cd2eab5a89aa19b031a7a4c" +"sl.functions.scalar.sqlite-compileoption-get" = "ce78bd2866fea7a179983c11f012047c62b6ef4ca99e36df22ca18391ba20773" +"sl.functions.scalar.sqlite-compileoption-used" = "ed4320eb6ea2b3968ff32a192e58931933dab55677881beb7f50005e3d450588" +"sl.functions.scalar.sqlite-offset" = "8ba463b8e8d7e585fe86c6a2cb42ce766cefe334ad8ff51dc52a25446334031f" +"sl.functions.scalar.sqlite-source-id" = "305ec96594f7ed402154fde747ea3f989d43c5870c05ff88fb601e8ed4f3c6cc" +"sl.functions.scalar.sqlite-version" = "ed283f65ec88b23c41c64387859eb6c1835103ac8754f509521785c99fe3bcc8" +"sl.functions.scalar.substr" = "4cc09da75f6a443b44c437bf87c51c40c343853b0f72cf9e2f63c06ea1fd77fc" +"sl.functions.scalar.substring" = "b3dae80c077e31744282e6459120c312185e3e49ad2a371b1133d8b91d3f8a5e" +"sl.functions.scalar.total-changes" = "46781fd13e6e4018ca9a2e6fd5677990b2f5b0f475cd179a18478b3fd09ceb72" +"sl.functions.scalar.trim" = "e5d2ee021a9048b3d904fcf2d65a9043823ba38f7ea6ab19ce99a0e55e1135b7" +"sl.functions.scalar.typeof" = "d1b5110a7a705a6c4e812df2afe4746c4e71b8374da0f9dba1835bbe979ff51a" +"sl.functions.scalar.unhex" = "e9b0a24a816affb2aca24915ccf64a8a47a35a80c86587a6110b5ca475de6e7a" +"sl.functions.scalar.unicode" = "f5a51205acf30660219091e455e2c5221f31e8f6ddaaba9151aad355decbd0b7" +"sl.functions.scalar.unistr" = "725f6eb0ddd542ba1bef3e8e053bc22bcc05ddffc3540eb3f45252451a0e5df8" +"sl.functions.scalar.unistr-quote" = "806dce012f06368114e2a08f67a60aac3edc6fc75de08c7f230f85f2b6c49435" +"sl.functions.scalar.unlikely" = "1a0e585177b505f5c0f7ad6fbded199af582f7433806886d952ac91e6cdbe2be" +"sl.functions.scalar.upper" = "894750033fb5b388ca3d8fcc068812c08ec40a5b4ee45505dd719d03e43ffab9" +"sl.functions.scalar.zeroblob" = "43379397651fb30415d430a6921bb130b1f9070275b62bc2d1b07b11e80f146e" +"sl.functions.window.cume-dist" = "ce09cc62950cb7be961456b65ffaaa395f0f6792351a8d20fd27c8295a9d084e" +"sl.functions.window.dense-rank" = "ab7d6fa6f2872fbe027d9e0b3a2736e8dbf61ec9cca1884cbf06aad95a50c395" +"sl.functions.window.first-value" = "91795d25cc2290ca158aed61d06d176e451f8c129eecdf1ca8c72ab75558c2f4" +"sl.functions.window.lag" = "6700832d0b433ec81509397a2a161cd855e487a1a5c5464c955bc1203e48c38e" +"sl.functions.window.last-value" = "0f0a938e055562c17eec7c5afd28deba38e1a9d89b64a6a53452ba76af8c32b0" +"sl.functions.window.lead" = "48d2b52da716c56d53b0455231319cfd375c9e5452fb0aa62192861733983b4a" +"sl.functions.window.nth-value" = "b12d301fb257f0fde8dcbdd7fba106eab51e95892657df7233f6a41828d2c73b" +"sl.functions.window.ntile" = "52e006a9a9e89f9849eb88028aa5a5164634b3b8dfd812f72209e03049749654" +"sl.functions.window.percent-rank" = "ac4c499b1c42b4cb49429e8506976992fccc18141844beb211eb3d2b8e1a7074" +"sl.functions.window.rank" = "57dbf405119e0765da33272dc77b39d305f10f2c7f66a4bf83277a2482607beb" +"sl.functions.window.row-number" = "7b009e83a57987dbb2da8d87a5e8437ef787daf29599187431ae15e86da18add" + +[review.definitions] +"sl.functions.aggregate.avg" = "2ee13ebbf09df5c7f87af464918204dad34a5f86cef6ba0f345800b742131551" +"sl.functions.aggregate.count" = "a897bc50215182ec357cb6c0a82e7d4dc7ef23fc919009df7f5f7258dcf18c7d" +"sl.functions.aggregate.group-concat" = "cc6ff8c9ec1c567c53a691e8f9b25d35cdf82f1f24da6ed8d85039ba9649f61b" +"sl.functions.aggregate.max" = "2d53ad6f6602abcfbd948e6b091772f3fa6baaec033b63141eaf80fab2503a22" +"sl.functions.aggregate.median" = "f6cfc00af1d0ec7f920ff5c658dbe887dd09144db4e5bfaa52bdb1f0dcd6ce30" +"sl.functions.aggregate.min" = "2993299df15e63d90b43b4d7ac66a2b4026026334500fab3a70d096d86cc75e9" +"sl.functions.aggregate.percentile" = "7632e11abc0962eabd563d22686a8cb6dbc9c2896033e9a4ecd3390b386211cd" +"sl.functions.aggregate.percentile-cont" = "f8282016e38d909f9650a7826c0c5bbb7557145baab961f8580d14db8216d36e" +"sl.functions.aggregate.percentile-disc" = "670c0bfd3c0352c50b5069806eb1ce2cd153361c46c8df821d5937ca9d84abc7" +"sl.functions.aggregate.string-agg" = "e6a9bffbbbe011f5cb94d4178bb8921d65ad80c9247b94e680ecb250999a6563" +"sl.functions.aggregate.sum" = "ff15b61f4909940d1f146ccc0a60b19be0b8c3c8b9fdb04035407824b9b5819f" +"sl.functions.aggregate.total" = "fe0147934ba3c7be615c1fb958205f549c7f1a01789d4bd9c9bc61ba1ff7a613" +"sl.functions.datetime.date" = "06a6cdc09c7468ce7c17ebf31806c69dcea93677db50a7284c2fe3819eb65487" +"sl.functions.datetime.datetime" = "6e0dc7d4e48b0ce69e20fa8eaef85520283328995242ea47ff44bbba33629659" +"sl.functions.datetime.julianday" = "efeff629b67fcb20efd1fe322409449ff25b2194940eab07fe447bb0904f0c84" +"sl.functions.datetime.modifiers" = "c7453fc16e95b3d0e956d42dbf910f6e5ec2051a2376ec8e4e8004e6353f2a53" +"sl.functions.datetime.strftime" = "d49a2529e04367d1ca1ffaf4d42bc248f9845b3670c679e24233ad570cf18730" +"sl.functions.datetime.time" = "dc394fef6aa13cb28f7896c92c6f2c3b549a73ddd4bd8723a42683acb6c51277" +"sl.functions.datetime.timediff" = "5223e72110f7e814c9fcbadce6864f788bb2885f4e668f9f78b19028d0711a8c" +"sl.functions.datetime.unixepoch" = "cc8d31cc16101c8a12bf0c753bc0d00dc699fc99cb6749c2e093300affcf6f6b" +"sl.functions.json.json" = "12311c4e2ee3978b79b939e4c4da6e1018b9cd4e06d866e8ca76954ec20dc36a" +"sl.functions.json.json-array" = "95345ca3715f8055ef22b11c9c22d61d4cf6e8d3675f52e6d5c35065644ea939" +"sl.functions.json.json-array-insert" = "09565cb6bebe8ea62e8aedac9edbadd70df13ffe0944e82886e4751a1cd59ff9" +"sl.functions.json.json-array-length" = "7cb6284613c92bb7b80cdce9b4e43a970a556c2ece0ff4540bba579d8d533842" +"sl.functions.json.json-each" = "527fbc1595007a48a1036cea935fd707852817ad826847087bd124cd2e9680dd" +"sl.functions.json.json-error-position" = "d0f2c27f1ca5582590d5d990c58bf1a83e96fb2472ba1c7e59c174e962439859" +"sl.functions.json.json-extract" = "e0c2a4c5073a33ab18fbf22d2325648310718416586febdc4fc02b55b92c10d0" +"sl.functions.json.json-group-array" = "1a214b3cd1dd34692ca5264d0e89d6ad843f978176aee11764526bb558a5538b" +"sl.functions.json.json-group-object" = "456e84278d34edc9d4c4992a0fc85c9b42a4910b40bc5a161b05707c77b01e7c" +"sl.functions.json.json-insert" = "9eb0e2a6e19908eeed29fc475069f106ba8d4a520ac38e2939bd588f271fa2bf" +"sl.functions.json.json-object" = "849dfd29b83832332704bf947a330ede2ec541fd570cb54992a403edba379883" +"sl.functions.json.json-patch" = "9f5cedae5e51d72cfc2f3d79d60c9ae305b50052e50794f635735e5b88cb55eb" +"sl.functions.json.json-pretty" = "3a0a2104ee97ff1739aa2afed13a7200d187722027d6a9893b3d6e16d558e802" +"sl.functions.json.json-quote" = "2779703991959455a689ef6256600b1a58d1064285c7d6e8ed8df9296d5e10a9" +"sl.functions.json.json-remove" = "66063484c310bf12cab2636131a5b6d01fcb02f8e3abfa9753445fb886c5b9e2" +"sl.functions.json.json-replace" = "06e81d4a36217b341021f625d7261e863ccc9bf6f7e83918e7f4b9d01c85832a" +"sl.functions.json.json-set" = "1e249b60d9f8ab4f42a331352410362f54e8a5ba9fbb802b7b8114424371e23a" +"sl.functions.json.json-tree" = "cddf5688870ecd98c1b9512b6f48203586786f172284935ef5b3e40eebcf7e79" +"sl.functions.json.json-type" = "42bb9361370fc7edc67293bc198b05418682079c28ac5682055746e53c71734f" +"sl.functions.json.json-valid" = "912e826e2a46154b35cef24b59acd42aec68b736157cdd8674d78cad80fed54d" +"sl.functions.json.jsonb" = "7698ff1dc9efa18ae0bac4541f57e8490fc74bf1dbee68594e28c5bf71534602" +"sl.functions.json.jsonb-array" = "77a8e7a4905603847e6587ab0964ad259863a8b27ccc604834b36bba04e958da" +"sl.functions.json.jsonb-array-insert" = "baf30a73adeffb81a6e8f01a9e8521b5de15c22272abf7679f9eeb96fd64a0bc" +"sl.functions.json.jsonb-each" = "fa10ecd866e2f0d0185417a16ac69275b5f66bdb10f1fdfffa1ee07faa6ced2c" +"sl.functions.json.jsonb-extract" = "fb62bffab3c347392cb93fccfb5b6072a2556947d1133271a2615b87e40ccb1d" +"sl.functions.json.jsonb-group-array" = "7014d768fd2f3081b5f3a4d2125f7932e9a8338c0ab7524c948b16bb72a14882" +"sl.functions.json.jsonb-group-object" = "bd88f2f72a459153af6c54973242eabde748e206d820362031252da2bd83af7d" +"sl.functions.json.jsonb-insert" = "9d87ffe5a4024a40b52290827c053bc96b753d5206b6acf2ced1639046433d73" +"sl.functions.json.jsonb-object" = "9940777eff3f9fe5891f2af7e37bb20bc83d2fe19ce6d315c283744ddc817e72" +"sl.functions.json.jsonb-patch" = "77f48129f6f270b22635aeda92d51c1244758de65d2ce6ea8cc0d8ece1c641fb" +"sl.functions.json.jsonb-remove" = "8bf2caf251a51531351177e34841135ce548a4d41e789b69930318b8e84575b6" +"sl.functions.json.jsonb-replace" = "b8be3c9e7aa619da160477838680dfa43eabf99211b628b25f9789c0c25a985b" +"sl.functions.json.jsonb-set" = "90d77a2c3b613bac42f7bb1a6020c0a14666b4358c6d20496c04a109228952bc" +"sl.functions.json.jsonb-tree" = "b72e5f6e917b89ebb9651132bfd7435c649a59b53a684dde992c9c134a8e5b9b" +"sl.functions.math.acos" = "4586dc767c97481fe300cc4cb29d1344c163902599d41e65412af14764d4f870" +"sl.functions.math.acosh" = "0b845d568b254643c711b6ef8969a37922fe6e6f583c367281980bf452554951" +"sl.functions.math.asin" = "02d5367d91006f34aa766c896f0a94f9269cba62351a234e73bdca1fa333f5ef" +"sl.functions.math.asinh" = "6e8957294a10336ff84980cf59fa04feb1040ff549a5b70c78b06e469febe07b" +"sl.functions.math.atan" = "9c556e1a54cf3f220edc721e4fbd66f97d8f9dbbe8b3d0c5f1bec7e1bab7b96d" +"sl.functions.math.atan2" = "86d1f28437d665735d4c00135859a762f006e7a9a019ee9299e95770d9afcf00" +"sl.functions.math.atanh" = "e6c286e3b76f2438395d517d69eabf6c7a084ae38cde7f81a78b802a15cc0112" +"sl.functions.math.ceil" = "1f9b644e26793aefd9544aa084dd2de071f5fdcc877fff1e5cc229f0361b5d57" +"sl.functions.math.ceiling" = "81999000dd77059ae98f97655b8777fb26965b225787ed625f02d797717dc0d7" +"sl.functions.math.cos" = "e0a4f9934d094ec5bc9c668650e9a6797c1c456587b59dbc8e1551e0cc07bd19" +"sl.functions.math.cosh" = "d208593ab43745cb7b78f00def847182aad281be0f47427fb310b389a3e3f813" +"sl.functions.math.degrees" = "3204f08fceee80da124ca6624994bb843cb1b36342ba3f9c72821006c7a36b8d" +"sl.functions.math.exp" = "0c2175a6505b873b3600d8cbe0054ec5968e2491964998366fb0803c04a5d3aa" +"sl.functions.math.floor" = "6223e5de0f51713b17b01ebbc11ac62dc41a3663ae0dcdc0e083a21b72e1b0bd" +"sl.functions.math.ln" = "b04eba0f5109adeb8b793ab9b3290677cc384d2e9e8176e284b5f47cbd353612" +"sl.functions.math.log" = "172e32a6e7c60b9e86bdd51b73bdc3d1494eed2f49604312b0019ebe609604ba" +"sl.functions.math.log10" = "f808a0a0867d193809c2aa6d422f2861e986c4d4ea30071b53640710dbf35a29" +"sl.functions.math.log2" = "7630198be55ab5d390814ba060347da3d4a85d2747dca75e70a34190e513bfcb" +"sl.functions.math.mod" = "53d4a34f5d8a19de1582dd0ce4d4fe5b58df8a0f62a3d4628c87e642eae09ae0" +"sl.functions.math.pi" = "a7fd45f174d723450f72247db4d9bd3925d019023334ed0897cf86d57feb0430" +"sl.functions.math.pow" = "ac191b5883b2b4e295fe5dd6f5d1d92b202046ad01f3b44b7a7aa954596752b2" +"sl.functions.math.power" = "61088c23bd1f2566f4fdd1ed6f663b3f6cb9aba32222626dbbc22c6bbc8c0701" +"sl.functions.math.radians" = "1c0c9b3267e79f6e1e62a1c3fb283b611c5e6b86cb22f1d114aadbd2f35bd07b" +"sl.functions.math.sin" = "9325e1ae6755e1bdf9606e3f1f3fe86ebec072bd2ae48f8761f4a7a4c4a2a07d" +"sl.functions.math.sinh" = "2255e29876a6cd1dd27729f4d6befbc37d43ad8c1ce366557790fb956e37b5b7" +"sl.functions.math.sqrt" = "64e008629c0970389f3981c82b529c65f5ebad25a35174e68d91e4655a553af1" +"sl.functions.math.tan" = "2f5eb5026cec1f4a49385daf56b089e752813a5cbf0e2b4de4997493181069c0" +"sl.functions.math.tanh" = "1fe8a936c0669c66a19201673097b4d2c2bf4c1c127646f8e4aa367d8d40bd91" +"sl.functions.math.trunc" = "32c1c2d3471088036e8fb3101ccc49e6ead68dae898d061a70d3a14e6ebda517" +"sl.functions.scalar.abs" = "56b63bb3e500a21ca0e237e5227dea5f3eb202f696388edcb4dc3626888f6790" +"sl.functions.scalar.changes" = "294bfa4b607971ce70464e3526550d463ae229db12665e2acfd65b81a3d6f493" +"sl.functions.scalar.char" = "304118432c39d0cea2f72a3b5658f33e43539b56813ff3faebe62ab0e689bbcd" +"sl.functions.scalar.coalesce" = "ae903ff0bf9b5324dc39315975eeae5764d4af627bfe9b9733339609ab420e1c" +"sl.functions.scalar.concat" = "400d0fd778bd6d01d695661d05fc20b0ab449eaa7d4530cacb9752ea2d490c34" +"sl.functions.scalar.concat-ws" = "e9c51089a8b68041689bd65828510bfb8302efa71c1abfabe1e0ce1f45b71df4" +"sl.functions.scalar.format" = "07ddf5b9309380cc65b4f244f7b1ab905afe1a865b4f6edb54cb612e21b9e17a" +"sl.functions.scalar.glob" = "4b25d11e05715963c84ba6414d599b6c8967f8ac48e4e84d6fcf3d936a8c052b" +"sl.functions.scalar.hex" = "0ef595500e4000acf35137666f5a2e2051110d65c5bd5b1cded852ba792e8c18" +"sl.functions.scalar.if" = "98482393f638c1f3bae81fbd6231d70ddbb24ddf73d6a4eb86b9e74bdf374710" +"sl.functions.scalar.ifnull" = "3a38ea645b77aa1ede169e741973e0de743a7aa606b9965b47e5a622f539b894" +"sl.functions.scalar.iif" = "01667e5d8e29f2ee76852040792f4bd5c1e777830970cd78a5e1a01807982b2e" +"sl.functions.scalar.instr" = "78e2129ea6c7cf542ab641e6f6f72253dabe412e75ba9c20d8001b796883921d" +"sl.functions.scalar.last-insert-rowid" = "0efd75715313db8fb9afff1dc5e4d1d2dbf15a3ed7db1662ef0fee79c608bbb4" +"sl.functions.scalar.length" = "0d3ab3c905d9410fd886b9d0f70a14295cb73c136c473a4609d407983e78123e" +"sl.functions.scalar.like" = "6c9d0236ce332c2ffb29b12dc2e34f7fc63ab9783982ad96307323e31a87b2ef" +"sl.functions.scalar.likelihood" = "723005a3e3692d3b6ea7a81469309de663355e9b136225199aac3b3ccfdd3fb3" +"sl.functions.scalar.likely" = "256fae35531a0bc1629f7cbbbe20a8acb649d85133b9231833eb831c97e5d5f9" +"sl.functions.scalar.load-extension" = "d59ed290ba28e898e2dbaf3a08db4c0030ecbdb5ed963cf98bcd1da186a19755" +"sl.functions.scalar.lower" = "0d647c23560594215ccfc2c3fa995f7e5a5e474cac438587875ee06cf04769e5" +"sl.functions.scalar.ltrim" = "f4e5f8a943b2335b385e54576286cb014fd86939f79e754e165393d55ed7716a" +"sl.functions.scalar.max" = "e305caeb6eaf99a3db16c5e4a8322cdaa11864c00245a3a4c29d56b3c7a51f9f" +"sl.functions.scalar.min" = "a40cd5f3f0e11cf367de3a94ca9c873662c13be50bd8a89431069a86a5416091" +"sl.functions.scalar.nullif" = "1c1950972d98ed01cfca06b5ff0b393c3d692ab3a0034a33fb662ec0a0cc9790" +"sl.functions.scalar.octet-length" = "1e1d1751d1e1ea84fa41617a144ce0e63dcbaaaef5d7478c4523e768735602ff" +"sl.functions.scalar.printf" = "f65acaa09086bfee3e7a770ccec4c8cc031d2b176c15b8df4e266c7f0a95bdcf" +"sl.functions.scalar.quote" = "ff7e1f480c69d3e8d78e51de1832f0836acb970ff30e5a26bd1a0c4187731237" +"sl.functions.scalar.random" = "556be2acf095b4a0a14153109bb789269210bfb9cf8e45ff7b4b0f5603e0d4fe" +"sl.functions.scalar.randomblob" = "0a0d06d7a8ecf4a34cb74484dbb84f47a737c778a569ed4ea3af263040a42f38" +"sl.functions.scalar.replace" = "f2ed041984662c53744adb34385d2a8e1a43d79955a98d9115c8192e026363d8" +"sl.functions.scalar.round" = "ce121651e3a5cce762316acbbc717943c302a8f8b715166f70f134650b0d779b" +"sl.functions.scalar.rtrim" = "b5dae52db54f08567df91fdadc27c1ed9c4e03618b8e5d86f4bdccf13031892c" +"sl.functions.scalar.sign" = "07efca5b95f1161716a1256ba0e36a71a9c3dced2d11b23dd81f6050f7ee1830" +"sl.functions.scalar.soundex" = "98d03f66aef62915d19b36fce497e745c0334c7b0ffe573a7e356473c2847d06" +"sl.functions.scalar.sqlite-compileoption-get" = "27db21046c77faddb8b56c2d5f61015c9734b490d49170d22a7ce7ede2e756bb" +"sl.functions.scalar.sqlite-compileoption-used" = "208dbfe16686d9d6eee0858cecf88266e77eb7b787715a05dd584f7686b23ff1" +"sl.functions.scalar.sqlite-offset" = "9dcf8c20d3a7eeb3c1f2cb3b97523175c09a1f0b0a9e4ce518d59319fff5f951" +"sl.functions.scalar.sqlite-source-id" = "e60d5793c13071e42d9f82134fa826bd85c9df32adc75a838970a8ae50f8d8f6" +"sl.functions.scalar.sqlite-version" = "cd49c0f69216742865eddb08ec8a7912d5892d123d6b02157a8bcac7c519cde6" +"sl.functions.scalar.substr" = "1cb80c9b676f0237bf8daefd004a213e2332dcdf0091a6125ae4e5314a6895b3" +"sl.functions.scalar.substring" = "11e986d679d6c7c936d1c01b7958fb48982f3a10053b312e90dce84820102442" +"sl.functions.scalar.total-changes" = "0a7ce27aeee79e8f6e4c447999aa4a40da50c9c0339852cac60ddab7722ce6b5" +"sl.functions.scalar.trim" = "e6dc38801e4fb883628e5efcb8486efe897c047c9153453e60d23322b76de92e" +"sl.functions.scalar.typeof" = "bb811c600090e283473a0c263a3639a2e6cae630dce4456a2b37fdf9935fcf25" +"sl.functions.scalar.unhex" = "607678682839e09dd6e306e1c07a9006fc2d9bc7984356dd14a21931f3add60f" +"sl.functions.scalar.unicode" = "5d0284316083ec5c995a30b95de7196a1cbccd33b3b37db864f803bd545640ed" +"sl.functions.scalar.unistr" = "b3a126e7482d9e931c34bb8b7525f53ce010350cfada82b9cef2b75825af80d5" +"sl.functions.scalar.unistr-quote" = "fcf0effb86c27e23b3415c0d999a5e2aaa4aab67b7d0f25618b60d2388f2b581" +"sl.functions.scalar.unlikely" = "0b77b5556ad2fd5dd5d9b81e4fbc4dc4ba210297f823d7ce335d577e20b1ec41" +"sl.functions.scalar.upper" = "bac47d27b9b486c4688b2d58eaa58ae023d9022518f1504d162b25a6ba29a2c2" +"sl.functions.scalar.zeroblob" = "4c662896b7e06d1b1df087d73711c14dacbdcaec65b84f2ef817f0e56ef7296e" +"sl.functions.window.cume-dist" = "bd5a6c412c0ce092c75702fcf8d3fabc49a8af86e8ab3e0494018c62db564f8b" +"sl.functions.window.dense-rank" = "6f4857f4d88f52b2a22c29b9345cfc22a270ba7f447ca7e755dc4427e333cbdd" +"sl.functions.window.first-value" = "0a7930842b14de4e86e8498f1366390c840a2275b348de620028454df030b9f3" +"sl.functions.window.lag" = "a36094c19a002d95f721072325a5a89cce41b9a4c595eb27dea310c4e992eb87" +"sl.functions.window.last-value" = "cc8d1a932ef1ab79fdc508f5dd24cc7eaf02ed53534243b5cd4641645e0ac459" +"sl.functions.window.lead" = "93878af7f60945c46611b69430cced8c34228d7c7f17bb96993c75f7c2910f7f" +"sl.functions.window.nth-value" = "8e0142580b9356dbc8b6d039db3db6ee392aa5e87a5bbc2cbc948820ff2c5ca2" +"sl.functions.window.ntile" = "50755c41befc502c5702186eed7d19effbb3d145c228003117677176be7acb6d" +"sl.functions.window.percent-rank" = "bfaff27747aa9c20b24baff5eddf7c8a6f801a1c7e742c3b5b321803535be916" +"sl.functions.window.rank" = "323a4dd406ddfe851549191cf164dd1df6b4f5842b0289e2f571abe2ae9ef7c5" +"sl.functions.window.row-number" = "7a13a8805ef9c5828b91f7a4474a6da69dc819c7133de64b9944d8711ebb6a85" diff --git a/coverage/syntax-sqlite/reviews/query.toml b/coverage/syntax-sqlite/reviews/query.toml index 23ad51cf5..5a395e91a 100644 --- a/coverage/syntax-sqlite/reviews/query.toml +++ b/coverage/syntax-sqlite/reviews/query.toml @@ -79,3 +79,20 @@ note = "Read against the pinned SQLite 3.54.1 documentation and parse.y, the obl "sl.query.table-or-subquery.subquery" = "3bc9811c67d96be503269ac24174c5d69a8626939b9660adbc582a603dd65c09" "sl.query.table-or-subquery.table-function" = "432e782c2956900b479f86a709bdf6b8f9150d9276a0332e3717074763e49e47" "sl.query.window-defn" = "58a995b62ccef8866b046bfb8be9acbab772d0dd507efed0502d3ce794962462" + +[[review]] +id = "sl-query-002" +family = "query" +parser_tree = "c3d9c006c4baa98888ebbb5e1987ebc4e034be3a" +reviewed_utc = "2026-11-16T10:00:48Z" +verdict = "approved" +forms = [ + "sl.query.table-or-subquery.table-function", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sl.query.table-or-subquery.table-function" = "52ea3432ae9ef9088177e899b6bdc0a6c374461d0188209077b5855cb137eaa0" + +[review.definitions] +"sl.query.table-or-subquery.table-function" = "432e782c2956900b479f86a709bdf6b8f9150d9276a0332e3717074763e49e47" diff --git a/coverage/syntax/reviews/classes.toml b/coverage/syntax/reviews/classes.toml index 260d3ad28..0bb8ab8be 100644 --- a/coverage/syntax/reviews/classes.toml +++ b/coverage/syntax/reviews/classes.toml @@ -1006,3 +1006,116 @@ note = "Approved at its last review with the same definition, obligations and ca "sf.classes.forecast.commands.create-forecast.forecast" = "895f57fd4f932a662f69597e3c000b1c7e356b7ddf6cc37b5a675760a47d5d8c" "sf.classes.forecast.commands.create-forecast.forecast-input-data-timestamp-colname-target-colname" = "2c611ab8a09c541f88ab121af99a8d9c01425a2a12cef0c4b9955d7445e2a921" "sf.classes.top-insights.commands.create-top-insights" = "15c7463b346ad5219f1dd443576a97382345089434e0725d97198843f5c7e184" + +[[review]] +id = "classes-016" +family = "classes" +parser_tree = "e3a3c11b087d88ce3023dbb4d1c4152f5b57e1ad" +reviewed_utc = "2026-11-16T09:56:03Z" +verdict = "approved" +forms = [ + "sf.classes.anomaly-detection.commands.create-anomaly-detection", + "sf.classes.anomaly-detection.methods.detect-anomalies", + "sf.classes.anomaly-detection.methods.show-evaluation-metrics.show-evaluation-metrics-input-data-timestamp-colname-target-colname", + "sf.classes.anomaly-insights.methods.adhoc-calculate-anomalies-from-config", + "sf.classes.anomaly-insights.methods.create-monitor", + "sf.classes.anomaly-insights.methods.update-monitor-config", + "sf.classes.budget.methods.add-custom-action", + "sf.classes.budget.methods.add-resource", + "sf.classes.budget.methods.add-resource-tag", + "sf.classes.budget.methods.add-shared-resource", + "sf.classes.budget.methods.add-tag", + "sf.classes.budget.methods.remove-resource", + "sf.classes.budget.methods.remove-resource-tag", + "sf.classes.budget.methods.remove-shared-resource", + "sf.classes.budget.methods.remove-tag", + "sf.classes.budget.methods.set-cycle-start-action", + "sf.classes.budget.methods.set-resource-tags", + "sf.classes.budget.methods.set-user-tags", + "sf.classes.classification-profile.commands.create-classification-profile", + "sf.classes.classification-profile.methods.describe", + "sf.classes.classification-profile.methods.set-custom-classifiers", + "sf.classes.classification-profile.methods.set-snowflake-semantic-categories", + "sf.classes.classification-profile.methods.set-tag-map", + "sf.classes.classification.commands.create-classification", + "sf.classes.classification.methods.predict", + "sf.classes.custom-classifier.methods.list", + "sf.classes.forecast.commands.create-forecast.forecast-input-data-timestamp-colname-target-colname", + "sf.classes.forecast.methods.forecast.forecasting-periods", + "sf.classes.forecast.methods.forecast.input-data-timestamp-colname", + "sf.classes.forecast.methods.forecast.series-value-forecasting-periods", + "sf.classes.forecast.methods.forecast.series-value-series-colname-input-data-timestamp-colname", + "sf.classes.forecast.methods.show-evaluation-metrics.show-evaluation-metrics-input-data-timestamp-colname-target-colname", + "sf.classes.top-insights.methods.get-drivers", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sf.classes.anomaly-detection.commands.create-anomaly-detection" = "daffae032e7e26e305bc921e4d3dac814998bb162e28a56c23af61065929cc7b" +"sf.classes.anomaly-detection.methods.detect-anomalies" = "1b63ac8a419c179243da80e1d489f67f6c7a042b7ce60475481bed2f6f6cac22" +"sf.classes.anomaly-detection.methods.show-evaluation-metrics.show-evaluation-metrics-input-data-timestamp-colname-target-colname" = "675c676dc9560ef3eecc4ed9948b0d29d48e8f6a903b2f2a583c76e65be6e447" +"sf.classes.anomaly-insights.methods.adhoc-calculate-anomalies-from-config" = "836a1dd76119fcc104f3a64dcf3b8b6eb23043b6a0d065da266512e8fdd66947" +"sf.classes.anomaly-insights.methods.create-monitor" = "21888a8e74a8beb3c8d048640d9e4dd8de80bfa7733181d61053db87ed154cec" +"sf.classes.anomaly-insights.methods.update-monitor-config" = "83ad6ef0e2ea5d09700806c4357647d39c93ae45c0c4b7e2a817bd4bcabf3264" +"sf.classes.budget.methods.add-custom-action" = "acda998ecf05f709c1bf17017e180d2328b5c5deb8f1f8e42e81ffb017b4330a" +"sf.classes.budget.methods.add-resource" = "4a7304495fdfeb1942fe2743607fe2d1c82e804823d2b9b15ff242c4cddf40ff" +"sf.classes.budget.methods.add-resource-tag" = "890a9d6e15e44e22e8cfc6ed4481cd98c28ca59dd567a0080544c1279b0d2530" +"sf.classes.budget.methods.add-shared-resource" = "dcd29848fb2d59dfa3c40051c147667be4b64909eef63a7b56aa309dd770b67d" +"sf.classes.budget.methods.add-tag" = "6eee013c8571a7ff950313c77f3fa12221d967de599404fabff1d52e702f91a9" +"sf.classes.budget.methods.remove-resource" = "a29c39a084cadd353e676dc064e639d8117d70d454232116d607b71330db865e" +"sf.classes.budget.methods.remove-resource-tag" = "ebaf849d07d1f8a76b6a4f95c9f4510392e3a1c25c50cac0cb6f260d610adedd" +"sf.classes.budget.methods.remove-shared-resource" = "c16992fbb2aa173c7dad1b56c6b54cd7b1de2f57ec7153e0f57bead88cbae21f" +"sf.classes.budget.methods.remove-tag" = "7acf3c03697ed24e4f25d724b0a910f76f77673e73225bf3026ab207980f5c54" +"sf.classes.budget.methods.set-cycle-start-action" = "eb65518cc008c6003f5c2c704c3945c9419fec3fe455cef547380eec7b5d5b0b" +"sf.classes.budget.methods.set-resource-tags" = "6e1bd37d7eba95088100dc32ea032b92901b7f9f1758a1dba4c41a2c636ce76a" +"sf.classes.budget.methods.set-user-tags" = "b9a9f97ebda64fce95b4d34e259008990f14b8833eae772941f898e8db377d6f" +"sf.classes.classification-profile.commands.create-classification-profile" = "f61fd06d06789cee4b8cac1000802ce7d79cd725382dff9d2d6ba42507774ab7" +"sf.classes.classification-profile.methods.describe" = "9a70bb3ece2732f2e11135a7c632b642545520bce69d74282e96ea26671474c6" +"sf.classes.classification-profile.methods.set-custom-classifiers" = "18befbe7f5f1153f2a687d4c127430e173acd889f7d8f24bd4f4d5cc7e2f2e98" +"sf.classes.classification-profile.methods.set-snowflake-semantic-categories" = "649ac94a699fcf18e16e9614f13056cb7d1be97620cc2827c7afc033f96d1f70" +"sf.classes.classification-profile.methods.set-tag-map" = "66cfc9fb52451c52aebde7f8f36bb11e0b70a8922cce4336a6e9d95c294ce15c" +"sf.classes.classification.commands.create-classification" = "72d477e73e26b57a2bde65087c5ec3b5579185f3a26df876874dd7fc1e9492be" +"sf.classes.classification.methods.predict" = "19c200f94fed65b2c56157fea095c59d46f9ea21e5f0d3a1edc6051459be8ead" +"sf.classes.custom-classifier.methods.list" = "dcc8f3fb935e8d9b697b85492fae4014a903ab93eeb34230681519b3b1f8e35b" +"sf.classes.forecast.commands.create-forecast.forecast-input-data-timestamp-colname-target-colname" = "00bd9e8a276c1af3c090ccb04597e2d4382b6d82c3c4f14bb6dc4d070bda874c" +"sf.classes.forecast.methods.forecast.forecasting-periods" = "be804b3a7bb27a2a368ba6edf50c5260e130b8e2a99cda4389dda7142fac8900" +"sf.classes.forecast.methods.forecast.input-data-timestamp-colname" = "47b5872ae2722afd2754b7096a64dde88b07b52cc2fa7576ea3f529112180ca8" +"sf.classes.forecast.methods.forecast.series-value-forecasting-periods" = "91b054a53cf1f0ebc2bbea73f0f553dfb792dff2a642dc199db0432dfd6257df" +"sf.classes.forecast.methods.forecast.series-value-series-colname-input-data-timestamp-colname" = "7feceb71ec5403c7746d92d54048eec01a47dc3f3726528532b940a792db7c4b" +"sf.classes.forecast.methods.show-evaluation-metrics.show-evaluation-metrics-input-data-timestamp-colname-target-colname" = "de874317809ccd40ea9bc085ddc61f938757f416b75fec10792e64640f64d7b5" +"sf.classes.top-insights.methods.get-drivers" = "fbcb06d9a95883031cc1e121eff73c25bbbab3d9402e8739c6dc429b086a63ec" + +[review.definitions] +"sf.classes.anomaly-detection.commands.create-anomaly-detection" = "dc9faf3b8931b87a38098067a0e3de623561a95c78309cca9c702ed89eba5fb2" +"sf.classes.anomaly-detection.methods.detect-anomalies" = "037e955e4bd739cf7a88ef8a38ba05aef6c971e3c21a42afecd86132a39f1210" +"sf.classes.anomaly-detection.methods.show-evaluation-metrics.show-evaluation-metrics-input-data-timestamp-colname-target-colname" = "cca4a638fda2397b1984481d785b16119d68e67a5801c904f392627729047ab2" +"sf.classes.anomaly-insights.methods.adhoc-calculate-anomalies-from-config" = "c7c95099c5d712ce1b9a8c9b273bbfd88609fb17593ac7daa03354db8306f087" +"sf.classes.anomaly-insights.methods.create-monitor" = "1ab427bb6d39e31d1089386d086f06bbddf670efe9a35454d7baaac48111684a" +"sf.classes.anomaly-insights.methods.update-monitor-config" = "4fef8511e7cf88ac1e755715052e8b70b6e5231cb68424e6f5a585123a29cb53" +"sf.classes.budget.methods.add-custom-action" = "e6b6ac14a0e5a57531ac16d391aa1bfae4fff441f55a996a2fb4c468fa9d513e" +"sf.classes.budget.methods.add-resource" = "7615355bc6a991378b46a9a7515e01c8a6c3f08cddefd20002e1248a128c2ba9" +"sf.classes.budget.methods.add-resource-tag" = "95a12765dc936e40d4d14827cfdecc94e28c4e02679af3e71769eeedfbe22508" +"sf.classes.budget.methods.add-shared-resource" = "da320c1e76d09298ae7428674aa8c9b36dd2b73a0132588d2008074f63391cf3" +"sf.classes.budget.methods.add-tag" = "a9342f1db3f53916b0510b5a0fd36c0670cdf230c55516292c0706be4cf5ec66" +"sf.classes.budget.methods.remove-resource" = "dbfa7ceb244fcdc3895e2e58365698941bc23bbf585c316fa8fe43be5025aade" +"sf.classes.budget.methods.remove-resource-tag" = "59849c81638feca78a77cfdf188bcf1a12462579dd29f3450cc4a875614b55cf" +"sf.classes.budget.methods.remove-shared-resource" = "328b45e2d94a2d161533aa664067968deeb298e8a41fdf453cc8d6dceb34325e" +"sf.classes.budget.methods.remove-tag" = "df9a53f88eb621aae4d7d5673a401ad494aa07468915b672c9aff44576761e3b" +"sf.classes.budget.methods.set-cycle-start-action" = "15b571ed664b617d430258522b0f00a3816e88c3b5872d586156edc08fc682cf" +"sf.classes.budget.methods.set-resource-tags" = "8883017fe60b48e102f306c8853c333e6d7c3ce9972b1e0c6077421027bde429" +"sf.classes.budget.methods.set-user-tags" = "cca5d585d21911ceb5c96149f88d35d11217a469f65f1ab13f520b04033ee70f" +"sf.classes.classification-profile.commands.create-classification-profile" = "82d4ff445940075ac95557c7bb5f09d9079a24472c041c100d281e8621b5396b" +"sf.classes.classification-profile.methods.describe" = "9d8adce5eed4e389ad88b2aa612ae20146eff23434ef822d2005e36bb7cf3b69" +"sf.classes.classification-profile.methods.set-custom-classifiers" = "723b73c5c167ad38919d93eff02c68d2052aba499607b229e914add3d86f34aa" +"sf.classes.classification-profile.methods.set-snowflake-semantic-categories" = "57846a25af4a39fb87bdb57bd4edc7b3d8b16acb4cc56cd27907f68b3091a6ba" +"sf.classes.classification-profile.methods.set-tag-map" = "152ab6fb0c4fc4ac98b9e1b7216ab37757eeae9d56ce929cb9970f0191621311" +"sf.classes.classification.commands.create-classification" = "02874422ef157b15a8e228eb27c142ee3374e0ed5c1c5f4280c7b11dbb019d5f" +"sf.classes.classification.methods.predict" = "615ea22befe486f9c6186c9cac3e8ce99ed8c243efe61f4de5c1b215a6aff53a" +"sf.classes.custom-classifier.methods.list" = "2184bf248f59c964251ce2c233cf4ab8f74bd8f03e0177c80f2e44f7e3d278c3" +"sf.classes.forecast.commands.create-forecast.forecast-input-data-timestamp-colname-target-colname" = "2c611ab8a09c541f88ab121af99a8d9c01425a2a12cef0c4b9955d7445e2a921" +"sf.classes.forecast.methods.forecast.forecasting-periods" = "d9f4f42436a2b2f8e49d2e4f0ca4a6fdcaabf8bd92328039e87c87a4099eff9a" +"sf.classes.forecast.methods.forecast.input-data-timestamp-colname" = "b2b9c6cb25a0ba1deb8fb48260af4b87e2fb0d74d8378ae1a9b257abac27ebe6" +"sf.classes.forecast.methods.forecast.series-value-forecasting-periods" = "bb22fe3686a9a45fc76ca477b601c05a2554ab155d6e8c7c7a726fc9655b84ab" +"sf.classes.forecast.methods.forecast.series-value-series-colname-input-data-timestamp-colname" = "211d0dc32b60645aea7eb806ede7504603f9b570c69c01eabc5bf8244e72bd13" +"sf.classes.forecast.methods.show-evaluation-metrics.show-evaluation-metrics-input-data-timestamp-colname-target-colname" = "381905ccdffdbc720ad6d6fb00fa500e87fb773211a16f17e86f41cdda541cd9" +"sf.classes.top-insights.methods.get-drivers" = "3192c79042729c3e8aac333204e584252b837d5ba75f1322a3169f61d59dcf44" diff --git a/coverage/syntax/reviews/ddl.toml b/coverage/syntax/reviews/ddl.toml index c87762395..611129514 100644 --- a/coverage/syntax/reviews/ddl.toml +++ b/coverage/syntax/reviews/ddl.toml @@ -4840,3 +4840,92 @@ note = "Read in full under review brief version 1 against the documentation page "sf.ddl.create-view.create-view-as" = "019962ccc90d8c0c5baa16d03536cd188672100aec3b63452914ebb8cd1acd6c" "sf.ddl.drop-function-dmf" = "6823c38d29d0171b8aae897fe404231386f4ad070984acb2a48ad250c13f9a1a" "sf.ddl.show-channels" = "6a93a9146cbd0bf20b851eb57ab86c31581bf9949de6526b01bcd66d0dd3a01b" + +[[review]] +id = "ddl-049" +family = "ddl" +parser_tree = "e3a3c11b087d88ce3023dbb4d1c4152f5b57e1ad" +reviewed_utc = "2026-11-16T09:56:03Z" +verdict = "approved" +forms = [ + "sf.ddl.alter-dynamic-table.searchoptimizationaction", + "sf.ddl.alter-iceberg-table-partition-evolution.add-partition-by", + "sf.ddl.alter-iceberg-table-partition-evolution.drop-partition-by", + "sf.ddl.alter-iceberg-table-partition-evolution.replace-partition-by-with", + "sf.ddl.alter-iceberg-table.searchoptimizationaction", + "sf.ddl.alter-table.searchoptimizationaction", + "sf.ddl.create-clone.database-schema-clone", + "sf.ddl.create-clone.dynamic-table-clone", + "sf.ddl.create-clone.event-table-clone", + "sf.ddl.create-clone.iceberg-table-clone", + "sf.ddl.create-clone.table-clone", + "sf.ddl.create-dynamic-table.create-dynamic-table-target-lag", + "sf.ddl.create-dynamic-table.create-or-alter-dynamic", + "sf.ddl.create-dynamic-table.define-dynamic-table", + "sf.ddl.create-event-table.table-clone", + "sf.ddl.create-iceberg-table-snowflake.table-clone", + "sf.ddl.create-postgres-instance.fork", + "sf.ddl.create-schema.create-schema", + "sf.ddl.create-stream.create-stream-on-external", + "sf.ddl.create-stream.create-stream-on-table", + "sf.ddl.create-stream.create-stream-on-view", + "sf.ddl.create-table.create-table-clone", + "sf.ddl.undrop-database", + "sf.ddl.undrop-snapshot", + "sf.ddl.undrop-table", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sf.ddl.alter-dynamic-table.searchoptimizationaction" = "f56d0adb4ef95a7718421d56ae0c22c6dd48d0585b04c93eb4350b0b54155a81" +"sf.ddl.alter-iceberg-table-partition-evolution.add-partition-by" = "660efb3020f29ab41b7e73fb4bf3151ff4132fae0fcac9a83a8abe8c2210a6a8" +"sf.ddl.alter-iceberg-table-partition-evolution.drop-partition-by" = "9e407c2d2223f4cabd34f51086dda949023a3af37d36a2abbeb02cd13afb3403" +"sf.ddl.alter-iceberg-table-partition-evolution.replace-partition-by-with" = "b455b7b6657450943f2c3e8ef3812775064183006cf2683fb45f1806966c14c2" +"sf.ddl.alter-iceberg-table.searchoptimizationaction" = "9de7b066195bf920fff91d30bca78ae34b27cce58dd2cbaf1693aa6c1bb3927c" +"sf.ddl.alter-table.searchoptimizationaction" = "f05c4fb8a8d70edc3019b402dbca736cbdf32d28ae4755e1399835164374e2cf" +"sf.ddl.create-clone.database-schema-clone" = "e9198041002919e104207fc424451b9af279c7ae3730d2c8626e2e53aaac1dbc" +"sf.ddl.create-clone.dynamic-table-clone" = "0e600b75e0b902f056f63feb6c4f6c5cbadc292dc25b6d96a494590144839c09" +"sf.ddl.create-clone.event-table-clone" = "be8c8fe92b0e1d07d74146e396124a972a8d23c6d0564034312ed313903c32fd" +"sf.ddl.create-clone.iceberg-table-clone" = "3d5c66f7a606cf8c4ee46b6a748acc6aa078df3bc93e43d9c9b9219b65882acb" +"sf.ddl.create-clone.table-clone" = "e7279259b0a494ebfcb403be11c65ddcb3e08fc4d4c406c5f16af64abb370e09" +"sf.ddl.create-dynamic-table.create-dynamic-table-target-lag" = "32308efdc2e369c5b78bfc0fc37f7b4e4fab94f899796ef0681f160b0357ac68" +"sf.ddl.create-dynamic-table.create-or-alter-dynamic" = "0c49d9bc474db223f807c26603877e78f5ef67ca0a5bd680e12b9994cf060879" +"sf.ddl.create-dynamic-table.define-dynamic-table" = "be4fab330d0c7eb07daa4588928d6490ac62e637321edbdf926216fbfb96acbc" +"sf.ddl.create-event-table.table-clone" = "db4bc2b3bd76dc05220584b9c608715fd48f74034591b4d5a02c37d8c07f10a0" +"sf.ddl.create-iceberg-table-snowflake.table-clone" = "d7968d350db1d3ce41a43a2d1ddf8929e9457245172065b52d72d37ee2fc3d97" +"sf.ddl.create-postgres-instance.fork" = "d309969d826a0cc281fde328ee5083527885ba819d837e37bcc5f2e26ad7cf43" +"sf.ddl.create-schema.create-schema" = "d0647625f496ab0975050b7dbd8af53028e62d8c8b054a6def3ef2c805181c48" +"sf.ddl.create-stream.create-stream-on-external" = "941a5859eefe3608eea6b88059ffa8ece6836d047b244bc94cda7234ca78be4d" +"sf.ddl.create-stream.create-stream-on-table" = "5426bb59d8955edb3fe39ac1071b6bbd7d0cb1c9623838e66c673b8955d42ec2" +"sf.ddl.create-stream.create-stream-on-view" = "efcf9333174ac1337232cb8ebedca66d8577bf662a2bc6d38bb5efcb76f7d9a4" +"sf.ddl.create-table.create-table-clone" = "2145bd07c39e6c5524d55afb5930b5a696cdfc9bc9a234e07a8117f67a69b9d8" +"sf.ddl.undrop-database" = "54155d2d66127011659199ec9ab45247b0d26f209f215f2d787a554c41e42e97" +"sf.ddl.undrop-snapshot" = "f6ee334d2857709e2280ed785ab8be5658ec77803a1ec8ceee1698a9db8fc5c1" +"sf.ddl.undrop-table" = "df67d507450fb27f10869e070487ba44ef93f6debd2d4dbba3e878a786b837c4" + +[review.definitions] +"sf.ddl.alter-dynamic-table.searchoptimizationaction" = "365f495b09c0b0dc6acdbf3c8da3e0f4c1a51da21064c86af61088420b24ea3e" +"sf.ddl.alter-iceberg-table-partition-evolution.add-partition-by" = "21315c2ae2ce9d0b562037d0175d5c58681ec32ec31089876537c5920279c9f2" +"sf.ddl.alter-iceberg-table-partition-evolution.drop-partition-by" = "ce0270a4f21bb9c160d633782ac6f6407857ad3ffcbcbd6704a701a1df0057d2" +"sf.ddl.alter-iceberg-table-partition-evolution.replace-partition-by-with" = "47022b853c2ed9b702d3327986e1005123a928c3db70268756f3a5c2366eb497" +"sf.ddl.alter-iceberg-table.searchoptimizationaction" = "9ea473800c28d5d92bdf2ca2150a17eb8db5f1deed163f5262ce1c68d8749a89" +"sf.ddl.alter-table.searchoptimizationaction" = "659ef6dee0347c232f186964b63d8bc5c88b9d02600fab7507ccc2ea662d5aa9" +"sf.ddl.create-clone.database-schema-clone" = "955c6274fe782ee3869fdc3dfdf49be8a5e442aaf4dee33ab703603ce3766a21" +"sf.ddl.create-clone.dynamic-table-clone" = "76eb2e086f33421f9ad9e772e88b3df73b1ade9af67c240f3430e7088b87670c" +"sf.ddl.create-clone.event-table-clone" = "151d666ef4c6c296b4eb8951ef2ff9e34b9a7b6aa7a3aa4b73ab2f88c5614733" +"sf.ddl.create-clone.iceberg-table-clone" = "be0217fdc12990e9767d5df1de86b7e720cc033f834f02490529edd108880168" +"sf.ddl.create-clone.table-clone" = "3f8431beca6374e77ed1d0f3a47024507398f6151d6948ec5634806e72162f6a" +"sf.ddl.create-dynamic-table.create-dynamic-table-target-lag" = "511a4a60a8bc60ae8ffcc37581e0500dfd1c4d1978341886b0933463bf88a0c1" +"sf.ddl.create-dynamic-table.create-or-alter-dynamic" = "affa889628d66751ca70cd4c2f1f077ba6ca99e1b8e02eaedf20d50d509cd39f" +"sf.ddl.create-dynamic-table.define-dynamic-table" = "b70959a6031ad8a75cc67b7fdfd78770058f777ac85995d2d3b74cad99a8a750" +"sf.ddl.create-event-table.table-clone" = "d4bfff75b268e97a21f7b437baa12be2497892a1865767d7d922bc03ab140b5c" +"sf.ddl.create-iceberg-table-snowflake.table-clone" = "2c2b6b1c957a83ed6800eeaf2ac0ca692e618604f665d087c20d21c9dd5a3133" +"sf.ddl.create-postgres-instance.fork" = "aad910eb5fb5717d836668b35ec50422824f0a84f5f447c311074f410f773e7e" +"sf.ddl.create-schema.create-schema" = "c50448719c582b3c69757e3a8fd0f5357107b1177b8a26e4908a4062f3e5b11e" +"sf.ddl.create-stream.create-stream-on-external" = "9117dc64d36deb17bb230560f0b29929f0dab58fcc068ab5ebc6e14a44af3ca5" +"sf.ddl.create-stream.create-stream-on-table" = "bf6c534efadaef32d337367d1514a0bb31a02b3b57426ef871816a628fcb502e" +"sf.ddl.create-stream.create-stream-on-view" = "8685809b0e39b3b28a91ac2205f87c65a3f2b4fd3569657f79371149945e4d17" +"sf.ddl.create-table.create-table-clone" = "fc141db0872a5504e4750af33aa4b51c07665287ed8fbf0aedac0ec66cd11a50" +"sf.ddl.undrop-database" = "fbdee3caf91c0741e6642e2bd82c5a9a31c93c233fb91a861747344665c2b54a" +"sf.ddl.undrop-snapshot" = "c8e249038f4e7dda5cc75ea06a21653c8853af2634817b9d865be47a33b7a764" +"sf.ddl.undrop-table" = "dea4f6fab8e872a491bcab29e0164bdda9ce7a55dfe4bbf7e584a3dc4469f256" diff --git a/coverage/syntax/reviews/expressions.toml b/coverage/syntax/reviews/expressions.toml index 424b72056..24b53ba40 100644 --- a/coverage/syntax/reviews/expressions.toml +++ b/coverage/syntax/reviews/expressions.toml @@ -636,3 +636,50 @@ note = "Read in full under review brief version 1 against the documentation page [review.definitions] "sf.expressions.data-types-datetime.interval" = "1744844543ad90c7d7fd770cd1c170e42660d7cdeb754aea79a4914e5f282860" + +[[review]] +id = "expressions-026" +family = "expressions" +parser_tree = "e3a3c11b087d88ce3023dbb4d1c4152f5b57e1ad" +reviewed_utc = "2026-11-16T09:56:03Z" +verdict = "approved" +forms = [ + "sf.expressions.commands-model-function.model-default-version", + "sf.expressions.commands-model-function.model-version-or-alias", + "sf.expressions.data-types-datetime.interval.interval-constants", + "sf.expressions.data-types-period.typed-literal", + "sf.expressions.data-types-semistructured.array-index-access", + "sf.expressions.data-types-semistructured.object-key-access", + "sf.expressions.functions-table", + "sf.expressions.identifier-literal", + "sf.expressions.literals-table", + "sf.expressions.operators-expansion", + "sf.expressions.snowflake-db-classes", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sf.expressions.commands-model-function.model-default-version" = "d88d4afabd8439789bfa61a8c9f12baa8f907b0d721112591efc9cac5d1c752a" +"sf.expressions.commands-model-function.model-version-or-alias" = "e9ec2b9ceeee036d2e5adb0f3d6db6299ebe7abc384ca1711e3946f3b59ab531" +"sf.expressions.data-types-datetime.interval.interval-constants" = "9235646bd918192ef229399782398b2e0040b7ba7bd76a4577a3494300922f7a" +"sf.expressions.data-types-period.typed-literal" = "d242ea93bf2457c082a8c256f3e1891742153f86f7e2b5d3312d2b2afdca829c" +"sf.expressions.data-types-semistructured.array-index-access" = "f29bcf25c438b0196e30513fa2133c7c20a890789108bfeccf04501db68eccda" +"sf.expressions.data-types-semistructured.object-key-access" = "49159fea195764ab6307d6782092bc0d81b540e355d1cf82af6ffc532ee70056" +"sf.expressions.functions-table" = "77f54966d78ab431040da2c94da331adde80c707270f576040b58f442da5d3ee" +"sf.expressions.identifier-literal" = "9bdce4e2412e401018e2a0fda87df482d221e6ac031bf17ed8d1a106544c7fec" +"sf.expressions.literals-table" = "5f24510847888535014b8aaac8d0c83b56554df7e5a96a878e05e1fb451d61dd" +"sf.expressions.operators-expansion" = "a7f0081944e335d50cd0be66d9eb549d9d1244ef9a019ed52f7de7251408b075" +"sf.expressions.snowflake-db-classes" = "1eea5dad7d9dd098149f29e0dd555f0fde91ab1954f8d9e9efbcf3934f225fab" + +[review.definitions] +"sf.expressions.commands-model-function.model-default-version" = "34ce3c94b354e54982cfe7b0cc3c87f56ea0dbf350e3b696dbb990cf27c678fc" +"sf.expressions.commands-model-function.model-version-or-alias" = "d41d821a949118ef6f38898c63fed9023f562190c8e2c2485bb8c0024144ba5a" +"sf.expressions.data-types-datetime.interval.interval-constants" = "8672ce1c682bf7074cc2469bf00b8a73dc5ce3906846fb73eefab62bcae2084f" +"sf.expressions.data-types-period.typed-literal" = "0ad7e7d59cc30e23f6306eb38c758492d0d7c8abe8050e59f4e9bf0473f7e545" +"sf.expressions.data-types-semistructured.array-index-access" = "0f3e8e9aaf2d323a168e481db66ece69982e5f3bd1242ab1713cd9cd4747ec39" +"sf.expressions.data-types-semistructured.object-key-access" = "ccebffdf78f0c4a5bcb248d0879c58b9fb7642ed04ddeca7746edecef102e821" +"sf.expressions.functions-table" = "112cff4b03112a75cf7b1f5a9694e7236b572040d8a3321e4c3b889ad28ab301" +"sf.expressions.identifier-literal" = "6a6e2aa9d390636159e63ade723676774c8aa4776bf415e1a16fdff49e946740" +"sf.expressions.literals-table" = "560abcfbf37f485469f1ccb69d117e21878d707bd1399369731e585e704947c7" +"sf.expressions.operators-expansion" = "8e78f3c943a9bd4515338bd9fd27deac664c3b405f419b9b6e2141f73917afda" +"sf.expressions.snowflake-db-classes" = "87670a3f8ff61add6c82545fb632cefce7a9358d620b1f2452e4d5ac13ef2268" diff --git a/coverage/syntax/reviews/functions.toml b/coverage/syntax/reviews/functions.toml index c92cb7b7c..52ea05a8f 100644 --- a/coverage/syntax/reviews/functions.toml +++ b/coverage/syntax/reviews/functions.toml @@ -6576,3 +6576,3473 @@ note = "Read in full under review brief version 1 against the documentation page "sf.functions.dmf-referential-integrity-count.table.syntax" = "4fed7098a689cc3d92b2afbe287eefdae7ea388ec2e86005b6a07f0d448b6341" "sf.functions.dmf-row-count-difference" = "6633e608b8a64fa01efefe1b7f05518779304ec781c22423f740b5e9042a3f90" "sf.functions.dmf-source-target-lag.alter-table-add-data" = "820f46969fb8b72bdd6bb35fa792ed4e6a2e81073393417a907c7263befce7e0" + +[[review]] +id = "functions-036" +family = "functions" +parser_tree = "e3a3c11b087d88ce3023dbb4d1c4152f5b57e1ad" +reviewed_utc = "2026-11-16T09:56:03Z" +verdict = "approved" +forms = [ + "sf.functions.abs", + "sf.functions.acos", + "sf.functions.acosh", + "sf.functions.add-months", + "sf.functions.agg", + "sf.functions.ai-agg", + "sf.functions.ai-classify", + "sf.functions.ai-complete-prompt-object", + "sf.functions.ai-complete-single-file", + "sf.functions.ai-complete-single-string", + "sf.functions.ai-count-tokens", + "sf.functions.ai-embed", + "sf.functions.ai-extract-document-ai", + "sf.functions.ai-extract.ai-extract", + "sf.functions.ai-extract.ai-extract-file-responseformat", + "sf.functions.ai-extract.ai-extract-text-responseformat", + "sf.functions.ai-filter", + "sf.functions.ai-generate-table-desc", + "sf.functions.ai-multi-embed", + "sf.functions.ai-parse-document", + "sf.functions.ai-redact", + "sf.functions.ai-sentiment", + "sf.functions.ai-similarity", + "sf.functions.ai-summarize-agg", + "sf.functions.ai-summarize.ai-summarize", + "sf.functions.ai-summarize.ai-summarize-to-file", + "sf.functions.ai-transcribe", + "sf.functions.ai-translate", + "sf.functions.alert-history", + "sf.functions.all-user-names", + "sf.functions.any-value.any-value", + "sf.functions.any-value.any-value-over", + "sf.functions.application-callback-history", + "sf.functions.application-configuration-value-history", + "sf.functions.application-specification-status-history", + "sf.functions.approx-count-distinct.approx-count-distinct", + "sf.functions.approx-count-distinct.approx-count-distinct-over", + "sf.functions.approx-count-distinct.approx-count-distinct-over.syntax", + "sf.functions.approx-percentile-accumulate", + "sf.functions.approx-percentile-combine", + "sf.functions.approx-percentile-estimate", + "sf.functions.approx-percentile.approx-percentile", + "sf.functions.approx-percentile.approx-percentile-over", + "sf.functions.approx-top-k-accumulate", + "sf.functions.approx-top-k-combine", + "sf.functions.approx-top-k-estimate", + "sf.functions.approx-top-k.approx-top-k", + "sf.functions.approx-top-k.approx-top-k-over", + "sf.functions.approximate-jaccard-index.approximate-jaccard-index", + "sf.functions.approximate-similarity.approximate-similarity", + "sf.functions.array-agg.array-agg", + "sf.functions.array-agg.array-agg-over", + "sf.functions.array-append", + "sf.functions.array-cat", + "sf.functions.array-compact", + "sf.functions.array-construct", + "sf.functions.array-construct-compact", + "sf.functions.array-construct-structured", + "sf.functions.array-contains", + "sf.functions.array-distinct", + "sf.functions.array-except", + "sf.functions.array-flatten", + "sf.functions.array-generate-range", + "sf.functions.array-insert", + "sf.functions.array-intersection", + "sf.functions.array-max", + "sf.functions.array-min", + "sf.functions.array-position", + "sf.functions.array-prepend", + "sf.functions.array-remove", + "sf.functions.array-remove-at", + "sf.functions.array-repeat", + "sf.functions.array-reverse", + "sf.functions.array-size", + "sf.functions.array-slice", + "sf.functions.array-sort", + "sf.functions.array-sum", + "sf.functions.array-to-string", + "sf.functions.array-union-agg.array-union-agg", + "sf.functions.array-union-agg.array-union-agg-over", + "sf.functions.array-unique-agg.array-unique-agg", + "sf.functions.array-unique-agg.array-unique-agg-over", + "sf.functions.arrays-overlap", + "sf.functions.arrays-to-object", + "sf.functions.arrays-zip", + "sf.functions.as-array", + "sf.functions.as-binary", + "sf.functions.as-boolean", + "sf.functions.as-char-varchar.as-char", + "sf.functions.as-char-varchar.as-varchar", + "sf.functions.as-date", + "sf.functions.as-decimal-number.as-decimal", + "sf.functions.as-decimal-number.as-number", + "sf.functions.as-double-real.as-double", + "sf.functions.as-double-real.as-real", + "sf.functions.as-integer", + "sf.functions.as-object", + "sf.functions.as-time", + "sf.functions.as-timestamp.as-timestamp-ltz", + "sf.functions.as-timestamp.as-timestamp-ntz", + "sf.functions.as-timestamp.as-timestamp-tz", + "sf.functions.ascii", + "sf.functions.asin", + "sf.functions.asinh", + "sf.functions.associate-semantic-category-tags", + "sf.functions.atan", + "sf.functions.atan2", + "sf.functions.atanh", + "sf.functions.auto-refresh-registration-history", + "sf.functions.automatic-clustering-history", + "sf.functions.available-listing-refresh-history", + "sf.functions.available-listings", + "sf.functions.avg.avg", + "sf.functions.avg.avg-over", + "sf.functions.base64-decode-binary", + "sf.functions.base64-decode-string", + "sf.functions.base64-encode", + "sf.functions.bind-values", + "sf.functions.bit-length", + "sf.functions.bitand", + "sf.functions.bitand-agg.bitand-agg", + "sf.functions.bitand-agg.bitand-agg-over", + "sf.functions.bitmap-absolute-position", + "sf.functions.bitmap-and", + "sf.functions.bitmap-and-agg", + "sf.functions.bitmap-bit-position", + "sf.functions.bitmap-bucket-number", + "sf.functions.bitmap-construct-agg", + "sf.functions.bitmap-count", + "sf.functions.bitmap-or", + "sf.functions.bitmap-or-agg", + "sf.functions.bitmap-to-array", + "sf.functions.bitnot", + "sf.functions.bitor", + "sf.functions.bitor-agg.bitor-agg", + "sf.functions.bitor-agg.bitor-agg-over", + "sf.functions.bitshiftleft", + "sf.functions.bitshiftright", + "sf.functions.bitxor", + "sf.functions.bitxor-agg.bitxor-agg", + "sf.functions.bitxor-agg.bitxor-agg-over", + "sf.functions.booland", + "sf.functions.booland-agg.booland-agg", + "sf.functions.booland-agg.booland-agg-over", + "sf.functions.boolnot", + "sf.functions.boolor", + "sf.functions.boolor-agg.boolor-agg", + "sf.functions.boolor-agg.boolor-agg-over", + "sf.functions.boolxor", + "sf.functions.boolxor-agg.boolxor-agg", + "sf.functions.boolxor-agg.boolxor-agg-over", + "sf.functions.build-scoped-file-url", + "sf.functions.build-stage-file-url", + "sf.functions.cast.cast-as", + "sf.functions.cbrt", + "sf.functions.ceil", + "sf.functions.charindex", + "sf.functions.check-json", + "sf.functions.check-xml.check-xml", + "sf.functions.check-xml.check-xml-str", + "sf.functions.chr", + "sf.functions.coalesce", + "sf.functions.collate.collate", + "sf.functions.collation", + "sf.functions.complete-snowflake-cortex-multimodal.from", + "sf.functions.complete-snowflake-cortex-multimodal.from.syntax", + "sf.functions.complete-task-graphs", + "sf.functions.compress", + "sf.functions.concat-ws", + "sf.functions.concat.concat", + "sf.functions.conditional-change-event", + "sf.functions.conditional-true-event", + "sf.functions.contains", + "sf.functions.convert-timezone", + "sf.functions.copy-history", + "sf.functions.corr.corr", + "sf.functions.corr.x-over", + "sf.functions.cortex-search-batch", + "sf.functions.cortex-search-data-scan", + "sf.functions.cortex-search-refresh-history", + "sf.functions.cos", + "sf.functions.cosh", + "sf.functions.cot", + "sf.functions.count-if.count-if", + "sf.functions.count-if.count-if-over", + "sf.functions.count.count", + "sf.functions.count.count-over", + "sf.functions.covar-pop.covar-pop", + "sf.functions.covar-pop.x-over", + "sf.functions.covar-samp.covar-samp", + "sf.functions.covar-samp.x-over", + "sf.functions.cume-dist", + "sf.functions.cumulative-privacy-losses", + "sf.functions.current-account", + "sf.functions.current-account-name", + "sf.functions.current-available-roles", + "sf.functions.current-client", + "sf.functions.current-database", + "sf.functions.current-date.current-date", + "sf.functions.current-date.current-date.syntax", + "sf.functions.current-ip-address", + "sf.functions.current-organization-name", + "sf.functions.current-organization-user", + "sf.functions.current-region", + "sf.functions.current-role", + "sf.functions.current-role-type", + "sf.functions.current-schema", + "sf.functions.current-schemas", + "sf.functions.current-secondary-roles", + "sf.functions.current-session", + "sf.functions.current-statement", + "sf.functions.current-task-graphs", + "sf.functions.current-time.current-time", + "sf.functions.current-time.current-time.syntax", + "sf.functions.current-timestamp.current-timestamp", + "sf.functions.current-timestamp.current-timestamp.syntax", + "sf.functions.current-transaction", + "sf.functions.current-user.current-user", + "sf.functions.current-user.current-user.syntax", + "sf.functions.current-version", + "sf.functions.current-warehouse", + "sf.functions.data-metric-function-expectations", + "sf.functions.data-metric-function-references.metric-name", + "sf.functions.data-metric-function-references.ref-entity-name-ref-entity-domain", + "sf.functions.data-quality-monitoring-expectation-status", + "sf.functions.data-quality-monitoring-results", + "sf.functions.data-transfer-history", + "sf.functions.database-refresh-history", + "sf.functions.database-refresh-progress.database-refresh-progress", + "sf.functions.database-refresh-progress.database-refresh-progress-by-job", + "sf.functions.database-replication-usage-history", + "sf.functions.database-storage-usage-history", + "sf.functions.datasketches-hll-accumulate", + "sf.functions.datasketches-hll-combine", + "sf.functions.datasketches-hll-estimate", + "sf.functions.datasketches-hll.datasketches-hll", + "sf.functions.datasketches-hll.datasketches-hll-over", + "sf.functions.date-from-parts", + "sf.functions.date-part.date-part", + "sf.functions.date-part.date-part-from", + "sf.functions.date-trunc", + "sf.functions.dateadd", + "sf.functions.datediff.datediff", + "sf.functions.dayname", + "sf.functions.dbt-project-execution-history", + "sf.functions.dcm-deployment-history", + "sf.functions.decode", + "sf.functions.decompress-binary", + "sf.functions.decompress-string", + "sf.functions.decrypt", + "sf.functions.decrypt-raw", + "sf.functions.degrees", + "sf.functions.dense-rank", + "sf.functions.div0", + "sf.functions.div0null", + "sf.functions.dp-interval-high", + "sf.functions.dp-interval-low", + "sf.functions.dynamic-table-graph-history", + "sf.functions.dynamic-table-refresh-history", + "sf.functions.dynamic-tables", + "sf.functions.editdistance", + "sf.functions.encrypt", + "sf.functions.encrypt-raw", + "sf.functions.endswith", + "sf.functions.equal-null", + "sf.functions.estimate-hybrid-table-storage-usage", + "sf.functions.estimate-remaining-dp-aggregates", + "sf.functions.execute-ai-evaluation", + "sf.functions.exp", + "sf.functions.explain-grantable-privileges", + "sf.functions.explain-json", + "sf.functions.explain-privileges", + "sf.functions.external-functions-history", + "sf.functions.external-table-files", + "sf.functions.external-table-registration-history", + "sf.functions.extract-semantic-categories", + "sf.functions.extract.extract", + "sf.functions.factorial", + "sf.functions.filter", + "sf.functions.finetune-snowflake-cortex", + "sf.functions.first-value", + "sf.functions.fl-get-content-type", + "sf.functions.fl-get-etag", + "sf.functions.fl-get-file-type", + "sf.functions.fl-get-last-modified", + "sf.functions.fl-get-relative-path", + "sf.functions.fl-get-scoped-file-url", + "sf.functions.fl-get-size", + "sf.functions.fl-get-stage", + "sf.functions.fl-get-stage-file-url", + "sf.functions.fl-is-audio", + "sf.functions.fl-is-compressed", + "sf.functions.fl-is-document", + "sf.functions.fl-is-image", + "sf.functions.fl-is-video", + "sf.functions.flatten", + "sf.functions.floor", + "sf.functions.format-string-template", + "sf.functions.functions-window-syntax", + "sf.functions.generate-column-description", + "sf.functions.generate-postgres-access-token-for-user", + "sf.functions.generator.generator", + "sf.functions.generator.generator-rowcount", + "sf.functions.get", + "sf.functions.get-absolute-path", + "sf.functions.get-ai-evaluation-data-snowflake-local", + "sf.functions.get-ai-observability-events-snowflake-local", + "sf.functions.get-ai-observability-logs-snowflake-local", + "sf.functions.get-ai-record-trace-snowflake-local", + "sf.functions.get-configuration-value", + "sf.functions.get-contacts", + "sf.functions.get-ddl", + "sf.functions.get-ignore-case", + "sf.functions.get-job-history", + "sf.functions.get-lineage-snowflake-core", + "sf.functions.get-object-references", + "sf.functions.get-path.get-path", + "sf.functions.get-presigned-url", + "sf.functions.get-query-operator-stats", + "sf.functions.get-relative-path", + "sf.functions.get-stage-location", + "sf.functions.get-table-version-refs", + "sf.functions.get-table-versions", + "sf.functions.getbit", + "sf.functions.getdate", + "sf.functions.getvariable", + "sf.functions.greatest", + "sf.functions.greatest-ignore-nulls", + "sf.functions.grouping", + "sf.functions.grouping-id", + "sf.functions.h3-cell-to-boundary", + "sf.functions.h3-cell-to-children", + "sf.functions.h3-cell-to-children-string", + "sf.functions.h3-cell-to-parent", + "sf.functions.h3-cell-to-point", + "sf.functions.h3-compact-cells", + "sf.functions.h3-compact-cells-strings", + "sf.functions.h3-coverage", + "sf.functions.h3-coverage-strings", + "sf.functions.h3-get-resolution", + "sf.functions.h3-grid-disk", + "sf.functions.h3-grid-distance", + "sf.functions.h3-grid-path", + "sf.functions.h3-int-to-string", + "sf.functions.h3-is-pentagon", + "sf.functions.h3-is-valid-cell", + "sf.functions.h3-latlng-to-cell", + "sf.functions.h3-latlng-to-cell-string", + "sf.functions.h3-point-to-cell", + "sf.functions.h3-point-to-cell-string", + "sf.functions.h3-polygon-to-cells", + "sf.functions.h3-polygon-to-cells-strings", + "sf.functions.h3-string-to-int", + "sf.functions.h3-try-coverage", + "sf.functions.h3-try-coverage-strings", + "sf.functions.h3-try-grid-distance", + "sf.functions.h3-try-grid-path", + "sf.functions.h3-try-polygon-to-cells", + "sf.functions.h3-try-polygon-to-cells-strings", + "sf.functions.h3-uncompact-cells", + "sf.functions.h3-uncompact-cells-strings", + "sf.functions.hash", + "sf.functions.hash-agg.hash-agg", + "sf.functions.hash-agg.hash-agg-over", + "sf.functions.hash-agg.hash-agg-over.syntax", + "sf.functions.haversine", + "sf.functions.hex-decode-binary", + "sf.functions.hex-decode-string", + "sf.functions.hex-encode", + "sf.functions.hll-accumulate.hll-accumulate", + "sf.functions.hll-accumulate.hll-accumulate-over", + "sf.functions.hll-accumulate.hll-accumulate-over.syntax", + "sf.functions.hll-combine.hll-combine", + "sf.functions.hll-combine.hll-combine-over", + "sf.functions.hll-estimate.hll-estimate", + "sf.functions.hll-estimate.hll-estimate-over", + "sf.functions.hll-export.hll-export", + "sf.functions.hll-export.hll-export-over", + "sf.functions.hll-import.hll-import", + "sf.functions.hll-import.hll-import-over", + "sf.functions.hll.hll", + "sf.functions.hll.hll-over", + "sf.functions.hll.hll-over.syntax", + "sf.functions.hour-minute-second.hour", + "sf.functions.hour-minute-second.minute", + "sf.functions.hour-minute-second.second", + "sf.functions.iceberg-table-file-registration-history", + "sf.functions.iceberg-table-files", + "sf.functions.iceberg-table-snapshot-refresh-history", + "sf.functions.iff", + "sf.functions.ifnull", + "sf.functions.ilike.ilike", + "sf.functions.infer-schema", + "sf.functions.initcap", + "sf.functions.insert", + "sf.functions.interpolate-bfill.interpolate-bfill-over-order-by", + "sf.functions.interpolate-bfill.interpolate-ffill-over-order-by", + "sf.functions.interpolate-bfill.interpolate-linear-over-order-by", + "sf.functions.invoker-role", + "sf.functions.invoker-share", + "sf.functions.ipaddress-trunc", + "sf.functions.is-agent-activated", + "sf.functions.is-application-role-activated", + "sf.functions.is-application-role-in-session", + "sf.functions.is-array", + "sf.functions.is-binary", + "sf.functions.is-boolean", + "sf.functions.is-char-varchar.is-char", + "sf.functions.is-char-varchar.is-varchar", + "sf.functions.is-configuration-set", + "sf.functions.is-database-role-activated", + "sf.functions.is-database-role-in-session", + "sf.functions.is-date-value.is-date", + "sf.functions.is-date-value.is-date-value", + "sf.functions.is-decimal", + "sf.functions.is-double-real.is-double", + "sf.functions.is-double-real.is-real", + "sf.functions.is-granted-to-invoker-role", + "sf.functions.is-group-activated", + "sf.functions.is-group-imported", + "sf.functions.is-instance-role-in-session", + "sf.functions.is-integer", + "sf.functions.is-null-value", + "sf.functions.is-object", + "sf.functions.is-organization-user", + "sf.functions.is-organization-user-group", + "sf.functions.is-organization-user-group-in-session", + "sf.functions.is-role-activated", + "sf.functions.is-role-in-session", + "sf.functions.is-time", + "sf.functions.is-timestamp.is-timestamp-ltz", + "sf.functions.is-timestamp.is-timestamp-ntz", + "sf.functions.is-timestamp.is-timestamp-tz", + "sf.functions.is-user-imported", + "sf.functions.jarowinkler-similarity", + "sf.functions.json-extract-path-text", + "sf.functions.kurtosis.kurtosis", + "sf.functions.kurtosis.kurtosis-over", + "sf.functions.lag", + "sf.functions.last-day", + "sf.functions.last-query-id", + "sf.functions.last-transaction", + "sf.functions.last-value", + "sf.functions.lead", + "sf.functions.least", + "sf.functions.least-ignore-nulls", + "sf.functions.left", + "sf.functions.length.len", + "sf.functions.length.length", + "sf.functions.like.like", + "sf.functions.listagg.listagg", + "sf.functions.listagg.listagg-over", + "sf.functions.listing-refresh-history", + "sf.functions.ln", + "sf.functions.localtime.localtime", + "sf.functions.localtime.localtime.syntax", + "sf.functions.localtimestamp.localtimestamp", + "sf.functions.localtimestamp.localtimestamp.syntax", + "sf.functions.log", + "sf.functions.login-history.login-history", + "sf.functions.login-history.login-history-by-user", + "sf.functions.lower", + "sf.functions.lpad", + "sf.functions.ltrim", + "sf.functions.map-cat", + "sf.functions.map-construct", + "sf.functions.map-contains-key", + "sf.functions.map-delete", + "sf.functions.map-entries", + "sf.functions.map-insert", + "sf.functions.map-keys", + "sf.functions.map-pick", + "sf.functions.map-size", + "sf.functions.materialized-view-refresh-history", + "sf.functions.max-by", + "sf.functions.max.max", + "sf.functions.max.max.syntax", + "sf.functions.md5-binary", + "sf.functions.md5-number", + "sf.functions.md5-number-lower64", + "sf.functions.md5-number-upper64", + "sf.functions.md5.md5", + "sf.functions.md5.md5-hex", + "sf.functions.median.median", + "sf.functions.median.median-over", + "sf.functions.min-by", + "sf.functions.min.min", + "sf.functions.min.min.syntax", + "sf.functions.minhash-combine.minhash-combine", + "sf.functions.minhash-combine.minhash-combine-over", + "sf.functions.minhash.minhash", + "sf.functions.minhash.minhash-over", + "sf.functions.mod", + "sf.functions.mode.mode", + "sf.functions.mode.mode-over", + "sf.functions.model-monitor-drift-metric.model-monitor-drift-metric", + "sf.functions.model-monitor-drift-metric.model-monitor-drift-metric-service-base-service", + "sf.functions.model-monitor-performance-metric.model-monitor-performance-metric", + "sf.functions.model-monitor-performance-metric.model-monitor-performance-metric-service", + "sf.functions.model-monitor-stat-metric.model-monitor-stat-metric", + "sf.functions.model-monitor-stat-metric.model-monitor-stat-metric-service", + "sf.functions.monthname", + "sf.functions.months-between", + "sf.functions.my-budget-summary-snowflake-local", + "sf.functions.network-rule-references.container-name-container-type", + "sf.functions.network-rule-references.network-rule-name", + "sf.functions.next-day", + "sf.functions.normal", + "sf.functions.notification-history", + "sf.functions.nth-value", + "sf.functions.ntile", + "sf.functions.nullif", + "sf.functions.nullifzero", + "sf.functions.nvl", + "sf.functions.nvl2", + "sf.functions.object-agg.object-agg", + "sf.functions.object-agg.object-agg-over", + "sf.functions.object-construct", + "sf.functions.object-construct-keep-null", + "sf.functions.object-construct-keep-null-structured", + "sf.functions.object-delete", + "sf.functions.object-insert", + "sf.functions.object-keys", + "sf.functions.object-pick", + "sf.functions.octet-length", + "sf.functions.online-feature-table-refresh-history", + "sf.functions.parse-ip", + "sf.functions.parse-json", + "sf.functions.parse-url", + "sf.functions.parse-xml.parse-xml", + "sf.functions.parse-xml.parse-xml-str", + "sf.functions.percent-rank", + "sf.functions.percentile-cont.by", + "sf.functions.percentile-cont.by-over", + "sf.functions.percentile-disc.by", + "sf.functions.percentile-disc.by-over", + "sf.functions.period-begin", + "sf.functions.period-construct", + "sf.functions.period-contains", + "sf.functions.period-end", + "sf.functions.period-equals", + "sf.functions.period-immediately-precedes", + "sf.functions.period-immediately-succeeds", + "sf.functions.period-intersect", + "sf.functions.period-ldiff", + "sf.functions.period-meets", + "sf.functions.period-overlaps", + "sf.functions.period-precedes", + "sf.functions.period-rdiff", + "sf.functions.period-succeeds", + "sf.functions.pi", + "sf.functions.pipe-usage-history", + "sf.functions.policy-references.policy-name", + "sf.functions.policy-references.policy-name-policy-kind", + "sf.functions.policy-references.ref-entity-name-ref-entity-domain", + "sf.functions.position.position", + "sf.functions.pow.pow", + "sf.functions.pow.power", + "sf.functions.previous-day", + "sf.functions.prompt", + "sf.functions.query-acceleration-history", + "sf.functions.query-history.query-history", + "sf.functions.query-history.query-history-by-session", + "sf.functions.query-history.query-history-by-user", + "sf.functions.query-history.query-history-by-warehouse", + "sf.functions.radians", + "sf.functions.random", + "sf.functions.randstr", + "sf.functions.rank", + "sf.functions.ratio-to-report", + "sf.functions.reduce", + "sf.functions.regexp-count", + "sf.functions.regexp-instr", + "sf.functions.regexp-like", + "sf.functions.regexp-replace", + "sf.functions.regexp-substr", + "sf.functions.regexp-substr-all", + "sf.functions.regr-avgx.regr-avgx", + "sf.functions.regr-avgx.x-over", + "sf.functions.regr-avgy.regr-avgy", + "sf.functions.regr-avgy.x-over", + "sf.functions.regr-count.regr-count", + "sf.functions.regr-count.x-over", + "sf.functions.regr-intercept.regr-intercept", + "sf.functions.regr-intercept.x-over", + "sf.functions.regr-r2.regr-r2", + "sf.functions.regr-r2.x-over", + "sf.functions.regr-slope.regr-slope", + "sf.functions.regr-slope.x-over", + "sf.functions.regr-sxx.regr-sxx", + "sf.functions.regr-sxx.x-over", + "sf.functions.regr-sxy.regr-sxy", + "sf.functions.regr-sxy.x-over", + "sf.functions.regr-syy.regr-syy", + "sf.functions.regr-syy.x", + "sf.functions.regr-valx", + "sf.functions.regr-valy", + "sf.functions.repeat", + "sf.functions.replace", + "sf.functions.replication-group-dangling-references", + "sf.functions.replication-group-lag-history", + "sf.functions.replication-group-refresh-history.replication-group-refresh-history", + "sf.functions.replication-group-refresh-history.replication-group-refresh-history-all", + "sf.functions.replication-group-refresh-progress.replication-group-refresh-progress", + "sf.functions.replication-group-refresh-progress.replication-group-refresh-progress-all", + "sf.functions.replication-group-refresh-progress.replication-group-refresh-progress-by-job", + "sf.functions.replication-group-usage-history", + "sf.functions.replication-usage-history", + "sf.functions.rest-event-history", + "sf.functions.result-scan", + "sf.functions.reverse", + "sf.functions.right", + "sf.functions.rlike.rlike", + "sf.functions.round.round", + "sf.functions.round.round-expr-scale", + "sf.functions.row-number", + "sf.functions.rpad", + "sf.functions.rtrim", + "sf.functions.rtrimmed-length", + "sf.functions.search", + "sf.functions.search-ip", + "sf.functions.search-optimization-history", + "sf.functions.semantic-view-materialization-refresh-history", + "sf.functions.seq1.seq1", + "sf.functions.seq1.seq2", + "sf.functions.seq1.seq4", + "sf.functions.seq1.seq8", + "sf.functions.serverless-alert-history", + "sf.functions.serverless-task-history", + "sf.functions.sha1-binary", + "sf.functions.sha1.sha1", + "sf.functions.sha1.sha1-hex", + "sf.functions.sha2-binary", + "sf.functions.sha2.sha2", + "sf.functions.sha2.sha2-hex", + "sf.functions.sign", + "sf.functions.sin", + "sf.functions.sinh", + "sf.functions.skew", + "sf.functions.soundex", + "sf.functions.soundex-p123", + "sf.functions.space", + "sf.functions.spcs-cancel-job", + "sf.functions.spcs-get-events", + "sf.functions.spcs-get-logs", + "sf.functions.spcs-get-metrics", + "sf.functions.spcs-wait-for", + "sf.functions.split", + "sf.functions.split-part", + "sf.functions.split-to-table", + "sf.functions.sqrt", + "sf.functions.square", + "sf.functions.st-area", + "sf.functions.st-asewkb", + "sf.functions.st-asewkt", + "sf.functions.st-asgeojson", + "sf.functions.st-aswkb.st-asbinary", + "sf.functions.st-aswkb.st-aswkb", + "sf.functions.st-aswkt.st-astext", + "sf.functions.st-aswkt.st-aswkt", + "sf.functions.st-azimuth", + "sf.functions.st-buffer", + "sf.functions.st-centroid", + "sf.functions.st-collect.st-collect", + "sf.functions.st-contains", + "sf.functions.st-coveredby", + "sf.functions.st-covers", + "sf.functions.st-difference", + "sf.functions.st-dimension", + "sf.functions.st-disjoint", + "sf.functions.st-distance", + "sf.functions.st-dwithin", + "sf.functions.st-endpoint", + "sf.functions.st-envelope", + "sf.functions.st-geogfromgeohash", + "sf.functions.st-geogpointfromgeohash", + "sf.functions.st-geographyfromwkb.st-geogfromewkb", + "sf.functions.st-geographyfromwkb.st-geogfromwkb", + "sf.functions.st-geographyfromwkb.st-geographyfromewkb", + "sf.functions.st-geographyfromwkb.st-geographyfromwkb", + "sf.functions.st-geographyfromwkt.st-geogfromewkt", + "sf.functions.st-geographyfromwkt.st-geogfromtext", + "sf.functions.st-geographyfromwkt.st-geogfromwkt", + "sf.functions.st-geographyfromwkt.st-geographyfromewkt", + "sf.functions.st-geographyfromwkt.st-geographyfromtext", + "sf.functions.st-geographyfromwkt.st-geographyfromwkt", + "sf.functions.st-geohash", + "sf.functions.st-geometryfromwkb.st-geometryfromewkb", + "sf.functions.st-geometryfromwkb.st-geometryfromwkb", + "sf.functions.st-geometryfromwkb.st-geomfromewkb", + "sf.functions.st-geometryfromwkb.st-geomfromwkb", + "sf.functions.st-geometryfromwkt.st-geometryfromewkt", + "sf.functions.st-geometryfromwkt.st-geometryfromtext", + "sf.functions.st-geometryfromwkt.st-geometryfromwkt", + "sf.functions.st-geometryfromwkt.st-geomfromewkt", + "sf.functions.st-geometryfromwkt.st-geomfromtext", + "sf.functions.st-geometryfromwkt.st-geomfromwkt", + "sf.functions.st-geomfromgeohash", + "sf.functions.st-geompointfromgeohash", + "sf.functions.st-hausdorffdistance", + "sf.functions.st-interpolate", + "sf.functions.st-intersection", + "sf.functions.st-intersection-agg", + "sf.functions.st-intersects", + "sf.functions.st-isvalid", + "sf.functions.st-length", + "sf.functions.st-makegeompoint", + "sf.functions.st-makeline", + "sf.functions.st-makepoint", + "sf.functions.st-makepolygon", + "sf.functions.st-makepolygonoriented", + "sf.functions.st-npoints", + "sf.functions.st-perimeter", + "sf.functions.st-pointn", + "sf.functions.st-setsrid", + "sf.functions.st-simplify", + "sf.functions.st-srid", + "sf.functions.st-startpoint", + "sf.functions.st-symdifference", + "sf.functions.st-transform", + "sf.functions.st-union", + "sf.functions.st-union-agg", + "sf.functions.st-within", + "sf.functions.st-x", + "sf.functions.st-xmax", + "sf.functions.st-xmin", + "sf.functions.st-y", + "sf.functions.st-ymax", + "sf.functions.st-ymin", + "sf.functions.stage-directory-file-registration-history", + "sf.functions.stage-storage-usage-history", + "sf.functions.startswith", + "sf.functions.stddev-pop.stddev-pop", + "sf.functions.stddev-pop.stddev-pop-over", + "sf.functions.stddev.stddev", + "sf.functions.stddev.stddev-over", + "sf.functions.stddev.stddev-samp", + "sf.functions.stddev.stddev-samp-over", + "sf.functions.storage-lifecycle-policy-history.policy-name", + "sf.functions.storage-lifecycle-policy-history.ref-entity-name-ref-entity-domain", + "sf.functions.strip-null-value", + "sf.functions.strtok", + "sf.functions.strtok-split-to-table", + "sf.functions.strtok-to-array", + "sf.functions.substr.substr", + "sf.functions.substr.substring", + "sf.functions.sum.sum", + "sf.functions.sum.sum-over", + "sf.functions.sys-context", + "sf.functions.sys-context-snowflake-application", + "sf.functions.sys-context-snowflake-current", + "sf.functions.sys-context-snowflake-environment", + "sf.functions.sys-context-snowflake-organization", + "sf.functions.sys-context-snowflake-organization-session", + "sf.functions.sys-context-snowflake-organization-sharing", + "sf.functions.sys-context-snowflake-session", + "sf.functions.sys-context-snowflake-session-attributes", + "sf.functions.sysdate", + "sf.functions.system-abort-session", + "sf.functions.system-abort-transaction", + "sf.functions.system-activate-cmk-info", + "sf.functions.system-activate-cmk-info-postgres", + "sf.functions.system-activate-cmk-info-snowflake-managed-volume", + "sf.functions.system-add-event", + "sf.functions.system-add-privatelink-endpoint-hostname", + "sf.functions.system-add-reference", + "sf.functions.system-allowlist", + "sf.functions.system-allowlist-privatelink", + "sf.functions.system-app-compatibility-check", + "sf.functions.system-application-get-log-level", + "sf.functions.system-application-get-metric-level", + "sf.functions.system-application-get-trace-level", + "sf.functions.system-authorize-privatelink", + "sf.functions.system-authorize-snowflake-managed-storage-volume-privatelink-access", + "sf.functions.system-authorize-stage-privatelink-access", + "sf.functions.system-auto-refresh-status", + "sf.functions.system-begin-debug-application", + "sf.functions.system-behavior-change-bundle-status", + "sf.functions.system-block-internal-stages-public-access", + "sf.functions.system-block-internal-stages-public-access-with-exception", + "sf.functions.system-block-snowflake-managed-storage-volume-public-access", + "sf.functions.system-block-snowflake-managed-storage-volume-public-access-with-exception", + "sf.functions.system-cancel-all-queries", + "sf.functions.system-cancel-classify-schema", + "sf.functions.system-cancel-query", + "sf.functions.system-cast-multi-party-approval-vote", + "sf.functions.system-catalog-link-status", + "sf.functions.system-cke-hash-function", + "sf.functions.system-classify", + "sf.functions.system-classify-schema", + "sf.functions.system-cleanup-database-role-grants", + "sf.functions.system-client-version-info", + "sf.functions.system-client-vulnerability-info", + "sf.functions.system-clustering-depth", + "sf.functions.system-clustering-information", + "sf.functions.system-clustering-ratio", + "sf.functions.system-commit-move-organization-account", + "sf.functions.system-convert-pipes-sqs-to-sns", + "sf.functions.system-create-billing-event", + "sf.functions.system-create-billing-events", + "sf.functions.system-create-semantic-view-from-osi-yaml", + "sf.functions.system-create-semantic-view-from-ossie-yaml", + "sf.functions.system-create-semantic-view-from-yaml", + "sf.functions.system-current-user-task-name", + "sf.functions.system-data-metric-scan", + "sf.functions.system-database-refresh-history", + "sf.functions.system-database-refresh-progress.system-database-refresh-progress", + "sf.functions.system-database-refresh-progress.system-database-refresh-progress-by-job", + "sf.functions.system-dbt-get-last-failed-run-target", + "sf.functions.system-dbt-get-last-run-target", + "sf.functions.system-dbt-get-last-successful-run-target", + "sf.functions.system-deactivate-cmk-info", + "sf.functions.system-deactivate-cmk-info-snowflake-managed-volume", + "sf.functions.system-decode-pat", + "sf.functions.system-demigrate-dbt-project", + "sf.functions.system-deprovision-privatelink-endpoint", + "sf.functions.system-deprovision-privatelink-endpoint-tss", + "sf.functions.system-deregister-cmk-info", + "sf.functions.system-deregister-cmk-info-postgres", + "sf.functions.system-deregister-cmk-info-snowflake-managed-volume", + "sf.functions.system-desc-iceberg-access-identity", + "sf.functions.system-disable-behavior-change-bundle", + "sf.functions.system-disable-database-replication", + "sf.functions.system-disable-feature-groups", + "sf.functions.system-disable-feature-groups-preview", + "sf.functions.system-disable-global-data-sharing-for-account", + "sf.functions.system-disable-preview-access", + "sf.functions.system-disable-privatelink-access-only", + "sf.functions.system-enable-behavior-change-bundle", + "sf.functions.system-enable-feature-groups", + "sf.functions.system-enable-global-data-sharing-for-account", + "sf.functions.system-enable-preview-access", + "sf.functions.system-encode-cke-primary-key", + "sf.functions.system-end-debug-application", + "sf.functions.system-enforce-privatelink-access-only", + "sf.functions.system-estimate-automatic-clustering-costs", + "sf.functions.system-estimate-query-acceleration", + "sf.functions.system-estimate-search-optimization-costs", + "sf.functions.system-evaluate-data-quality-expectations", + "sf.functions.system-execute-catalog-operation", + "sf.functions.system-explain-json-to-text", + "sf.functions.system-export-tds-from-semantic-view", + "sf.functions.system-external-table-pipe-status", + "sf.functions.system-fetch-external-secret-from-integration", + "sf.functions.system-finish-oauth-flow", + "sf.functions.system-generate-saml-csr", + "sf.functions.system-generate-scim-access-token", + "sf.functions.system-get-alert-config", + "sf.functions.system-get-alert-template", + "sf.functions.system-get-all-default-columns-overrides", + "sf.functions.system-get-all-references", + "sf.functions.system-get-application-service-logs", + "sf.functions.system-get-aws-sns-iam-policy", + "sf.functions.system-get-catalog-linked-database-config", + "sf.functions.system-get-classification-result", + "sf.functions.system-get-cmk-akv-consent-url", + "sf.functions.system-get-cmk-config", + "sf.functions.system-get-cmk-config-postgres", + "sf.functions.system-get-cmk-config-snowflake-managed-volume", + "sf.functions.system-get-cmk-info", + "sf.functions.system-get-cmk-info-postgres", + "sf.functions.system-get-cmk-info-snowflake-managed-volume", + "sf.functions.system-get-cmk-kms-key-policy", + "sf.functions.system-get-compute-pool-pending-maintenance", + "sf.functions.system-get-dbt-log", + "sf.functions.system-get-debug-status", + "sf.functions.system-get-default-columns-override-for-show-command", + "sf.functions.system-get-default-columns-override-for-system-object", + "sf.functions.system-get-directory-table-status", + "sf.functions.system-get-gcp-kms-cmk-grant-access-cmd", + "sf.functions.system-get-hash-for-application", + "sf.functions.system-get-iceberg-table-information", + "sf.functions.system-get-instance-family-placement-groups", + "sf.functions.system-get-listing-url-for-external-consumer", + "sf.functions.system-get-login-failure-details", + "sf.functions.system-get-predecessor-return-value", + "sf.functions.system-get-preview-access-status", + "sf.functions.system-get-privatelink", + "sf.functions.system-get-privatelink-authorized-endpoints", + "sf.functions.system-get-privatelink-config", + "sf.functions.system-get-privatelink-endpoint-registrations", + "sf.functions.system-get-privatelink-endpoints-info", + "sf.functions.system-get-purchase-attributes", + "sf.functions.system-get-referenced-object-id-hash", + "sf.functions.system-get-resultset-status", + "sf.functions.system-get-security-integrations-for-api-provider", + "sf.functions.system-get-service-caller-token-expiry", + "sf.functions.system-get-service-dns-domain", + "sf.functions.system-get-service-logs", + "sf.functions.system-get-service-status", + "sf.functions.system-get-snowflake-egress-ip-ranges", + "sf.functions.system-get-snowflake-platform-info", + "sf.functions.system-get-stage-privatelink-authorized-endpoints", + "sf.functions.system-get-table-archive-metadata", + "sf.functions.system-get-tag", + "sf.functions.system-get-tag-allowed-values", + "sf.functions.system-get-tag-on-current-column", + "sf.functions.system-get-tag-on-current-table", + "sf.functions.system-get-task-graph-config", + "sf.functions.system-get-tzdb-version", + "sf.functions.system-global-account-set-parameter", + "sf.functions.system-hold-privilege-on-account", + "sf.functions.system-ingest-rebind-pipe", + "sf.functions.system-initiate-move-organization-account", + "sf.functions.system-internal-stages-public-access-status", + "sf.functions.system-is-application-authorized-for-telemetry-event-sharing", + "sf.functions.system-is-application-installed-from-same-account", + "sf.functions.system-is-application-sharing-events-with-provider", + "sf.functions.system-is-global-data-sharing-enabled-for-account", + "sf.functions.system-is-listing-purchased", + "sf.functions.system-is-listing-trial", + "sf.functions.system-issue-per-account-app-service-certificate", + "sf.functions.system-issue-per-account-certificates", + "sf.functions.system-issue-workload-identity-federation-token", + "sf.functions.system-last-change-commit-time", + "sf.functions.system-link-account-objects-by-name", + "sf.functions.system-link-organization-user", + "sf.functions.system-link-organization-user-group", + "sf.functions.system-list-alert-templates", + "sf.functions.system-list-application-restricted-features", + "sf.functions.system-list-external-secrets", + "sf.functions.system-list-iceberg-tables-from-catalog", + "sf.functions.system-list-namespaces-from-catalog", + "sf.functions.system-locate-dbt-archive", + "sf.functions.system-locate-dbt-artifacts", + "sf.functions.system-log.system-log", + "sf.functions.system-log.system-log-debug", + "sf.functions.system-log.system-log-error", + "sf.functions.system-log.system-log-fatal", + "sf.functions.system-log.system-log-info", + "sf.functions.system-log.system-log-trace", + "sf.functions.system-log.system-log-warn", + "sf.functions.system-manage-semantic-view-materializations-from-yaml", + "sf.functions.system-migrate-dbt-project", + "sf.functions.system-migrate-legacy-event-routing-configuration", + "sf.functions.system-migrate-saml-idp-registration", + "sf.functions.system-opt-in-internal-stage-network-logs", + "sf.functions.system-opt-out-internal-stage-network-logs", + "sf.functions.system-opt-out-malicious-ip-protection-by-category", + "sf.functions.system-parquet-direct-auto-refresh-status", + "sf.functions.system-pipe-force-resume", + "sf.functions.system-pipe-rebinding-with-notification-channel", + "sf.functions.system-pipe-status", + "sf.functions.system-predecessors-state", + "sf.functions.system-provision-privatelink-endpoint", + "sf.functions.system-provision-privatelink-endpoint-tss", + "sf.functions.system-query-reference", + "sf.functions.system-read-osi-yaml-from-semantic-view", + "sf.functions.system-read-ossie-yaml-from-semantic-view", + "sf.functions.system-read-yaml-from-semantic-view", + "sf.functions.system-reference", + "sf.functions.system-register-cmk-info", + "sf.functions.system-register-cmk-info-postgres", + "sf.functions.system-register-cmk-info-snowflake-managed-volume", + "sf.functions.system-register-privatelink-endpoint", + "sf.functions.system-registry-list-images", + "sf.functions.system-remote-app-operation", + "sf.functions.system-remove-all-references", + "sf.functions.system-remove-privatelink-endpoint-hostname", + "sf.functions.system-remove-reference", + "sf.functions.system-report-health-status", + "sf.functions.system-request-listing-and-wait", + "sf.functions.system-resolve-python-packages", + "sf.functions.system-restore-privatelink-endpoint", + "sf.functions.system-restore-privatelink-endpoint-tss", + "sf.functions.system-revoke-privatelink", + "sf.functions.system-revoke-snowflake-managed-storage-volume-privatelink-access", + "sf.functions.system-revoke-stage-privatelink-access", + "sf.functions.system-schedule-async-replication-group-refresh", + "sf.functions.system-send-email", + "sf.functions.system-send-notifications-to-catalog", + "sf.functions.system-send-snowflake-notification", + "sf.functions.system-set-application-restricted-feature-access", + "sf.functions.system-set-catalog-integration", + "sf.functions.system-set-default-columns-override-for-show-command", + "sf.functions.system-set-default-columns-override-for-system-object", + "sf.functions.system-set-event-sharing-account-for-region", + "sf.functions.system-set-privatelink-endpoint-hostname", + "sf.functions.system-set-reference", + "sf.functions.system-set-return-value", + "sf.functions.system-set-row-timestamp-on-all-supported-tables.select-system-set-row-timestamp-on-all-supported-tables", + "sf.functions.system-set-span-attributes", + "sf.functions.system-show-active-behavior-change-bundles", + "sf.functions.system-show-budget-shared-resource-candidates", + "sf.functions.system-show-budgets-for-resource", + "sf.functions.system-show-budgets-in-account", + "sf.functions.system-show-dynamic-tables-created-for-resharing", + "sf.functions.system-show-event-sharing-accounts", + "sf.functions.system-show-move-organization-account-status", + "sf.functions.system-show-oauth-client-secrets", + "sf.functions.system-show-sensitive-data-monitored-entities", + "sf.functions.system-snowflake-managed-storage-volume-public-access-status", + "sf.functions.system-snowpipe-streaming-update-channel-offset-token", + "sf.functions.system-start-oauth-flow", + "sf.functions.system-start-user-email-verification", + "sf.functions.system-stream-backlog", + "sf.functions.system-stream-get-table-timestamp", + "sf.functions.system-stream-has-data", + "sf.functions.system-supported-dbt-versions", + "sf.functions.system-tag-value-contains", + "sf.functions.system-task-completion-state", + "sf.functions.system-task-dependents-enable", + "sf.functions.system-task-runtime-info", + "sf.functions.system-trigger-listing-refresh", + "sf.functions.system-typeof", + "sf.functions.system-unblock-internal-stages-public-access", + "sf.functions.system-unblock-snowflake-managed-storage-volume-public-access", + "sf.functions.system-unlink-organization-user", + "sf.functions.system-unlink-organization-user-group", + "sf.functions.system-unmanage-entity-from-dcm-project", + "sf.functions.system-unmanage-from-dcm-project", + "sf.functions.system-unregister-privatelink-endpoint", + "sf.functions.system-unset-default-columns-override-for-show-command", + "sf.functions.system-unset-default-columns-override-for-system-object", + "sf.functions.system-unset-event-sharing-account-for-region", + "sf.functions.system-unverify-dns-domain", + "sf.functions.system-update-multi-party-approval-justification", + "sf.functions.system-user-task-cancel-ongoing-executions", + "sf.functions.system-validate-storage-integration", + "sf.functions.system-verify-catalog-integration", + "sf.functions.system-verify-cmk-info", + "sf.functions.system-verify-cmk-info-postgres", + "sf.functions.system-verify-cmk-info-snowflake-managed-volume", + "sf.functions.system-verify-dns-domain", + "sf.functions.system-verify-ext-oauth-token", + "sf.functions.system-verify-external-secret-integration", + "sf.functions.system-verify-external-volume", + "sf.functions.system-wait", + "sf.functions.system-wait-for-openflow-connector-status", + "sf.functions.system-wait-for-openflow-deployment-status", + "sf.functions.system-wait-for-openflow-runtime-status", + "sf.functions.system-wait-for-services", + "sf.functions.system-wait-for-stable-openflow-connectors", + "sf.functions.system-wait-for-stable-openflow-deployments", + "sf.functions.system-wait-for-stable-openflow-runtimes", + "sf.functions.system-whitelist", + "sf.functions.system-whitelist-privatelink", + "sf.functions.systimestamp", + "sf.functions.tag-references", + "sf.functions.tag-references-all-columns", + "sf.functions.tag-references-with-lineage", + "sf.functions.tan", + "sf.functions.tanh", + "sf.functions.task-dependents", + "sf.functions.task-graph-changes", + "sf.functions.task-history", + "sf.functions.time-from-parts", + "sf.functions.time-slice", + "sf.functions.timeadd", + "sf.functions.timediff", + "sf.functions.timestamp-from-parts.timestamp-from-parts", + "sf.functions.timestamp-from-parts.timestamp-ltz-from-parts", + "sf.functions.timestamp-from-parts.timestamp-ntz-from-parts", + "sf.functions.timestamp-from-parts.timestamp-tz-from-parts", + "sf.functions.timestampadd", + "sf.functions.timestampdiff", + "sf.functions.to-array", + "sf.functions.to-binary", + "sf.functions.to-boolean", + "sf.functions.to-char.to-char", + "sf.functions.to-char.to-varchar", + "sf.functions.to-date.date", + "sf.functions.to-date.to-date", + "sf.functions.to-decfloat", + "sf.functions.to-decimal.to-decimal", + "sf.functions.to-decimal.to-number", + "sf.functions.to-decimal.to-numeric", + "sf.functions.to-double", + "sf.functions.to-file", + "sf.functions.to-geography", + "sf.functions.to-geometry", + "sf.functions.to-ipaddress", + "sf.functions.to-json", + "sf.functions.to-object", + "sf.functions.to-time.time", + "sf.functions.to-time.to-time", + "sf.functions.to-timestamp", + "sf.functions.to-uuid", + "sf.functions.to-variant", + "sf.functions.to-xml", + "sf.functions.transform", + "sf.functions.translate", + "sf.functions.trim", + "sf.functions.trunc.trunc", + "sf.functions.trunc.truncate", + "sf.functions.trunc2", + "sf.functions.try-base64-decode-binary", + "sf.functions.try-base64-decode-string", + "sf.functions.try-decrypt", + "sf.functions.try-decrypt-raw", + "sf.functions.try-hex-decode-binary", + "sf.functions.try-hex-decode-string", + "sf.functions.try-parse-json", + "sf.functions.try-to-binary", + "sf.functions.try-to-boolean", + "sf.functions.try-to-date", + "sf.functions.try-to-decfloat", + "sf.functions.try-to-decimal.try-to-decimal", + "sf.functions.try-to-decimal.try-to-number", + "sf.functions.try-to-decimal.try-to-numeric", + "sf.functions.try-to-double", + "sf.functions.try-to-file", + "sf.functions.try-to-geography", + "sf.functions.try-to-geometry", + "sf.functions.try-to-ipaddress", + "sf.functions.try-to-time", + "sf.functions.try-to-timestamp", + "sf.functions.try-to-uuid", + "sf.functions.typeof", + "sf.functions.unicode", + "sf.functions.uniform", + "sf.functions.upper", + "sf.functions.uuid-string", + "sf.functions.validate", + "sf.functions.validate-pipe-load", + "sf.functions.var-pop.var-pop", + "sf.functions.var-pop.var-pop-over", + "sf.functions.var-samp.var-samp", + "sf.functions.var-samp.var-samp-over", + "sf.functions.variance-pop.variance-pop", + "sf.functions.variance-pop.variance-pop-over", + "sf.functions.variance.variance", + "sf.functions.variance.variance-over", + "sf.functions.vector-avg", + "sf.functions.vector-cosine-similarity", + "sf.functions.vector-inner-product", + "sf.functions.vector-l1-distance", + "sf.functions.vector-l2-distance", + "sf.functions.vector-max", + "sf.functions.vector-min", + "sf.functions.vector-normalize", + "sf.functions.vector-sum", + "sf.functions.vector-truncate", + "sf.functions.warehouse-load-history", + "sf.functions.warehouse-metering-history", + "sf.functions.width-bucket", + "sf.functions.xmlget", + "sf.functions.year.day", + "sf.functions.year.dayofmonth", + "sf.functions.year.dayofweek", + "sf.functions.year.dayofweekiso", + "sf.functions.year.dayofyear", + "sf.functions.year.month", + "sf.functions.year.quarter", + "sf.functions.year.week", + "sf.functions.year.weekiso", + "sf.functions.year.weekofyear", + "sf.functions.year.year", + "sf.functions.year.yearofweek", + "sf.functions.year.yearofweekiso", + "sf.functions.zeroifnull", + "sf.functions.zipf", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sf.functions.abs" = "282f496256c40daeceb1f287a134bc8d2495774c2ee21facdb8e9b502583a8db" +"sf.functions.acos" = "663b276d1da22be92cfbcb3e3988f0825c667858a9c51dffad2b258a0ce4ed4d" +"sf.functions.acosh" = "9385b3c747e72e1bcbaf29f0fd0b07c2c669c10e8d3d52d5f8f8a83b924f711d" +"sf.functions.add-months" = "e56cf43d9e60d91d786049c475e3c60e9262a47b5e736ff10241c5424b1ddac9" +"sf.functions.agg" = "59a94b0f0d3c9ad0b7671d4d49e66506fdd89087c27f241a92879ce0b7802068" +"sf.functions.ai-agg" = "64a68129c655f54e7446df23b25e63677cde68231d825cff79925691e0758ef8" +"sf.functions.ai-classify" = "6f29c24be39d93759719ee684f87ccb1e76b579acbe3282f0decb26371e0faf7" +"sf.functions.ai-complete-prompt-object" = "ab416c2507c0a50379b50c180b7b65d6d9893c9954b1301946a28fdb9faa5a8f" +"sf.functions.ai-complete-single-file" = "b260581819a120c92c07615181cb93a24b6ffb4429947a9e3705fd48ab81fe4f" +"sf.functions.ai-complete-single-string" = "768a2bb425e62d984375e8917a0722e7c4687cfae7d212d0404dd3d918be9e87" +"sf.functions.ai-count-tokens" = "6b44d44cbec7739f13ad79ac704ba5c99d8ec85d69ded1a78a06b015d716cc8d" +"sf.functions.ai-embed" = "b7567638e424e7802af36117db3fabb4dc0950d2324312ff6ab609b9490d884b" +"sf.functions.ai-extract-document-ai" = "7c9e93832d12960cc84cc06956ba64639af440cd26d1ef0e5b05db4b38914ea0" +"sf.functions.ai-extract.ai-extract" = "1f9c008b4068507feb35a94d99f4ff45a277cb999745206444d9f2a082825f03" +"sf.functions.ai-extract.ai-extract-file-responseformat" = "6b93eebc913f5facabd63bac8a90a1129a7da826519317b0edbf09feb13d73a1" +"sf.functions.ai-extract.ai-extract-text-responseformat" = "239acbadd756464e20a567d4a861ed4f7cb32d03f4fbc8a17d6eb5bfcadf18ff" +"sf.functions.ai-filter" = "83c716bea997b94a261efbed5ce6c452fd504d95df34cf2fb54a46fae9f0590e" +"sf.functions.ai-generate-table-desc" = "54504fab3eaed190fe66cc47bbb43b5c055e4ae645a0ee7ce0ae74135027e323" +"sf.functions.ai-multi-embed" = "430c0a6d94513d8539b0efc1bf310fc4c961ce89add6d6a8663025c6aab5bc5e" +"sf.functions.ai-parse-document" = "1018fcaa99c04169f091e80749b0935b57430874fa5e2a96869c5d1856ea0ba7" +"sf.functions.ai-redact" = "5a034cd0934fe1113c52a960342db9b7a18ef7927bf7eab6b8b71d2b35d04456" +"sf.functions.ai-sentiment" = "a51781bc224fc4d907affcc7174b70ecb1c28d7bffab56327f1cd49a211da64e" +"sf.functions.ai-similarity" = "d69f66ef2c8c1ebe8646f438cac7fbbf1281c38547ac7d0d8732922e7657019e" +"sf.functions.ai-summarize-agg" = "cfab1f58269f0c5080da9d0f78edbb8633fcd364870ea255e7d270d0393f2592" +"sf.functions.ai-summarize.ai-summarize" = "d1b717fa79279f15485fdba91c50490024bc6a54d5295b02977107d4a28a5274" +"sf.functions.ai-summarize.ai-summarize-to-file" = "6c7f1011225037939a61d677a740c00ae167e5a0efb8188ac52e08468d672b46" +"sf.functions.ai-transcribe" = "f0c28d863ad05eebd91a85af87f205f74c391e435016325ca3ed11f185ed58e2" +"sf.functions.ai-translate" = "ace9269f7c8e450be82e1a95f8475023aec4eb6829406aebc9da6a19591788b9" +"sf.functions.alert-history" = "9ab89f0564e50abfd18162bebdae49ef92ad462a2e7a65ebd560c87798e73e89" +"sf.functions.all-user-names" = "4c1ffa1c93ebc15b1fd2e2794e4a277c874d665ab886381960e13d296dde22f3" +"sf.functions.any-value.any-value" = "9ce83b6cbcaf16c48145f393729b25f30d6df4dab74397313facde1275b37250" +"sf.functions.any-value.any-value-over" = "2cb241ab9dbb8b2c876b0a958dc7d03872a6ff72aed9aef060d66e7c777b6da6" +"sf.functions.application-callback-history" = "59994edca05d12c049e2a97a124836e9b7a64ed5dabb79d962a60d8809650322" +"sf.functions.application-configuration-value-history" = "e2050b023c5e51f97f3856b838bb09186d5e8fc4b26ac3edc12d3a68e2c8a11b" +"sf.functions.application-specification-status-history" = "d9e974bea2e46d129c4f4530ce4031f1d3db40cbee6ba6df3f50b691d87a17a8" +"sf.functions.approx-count-distinct.approx-count-distinct" = "cc6c64b0e8cf6876b0a064361c51f9f6388f8db8112f30b27a2e4d6ddb578c5b" +"sf.functions.approx-count-distinct.approx-count-distinct-over" = "30ff56f391c0910ff64ce8060bbcb7a3f9b810b6500d971705b921e2f735c6d8" +"sf.functions.approx-count-distinct.approx-count-distinct-over.syntax" = "6a727134a313a84283a8d33559a02715a40c7d9a818790787e3a078288b68374" +"sf.functions.approx-percentile-accumulate" = "4720c4c4058dccc87a20a0ae4d36894a31636749450b89a7d42bd35da0e67768" +"sf.functions.approx-percentile-combine" = "9fbac57e9fc670d088a3114c6b6ef45bba77a828352b977e4c3ad9027904b870" +"sf.functions.approx-percentile-estimate" = "0b3b1dd398c627a9625ecd48900c7f4cef4713e454f474a14c2494f46325ea26" +"sf.functions.approx-percentile.approx-percentile" = "cfc35c59d9eea9770822327a49e77598fb1bb51cb11b2415b024522bd4d63b58" +"sf.functions.approx-percentile.approx-percentile-over" = "e9d993042349fa86bb168ab8eb44ab580340169324e49addfd660bf1517b1828" +"sf.functions.approx-top-k-accumulate" = "42577e301bb8fbffd7e0c6519f3cdc9d8a51192d3519757582faff6fbb65b40f" +"sf.functions.approx-top-k-combine" = "0bc7cc6dd990182ecb1a72aaa7827f40b85311e897b34cb4f69c0af7dca1da06" +"sf.functions.approx-top-k-estimate" = "5d011955264b4c2eb40f037c14073c02f348291f2360f6b32849764a9fbc55bf" +"sf.functions.approx-top-k.approx-top-k" = "5f578eeaf864bcc5ba84bb797a4344dd308313d3bffad849f3680682adc47f63" +"sf.functions.approx-top-k.approx-top-k-over" = "71da6298862acc53bc29bf38ca82ddc390293596ca81ccbc5b70a8baf5343b8f" +"sf.functions.approximate-jaccard-index.approximate-jaccard-index" = "3d2a096a60ebba53e65df29bbec09d0046de8b7abab51c145307f41d58590bfe" +"sf.functions.approximate-similarity.approximate-similarity" = "e0313fb878a212b943e921932f7cfabe58f9df844f277836b24c2113a21ff442" +"sf.functions.array-agg.array-agg" = "50fb6db0c26f99868fec7768932b33ef53efb9c0c4960776862c4d61dfdc4e6c" +"sf.functions.array-agg.array-agg-over" = "98ab24e4cb3550087d51bf4b69003779399a051cb430e810761305221d4b9928" +"sf.functions.array-append" = "16921d329a97751fdfa60c88fe825b418dac9d84918a431e065a468d7c2089b0" +"sf.functions.array-cat" = "557a7abea2ac2918f6f31a1830235681e262e29f6dd5afa97b81ccdacd03f5d3" +"sf.functions.array-compact" = "beffaaa0c51717eb1230ebe51e29e56ee1e1511526aa94e020634ad09dc6948a" +"sf.functions.array-construct" = "ab9f83f57c94550fa40d769f23f392d2e0e6dd4d8831e90b59d9404791a35a29" +"sf.functions.array-construct-compact" = "f4212cdf2c803829f57e3b628309f5857a06e4a8a7182f384aea2f35ecfb47f0" +"sf.functions.array-construct-structured" = "34965be729d7704e31cf7dfe8e7a3d64482301eeac42e9ad0ac0b4d8f65242a6" +"sf.functions.array-contains" = "8cdac67d29395c0cb7fe1f82c3ee54b1b7245b19b3f97512b183e52c570f435b" +"sf.functions.array-distinct" = "d83fd69888d3f4868df2bb40fe2896296a3f6f7cb06b499bc58f766f098f1703" +"sf.functions.array-except" = "b209c9bee6d62c82b768343a5d39b7eb998b403e2841e64c5988d1687fb75777" +"sf.functions.array-flatten" = "1cea5c2d295ffce44a03fb4d94b37d5a31987e3ee609ac5fa9d5bf403aaec35c" +"sf.functions.array-generate-range" = "9a1a6218ee96b792f51e46f6155aefa08310543f96da4cb157f5c6a09c40cb70" +"sf.functions.array-insert" = "fb1ce68c983e9629c1a72ba1de01097386bdbb3da9a1057d2f351554049b5827" +"sf.functions.array-intersection" = "eccb93ad7519039c720ee6585af11397ae7439d1fe0054343e5b375d2de4bc4a" +"sf.functions.array-max" = "e7a695204c0d6322627672df544fd626ecc7c00b9f7298b39281d3c95affe509" +"sf.functions.array-min" = "d62e7d61512bb794975344957e4816faad7bedb8d9459b91aff08dee84d49584" +"sf.functions.array-position" = "539208cecf8cfa092c08be06f89416abf78ef91cda2505ac1470a243106eaa55" +"sf.functions.array-prepend" = "b89ca1a03129b79a3a5c9103c31f6e282c98bb96e96d077128edbe15ff870799" +"sf.functions.array-remove" = "baaea954d7f0eec77115af6250f0c630442ecd780fd0aae996743bf48bdfce65" +"sf.functions.array-remove-at" = "17c377c2defeb8defcead5212943a1d76c0f6f4d2b68859372f9872b21ec67e9" +"sf.functions.array-repeat" = "ca7f24018ddbfd1698a1a88a26e11f6be686b16db8996689495a00558220cdfa" +"sf.functions.array-reverse" = "e1d9f4cd0a4f766fb34db60c15c0bd4c048109fa02135f6087089e31aa81e65f" +"sf.functions.array-size" = "7a785f034fa0b39c1fc1ad3084b6b3bce6cb6dd72c47c5e8adcb48ab8166cd7a" +"sf.functions.array-slice" = "0d538340da52ffa13be132d94588bcecad81d676d50a845cb84bb3801936fb07" +"sf.functions.array-sort" = "d6f39365ec1b1847d438edcbf7fc323d7b54d2a9f83b04efd25534e571cab701" +"sf.functions.array-sum" = "3ebf3d1cdb475df12ebdbe8f4bc512b99a5b54549b309da3bbf3bf80f38c5e67" +"sf.functions.array-to-string" = "fd9d6b2e841e74099e8803db158c31e2ab88cc0b475119a63869c12d81e49248" +"sf.functions.array-union-agg.array-union-agg" = "bd3b1fa2dc369f3fbeb2fef71a881b21ee2e9c8f0771acc98a17ab42ecd7e21a" +"sf.functions.array-union-agg.array-union-agg-over" = "0491aa625a31e806aaf2b8627a16dc4cd11b48517773027a1292b86311cc99b0" +"sf.functions.array-unique-agg.array-unique-agg" = "24e45235df69c109f38d9b9691f4f7923775655e1f26884e580d85a985f4753e" +"sf.functions.array-unique-agg.array-unique-agg-over" = "374060e89ff7cad28a894362639e103ef363a029f0139ba98a6839e987f24dc9" +"sf.functions.arrays-overlap" = "607472eff034754da7aebe73424655d50d07039416dc9a8880110389e8abe931" +"sf.functions.arrays-to-object" = "2a519f4bcc026c1a31694cd998602483bbd82b407a89ad7cc4e979db31731c1a" +"sf.functions.arrays-zip" = "630fb1182ab463cb92e9d97b7a5cba26f69948a0124f2851259d398800723302" +"sf.functions.as-array" = "ebbd75993aae642cfcccd3d60ca388bbd7a958097c0defbe858c3181ae5bd81b" +"sf.functions.as-binary" = "fdf06b5b86e05eab9ff7db016905702deb300486b3471755fdf7abf3ff6ab1e7" +"sf.functions.as-boolean" = "6f712f54392ee944e9c8fc8239e5ac391f43cdcdfc7e6c4e079c2e1a0439a230" +"sf.functions.as-char-varchar.as-char" = "67b3b146cee061d6c885688ad53b53af36e7f2bf15a2d9205d50667ac6801af8" +"sf.functions.as-char-varchar.as-varchar" = "6e601e30954d7708cfef7c9f756b70b959128aaf73a7a6d8e2ba789017fb5e7b" +"sf.functions.as-date" = "773df41e3ca5c5bec4c670c6a95c4337b8f580a990cff3cbd563fec098a56e25" +"sf.functions.as-decimal-number.as-decimal" = "2039720c5997e67cce5c2745c10b2e443324b54103189a78ec915317dcaf9a01" +"sf.functions.as-decimal-number.as-number" = "68e0c8ccc6c54e4bcb729f489b03e1973c3908b0b2b1c59a7182b5e442a3fad3" +"sf.functions.as-double-real.as-double" = "cdb307c209ea835cafee5c1c206351bbbd54793eba65f52d84883b6a12b77096" +"sf.functions.as-double-real.as-real" = "d6c834ef567c64425c551255eef11d5fb06570e6e8c1a5af5d74773610cb0b97" +"sf.functions.as-integer" = "560b0c7bddfe5ed24d454bf0cb659a1ab77683f31ab0340fe69a75812678aec3" +"sf.functions.as-object" = "8fb1a4fcb2419b362f26b626b4dfde9cefd0638d3519e1f5f34cef27e7282c5d" +"sf.functions.as-time" = "07fb29853d44cedcf98c45caa281357de75762571cb42b878bb1eaf8ed4e105e" +"sf.functions.as-timestamp.as-timestamp-ltz" = "62372f57c2fae447fc6f670a257d35aec6b005b2b5c05c9a40d45fecf2dee628" +"sf.functions.as-timestamp.as-timestamp-ntz" = "0e69c0916cc0d51d0e2820e6ce196b476daea1b8d9aa05990143fc21849b63bc" +"sf.functions.as-timestamp.as-timestamp-tz" = "1e07427317214b7d500fe6b0288ced24b5296b3832005be90611cd7e29813694" +"sf.functions.ascii" = "48431d3cedaad3a8da07f037b60642364701d5e3423f1c5a6be44d104afeb454" +"sf.functions.asin" = "1e992b8bfead9c74325995dcfec8b32900a8391b0c26d881d80de5c65dcc0f78" +"sf.functions.asinh" = "b590af048115c3b96460a73b35fa4421e4007293e6f834d6d245b24d870afbd7" +"sf.functions.associate-semantic-category-tags" = "279f106e0e37c3388e58c2100db4d2eace0df4e7a4e8f53a5c05e98209f308b5" +"sf.functions.atan" = "8ce51fd7fd9b8fec8465a085ab5c8bb89cf4ef00b30e41581caadafa501fbfb9" +"sf.functions.atan2" = "138226b6d152c5fdbcc5803ffb4df9f55bab51d14bae0f0c5296c0308d69a18a" +"sf.functions.atanh" = "1f6f23fce1ae9085e2cba93e4a4a4bb1348f5b21c21f7b33bcf8221894f5ffe9" +"sf.functions.auto-refresh-registration-history" = "c804782d44d77dfda9ba38e997f746e84a40f2ddeaeb1deb4d204c785a32066b" +"sf.functions.automatic-clustering-history" = "f63b9f7d012dc2047547bd675a112aa80143299d92d8c250025f4e41023238dd" +"sf.functions.available-listing-refresh-history" = "46a9e288999d035161aaf00e00c91f770d6d357c6ec064d533228cb3f99c54c8" +"sf.functions.available-listings" = "a1422101f6446def091aa952a85d233d450b52b997fb54021d16a105800dcbb8" +"sf.functions.avg.avg" = "26d9a14d4cbed6caf4a5a2f40706eb429ba92b7aeb10e88788f2c5ac5f1d8db2" +"sf.functions.avg.avg-over" = "12deefcd765d238f28db2a1b6a851cb9c67946e71abad9e65ded3859f96255b4" +"sf.functions.base64-decode-binary" = "a3724a0aa19d6749a4edb2794a582baff25a8f7bb5d62eb18620043a68a73ad4" +"sf.functions.base64-decode-string" = "f7cdc2bd5d4c00468d3861e3d339e7d5d3b7bdae38373ae4d8f257f50625965b" +"sf.functions.base64-encode" = "8c1a270ae78804378786a9eaceced1309915bd0df5ccc2a395c275bf73a0ce0a" +"sf.functions.bind-values" = "738475e9c2312430e2e1c9d60cd5de0241cc382fd095dd9c274941cfeb8bd19d" +"sf.functions.bit-length" = "c34d204d527f21b4cb5a2ba80f50d48f045ff57e6350b02abb4c8b122e2d3479" +"sf.functions.bitand" = "23cf75364489ddc99f01a9ccc1ada1dd5edb6c45a39db8bd94927c17f4017ead" +"sf.functions.bitand-agg.bitand-agg" = "4284814c109495c9d83e4445ee1ef770067607f3b2c0365d2736ca4003039a67" +"sf.functions.bitand-agg.bitand-agg-over" = "1b1dca4aee430f979e491b8710edd9f6fe68d33827d17754e85bfdcf1f5b8cfd" +"sf.functions.bitmap-absolute-position" = "d1684a0ab4f30d53571f1c8ec174b281d8de77558a0b8547217d523f4ec43a4c" +"sf.functions.bitmap-and" = "1b96460545b63a421999ee2732b1821adb7ec65cf3014c9333306d0e82ee5f18" +"sf.functions.bitmap-and-agg" = "ba5b2eebfe228da8bc231ec8658f4afc81fff3a5d09a6863de78bd562f0445c5" +"sf.functions.bitmap-bit-position" = "64dbb1a3ff2fa6940c739480e1da8de919a9dea209ac966616e62030e25eb1d2" +"sf.functions.bitmap-bucket-number" = "1c16862b223cef680bb393d826df30a350f74a1d76aa186915f685b684b5047a" +"sf.functions.bitmap-construct-agg" = "ef371f3d595848980d41c26dbc2986c2cfd62a876fef14d000e62a2ab8d04c72" +"sf.functions.bitmap-count" = "a8cb2a0d9b9fe2ef4c4512abe742a801512e0ae963b253d333b7c64533043065" +"sf.functions.bitmap-or" = "9ced4c8e075a4aa386613721fe9b1c35047ff900e4ad93b39b39ba01339ac7a9" +"sf.functions.bitmap-or-agg" = "350617ddcb8e51f6eeb66a59d9cfeb0a8f02fd1c5169ed767106674573e894b8" +"sf.functions.bitmap-to-array" = "9d50ceae3c8ce5b1b1db8e2101d1a82eab4f70f4a448997cfb1199cc59af3d52" +"sf.functions.bitnot" = "c63d6bbf9dc281ee59cf4893c3cf266213e406ee5eb62c3c6fa1624ece6cc862" +"sf.functions.bitor" = "68dd2a6eeae3628aba206ba3bf91be3b4bfeeec564098509e6afd37a91e7c0d8" +"sf.functions.bitor-agg.bitor-agg" = "ceadcf4788785bf56b622ef8f11e44c5628bedde3de28f174065fba11ee64a52" +"sf.functions.bitor-agg.bitor-agg-over" = "fa71f8064c0cd710814afa9da32afd33b79210bb3977e3a08310c4b54df94a5f" +"sf.functions.bitshiftleft" = "71ef4ad3410aa790375fd420f5beedb42d668cd6ea9518ebae0575e500d222ef" +"sf.functions.bitshiftright" = "a5113f8475310209c6340f338fb8379e54c6f13b6ffc59c65f25b39d0e25a7cf" +"sf.functions.bitxor" = "f0e60769c0c49d65f90b3dda68c81490d7698ade393aac2c8f724506cc12ba35" +"sf.functions.bitxor-agg.bitxor-agg" = "de3722430ef625c8d5bd08e1a13f178ac0266a067f9f7727591e79124991bf8d" +"sf.functions.bitxor-agg.bitxor-agg-over" = "04a0216d3107bdb58d79e271e258a8bf6785771af1bc9141d31d560543ac4ef3" +"sf.functions.booland" = "7bb9546fa2aa8adba2b8481f86472757f2c4cb793de5e63ce65d0eba6b0c2d43" +"sf.functions.booland-agg.booland-agg" = "089c30fd7b2440193af522186374b0e8d57e28fba2108a9b62e169628aff7144" +"sf.functions.booland-agg.booland-agg-over" = "8b5ae7e0e8607be0f03c126b9ead3d54160bfb2b534e44cd0e3a503e2eb00854" +"sf.functions.boolnot" = "75f0eaac3bece3c89b0493c9c6421b96b7b3ea22ed95f7d1985aa4248e7fe161" +"sf.functions.boolor" = "886df18df4c6545f3f544182306b9ad11a3f9947931ef6d66e9aa7e6d7f579e0" +"sf.functions.boolor-agg.boolor-agg" = "13e6ab7ae38781a5f3a27c03f6b49978e7d3dc514ba1137a2ff5fcda55e3b598" +"sf.functions.boolor-agg.boolor-agg-over" = "6df2c47bdca7bc747c76b90a6c6e5853920d789a214f30acfeb28f8686649fef" +"sf.functions.boolxor" = "88aa145873296770b3d9e4edf82df120fd077092896490f619eac703f0649a2f" +"sf.functions.boolxor-agg.boolxor-agg" = "656dc594cbfaf42db6038ec01a4c00c00d679d9cd7994a08199d87a540610dee" +"sf.functions.boolxor-agg.boolxor-agg-over" = "2759f9718a727dbf67aecbc9fe329d939bc1e5e0c1b8f1fccbe086e186b64989" +"sf.functions.build-scoped-file-url" = "303f476b45d75248598af9774968bb48caf3b2e80f464252f63f1af406318ace" +"sf.functions.build-stage-file-url" = "875938e7ec4960441975f136005a2d027481dbdf0dbe937e6c0234f5e219d8f6" +"sf.functions.cast.cast-as" = "182e8fa64e862b3f6aea0329df1e53ae978865776cdb4025bdfa746be85b0b09" +"sf.functions.cbrt" = "0ba26601906bdb0731d1ab5be04f1aa9f7c91ef6209e0929c172f939a76e61fb" +"sf.functions.ceil" = "f8819a390b805d53af1733b8ebc82935d2c67a1bd821667d6ac697e258175fa8" +"sf.functions.charindex" = "edcc39b3e204a2af33cc3afc8dd3ddc68c1478f77d557dca48ec24ba098d45f8" +"sf.functions.check-json" = "0bf1ada1d95086de02ecf6dd0ac2600f934f1b255ef20336abfe4e20a81ad915" +"sf.functions.check-xml.check-xml" = "44eaece2c1d9c35a03d3cd36bb29045f340619520b524f49026e1f668b6b9632" +"sf.functions.check-xml.check-xml-str" = "617d8d3231c24a3f1f2d5ac4c29a4bd6f2449c08ac9ba216b50126c572dc3021" +"sf.functions.chr" = "e4ce4998fcc3b654d271ada30f31988263c6522fd7e5640ee8b32e9744f2ef3d" +"sf.functions.coalesce" = "59812c81845bb4dede88ed05b1ec48c9617d3c50997a5531e74d91b9f2e0294c" +"sf.functions.collate.collate" = "0d058fddd47c98f74b54b3b4d4be4d16eaf9cb357f329daad15f165bad19918c" +"sf.functions.collation" = "45e5b7abaa60095c66dbcc94b207b68b5626bd7c594abf546cde886d1e295a8e" +"sf.functions.complete-snowflake-cortex-multimodal.from" = "07101cfd4151a5bfa8f9284854f878361bda3710c5df6c6aff866bfda1e65b8d" +"sf.functions.complete-snowflake-cortex-multimodal.from.syntax" = "c795b1354779677ac3e7bb8c2d7630c1874218a93342c6a1a35797cfd75a0d42" +"sf.functions.complete-task-graphs" = "e711025170cbc6288ebd88496118e2fadf3181a3571761bc67a030acacaae09d" +"sf.functions.compress" = "894a75bea2e1a2edee07ed632b04278fd44211a96acb5d9588e1fed29987a3b4" +"sf.functions.concat-ws" = "4132d15653d5303f4c5bb507bb7c5efb22269a84d46b62a718064a9e6ce0b566" +"sf.functions.concat.concat" = "f082d22cfb559de5c787f1b6a1995fa37ecd7a897e41ad7d9835f73c9cb7ab05" +"sf.functions.conditional-change-event" = "55ede317616fbe2ee4cd9816158c67706bba6490bfaea2ef9bd533eb0d5a244a" +"sf.functions.conditional-true-event" = "d99c0392f2b236a4244a43589dc551c5eeb6caecdd24fb464c3949044a97ae45" +"sf.functions.contains" = "6ce518a31c83d5e1cf5fe8441817322d552aca1e0970b8eaa450014fbcf87dcc" +"sf.functions.convert-timezone" = "a8232c5c5c30a482cfbd45ce2abd5e8823ad458d82dc002ac75a597f55a92973" +"sf.functions.copy-history" = "a962e3e2d1866d9a41dbce893420bad014d0c927bb09694c6dc6c960c6436cf1" +"sf.functions.corr.corr" = "57fb85c98938b2174bca56f69098c8d2f6ce15c0acc5f7f4c6bd821038ab3be0" +"sf.functions.corr.x-over" = "b51fb186e5ea88cdc79245eab25828ed907adbc1f1bfe05b86f4e75f4674d88c" +"sf.functions.cortex-search-batch" = "0216026e6dfe08e2746512ba5bc0993d4e73368328553545943756cd1514d868" +"sf.functions.cortex-search-data-scan" = "66321f40a1a986918fea24b1ed0189a40a8a0ff967e9ee667ffbf36358664fad" +"sf.functions.cortex-search-refresh-history" = "237b890ef65f1f85d76b5da532e18edb1bc18e390a0b51eec5ec0698e6c69224" +"sf.functions.cos" = "c861d5ca9c302944540ba10a50ece4d53bb60a84bfbbfb9cf0c660a0aa49c630" +"sf.functions.cosh" = "8c883d947b65ecbdadfeb090fe036b298c22c4aa6bd184edca464568490882a7" +"sf.functions.cot" = "b3a72de36559da21cdebe7ed655748a561c3c214e7608c5dc8a9f4e1fdc09e68" +"sf.functions.count-if.count-if" = "086360715482b57b25de0f333f293adcafa62ef462e0f91f8ff84ae3da445bf2" +"sf.functions.count-if.count-if-over" = "1b6596a693ce03a777e4c8cd292cdda3db785692cc097c08389c9c63b6b28eef" +"sf.functions.count.count" = "36910dc2de2641e4111df5d1f3fec61bcf64a63ebe3cb1541b00e242bdae4b84" +"sf.functions.count.count-over" = "4d4ccb5d9350c0c6437db60662e6689097a184e324839e3bbfb29802c1ca23c3" +"sf.functions.covar-pop.covar-pop" = "490c200d7ed51ca1e731672d3262e8d9f668913ed4596d8c734c3860db44f6d1" +"sf.functions.covar-pop.x-over" = "bc9edb091e635094de4a4346feb4bb3c1225cf7b819f0e1f11dda4857ead0a2c" +"sf.functions.covar-samp.covar-samp" = "b3238ff00a1027a5c456343297a1d1ecdaf48ed85a1f6ce578ba2218054fb647" +"sf.functions.covar-samp.x-over" = "d5046b42596c1abd8b35a3504a99fdb287881e84d859375db2f6078b4290b332" +"sf.functions.cume-dist" = "ef7445e1fab61cc52490e7456f0307b887e694ef2b755cb825c1e07278bc3bed" +"sf.functions.cumulative-privacy-losses" = "d36f3f5bebb6a25f7a74ff9c1e37dadb5e1469f709856c63672d7feee5f9371a" +"sf.functions.current-account" = "96ee797e5921e5893b9861d37cefa6286729534c83b6e3493af0d445d33ffb18" +"sf.functions.current-account-name" = "f134d3de450381a503118173e276df784b23557315c237a9191c8c538b16456b" +"sf.functions.current-available-roles" = "0d5adb7b2153368d85a1f3fb73df9483a83aaaf4efe5e53f1662258688aa22d6" +"sf.functions.current-client" = "adafa940866db80fa3607c79c3d59119a896770b1a2766c7f48c609b3084f507" +"sf.functions.current-database" = "6f660530ae00eb7844bb2efaae3042c91607d731dcdc260f39440c5e6d45a00b" +"sf.functions.current-date.current-date" = "f8024267968ddb364db0633eeed2820816b327f5bf7ebf96417aa6c8d7c40b8b" +"sf.functions.current-date.current-date.syntax" = "c0c1a34e8880b1f0e9e39e6d07309cc758e140a790832125589ac5e00df0409e" +"sf.functions.current-ip-address" = "a2d1bd6c2dbc2c82e024b091d2942cc81ce50a88a27fda8a3e3cfb321cd41a11" +"sf.functions.current-organization-name" = "26034fc0ed240aaec5093685e8b0b90ce2c427ac1e11aeef25e9c001c74a237c" +"sf.functions.current-organization-user" = "6047eb56081b1f7ccb0800ff2d9fd630e9d254f57dbad8b5e24b31823c6543e4" +"sf.functions.current-region" = "19d12fac725261a0b8c6145682a012f6e02eed13df1a5b6bce65861950679160" +"sf.functions.current-role" = "bb4bc936ce493626a6a7506808cf1aff0ec8d3fa582abfe87a18ca97c08cf2de" +"sf.functions.current-role-type" = "990b134960c11d8e2e6e6ae3377cfa56daca1152e26e8782c8e35545eb3a291d" +"sf.functions.current-schema" = "ded6bbfcf10088923e79bd1c05bb3174a4e8be20d495ee45ce1753c60572a212" +"sf.functions.current-schemas" = "e42dca0160a41b9dfa66bb10894e02194dff9445424991f1f0e505af9dd33f5b" +"sf.functions.current-secondary-roles" = "fdc2f91e0c93a1fd0c7c75f75c3896549f8f1dc6d4ca3c75cd126ab14ff1a44c" +"sf.functions.current-session" = "d395e7210e0911e2560601e8f577f52499c1d2077d0f115b96b2e73dd0fa7219" +"sf.functions.current-statement" = "28c135ce89b6e06c0d76c69a526dc11cc6a4fd745962b50d147a8cff49ae2fc3" +"sf.functions.current-task-graphs" = "a8c43e442794f65248fc0d86d478e439ac76f078a25f47d8c087426b48f57ef3" +"sf.functions.current-time.current-time" = "dc5c2767b777de7109eb3a66841f63c44e87ac01c91e92c7ef4e8ca341ed112b" +"sf.functions.current-time.current-time.syntax" = "0081af524c1cb4e1e96c9a3de7a1f94464a3a7584662ba3d59f446769472c3f8" +"sf.functions.current-timestamp.current-timestamp" = "73288918057a055cf22a7ca86f13489d79c07719ad2162d7c60706404df9cb77" +"sf.functions.current-timestamp.current-timestamp.syntax" = "2dac3f482dad4e2e57894008fdf34993c1fe62fbc9db008f9f081412c201049f" +"sf.functions.current-transaction" = "fefcb8cff6622b9a0ba481267816312bbc1aeb3b21d5973c7933d2a384b2ddb1" +"sf.functions.current-user.current-user" = "2be5987d19c9d41f99d9e4d19b66b9d2d97dd1451ae6b4422baf9ecc01551e85" +"sf.functions.current-user.current-user.syntax" = "f7218763099625766d59c2c90fa131184612c030af23cc8b49b7e79b61919ac2" +"sf.functions.current-version" = "bfd5d88e8be424d5112a06de68d82757f32c9cd84cd890fd0de798645a8900e0" +"sf.functions.current-warehouse" = "31fab88c90c3e93d0608bba32b90c960f8ff2e1bc2f616214089d214f1efad21" +"sf.functions.data-metric-function-expectations" = "1e0e00da1a2ba796bd8d15422c40b335b3e5f1e3ffe2ec3d3894b8d6c3aee933" +"sf.functions.data-metric-function-references.metric-name" = "dfb7a61405f7778fbad870e0ec52422e44b346e04f5131ec2165d94c93f2930c" +"sf.functions.data-metric-function-references.ref-entity-name-ref-entity-domain" = "976a22e82fd9c027c9db7fc85e3732c06238f1a39130277b7e0e264e492f83a7" +"sf.functions.data-quality-monitoring-expectation-status" = "6f48c6867dffaa40026e39f809461f8f6fc9317db9a9348a2662b0bd145a8e98" +"sf.functions.data-quality-monitoring-results" = "d1c3af75f55a8db9ddc1e12bf1904ba954ba41bb97151e43612167df8f6257c8" +"sf.functions.data-transfer-history" = "20cef960008f0e5e93b8228fd169e9e5e0488380ec9eb5e88e1fa8044e2463a0" +"sf.functions.database-refresh-history" = "47fabb0945ae4cd3cbeebfb5dd3c48986d81e318733bad2dc855179f550b4306" +"sf.functions.database-refresh-progress.database-refresh-progress" = "38ffe91174d26f19aca3e679e8ac52ea633e0267bdc595c1a1079fb70e42d33b" +"sf.functions.database-refresh-progress.database-refresh-progress-by-job" = "f32ce744c47ce36268118d6c0f5b46016d7f7c87f9791e920892eb665e0a53af" +"sf.functions.database-replication-usage-history" = "1a01b8df69ddae49b8f411d1fe9f44ca464dabde50b7a90ea4b06e11c8651cbe" +"sf.functions.database-storage-usage-history" = "6437c92ccd8004b868022db2bd19808736ae3d85a21e53552db6dd553b74bcf8" +"sf.functions.datasketches-hll-accumulate" = "aac35a05cf6a7d6ea24bfd0cd15ea704a56dc45e5120a5a4d9e532ab78190d29" +"sf.functions.datasketches-hll-combine" = "89704960143e8cf2a005da4100b47b89d9d9ef633ae919651aaad517cb6bc16e" +"sf.functions.datasketches-hll-estimate" = "617bdf35aa2ce5eff7a0d0cc0986a2e9782250db5759b4d4f41a0831ad836664" +"sf.functions.datasketches-hll.datasketches-hll" = "5ec986161cac4704847c659546032171fd923cdb0eb2d2a4b931691c723cefab" +"sf.functions.datasketches-hll.datasketches-hll-over" = "55b05df651425ef00656686d1108a1a3712ad8a8532cebf5eb4b59864a288ea3" +"sf.functions.date-from-parts" = "cf764c9f3e196e6f0f24ccc2a7f6e3b94acedd2c28f988f5b2115684550f4e75" +"sf.functions.date-part.date-part" = "5606c29792423af32257a8a52fb93e7347ab44155f8600306fcb9bfd03bb4fd0" +"sf.functions.date-part.date-part-from" = "ae62eb65d631308f6d3aae4d70a68962aa4b407a1c4b60e02d060a8a6ebba744" +"sf.functions.date-trunc" = "f612a3662c28bdbd110883a4ffc81cd283fbfef4cf39290c67ad014367a7cd4f" +"sf.functions.dateadd" = "27e148520e2c1b1ef23603fa234dbe7e52ab3030dae225d3a895e502a789f1e9" +"sf.functions.datediff.datediff" = "de9e27145e4bd6275722a1364a5415e65e242453263d173460b3f996d56fe8da" +"sf.functions.dayname" = "b708a0f4749322764b11f838d6732ada57bc7ee87ba82af47eafc132d71f44bc" +"sf.functions.dbt-project-execution-history" = "fa1c2b9249f1061297d7865dce21a8e1535d8dd3b448b418d760d13b8075f851" +"sf.functions.dcm-deployment-history" = "ae916dbfe231acfdb66d86c3b1b8bf83096ace5e67f2a863a3103e93127fb12a" +"sf.functions.decode" = "d065fb5156399a4ea39298ee402b911f98633f99a0dd22037a679ac0418079c0" +"sf.functions.decompress-binary" = "57deb6fe011a381b46361c414ff12cd7326dbb35963cae72c758f8760f08077f" +"sf.functions.decompress-string" = "497c4644f983106e9a6bdffbcd2f3fb7ee44655ce955c645d8747b94b87e4c62" +"sf.functions.decrypt" = "39fcb100ea4edf6e735250c973b096861097add6402951d9f69da03641c687a0" +"sf.functions.decrypt-raw" = "3e4813cf71f4c473bdf023fd8929c9520d2bae57a57807999a80aec4c3c1f9ad" +"sf.functions.degrees" = "b640e5d289be2986f44a7e9473914a40a4c8d87863e1d0d0539712c388933c9c" +"sf.functions.dense-rank" = "9d6fdd4192aec91cfcc8492099d3595c769faee37a52a1c3a3f8454049ef6a55" +"sf.functions.div0" = "259f956e97eca9d14368c294fd425ac76bdc89a594bc4032ac0ab2602eaa825b" +"sf.functions.div0null" = "3874d725b73e4f7c1a537b79ecf4ed02f1d79e168bd4c386b8e97b48dbb749f3" +"sf.functions.dp-interval-high" = "05b82673e9600aa76d513f4cb7cd858b652d1be5a28ef793601184741ec93021" +"sf.functions.dp-interval-low" = "76bf2fc7f76737f3181c44a74b71f0942e1c2e5f5e737329e92e1111172655cf" +"sf.functions.dynamic-table-graph-history" = "3b8a9b7452dd94c69520fb51f6d9f6b61566daa059c5c2887b1815e3d86419bc" +"sf.functions.dynamic-table-refresh-history" = "02c2542512cafb8a4a90cca578a2a5eaf1b368474e7aaa7330811697db82022b" +"sf.functions.dynamic-tables" = "e3450cb090233e593f329bfcb892350052819c4bba3bcce7a798f483540462a7" +"sf.functions.editdistance" = "da0d589a7c94761cf4f600d5fd1444dca95ae64534cc93e3c2800f88ffdeeedf" +"sf.functions.encrypt" = "230e4642802e6a530bc61b30d6ae77994b59f1c36be8596259b9dafc163a77b5" +"sf.functions.encrypt-raw" = "6ed467b0ab60b2059914c2e2e39a50dd5077ab06ee17f12e0f751112b9d541a2" +"sf.functions.endswith" = "1f318a48ab0205c030451a45f347ffcc88236171e4d7a35d811c1635d960c76b" +"sf.functions.equal-null" = "ebd01059af43a2f7105beeea41dcf032d9e1438292a35e8a123ad4a7421e2023" +"sf.functions.estimate-hybrid-table-storage-usage" = "94cbd9975080eddd15cb92bafc042b01eeeffd3d691bdccef2f4e1247be3de38" +"sf.functions.estimate-remaining-dp-aggregates" = "0c2363d68179c125d93101a1f03859096533048c374cc0fb9d2d3fb079532a96" +"sf.functions.execute-ai-evaluation" = "f4825f953545c87108c514d99ba2ffe05db73bfc6151055c14dfcbde88d30d65" +"sf.functions.exp" = "2cb9c525edad091fb8cf4456afe6e9d60fe71e80996d483e49b026188df32d80" +"sf.functions.explain-grantable-privileges" = "1959c022eb57d3e79de45c6100d8c859c7c2abddf5783c19d9a1740ff2fd2834" +"sf.functions.explain-json" = "a69b3649627bc5040a45d21217068241b5224dcd73f5511824bd36681fcd204e" +"sf.functions.explain-privileges" = "ce2e54494936ef81dc17aba226a579b958e43ee9180e648a040ea598bb4ca9b6" +"sf.functions.external-functions-history" = "4cb1b8b4f91b691af7a5c6cf0cabee24580ef7febafd4697856ed197233d1c26" +"sf.functions.external-table-files" = "1293790a06def6da7628114b604707eb3db147f72d9f268f9167af608afaa84d" +"sf.functions.external-table-registration-history" = "5214483bef337e569f15d592d35666eb74a76c99a49452cd561529e7f9ecc0ff" +"sf.functions.extract-semantic-categories" = "585e4f94116668408b99703c676ee15e3d679051a326abbdd7e1a2eb73939876" +"sf.functions.extract.extract" = "d079ceaaa44e6d33804aecbcfe3b546f3166c8a51240ae1d452c430edd240482" +"sf.functions.factorial" = "950d9220ae561fc48cc51a1e97c901a7f136347c335e7cb4371f52d32e9aeeed" +"sf.functions.filter" = "c278f5141782df82b425e4531fc3bfb7e60147a3e7445dd50762cc01a1728346" +"sf.functions.finetune-snowflake-cortex" = "02a6e4c6346de4c40ebd12be7534bd58a35b82ec985c364e1b9417630c885c0b" +"sf.functions.first-value" = "10b51d457bebbe0b07aa09e1da7f0ae8e4c039c1af2b4433e66fb4477c2e4c55" +"sf.functions.fl-get-content-type" = "03e0d800084c88cdcc7a30963eac3314092ae714a9c2f8e9e5c6308d3fa37c9f" +"sf.functions.fl-get-etag" = "1f66dc239d054f64e75f51648c23333da1832a8978fe9fee76e3e349eef8d73c" +"sf.functions.fl-get-file-type" = "3fb1f2e2531a16de2386b2d3eb49da7316e65bdee74509f14838aca2de89ffe8" +"sf.functions.fl-get-last-modified" = "3de45080687e716c1be7fab2fc582a4b5fd615acca7d1ae774e7f2c70bb2c641" +"sf.functions.fl-get-relative-path" = "08163c0099849875262c97f7c3b17b0ad0dd193461711b18e4779a58ebf0368e" +"sf.functions.fl-get-scoped-file-url" = "0db6e1cd96f9cb01f3f54e67c6e38b337bdca0570f24be7edb911add9c5f9b2c" +"sf.functions.fl-get-size" = "598f1cd6daa9b2d10a40c403f162e668c29046082d6adc54dd9fcac1461b3c23" +"sf.functions.fl-get-stage" = "b0f4e9679255c38d67856c05e7fb8e3156c6e5c14c06374ed2e423425d7bc9b9" +"sf.functions.fl-get-stage-file-url" = "607ad680eb89cef4d0f7d4fb71741f1e2a0f2ffef5721f1fa520fec76d3f5de6" +"sf.functions.fl-is-audio" = "88a05bbb0a7a8d493cca42f3a895fc7f9fd89fa2c9e6b3fbf44ba622969c86c3" +"sf.functions.fl-is-compressed" = "3ae2faac3fa29e9dab4f0fc295febf1902239b314480f4ef69c3259011a718b0" +"sf.functions.fl-is-document" = "82fe4aadd679ae0571e0fa50b27e75fa2ed5fc741684caa3d2a2bf9839e5bdb7" +"sf.functions.fl-is-image" = "1883b3fa00280532c5778ce47ed300c945c08c84010c646f3adb3b7a76f694b9" +"sf.functions.fl-is-video" = "7cacb65e5beab9f47742519fe5ea774eb0e8594768be1d005946a0bee55ee4a2" +"sf.functions.flatten" = "26afcdcf9ac9023fcf93a6dec362303a4f1171165fb1a7d79afce8b53c91feca" +"sf.functions.floor" = "f53212d06e97edce0c8cacd74a3231f47dc507ae6694f13391c90b985607bd7f" +"sf.functions.format-string-template" = "8a8a118ec9bb9d6e627598f0444c5bc405b927006decefb72ae0522dbd8cd0cb" +"sf.functions.functions-window-syntax" = "5b9703749faae056d0fb5607cf8655accb0f13c5dd7b2820464354d180c9a012" +"sf.functions.generate-column-description" = "6b0b597dd759d82c3127360706c8b82bbc272e242f75545cc03fc01af73b3453" +"sf.functions.generate-postgres-access-token-for-user" = "5bdfc3b86cbd83f240b891f90f5c17422cbcf135e9c52431ade910b9d74cdebe" +"sf.functions.generator.generator" = "e7b46ac3f7ed509c15e744b64a9891b843c396a5aa3ac44e11fc0b45e6e713fc" +"sf.functions.generator.generator-rowcount" = "23a44368f3f18a3613884fc8549dd5c96ea2147e92ccbad9864e421e629d8400" +"sf.functions.get" = "810ea55bcf12bc05ec15f82bbaa88317d07e5959cdf02934df195c40f61d2738" +"sf.functions.get-absolute-path" = "7054581a226bf45b406e2c78aef609a1315e074e12d1269046f4f3929db8e612" +"sf.functions.get-ai-evaluation-data-snowflake-local" = "64772e1d0ab8669ab24a7e6676d855186fa158ca922958c54f1b8fc912467d52" +"sf.functions.get-ai-observability-events-snowflake-local" = "769b13f3a56b30c45afc4004001bf45c96cfc6e3ff3fa02b98e17c9e9227562a" +"sf.functions.get-ai-observability-logs-snowflake-local" = "84bf464e3d9f53c1c0db167ee856c55dabfe84fbd781f98a15b9ab7c2d2f9e92" +"sf.functions.get-ai-record-trace-snowflake-local" = "67f5e34f5bcf022d6b3cc61f6c8afe0c6983ad69a5da42fc14585cf9ab4e86a2" +"sf.functions.get-configuration-value" = "390d941404e9083e44dff984b1e9d183b70c65160d835d92d35ff74d1ab500c2" +"sf.functions.get-contacts" = "c3accd30ef77306ac7444912b2209387a36119b25ae1c5815f5e5da1788a3e96" +"sf.functions.get-ddl" = "157027a3970a61f89cf41c8085705ae99323cb44ac4ce08aa43218d9364226ab" +"sf.functions.get-ignore-case" = "ad444aa7fa779baba0bf85c6183e76e3607ef1cf61a96043cd2680090d69126b" +"sf.functions.get-job-history" = "e8396947b9562771f50a9c3011e222e7a3f6dd9334fe7bd621d37e31f8e27c5f" +"sf.functions.get-lineage-snowflake-core" = "763fde585201e1ebd3d2596ee00ef1407a46ce346588179de5913aa5b3367998" +"sf.functions.get-object-references" = "f19dd1194c7a544e02f060db5d9f869ee5d3e3f7f2b6f07705c38c9378a51eef" +"sf.functions.get-path.get-path" = "eabf25f159aa9112cc1542cc0e128975eb14209ffa08b33884088c1ca42bb3bd" +"sf.functions.get-presigned-url" = "453a1a0174fe180ec2b18ebece94a1487a6dcb7bba6b387e4e6cf695dcca7cf0" +"sf.functions.get-query-operator-stats" = "9889fbf684916e3dd0148967432089cb99ba02310caed589eaadd9fc0116cb34" +"sf.functions.get-relative-path" = "65d36f537a7875d43a0842c56559a2b6c8444293e749dea8ed3216150aee5606" +"sf.functions.get-stage-location" = "4e1a1330c4deb4434afc281a27abf54277f965beebbf6137ff4bf88f3e5b4df1" +"sf.functions.get-table-version-refs" = "65e7f98e6ef0b0f9d349d2981cdb410a7ab7aae4ad2c30eafbac51e4f8a18e06" +"sf.functions.get-table-versions" = "a7d9bd58a49efe24013ed879fbe0dbb149b4a5fba3c2068f20ff3ae0ca2c6207" +"sf.functions.getbit" = "fe6ab98e9637b0b9e38b21ff2c8b4c02a4c56b7241c48760c6c893a066350f9a" +"sf.functions.getdate" = "a654617c6a58e9960bc14fab521dc9dd05e131c0dc8f452292a6fda9afc70a7d" +"sf.functions.getvariable" = "c8546c34f1c3ae404e747a8ff243f9b3e1215e551d6d55b6534a0f37857fcc1b" +"sf.functions.greatest" = "a252f46f16d3ae3b36f25bf5203673deaf907a120ea1f5e907e2fd19b95844a7" +"sf.functions.greatest-ignore-nulls" = "f14f033b408c8d6d945804dacca08fb69af312a4831eb7e67dd61eff6e418428" +"sf.functions.grouping" = "bfc16ebb100917304333faf94ad8789c21c864630634f565ff30b8f9145c2426" +"sf.functions.grouping-id" = "42cc9b99f16d3424faef8ff13c162405cb3a3a22ea969a9b646083d50f95ac8e" +"sf.functions.h3-cell-to-boundary" = "b26b4b4c5a80b0692a6873923e5ab1b282d72068e22fbb93afa93b032038cf6e" +"sf.functions.h3-cell-to-children" = "32a2068e16f3f0f913b5d98de026b1e44c04074ab962a7273b4ca6c22d0b49cd" +"sf.functions.h3-cell-to-children-string" = "d2968a52c30b87d3daa59939d884a56ac1e5a1f003a7aac2cc349af2c2765f4f" +"sf.functions.h3-cell-to-parent" = "eb245dd11552e2df797229f099e9da75105548478362f01736a3426210e9759b" +"sf.functions.h3-cell-to-point" = "0ba47e7fb8a05864a77f22db4dbc778a9f294dfd84ae15ca15b2cb8e43fc6e2f" +"sf.functions.h3-compact-cells" = "85019318ec05e48d579bbaa0abdc8c15fe5dc86547387c43a2ae3b9c339236a8" +"sf.functions.h3-compact-cells-strings" = "1986f94af299789a9a3d8f628413e1bed2e33d6a39309a4ea4bd475b7a5192cd" +"sf.functions.h3-coverage" = "e5cad9b5c519fac98bf3482681519aa0e6704a658beaf46f4f1569fb936d79cc" +"sf.functions.h3-coverage-strings" = "dcaf33aaf6c7f906839de343f70cfc4dc11dd084169451dbd2ea035b9ac9ccd1" +"sf.functions.h3-get-resolution" = "e3a9721b47e838a17f5a4b364aee9f3877d31905cd21ff6543c0ac198944cbba" +"sf.functions.h3-grid-disk" = "f6c0e12f03b07f2051a2e8c90db713deff4f9d40a36805b996cc4822cf57112f" +"sf.functions.h3-grid-distance" = "4de5d0d16bc0171103bf7c9ac9a700559d02427258eb0f15d8aa6f33cf935278" +"sf.functions.h3-grid-path" = "0d5c6044e985d4b5342cd2e3ec64dbd623e1a6cd455611329bb337b4156eb6fc" +"sf.functions.h3-int-to-string" = "b3fc342495f8aca725548ec8f1c0ab0a2b3a9d1b6250bc6e9555e1ce3eefa1d9" +"sf.functions.h3-is-pentagon" = "a662ee32b3b78dc59b8718b2b88790823a47ea63ef6886ee6f8eb008e609958a" +"sf.functions.h3-is-valid-cell" = "8979ed9cbd3bc554aa8ae976a92d4a4b18b5ff0bbfcf593190d3c5c4442dda06" +"sf.functions.h3-latlng-to-cell" = "03d46f5f2bac383f260c9504a629306b638253e87ceee228eaa9a7c04ce8f187" +"sf.functions.h3-latlng-to-cell-string" = "2bf9a4c92c8da9bb8d46286c62cf9db24b4c969b570dda0e62178dc6c24f1145" +"sf.functions.h3-point-to-cell" = "64d628454ae417b5b94db52bb4c776b780a38dfae1f39f9283f604efd45ab287" +"sf.functions.h3-point-to-cell-string" = "a8db2bf96268200c1ae3e3270f659a6391869404d965a1340d519d5405514523" +"sf.functions.h3-polygon-to-cells" = "f66e9ac75017d3869ae036992d5fbd3490edb9633798ced929013458492ccb7d" +"sf.functions.h3-polygon-to-cells-strings" = "facc0392db781255d7c9e00d7a824af831696a8e10d3ad41abaecc327a41b46c" +"sf.functions.h3-string-to-int" = "c26f4f3faadfb0b323dbecc93123a6960d536c1da8389dca8e0a4bc425a6763c" +"sf.functions.h3-try-coverage" = "af063605667588b3c0a8a873fe84b2de64a1eb81684d08f91a4fda411a229827" +"sf.functions.h3-try-coverage-strings" = "0d96a39426759e5deaa9d42657bfab3a0072cd0d927fe235253742ddba17945b" +"sf.functions.h3-try-grid-distance" = "3df98e208d509eeb71b9659dfa5a8789603dbd46b1eed5b6735cd4a3d4760647" +"sf.functions.h3-try-grid-path" = "e13c2647e2311b3b948274a172310f89fed3955ea207666329ab904e894904e9" +"sf.functions.h3-try-polygon-to-cells" = "356ba7d25e94d317f2993909dc8648bdee019e078f7b76557965143b3c91c6ad" +"sf.functions.h3-try-polygon-to-cells-strings" = "562b21bf03a444a465e40647e3c2af821f409cf8437ddd18398ce54f175c6c28" +"sf.functions.h3-uncompact-cells" = "57968da1af5835a7e4f54967cd17b785519e16954fa34c963e91a32f55488d84" +"sf.functions.h3-uncompact-cells-strings" = "4abaca1f6225f67bf2a7fb2f165d70ac07dc47d35f69dff2379bd3f71aab6d71" +"sf.functions.hash" = "4b09cbdc89e0040c59886dad7d0821147d91cb7d2ee6cfd0e0878ca54b73e182" +"sf.functions.hash-agg.hash-agg" = "3694fb9a4456cf601f986d2c96289ba5b4bf7df14807406d3a83ee9027229a26" +"sf.functions.hash-agg.hash-agg-over" = "d06a6ae154977d1467b63246b75f3503fcf10febfa73465d222207009486bf4f" +"sf.functions.hash-agg.hash-agg-over.syntax" = "63e0586d321de3d583f2bbbc08b694897b115bd33c2d68e65328f404850326b5" +"sf.functions.haversine" = "3b03af4c0740d95a9d3ffb42e5d111a71c5d334bde90394b6f4bfaf2e9f2767a" +"sf.functions.hex-decode-binary" = "9750222ad6e9c8c15e21720d312035aed26e240acc5f757a880862a21e68e78a" +"sf.functions.hex-decode-string" = "8997423a2ecf373642454341aeb44106f56bebe273b4189a431fb59f417e35a4" +"sf.functions.hex-encode" = "40487f2de4a407f9b1bcb17a07e87a8096bdaca45360073b70c46b6173bb3289" +"sf.functions.hll-accumulate.hll-accumulate" = "47866840541ada1a4b90282b0bd7aab093ae8fcf4672e7b91394a0c2a91f8b13" +"sf.functions.hll-accumulate.hll-accumulate-over" = "8bbf569c3825c86fa436556709d5ed8bdbcbde2c6fc844435fbbd2ee2d3d72e7" +"sf.functions.hll-accumulate.hll-accumulate-over.syntax" = "2ec9ac4e8a32128e4d51a9fda6a5404b2466274cc8a3f210674f760486bac53a" +"sf.functions.hll-combine.hll-combine" = "407dfcbb619a44c131694385599b3923b063290a6fd756e0565127fe95b107f9" +"sf.functions.hll-combine.hll-combine-over" = "fd57b3c9955cace30b4e9f039f8c8b4b86119694624af87f3a06bfbe0868bfa6" +"sf.functions.hll-estimate.hll-estimate" = "80009a27013f270c8e8c46764952c228d49cd53e1e9aac712f7dfb0a39a6f1aa" +"sf.functions.hll-estimate.hll-estimate-over" = "f845adb92be859da50c2e414a66f5cf4c056e4359d4d3d172608b8c46e029099" +"sf.functions.hll-export.hll-export" = "25c567cd06608241dc26dfc7741bdf36d57b9eae08bc4271bef8e901f938239a" +"sf.functions.hll-export.hll-export-over" = "9c20da266d9581796d726dc0024d25fd039b500a0f8443047f2c054e58885b36" +"sf.functions.hll-import.hll-import" = "e1783b60caa344d6e4f4261cd4c0ad55b3c5aa124e0b379a597b8d33fe200f32" +"sf.functions.hll-import.hll-import-over" = "9aebbd8c7a13abd8735fae3a1138e6e0edcd010e6dbe5501bbf884434b63e74e" +"sf.functions.hll.hll" = "6a67f670b6a92b1563bd361dbd1d19b549435ed44cee2dd10e68cf4c2477efa2" +"sf.functions.hll.hll-over" = "7e294c446941b19b231fcba16c4f9397281104225a6ec8d4d27a6c07fa86e90e" +"sf.functions.hll.hll-over.syntax" = "bba03479cc0f81f6709303bc44e77588fa9e16ef99d491bf42fb769db2b09b2b" +"sf.functions.hour-minute-second.hour" = "52063583de31218dc657d17cab19b122c73f6b30286ed19023d2151a151eee51" +"sf.functions.hour-minute-second.minute" = "ab975310f1e513fd25d12c5046848c72f3b06db88bf1f683d33df86fd8e9908a" +"sf.functions.hour-minute-second.second" = "efdab56b3d92eabdd26850a07a4be3acf45eea0f9f59f40647df9c4931d6e806" +"sf.functions.iceberg-table-file-registration-history" = "e0a7ad73844ba8c62eb55d3f00e66e8db3634d00029b0b2bfa3538ada18d5844" +"sf.functions.iceberg-table-files" = "2f01e0f85729807368dcb8c60b0162b7a8529bc47553fe1261884240547425ee" +"sf.functions.iceberg-table-snapshot-refresh-history" = "7a1b9ccbcae2916addb701511e9f9ae4d273c16105d03820b459ae115bf41f45" +"sf.functions.iff" = "c1c5fecace3c9ceeb0f43b4ba4922471887766684074d6dd8f38171365a5a560" +"sf.functions.ifnull" = "9de918680be107a7bf394f8b0597fc734f72fda1e477bc4d2ec2af80814bb2d0" +"sf.functions.ilike.ilike" = "ff2cd826740022692c63954c891ddfea36025d33a3ff86de589215f53d32e2c5" +"sf.functions.infer-schema" = "64ca29990176baa8c20c85a448ff847b76214a0518fa6234396e777fa4751f29" +"sf.functions.initcap" = "db4309291e0283e2203638a10a56f2e6076cbe2280ac4a672defaa3246aa6e19" +"sf.functions.insert" = "8e21b337b0a7fe19aa3b43aa68e866607ccb5782274e378e2d312014aac95bb7" +"sf.functions.interpolate-bfill.interpolate-bfill-over-order-by" = "cdff32ac4047df891c8b1e47286a08d662aee917699491d4dd881d37193511a8" +"sf.functions.interpolate-bfill.interpolate-ffill-over-order-by" = "a09c9097019a45d1f24fe4730e05280cfb7e0241f761438551ded5bcee04dfd1" +"sf.functions.interpolate-bfill.interpolate-linear-over-order-by" = "b86b544a7f7fbd1a5291b2394737bcedcdd9e1e7929eb26d0b1250eee423066d" +"sf.functions.invoker-role" = "e7498e58113c2b21d6eef75c8b0ed38a1fe9df8e31de3fbd7d007282af61ba29" +"sf.functions.invoker-share" = "9bfe1a810d5a1c97b9b066768d37f4e8bbe475d001886931fc4d8f31c07024ba" +"sf.functions.ipaddress-trunc" = "207a86732ea80a99f65ff44dee680b2a0e2dde4938244f195038af7cfeb5b7f6" +"sf.functions.is-agent-activated" = "d0433a9b8b106aff9873932a916684057e10fe412739a7a08ffbe8ba5635ba06" +"sf.functions.is-application-role-activated" = "fce2ce13b6b1f1e96064745b88ac5701ea41ec9e9f43e22d075c544fa6937c9d" +"sf.functions.is-application-role-in-session" = "831a9b67fc12e4a65058f632d7e70968e243fedddd17660fe2a094eaf3d32b4e" +"sf.functions.is-array" = "ba7c505e6164d5eb2bfdf32415a38d5ba635e6531bc104f1d594a1536a2a5f28" +"sf.functions.is-binary" = "50c0c4c1d4534d76c0f4f00c62ede1a1e01a1bf05f8c930b42bbbd46cdabec1b" +"sf.functions.is-boolean" = "bd3215a204022d27e5ca0313693e1fed94806da453a217c216d2ce1a136f3712" +"sf.functions.is-char-varchar.is-char" = "f12497931b5b133481d478e3192cd54b2a9f0b6da453ecfb611cab035f13d481" +"sf.functions.is-char-varchar.is-varchar" = "0d8b61aadffb7a2189ed032b04e5a42c078d5c62b611a7bfaf62567d2d5b73ab" +"sf.functions.is-configuration-set" = "0419df4be3d28a3324085e4e9147ecc4514a5987a6dae79c6339f8c0280715ab" +"sf.functions.is-database-role-activated" = "525bf94974e55f3a7441026a1495f26673c759a53d9f10212f980343a6592e93" +"sf.functions.is-database-role-in-session" = "577aded5b18d2422e3ffa183c34f498b94e64edec0ba4b07966981156cf7e625" +"sf.functions.is-date-value.is-date" = "2656467e6e75348e2f589ca06cadfb267abc3bceaf0d3497e0bf89a84c1ad1fc" +"sf.functions.is-date-value.is-date-value" = "c23ec3c51af5d39e2800934a7880d49bf9d6ec9901bcd13d5020bffa1518bf9f" +"sf.functions.is-decimal" = "e45c4352e1674559d81c48130659363e67093187c225cb693c3ba68fb70337c1" +"sf.functions.is-double-real.is-double" = "a7ca4f0f0ac8c429802fd9a6d8f34c278e34e6c5d5f81fcda71cf51daefdca08" +"sf.functions.is-double-real.is-real" = "3828bc40aa62ae16d7b5b3e353f81e30832a39663c4ec22e28c00c07d3dec28a" +"sf.functions.is-granted-to-invoker-role" = "364d4dd1e806d077c1e30a77ab0d737260f07fabd3c309a02313598210abb577" +"sf.functions.is-group-activated" = "a8d86ecd3da83328bd98ad1df2203508948e09cc6ece535fcb30b41bda149f22" +"sf.functions.is-group-imported" = "931afa355f78da1ab20d68609e6b1ff2132e9bde1139d729b8cbab9d150410f7" +"sf.functions.is-instance-role-in-session" = "50143221ef3de58cb22e7563cccd92a32a436b28c8809b28b175f06172ed6a46" +"sf.functions.is-integer" = "5ed80502e4361cbd4781f9304719709ada6587574d8c1292e5a55b6f468bb911" +"sf.functions.is-null-value" = "8ae8ddcd3ab8c7b0d52dfe00ab59af729ddbf49693085f738258c8b0d723f2b3" +"sf.functions.is-object" = "218e0de54d3090e80fafe957db7a1a1413b8dea2752a22188a3221e53281152b" +"sf.functions.is-organization-user" = "c82cec5bfb2227ca7d5906e86d2b3a0de2df40374f3db128a8d4d5bd81cedbe3" +"sf.functions.is-organization-user-group" = "d1963813b2004d78bae7b51359ff2b4655e5f1170edfe943408fead077120324" +"sf.functions.is-organization-user-group-in-session" = "631f329bc8984365d6a1d63a995da2926873dc5e24125594e9e31bc798a6bf52" +"sf.functions.is-role-activated" = "7f8fc1caebc9d7e84757a26f8d035dd1b867c3827f02e2e1c5f329e4a3bef060" +"sf.functions.is-role-in-session" = "411b5478512d84e2cf65cfb8dca51ab8ccdcceea07e5ff3ddd0fb308c6c6e52e" +"sf.functions.is-time" = "122a83bb29f76f81f2b4fba5af5464ded7735db5b48b54ce932d0dbb53c3ae00" +"sf.functions.is-timestamp.is-timestamp-ltz" = "b92a9bf25f2afe377e358f3b14095257e33a0c0c47456470b66cd4d8bef42996" +"sf.functions.is-timestamp.is-timestamp-ntz" = "0c7e2611a68f704b2ca2fb0b8b642843da832cb122f75631aaf5018215e246b8" +"sf.functions.is-timestamp.is-timestamp-tz" = "132149e41347dad623c3e497abebb105718843990d0116ac7668944c6a667351" +"sf.functions.is-user-imported" = "630273301f03943fcab12eaac98c29e13d8e14447b45163fe3b3b11e75609a4f" +"sf.functions.jarowinkler-similarity" = "045152ea4e51f581ca0030415a639d243a5b83febf513c38233359c9430c79ef" +"sf.functions.json-extract-path-text" = "5dfd0860f69842c4c71bfebd61f3a787ee639a1b77c4b67eb0bf78c0c949afbb" +"sf.functions.kurtosis.kurtosis" = "9251e6b5d52af8a6b70537cc4f33069f916d55682595662414437f1ef1c55112" +"sf.functions.kurtosis.kurtosis-over" = "593a34c9864a8e979a5ca3665c47c910ef53c18db03c15038ba8d575d19b539f" +"sf.functions.lag" = "1a0680df3426ca8f8c14d4302f909cea7aa1d217961216064bf13105365c2892" +"sf.functions.last-day" = "64e4caa08e82bac4328b0c30deb940b393a17cd8c6fb71e61d5b905af700ec5d" +"sf.functions.last-query-id" = "e628c18b1ccd657286d7618e95ea2d2fdc9f8aabcf24473c6997b2d8f7415a7e" +"sf.functions.last-transaction" = "72b112687e49c9e360a927fdb22d0e92d3ab2847fdc3f9646e08978122b67937" +"sf.functions.last-value" = "911e07492eeb2738aae82293932af351a7176451d21f5cc19c6e6599e9c632fb" +"sf.functions.lead" = "5d3f03ff99943dbc17e8fb0fa701bc2ac4bf552da3f12059fcb07c7ffe791e7f" +"sf.functions.least" = "49e6988672ea5cdf987974cc80c5750b45b8f8309d4d3fceef55b3318c3c063a" +"sf.functions.least-ignore-nulls" = "97cf8525a38b75f98d3ea6a93715f5be443fb786466ed025e84697017fadcf3e" +"sf.functions.left" = "b9f3dba661c0ee022be583a13f179df70cc965995a0cf5d77b208d8dd347903e" +"sf.functions.length.len" = "3a31fa68573568b0c12204d1ce3e6b4e6e56ac2f732f2e95c479e10058681a80" +"sf.functions.length.length" = "ba95da90afd0152e5bc100e36dfa592785f01ffd56292ec981233a8bbc108e62" +"sf.functions.like.like" = "504dae5ec964bacbe76792c4dad302d5f6adfe07f81b5ff8461fc760107336c2" +"sf.functions.listagg.listagg" = "0babc4aa7b4677949b1a010421872c39955104a085bdd553975e56919a52cdf0" +"sf.functions.listagg.listagg-over" = "f816516a0e35debafa915889bcd02a30135a63e58f39bd09b89f3d38480eb7c9" +"sf.functions.listing-refresh-history" = "f6819ac9d25ee8c444ebbd1e5c3567e5d8c78b83e2830969ac9243f237eab88b" +"sf.functions.ln" = "f1acc9d097b7a77964b1640c6464516eef4a3c0fe3d8c6a13310cf6feee1bd72" +"sf.functions.localtime.localtime" = "5cda8645ab9cf22701e5ef3bf087ab1dedf95a30e82b9fd408e9fd6d0024b47b" +"sf.functions.localtime.localtime.syntax" = "c2e0f7fbe8c6a5b5e6ac0839d22dec2e1de29f96fcf86ae14de70cd30c353de0" +"sf.functions.localtimestamp.localtimestamp" = "c4879cced865d7ab1a889b40185ce67cda170b56103fdf6d8ea4bf4f77437d9b" +"sf.functions.localtimestamp.localtimestamp.syntax" = "1d1c853d168db6879bbbd7878d69cff2e6d8197b4d855e96a43ec53f3e854201" +"sf.functions.log" = "3315be19f6cf2fb0ce1c7bbeb27e0712b2bb4d85decf91785bf0b46c55381a56" +"sf.functions.login-history.login-history" = "7bfb1dbd24d7b35f308b1116b81c41a583eee0bd713794897db6ac49c000450a" +"sf.functions.login-history.login-history-by-user" = "050210d2fc9e33438d8c28c0b465d9daed38a39fc72aac90ef20d8baa9a6a5ed" +"sf.functions.lower" = "cf0128eaf69748b724ff44ff786958d787163a5adbf99844eb1876252b1be3dd" +"sf.functions.lpad" = "96c00ec172154f32bb79a2c7057bae269a46c876c0bd1db921b5d74276de76ff" +"sf.functions.ltrim" = "aadc71f8041bb9f186411b9ad92c6093e60d52503766ce3a21e565aafe5865d9" +"sf.functions.map-cat" = "afb78c8eb1afab3ce54c23d4d5a3efd650dea8bd208f2d89d7ac4515aa5dcc75" +"sf.functions.map-construct" = "89e8096c84fb858c26b9f79ca53208e05692a43517cb8787916636bd2aaa752c" +"sf.functions.map-contains-key" = "aedeccdf1d6dd890a30ff8941dcb618bed1b83bab1c4c8c9345da46bee791d26" +"sf.functions.map-delete" = "2c4f3506509efec0fa97e35ee684e0cb4abd13ecb841e513eb9c5548f5d48751" +"sf.functions.map-entries" = "b7e15ff6196b12f3296e0adc72d30bb3b39d02f2494b65fca4a4ff6777d24162" +"sf.functions.map-insert" = "b7dc63722196150b73807111a2cf0818f869acb69a9f4030e3e5e955f3fa0fde" +"sf.functions.map-keys" = "1ae14d5881e2c89cf16b2ebdb9dd3539362c22654828ba255273292bf5370dc6" +"sf.functions.map-pick" = "af3fb2d373e6f6aa433b9ea1912b52e9fecebb63a32e8157e2bad2fe5ce6974c" +"sf.functions.map-size" = "e6c3eef6fd5a6a9962887b6d9c8daedad65a1997331d97dd48973109fb9188db" +"sf.functions.materialized-view-refresh-history" = "230f6e4c6b0186bf5fed47003d55913e8102a5acdaf592803fb6fad574db0473" +"sf.functions.max-by" = "181f72612b4d2fadb4361f5fa70a89528513089df5fb76e20e8a7d1fb2eb10cb" +"sf.functions.max.max" = "5fd0483494617e70769a36b071d2486325a9a96746e494ddf8a4bd4791669f5e" +"sf.functions.max.max.syntax" = "b3184e55ed79c204414ff8582db91e74bb8ef149f05018081097299188beb64b" +"sf.functions.md5-binary" = "a4fad454491a66ef7f0a5da67310d18b37e430ba7f6b0187d09eb12cbe9a5ba4" +"sf.functions.md5-number" = "e2aef67ccbaa603c117c09a494672667e9884f432d5e65475b46cac899f68430" +"sf.functions.md5-number-lower64" = "04b8f7399a385bc5658912c0410174d9d92ec9a04ebb754f16978c65b1b5c614" +"sf.functions.md5-number-upper64" = "ac9a885c7187efb5123c53d24f494244c5c1b95278b47caae8f918cd3ddadc9a" +"sf.functions.md5.md5" = "5f86ddc02ec43b2cd096774444d9e8f6188bab5dac67d06eecb38dc153a504ba" +"sf.functions.md5.md5-hex" = "cafdbd07cde1c7c8b6f7541496c1df4105ccb55e330a6ae6b5513253145b7088" +"sf.functions.median.median" = "30c3811e4327c2f8233b302075da302a0cda52648456044cbb06aad0d450ebcf" +"sf.functions.median.median-over" = "02cd1c6b00b178e47d88b2272e8acc32705527abaecdf7bd7b7c506d8662eced" +"sf.functions.min-by" = "8d2409b8b55a08b249e7bc756016d6046bbef7762beb2d6bc7efbbe2f25a750f" +"sf.functions.min.min" = "7cdf3a3069ae8ca5ea1321bbb9317b3b57b98b520f6a3f817f294bb1dbcb0034" +"sf.functions.min.min.syntax" = "184c9f26ddf47f9bd79f802fdcedf5b52009c829f1bded0e4656dcb50942862b" +"sf.functions.minhash-combine.minhash-combine" = "7c77efac5a58739fec7dd58e368155544ff28d649847a6f440a5b433f8073b50" +"sf.functions.minhash-combine.minhash-combine-over" = "2d453af5f9ba9e37966e877e5c609f495d8a181c17e59097d774e9dc1b471e67" +"sf.functions.minhash.minhash" = "bae17d675917c98ffd99ae127150a1d2034250a5e029f1504559ccee1543d141" +"sf.functions.minhash.minhash-over" = "8ae89eb15b4bdc3b3c1effc7390ae907b9ce047e3686b54da07d73291de60a0f" +"sf.functions.mod" = "e3a8e7bc467927c9cd50e2732a265730e56d474a4c310375834837d8e38bbb62" +"sf.functions.mode.mode" = "001e1268c5f5bcbcfef803c8dbce915500348d57380b62aa0a80b4d3758fc148" +"sf.functions.mode.mode-over" = "dc3fb29f16de3d2dd71c8c62cc34e83f5cf46b34173b70215a6fb72391a42eb3" +"sf.functions.model-monitor-drift-metric.model-monitor-drift-metric" = "69bf988ccfc47f22d8b3b39c9ac0846cdff6b8fe0b8c2495fd93a383286a83c5" +"sf.functions.model-monitor-drift-metric.model-monitor-drift-metric-service-base-service" = "91ee37a3a20b17ee346539b52d827eea067592eae02904f5e14aef62df9d2374" +"sf.functions.model-monitor-performance-metric.model-monitor-performance-metric" = "4a2e18fb90ed9c76715babd13193f7c0dc110d8a049d6ba317c375eacc57b094" +"sf.functions.model-monitor-performance-metric.model-monitor-performance-metric-service" = "1df1e39d8f6c2ce3ce45aff56ab8d13259c95ef377d5581a7024696b46c00ed3" +"sf.functions.model-monitor-stat-metric.model-monitor-stat-metric" = "b82d675e77ca4e796139630cff81b0bea3ae5e2d5f82014dd76420d468977ee0" +"sf.functions.model-monitor-stat-metric.model-monitor-stat-metric-service" = "a3297f3b67238975f46fdd64bf0b6423111619315d3b35dcbd0a8b35bfa47907" +"sf.functions.monthname" = "3c9ca894f13b3a498c9b659638fe201f2b5c7e3772fb5db4acef31f78f23b42f" +"sf.functions.months-between" = "59c88c2f32ebaf50566f542975f80768a38df67ebd79cbe587dea05990e9f015" +"sf.functions.my-budget-summary-snowflake-local" = "caf15d786b1ecb48cc004204e4bf4daac58fb1425e090896e6a7abe7fb8c5d66" +"sf.functions.network-rule-references.container-name-container-type" = "8d1be5e661ebf513893ae5cc8e4095704d01c8da5d9ec1c684a396ff9b69c0d6" +"sf.functions.network-rule-references.network-rule-name" = "6ea78232ee358e260c56252977cf0621ec99acd604bc1d402c3cae929a58c5c2" +"sf.functions.next-day" = "0ed74624ffaaaf56b6b912ac13a1adebc548c2c1a89b705fff2b344c569abb01" +"sf.functions.normal" = "44608c9a4761597b20345fc707dea4a5bd090e669e20a09f062d6b42245244cf" +"sf.functions.notification-history" = "ee8e936260793ec94e9a830e8f0a19c270276268c1f5338a5a72405c1c44c091" +"sf.functions.nth-value" = "048f5e479e686d10cc90c23f909544fccc6a9866de84f47c17337f66766ae7ae" +"sf.functions.ntile" = "c74d6ce1c91b92255eabb4f93dde25b93b77682fb104b16c8493f02c974c9356" +"sf.functions.nullif" = "b2f1fc7274f6de8286a1b57a27211db6179296660033746f1d8986656096d5ce" +"sf.functions.nullifzero" = "8d2a33e3c3d470537ae3ec851e4c7909e84f01da1960deb188065b6ac5d3ac87" +"sf.functions.nvl" = "d78c57b07cc9aef42651ad93f883dde56e9971224cac246f47a7352bcbf49d63" +"sf.functions.nvl2" = "0e6e13d13372c8ed16a96f43775e7d3ae2f450a1d6d09491ac25ae3c5a97b172" +"sf.functions.object-agg.object-agg" = "15c3d4bce1a2b846cb35504f2958225f3bbab4b6885d2aec1ddb0ef5123a3c0e" +"sf.functions.object-agg.object-agg-over" = "8478851ad9d5dd61e77e3d3207d62ee8ae0687e1a4de3ac33a71debd06a8a182" +"sf.functions.object-construct" = "a332ac302aeb1780d2368c0c76d1f551767659ecf85c23ead2b62b6199e6f423" +"sf.functions.object-construct-keep-null" = "b2e0368ba3c66b3a146058e8ae4aa45315315be67bc758408e66e74ff8bd6a0a" +"sf.functions.object-construct-keep-null-structured" = "cadfe32dba9c1927483e34db3b6ca20c086d58b190d39d81e57d5ac89390fdb2" +"sf.functions.object-delete" = "f28a2572889a79b2c584a6b12447f133a84da89090c8e769da4b91539d2d789b" +"sf.functions.object-insert" = "ad5165aee31c7110586cf43d51193801774d9d5849c4bd2bc4baf8cc1898b5e5" +"sf.functions.object-keys" = "c5ab0bdb27ffbbad03d216da34ae724728f44f6b09691179f1c63a9b4cc55b6d" +"sf.functions.object-pick" = "0e66d5c21ebc3dd9316314a433a2bc3a7564c7a0cf85a445b8faec92e5933117" +"sf.functions.octet-length" = "09dacdf17f18dc0cb05a231d0657df1cb5918b24210808abae41707da04e41e6" +"sf.functions.online-feature-table-refresh-history" = "e61b3a45fc799dd1f9a6c84735d7ef665e1f98034169190fc18aa4b0b52bb933" +"sf.functions.parse-ip" = "f246584ee1634ae3768b88c9219439e5aadf30e0334ce55493c65ab5ddbd31b2" +"sf.functions.parse-json" = "f1e3437351962e6a188b54f770ac10ffbb774df2123bae6abc8f154a3a1a2ef5" +"sf.functions.parse-url" = "cc5c48ca83e64fb6c326ada506e14c17b37c2aa88fbd7e5b6ee13108406b4d88" +"sf.functions.parse-xml.parse-xml" = "697f6c91930b26ac06e77fcff63d8d4ace06fcd16745a00339287391ff34e135" +"sf.functions.parse-xml.parse-xml-str" = "97f6a52beb7234fae8846ae1e9384543aa6094062e94228f52d1b113500401ba" +"sf.functions.percent-rank" = "f6290678c4ff677f08a43da667df78cc3926c4557b4c9248edf69de1b1ebf6c4" +"sf.functions.percentile-cont.by" = "5e29d6598a5d14fd535011c740b8318e8f50b823178f2d5374250b192d3ae2fe" +"sf.functions.percentile-cont.by-over" = "2619711e58ec3fc20bbc53795e3fffdc36bb7d76a3daa69e80942390c1ff4b76" +"sf.functions.percentile-disc.by" = "c5e2a45dfc264b783dc5648867bcf2f070cb00e95695f4a051397444ba16235f" +"sf.functions.percentile-disc.by-over" = "d57b39b25e8776eb6622e08c3d4143cd1bdcab3e833cb78973639455591f832a" +"sf.functions.period-begin" = "0ef6afcb76623a8f15ec31b39c34824444af8d958aab505422b1dc93d368e878" +"sf.functions.period-construct" = "166fa7084a4952996c880513591b99649a504e4b3102e246ad2e967dbc6dfdb0" +"sf.functions.period-contains" = "a771b1a98776c8cd084911f8fcb1f4cafaf37956716dc27dffe8cea15dbd931b" +"sf.functions.period-end" = "725d17477a9b87b79b57394183a51b87aa4a848169fa41fe42c4d2ae5c94b31d" +"sf.functions.period-equals" = "4ce3dd78055c53b019811c03c9614b549b59e298107281d63f204c6086b7676d" +"sf.functions.period-immediately-precedes" = "92296a592e78b1223b1d6ee4a05174ecc10db35d48064447fe06eade05a7db1f" +"sf.functions.period-immediately-succeeds" = "459c93c2d3fcc546329da5066352c7ccdc936fa796857cc1c0726ca93c0581eb" +"sf.functions.period-intersect" = "4ec0641f86542aab9b616f5317018177b283ced4a3f2869fa4bc74533b1bc998" +"sf.functions.period-ldiff" = "861ed834e79d6cb8224b313585f0ebbcef980bf15bb4bc3864810311fcb6869a" +"sf.functions.period-meets" = "eebf7e549128efba7fe4897642f10ef04d08aeba41a6f9e00aff6be84af115a6" +"sf.functions.period-overlaps" = "8a09015266abd7dac9b9a61a627b02261bd534086be855ab8e8418380948ebc7" +"sf.functions.period-precedes" = "8972a4e757fe92b1864cd75d677e30e8686f39da1e28d0349adf988a69ad3489" +"sf.functions.period-rdiff" = "b43a67ba2e14265c93957171b12d6446a7c6a50ddbfb39e10573ab8c90088119" +"sf.functions.period-succeeds" = "9c93f85bec5470739a700356d626c68aa8b1e1583bb06b742d269e0853075643" +"sf.functions.pi" = "db754bbe76383d19bc41f8b698c6d8c59f17f3d48f05d1d8700393313090f07a" +"sf.functions.pipe-usage-history" = "fd1de7ddf704981e9813d1c659e7b7e9c0c5683320ad192c9a337a5ed6272a29" +"sf.functions.policy-references.policy-name" = "2e9cc8ce6c16acb47179589f12fcf7675fc57b8aab695a9bae55d475bd62a11a" +"sf.functions.policy-references.policy-name-policy-kind" = "cc7751fd52643c7d7d931373fc30c21c045e84b83a5deda13a19bb2c674d15ce" +"sf.functions.policy-references.ref-entity-name-ref-entity-domain" = "e42970c75e63500fc3d16b66126c1eeb8306a87215c1b3f0ae361def5508e71b" +"sf.functions.position.position" = "d1744e44643babf14b0a8df64318300fab28bce20eaace3fe09a40643ba1621f" +"sf.functions.pow.pow" = "1361a8cabf37b2ba53f536d6ba13759bd550bf4668ff22002084d953a00dfba2" +"sf.functions.pow.power" = "0abf8c6491e58b85f876b1cc9371adf1ec87babc39a478866d9a1c4a8d4dec5d" +"sf.functions.previous-day" = "2563976306ce3963f3948c20a9424f993923bc67b75406e26d90ca596013194c" +"sf.functions.prompt" = "13167159b99dd264fd29c64075307ad1a5f548738b71e88f0ad84b0ef4152b7e" +"sf.functions.query-acceleration-history" = "2f026835b8a28dbc9633fb6a54c509888fceb9e216b42df6fbb4e896eb5b34cc" +"sf.functions.query-history.query-history" = "b973f306271115799d240ec5a0552d980931f5c469ea8778831e65d10f106eb5" +"sf.functions.query-history.query-history-by-session" = "281155c0a72f6d156b2bc07fbe43e7fe20536fc50a929e92288469a7a76dec82" +"sf.functions.query-history.query-history-by-user" = "604eb1fa567e1b560f73e21c948c6578464616a9fbd7dde4ee20296f045ad1c2" +"sf.functions.query-history.query-history-by-warehouse" = "10366cb69e253b42c95d3fd46cd9f2dc0574ba3d921bcd526c3baa7ab54fb011" +"sf.functions.radians" = "5f6819af150760ab42f5c424d4135a6a83563a9107d552d15c7f5f191db2c7d5" +"sf.functions.random" = "92456174bb130191d6bab15259234e6241add49fb9b20be785acce9386e4304f" +"sf.functions.randstr" = "a69b79f28bd941aa4f738e493fa52763c637e5f21b143fefaddfad9ddfd13085" +"sf.functions.rank" = "6023d88b2b0a9bb92197b48cf48cbaa45a88671c5f7f392fe3a0882abd075e46" +"sf.functions.ratio-to-report" = "a50230de37cad01d7c4a824994c3d6fb4266b3fb360f3afc69493154bd83d06e" +"sf.functions.reduce" = "9bdd9a53dc43504598b02aee0cebf704a9f49cbc352348f7f9f4edac07c0f0b3" +"sf.functions.regexp-count" = "4d7fa7b0633f5da78c81a67c8c8627b38dfba57a1a4710a2ddcb36f9d4eab619" +"sf.functions.regexp-instr" = "85c8b7d71f45dccbd6911d62633651de1e8a430af82f3f02cab7d6246665ee82" +"sf.functions.regexp-like" = "491066f5371cb71a67580bd2bc4012f74e015a28a83b3770208b481810a4fe2d" +"sf.functions.regexp-replace" = "14f903df63f36531e510997a8663c11f93ad0aabd2eb5e3ce5bab6451f391bea" +"sf.functions.regexp-substr" = "abc29f0c8a27d89d471eea19ba59a051ee350f39b9213b983d8530127c14e6a6" +"sf.functions.regexp-substr-all" = "6bf987a388e0ff09d2ea97d43b332e8d66fc2eb3cd1948bcef74259be8a3f749" +"sf.functions.regr-avgx.regr-avgx" = "b7fa3d610d27c623738b049a32d301df2ce387c1bf4b051e584d9b4286f4b08a" +"sf.functions.regr-avgx.x-over" = "3d0a41ab5f9329e2ae5697bef2cffec83517fc1294aa1d9e0400fd84a2a07d00" +"sf.functions.regr-avgy.regr-avgy" = "1b527a0cb3e621a4c4dd4d46c31d8b57e75da32ce6bb6e4e07bfbe08d8d5f87f" +"sf.functions.regr-avgy.x-over" = "e79c4c3f558fb4c07f4d547b014474bb81951cab06aa5a1dfa5b227db0689a58" +"sf.functions.regr-count.regr-count" = "09550abaf198d1a6861946725165679c14bb0f055af2529e2a3dc3cb5559cbdd" +"sf.functions.regr-count.x-over" = "1a24ccd79642404cd90b005a36fe86a4478d2f3fce698692c55c87c12408cbfa" +"sf.functions.regr-intercept.regr-intercept" = "5c3cbc58503984a00c6919749ff2fd311d21e5f8abb25d540da965eb8869f079" +"sf.functions.regr-intercept.x-over" = "3ce3f7e237ab604ab942603dea0ece9b6d3bbc22dd4e81dc06b03c11062137f8" +"sf.functions.regr-r2.regr-r2" = "c3cf79ea56c226c1d82c5f159fc56433ca353f71722308fbee3188ac8bf9c6f9" +"sf.functions.regr-r2.x-over" = "041f5464449955c9ee0dbd7b5cffbbf35d395a1e4a6e6de085d758f776565c83" +"sf.functions.regr-slope.regr-slope" = "0d4ecebdc8a5ae98089fd046fa7a7e500cb72457ad1c98ce1f53091d6cdab13f" +"sf.functions.regr-slope.x-over" = "af3c4f2b23b49354885ff036d9c60a3dc3369c13364f3b494dde771feb42b6d8" +"sf.functions.regr-sxx.regr-sxx" = "8773cbe2fd2be5e0ad53dc99ab1c64ed7dbb613b9b031548f6109075f62df061" +"sf.functions.regr-sxx.x-over" = "d72834e8943a9254a4a51635cd58f5c2c4621e216d5f37fc21d19f59c316bdf9" +"sf.functions.regr-sxy.regr-sxy" = "91e46a71077474f64fc73d219b86acf2d455455934c00a4447e74b135339868a" +"sf.functions.regr-sxy.x-over" = "fe645efdc95b13ed70880aaeb848d9ad2f39646a76d0203fd89e6f1a4faef267" +"sf.functions.regr-syy.regr-syy" = "6188b823664dceaf48779311e4d64b01f062cde2b302b4a43427f5c1a56c8d25" +"sf.functions.regr-syy.x" = "45c39811c6449bd1a07891208d38172eb0ebabe2a40868d9b103d5f40e1f449d" +"sf.functions.regr-valx" = "8ceebab10524ea9d5739d203b350282f6464ebcb4eb3c3e7e534aca07edc6434" +"sf.functions.regr-valy" = "1b109407906bd5546386803a8073e9bbef361c542e672a878fbefd3352f14f8e" +"sf.functions.repeat" = "c7ac797bbbb0940abf0f4bf3615821d96c2cb11a189d8912c678a49f1b4ee0b6" +"sf.functions.replace" = "313db18f05684a6fce0b7707e4104cf7481d17fa6d6ed2c98d0b1cdee634cd24" +"sf.functions.replication-group-dangling-references" = "44975ef75d9da917c62041cf6f08949fd3db441a83713cb272ed71f952d88a9f" +"sf.functions.replication-group-lag-history" = "38fc0b93e4a743d68dfa963c4c55f8191aaa919df48dd3703d6543a6fda492d9" +"sf.functions.replication-group-refresh-history.replication-group-refresh-history" = "5247255714c5f3431ad977ba622f5848320fb13920cdf514e4675d4870bdec60" +"sf.functions.replication-group-refresh-history.replication-group-refresh-history-all" = "5651c8a1fa0385b1afe30a0457a96c7e381c37066f95305c41036afe959d2556" +"sf.functions.replication-group-refresh-progress.replication-group-refresh-progress" = "c5866d3b61a19ce524c31b6a6e4c75c73e62380306a0f53980b17395132c0fc4" +"sf.functions.replication-group-refresh-progress.replication-group-refresh-progress-all" = "3b55ba7d2979065ff41a210d4f26f556b6ab6d66c36cd6c3d48d3aa56d9f7a5a" +"sf.functions.replication-group-refresh-progress.replication-group-refresh-progress-by-job" = "d25d607b8ebc317bbb729da1cbf7a81b4a057bfb4098a14f19de1e8c83c70a22" +"sf.functions.replication-group-usage-history" = "438939207999ae57ffc961b862751b8054e376b4736ea5e974bcab6140df95ea" +"sf.functions.replication-usage-history" = "c947e180c2458766ab169f84215a6e249607b0c4cdf1b47cfd64840f71331b67" +"sf.functions.rest-event-history" = "8e3249fc1babbdcb59e912a92783c585b1b025cc886a8bbe50b14ebeaeb5c9d4" +"sf.functions.result-scan" = "a66b16cf5ad5a355d55737f1bfca74e07072bde8b83ae0c99ba34868e791f59d" +"sf.functions.reverse" = "85ff9866cfab25b22da51c364a0da479dd15ae813163247face5d6045a3ac6d2" +"sf.functions.right" = "b369725cf801bda7744cf9e81e7d9012f80219874a93674ddf296818a29c1642" +"sf.functions.rlike.rlike" = "7d95e9a0567f75b658440940ed82a5400f4f807c70dc73fc5ef67958f2dc0e33" +"sf.functions.round.round" = "b65eab5c60965d7a917a908be8fa8cb0dd6cfe7462c851e62c03c02f1319a441" +"sf.functions.round.round-expr-scale" = "7fd4e87d1abdde056878ba85ad412c16d8084dfb164dd6edb275dc5155379b00" +"sf.functions.row-number" = "c6cb255b9afe8022e214bf5e86d0a43bec379085571aac4570f00a66e4422b66" +"sf.functions.rpad" = "3e119ce94cd5ded7a33b96f186ca6691692fdea0baace91450ad533ef63b4d63" +"sf.functions.rtrim" = "5e8541d3df36ede004d8d0bf984ce949068024b3d9a30cab2f812a4a368ebe65" +"sf.functions.rtrimmed-length" = "3d84d76109434140cebd5bb87eacbc8ed074f00068f7a16fe703eaf88a2b39bb" +"sf.functions.search" = "bfb93832893321c767e14bafadfb3c8bb1dc682b0108321e0a6ef0129fb5bb5d" +"sf.functions.search-ip" = "28eb3f7ed9a4b92916a052bf03710851826b49c65df6d539bfa07086a0247c4f" +"sf.functions.search-optimization-history" = "f038fb0b29070d02e51e8b069f0a8b2bba309f63f232c7655089f3250f84d542" +"sf.functions.semantic-view-materialization-refresh-history" = "7a58af3d76dde5c384b07116c80f434d757bb7d3ce7d85d7b6d0172e0c835779" +"sf.functions.seq1.seq1" = "b6d6acdb67c59aa83b66bcca413c313682aea518c0c715460c659236f69be207" +"sf.functions.seq1.seq2" = "489cea069461b840a25d3d5b903b066187472c44113ad9012ea5da221dc16cea" +"sf.functions.seq1.seq4" = "263e81bf9fd305e6c5326ce1af18096d1003c02c81b215a8dd9de7e5022b08e7" +"sf.functions.seq1.seq8" = "2c9a5feaabcccda25acaef5abaae276b8a04a7eda5c3f2c783cd4bb1fc693633" +"sf.functions.serverless-alert-history" = "fabf866521e55f923f2000907c9025499c8e56b0ee48d1ce49d289b9d769314c" +"sf.functions.serverless-task-history" = "dcb1ce9d3a08fbdd8c6dc80f6e49c7f44c2900791b9d30c763135a3f5b5ec836" +"sf.functions.sha1-binary" = "bfb2669e3d4cf99d2203fd589d2902fe238f7ba1d7120a2af7bb47be9546d941" +"sf.functions.sha1.sha1" = "a96f30e16fa74dc357fac9e22f887845b134cd40dae714a07d7fedc33ac7278f" +"sf.functions.sha1.sha1-hex" = "39c79c7754d3e307fa6226341c50726069faf4d526918c6d94a95a5cb5072556" +"sf.functions.sha2-binary" = "4b46f4421937f1bd7a9e213e6586ea5b1deab188e9732914d9febb4bfa32f177" +"sf.functions.sha2.sha2" = "a83f1cfd5b6d6cc96f43a053d1ce8f71d94e0e724519577b3fbde736af785d75" +"sf.functions.sha2.sha2-hex" = "08c26525f9ed979b624dd9415a18ca6d66b4669785905aa6304e80acc2241b05" +"sf.functions.sign" = "f042cea8d280a8431be1e4b0383fe43ca336f96a0aa60f120d629cafa8530050" +"sf.functions.sin" = "13642827bf5bffee1f6cc54a4e1b0f017fb237d551638800dbf9e94b4b35201c" +"sf.functions.sinh" = "0032f25dad591d45fd2a0276d8909c4d21351c37d0b2e96af15d73a44bf17a67" +"sf.functions.skew" = "f4ede95f722e2f6883bd497a39bd4dd288da1f2c9c4f68ff82a63f253b9b9f4a" +"sf.functions.soundex" = "257c610a48b6bab7313e764b8eba58358c463ab88bda7dd605af66376f692067" +"sf.functions.soundex-p123" = "38de92523cdd7f2812c59f8b88fe9ed75abe9b43ecccb93d53c23f6fae6c34f8" +"sf.functions.space" = "bd13648cf3f94957ab6d99084adccbcf6cbb6adbf0dd50aee68b7f0b8e993403" +"sf.functions.spcs-cancel-job" = "36a79048529fef8e0a3e0162f7e1bf4b7dbf1f5dc430f778b25f8b3939f43849" +"sf.functions.spcs-get-events" = "d057d9567dd5a9d3ec88c5d3b5dfee53f7877fe9cbd40e9735b0a62451d5fd53" +"sf.functions.spcs-get-logs" = "ddcd71565718be5b7283088b21b91dee61d95f3a8e5610b92cb8e95c999760e4" +"sf.functions.spcs-get-metrics" = "212b081d9f1f1f2a9a8aefa6e9c5587b0b07f945b875b8320389f5e3d19275d6" +"sf.functions.spcs-wait-for" = "7fc612e5105616be97347a6d43882144e3cbff399f4355b60fce2a8a03fab869" +"sf.functions.split" = "887ff725c96b1387d9d01b13abe3a5dcf018cf09951f3159d18b738c150e41b9" +"sf.functions.split-part" = "66adcb08b40c92ce73d742617e2e5efb0ff82c3afe7207afea86f69b595ff33d" +"sf.functions.split-to-table" = "c287b4fb2f4f8b03867f6924e7c1a8a6debe8c4b755c73027a62afe96cdd3a2a" +"sf.functions.sqrt" = "9d356d4f6ce9c9a3082ee36c97da7d325ba50d7ee3b088e825443ecadfa007e0" +"sf.functions.square" = "d3caca34061ebf9008bfa1ebbc09608cba2ca35d3b0b0940060b748ebfdd1bfb" +"sf.functions.st-area" = "de14d53fb3e816e399d80568149f85f65901e276c5aa6361f0336fa835177530" +"sf.functions.st-asewkb" = "6d4ec0ddead7e216c38d579c2e02cc95d5ff36f8479fe124b469eb71c65a4a2a" +"sf.functions.st-asewkt" = "7bc34f74d635aa2a4361eab11eaf42afcb816de9e19cd9730a30c9c1efb9f8c3" +"sf.functions.st-asgeojson" = "546289a44613b669104cd271270c6d754203f1a7921a220153a1dc80c45509d3" +"sf.functions.st-aswkb.st-asbinary" = "e5f13715949a00dabf9fb6933153b7ebd4febb02f687a33977930edcc2edd738" +"sf.functions.st-aswkb.st-aswkb" = "e1b12e71fe787c008076d15207f722b592182dc944fa83a66a523d6b0768060c" +"sf.functions.st-aswkt.st-astext" = "ef4932332fd064ed055c0899304f21b05ffd106c7b4474e725f76be7310b769d" +"sf.functions.st-aswkt.st-aswkt" = "cc2eba20db4581f1a2642718d5581c06fe28cedb0c4e9113e79cbdcc93be31fa" +"sf.functions.st-azimuth" = "28e65e8bed97ecc5288901c0697a89d2356f862db75c25383732e709810af522" +"sf.functions.st-buffer" = "814182160b4369ffeb1aa6e6291f55ff343a214baafbaab6b11e4e010b4055de" +"sf.functions.st-centroid" = "ce04240c9e6ba2bf7d7025c2b55d90e37c5e9e4378f6b2263a28af387ac85454" +"sf.functions.st-collect.st-collect" = "23688e5a7cbbb68570aca3e64db5aaf263772a8c621cb8a04ea7819b10c58c21" +"sf.functions.st-contains" = "1138702b6ee54b557ac8fb5567bc1cc1b5d48539c045b756832845ccfba1b5b8" +"sf.functions.st-coveredby" = "b853aed5976c7fd340bc6776130718cbd8af5589bd0e1bbaad38f99845e89146" +"sf.functions.st-covers" = "0145dccc94376463ad33fdc060009ef8b72e9cfe628dc6629ff57215bef5ea87" +"sf.functions.st-difference" = "0c5bc9a052bab6bea0517d233c56ddfcd50e6abdd1c0fd86400dc2540c30dfca" +"sf.functions.st-dimension" = "d91a2febbdaffbc6df9bc854faff29ccc4bd4ccb343c80ca350a5615a4217a48" +"sf.functions.st-disjoint" = "ae1c913a584b0ba557f9fd0d69a30869d532eb8a22b57c8c7a50a6322f781494" +"sf.functions.st-distance" = "52ad357659b285a9e0330397946864f215226e2c236f456c9639e0f0ab725b4e" +"sf.functions.st-dwithin" = "6c2e077f1acb611d48e26b2aab244b7bb74725ff9523256444b05c364d50f76b" +"sf.functions.st-endpoint" = "72a1299c9579ca07df65fff0ea040f5c7842876e28b8bb808b5942a0d3c92294" +"sf.functions.st-envelope" = "2af0ed3540fa53f0f81b6586b8a295554eccfe079d66109b16bb4b18211a4de3" +"sf.functions.st-geogfromgeohash" = "eb3edfb06fe4c4b7f997e2d5db58adf5e1aaf48d5e562106dfca5bc9d1eec356" +"sf.functions.st-geogpointfromgeohash" = "9b57a17719d304f606015d772f7de5809ba9f71582a75d6ba0b063ee2639398e" +"sf.functions.st-geographyfromwkb.st-geogfromewkb" = "d2a797ff0d6047aa65f0c87984efcef30b8c45c9fac1ce9fc6fb46614acc97c7" +"sf.functions.st-geographyfromwkb.st-geogfromwkb" = "9f30d0065815f982236af5188b1da43dbda648fc3ec5ed2ea1636fd099a0fe4b" +"sf.functions.st-geographyfromwkb.st-geographyfromewkb" = "e7ac41e8ac90cb19be1c4e3beb6bd0d3dccff2caadad75821b9ba2592a4f9cfa" +"sf.functions.st-geographyfromwkb.st-geographyfromwkb" = "ec3131fdacf119a94681aea07de244212225c4a964f9612b4a2b5ae7e71d8aae" +"sf.functions.st-geographyfromwkt.st-geogfromewkt" = "debde7b0c0200d9faf023ff73b66edfd15217774dfb52ba0dcd0010ba95dde8c" +"sf.functions.st-geographyfromwkt.st-geogfromtext" = "710d8e85aaf9c2f6977d63e2301da11ae4b818b9610573e4067799a752214301" +"sf.functions.st-geographyfromwkt.st-geogfromwkt" = "77a493357634e0b28da4654c4f6c47b65b11f529ef8fcdfccbc35b2d81eb1f83" +"sf.functions.st-geographyfromwkt.st-geographyfromewkt" = "bc805fbe60c3d2b1d91843d4d21045ef422e0270fe0b80efa5a8cd80688a5ba1" +"sf.functions.st-geographyfromwkt.st-geographyfromtext" = "caff903dccfd61cf788821fc36af7051fc66ffe1b558d7d1c07e6763c9a2877a" +"sf.functions.st-geographyfromwkt.st-geographyfromwkt" = "6bb85bd97255732541594cb918d962cc2a2305f1f39edd7b484d289a67fd724d" +"sf.functions.st-geohash" = "6300be6b3c8e14dc9cb8832e6141be87aea560f606c0691f693f8f5993bb983b" +"sf.functions.st-geometryfromwkb.st-geometryfromewkb" = "fe1bcccc71ca8cd3588f3c6a6a61df4601ee7ce74a0c2522827e7ad09bdf286a" +"sf.functions.st-geometryfromwkb.st-geometryfromwkb" = "5a10529486ab4cc3dfd984bea52f49404956cbed07840f1e986074a492a16295" +"sf.functions.st-geometryfromwkb.st-geomfromewkb" = "587f7cd36129d078f3efb6724cbdc90291dff6469b03995b722f3cfccb751668" +"sf.functions.st-geometryfromwkb.st-geomfromwkb" = "f01a3f12c5daa98873ef4167d13add36aaa05c020efd85fdfd7a7a351c533c9d" +"sf.functions.st-geometryfromwkt.st-geometryfromewkt" = "e0c20b1adb36ced32eed7c3ba8c73468b4c95cef30d5eac3f5b8c7f8cac5e478" +"sf.functions.st-geometryfromwkt.st-geometryfromtext" = "554698812d911c3005cba3e59576b86f09be7e583f6d8f754bb04b768096d958" +"sf.functions.st-geometryfromwkt.st-geometryfromwkt" = "3c28f7f05942e98c302262993219994bc7df63b2bef03e5dc65b4221ae49e270" +"sf.functions.st-geometryfromwkt.st-geomfromewkt" = "16dd88a7d1109e2f80527cb8bbdc95a9a466e330959fa75f8b9fe44e492cd505" +"sf.functions.st-geometryfromwkt.st-geomfromtext" = "abe67e47713dec3357f2ad8c9f868a036e81ba992385b62a1321ae2cae6888c1" +"sf.functions.st-geometryfromwkt.st-geomfromwkt" = "c104bc7f54031e8ef058475d866ea813f4deadb07d22e8f1ce609454deb2328d" +"sf.functions.st-geomfromgeohash" = "c93d384e58cc11e370716c4235856134aa782f8ccba3ea5fdf1bf9321e4d6a06" +"sf.functions.st-geompointfromgeohash" = "75e8342596dd675e7581c6b15f83b88fb9aa2e79f9df4ba6521866a9311cf4b7" +"sf.functions.st-hausdorffdistance" = "4430c2bc1399dc21b8af9b397ee2215c3e8a2699a90cfc2bef02109f50d13bda" +"sf.functions.st-interpolate" = "c774d86da941d45c6c8e24fa37baf23d754f903aaf3a2de68bd0b0147256cb7b" +"sf.functions.st-intersection" = "8d39c4d00f41c42944a130f8bf4b36567f1e814ed503cb3bb26a976e62519c3e" +"sf.functions.st-intersection-agg" = "12a69e54f506e64ee50d8edb3c4bb1baff25635cb80f3bcd57b94c040b96c154" +"sf.functions.st-intersects" = "810931627a414e0e5c507f39707986dc67e89482504952ee0dce17ff8646cb94" +"sf.functions.st-isvalid" = "b2d8d5794269cd39854e58d1377de5ac573a77fe69087d80ef3aec1ec936cbbb" +"sf.functions.st-length" = "3da1efe878f03c04c4d55cd7af2f74f584358da1ab69c219cf0741e338976bc1" +"sf.functions.st-makegeompoint" = "5fee25e508270fccfd7c8cd6ae8406cc6e036fc0af096e4e35f44d4fb654ad4d" +"sf.functions.st-makeline" = "e52240b825102208eba69a708f63f3aa55ba21daf85edc7d06538190917f2a34" +"sf.functions.st-makepoint" = "bd1b012a9024c124df092b1805c058756c8f46b25df37b318a1a7075bb75835d" +"sf.functions.st-makepolygon" = "e9802d07bb3862b839262a09875200bd8a042b85984f6ef910ec05d0d6462d99" +"sf.functions.st-makepolygonoriented" = "54e971c42e55f5b9e537d8586cebd02e7fdec6dff7446380569c8619a2779c0f" +"sf.functions.st-npoints" = "01ec771c4042c835722a01877ee8f114cd8528eb9c57535754b0256d013cec3c" +"sf.functions.st-perimeter" = "9d533fcc88cee72c1a2dc107b1c50296bb426afcaff298395045c2ffd3cac00c" +"sf.functions.st-pointn" = "cbfa6ad9d2f6bd3306c7985e9431c38853e50ee3a9e6338fe5cb114009135e7d" +"sf.functions.st-setsrid" = "17ddbdd7cb81e6fa80f488c9c4cb71752dfe360cb7980612cc8b5c707686c711" +"sf.functions.st-simplify" = "7ebe35f91dca9eab235ce5a66ff551f1249427cbe6f5b2aa29b6a6ceb319ff06" +"sf.functions.st-srid" = "93316f6bfa34b301d5a5e646ccd97a0c929abcb1b831e8d5288366468d76d49f" +"sf.functions.st-startpoint" = "edb8c2dddabcfca813ac1adca36860c43a68f8c8d0460a391ac56d8d2d091979" +"sf.functions.st-symdifference" = "9a2c1a876442d1b0dc8558830056123e2f0f30c72e87e704c5f956ff02d34c24" +"sf.functions.st-transform" = "2c71122f70157b0fbb99dc26cd55eddc6f4eb81ace63877d1825f1dce95caada" +"sf.functions.st-union" = "b4835474f166a8ef115383e65fa6ce386961b2a7f595e200f58619f5e6e51420" +"sf.functions.st-union-agg" = "3fa6d62636a8de01aeec0bd47234d8f6dad600bc1e617fba87849a887f1a601b" +"sf.functions.st-within" = "0eeebffc18be66b9d5ac013189fbf36567fbe15eed1c99965e246709112929e5" +"sf.functions.st-x" = "79006f7adf3d4c829e25513b7432684f2a6f2a5b13b7ccef7256ce28168e1fdc" +"sf.functions.st-xmax" = "0aa775ba5bbf4e6ae4e54506144138bca559ee8ebea1615baf44c6ae09d04948" +"sf.functions.st-xmin" = "e5f37a511e9c1dd4e3b409514aaf97147363b718d1d083cd9cf57b595443e337" +"sf.functions.st-y" = "7bdf0d7d252a241e0a5c13582d038211eeff6059119f69a0006a16ce3c8f39e1" +"sf.functions.st-ymax" = "91d6fdf7387c9e96cabc39fbad0c82dcc26364827372864ee7724cfac1f2057c" +"sf.functions.st-ymin" = "e531da2c829c83fb9c2e1cec42ed9a603056d1f49fddfa15615a3b6a906499b3" +"sf.functions.stage-directory-file-registration-history" = "5eadb9e8b18ee32e28c75034564538a6ac34b3ce5dfe320de19fb014a1dc5866" +"sf.functions.stage-storage-usage-history" = "5d901a79c76f39b055f0098d301642a94fcd1f3ab373c0e7fcffc7c20d8d5e49" +"sf.functions.startswith" = "b4ea3a738ad7af1773fc702299bd836f925bab6348240b162c45f99f68a9de31" +"sf.functions.stddev-pop.stddev-pop" = "931c2e83541cbba6ead0bee8cedc777bc39c78af2a68f9e01032d58930c8b375" +"sf.functions.stddev-pop.stddev-pop-over" = "5d694808c1480dbe161e9d53d2837e3149f868c12ed431f888ff9725338f37fb" +"sf.functions.stddev.stddev" = "7917060fe2e816c80ffb2b445acaa430f0dd4016089004294bed37b69219021b" +"sf.functions.stddev.stddev-over" = "7395a531f0c66ab16dbb6f3ec8a4ca8f9fce64d41b2dc6e76d6e236cefb8f178" +"sf.functions.stddev.stddev-samp" = "bc78ca019154cd7d0ac15a390bfe95973f3e4ae219e9570a7cf27b88832aedd2" +"sf.functions.stddev.stddev-samp-over" = "8418614f7f33b0d397af7fa5124f3e36f86b95092aabb234983fba47cf61fd34" +"sf.functions.storage-lifecycle-policy-history.policy-name" = "eb0e758b9aada8503c8da1076896a0c3db5c315659340ef434bbf2ec0a33d1fb" +"sf.functions.storage-lifecycle-policy-history.ref-entity-name-ref-entity-domain" = "5ba74037618aea679856a63a6a90cd40dfddb3390a3a7719eedaca9110bbfcf3" +"sf.functions.strip-null-value" = "daa4fc92bed18f2b3059b486739bbc3165da1d9ae2fd31ef5bce0f1b010e559d" +"sf.functions.strtok" = "8a39cf29798131cf5bc81203366162f904ce8c2117bbcc17e8d5024b974ac557" +"sf.functions.strtok-split-to-table" = "d2248fb8ab9bb80a1f6bc672011814007e319e01f55a46ecdbe54dc6c688b287" +"sf.functions.strtok-to-array" = "66a16db63c67abb0efd2d06f5a14d31c09fea75023baf758db7f495dfe5ad728" +"sf.functions.substr.substr" = "1778b948c19ef498466c834fb2485ae61cacd1d0109a3ab3de94ad8dd710c5df" +"sf.functions.substr.substring" = "bcc242870be25d31b65be7f0775463b50dfa2e59b85f02d8d770b86a4e22cd9e" +"sf.functions.sum.sum" = "fb6e91eb3676802553247be272c66185dbe143ae586b311845c75d9e29dcecfc" +"sf.functions.sum.sum-over" = "13319e0988c4ccd8f3c7b80b6cedd64e0d1ee29ff5005af7ee4007d666fc1de4" +"sf.functions.sys-context" = "a723910b06e34d1ef9370f19f5ba63a5f9b1b081ddbaf678f200b469556d6d6d" +"sf.functions.sys-context-snowflake-application" = "d7220399ab98de19f346902de6b8b9017c23f2ec9ef332936b7d9f018380f7f4" +"sf.functions.sys-context-snowflake-current" = "f4bf1824111202f99d7b4c02c7fe7b66ad8ac83a0c5807fe48902d77ab292aeb" +"sf.functions.sys-context-snowflake-environment" = "ce75eb5a296fc0b07d3455efc2fd94b95b47ba8b7a886d26740897160447d6e6" +"sf.functions.sys-context-snowflake-organization" = "ca1e9e71b078b82d5437cc2d0bd3cb6692b6ea83d003ae6eee425020b4a953d7" +"sf.functions.sys-context-snowflake-organization-session" = "1a387a1fa7ad995f6409dffaf3dbf11ef5bff6166e71bb880c569e9d637589cf" +"sf.functions.sys-context-snowflake-organization-sharing" = "27a4940b51a84c9818a3d85b2bb91e1ce1e6e7a8c4a9c3e86f3d4be26a2fff86" +"sf.functions.sys-context-snowflake-session" = "8d1dd6809721aa507f505ca5d6c26bc480ec9885a4ffb5c931c3cef0be841461" +"sf.functions.sys-context-snowflake-session-attributes" = "36137305acbd971a335e97f5b4cbf13e7fe013958a5d7363ce6258bdadeb1797" +"sf.functions.sysdate" = "d7f63c5ed5985bc1c4a65d55ae5a77e49f7370b60675a7168e5b2705cdd5add0" +"sf.functions.system-abort-session" = "b3a01fbdd5ca88501bd47c0e53538a52445cdd91ce7e8f37e8729301f0eb6c58" +"sf.functions.system-abort-transaction" = "99d86402f0c5d9f487f00984e61a055fd915761bfcc3aa696eaa9b86faa7715d" +"sf.functions.system-activate-cmk-info" = "bb59c3ee27fb891e0b22688dde8099ba86b10d773a67e542f7a0897198537da7" +"sf.functions.system-activate-cmk-info-postgres" = "bce9366d8a75fb39fae68833fd1175ab4b89d21b344f99841a1985bef87114b2" +"sf.functions.system-activate-cmk-info-snowflake-managed-volume" = "0e42035118f844231331dedc27b6b1c08e15cd2fcafa84d461486fb275273610" +"sf.functions.system-add-event" = "b2c6f711c600194af309a044843dc7d924f6c381d6131912384e8f1d73801fc0" +"sf.functions.system-add-privatelink-endpoint-hostname" = "4bb4fdfe08c9596364462bbb3ec7cf3918c1c3bdbced05102216b700b875d2fc" +"sf.functions.system-add-reference" = "96b5db7a823e645a1e55344565bc9aa3dbefcde124c63d5e5441fdca00b8f56c" +"sf.functions.system-allowlist" = "a0c255e92fe207079fe5e90d96de45cefa1a55875a50ea7af32249e893092450" +"sf.functions.system-allowlist-privatelink" = "c6938dc573203492f5be6da89609e0444c36e88484fce18d986d98e1e0df8279" +"sf.functions.system-app-compatibility-check" = "9c587bc43b49d759c5871cd39ab199e9402ef66caeb4df82f44c5ab6c382310e" +"sf.functions.system-application-get-log-level" = "912357ebb371c31df8e058e4a49404dec4e4b0bfffecd11a285eaad9a4234ac5" +"sf.functions.system-application-get-metric-level" = "950ccc6799432c484b27d489e359dd56c16539f10d6bf5c4527f83580f33de36" +"sf.functions.system-application-get-trace-level" = "588672adddbc06fc93ceef560f4372c5e4826e78777e3fe216c529997bf4c131" +"sf.functions.system-authorize-privatelink" = "8039a2fdcdbb6e193c7488546a2e592299f315026b44b9a69c6b2eceaebd3388" +"sf.functions.system-authorize-snowflake-managed-storage-volume-privatelink-access" = "efacf8f19a03b6491a7bdfab21cf62d0f904def281121242dd7cdd682243f59a" +"sf.functions.system-authorize-stage-privatelink-access" = "6177aebaa667c03ba9effdc70596dd17169d9b005b9c53c6a13010d501118346" +"sf.functions.system-auto-refresh-status" = "d5a68631599fb7d2d43414955c8295a81d85444701cb74db0b2a4343e84aec0f" +"sf.functions.system-begin-debug-application" = "f4f535f955999cf55697cf60421c575060f3998b7febe0117ab5ec7d69c3a652" +"sf.functions.system-behavior-change-bundle-status" = "b998da7b653340400c82d96afc6f76efd5b8f5f5b410c891e1ed2709670eaf42" +"sf.functions.system-block-internal-stages-public-access" = "5d69f6ce658ec1755147a7af6d81023ac41599909a145ecee439035c18c2756f" +"sf.functions.system-block-internal-stages-public-access-with-exception" = "ad9d8a8db238f1ff8613de1d78a63ffdddc3e8502f404d63a9c56c0df664cffc" +"sf.functions.system-block-snowflake-managed-storage-volume-public-access" = "87abf5dbd5be28753784b57ddc764ee193f9e7859abbb47829193a8212a366e8" +"sf.functions.system-block-snowflake-managed-storage-volume-public-access-with-exception" = "3d57c15edd67b7e846961267ef0aae528f4421926de7c07db2bb0cf799244fed" +"sf.functions.system-cancel-all-queries" = "9e8e0f62a6180ab92cfff5790bb38d51c982771d5611fe555fbebb99ef53199f" +"sf.functions.system-cancel-classify-schema" = "485191217744e4ce0ec41455741d090605ea54d1bb33c0504ef6c22efcb5af29" +"sf.functions.system-cancel-query" = "b5ed10a64ea6fe2793a0000b0d21c60a6917f1e2a2a80b0c0a7b3bcda50bc2e2" +"sf.functions.system-cast-multi-party-approval-vote" = "a88a33fdbe6809af793a1e9e3e65f082ff212b67587c0d4bacb0ef7ac414fe2f" +"sf.functions.system-catalog-link-status" = "ad43b032e50f0ea6c3e58e1f1dd4e2b4efdc8392d0c329cc169501bdaee8b9fb" +"sf.functions.system-cke-hash-function" = "a53bd147ddce602adbb71801c957c1160372dd4ab1e66fd74d7f98847a3015f2" +"sf.functions.system-classify" = "ef250f417a9249168948731b181ac2f402f3821cae4c20745072998e073cee69" +"sf.functions.system-classify-schema" = "f8befeb207f29b96b8a0461dc4322bb8d0ddd6d7e4cb99e68aafe87857f987c3" +"sf.functions.system-cleanup-database-role-grants" = "67789e87c64800e31edc749f1c2436dca5d118ff8b7ce1f27ef7ea505b297e13" +"sf.functions.system-client-version-info" = "f8469349dc89bfaa16f879ea911666d7df02ef42da93129b60b27b9823924b6b" +"sf.functions.system-client-vulnerability-info" = "cedcf75f32521f8f8ff4e1f5877d6d0d0178a3997dd9ee0e5dbcee76d7cf0d02" +"sf.functions.system-clustering-depth" = "3ad32c5f586a6be4ae7bba959618fa2c4f40299b4a8d151dc4b2c467277e8b2b" +"sf.functions.system-clustering-information" = "5616dc2ff1bf69cb1a2134d42f280e6cdfeb2fc561f57208c3d855385cde6cfe" +"sf.functions.system-clustering-ratio" = "36f6d0d057c1590ef66074b295e06ab7711843217ab3efb4718151f49afb6171" +"sf.functions.system-commit-move-organization-account" = "4ab0430b3f5c07ffeed07a256ccb1fe83e5491cf802eced640d9c12eec59dc9e" +"sf.functions.system-convert-pipes-sqs-to-sns" = "e6606911a0e1aa980363708718f400c8a6e4467f27eeef7c4dad6e8afe952683" +"sf.functions.system-create-billing-event" = "c0f5db9bcb7030d31fff5e42bd71607b90ec817e361b57fea1bdd8e6888849ef" +"sf.functions.system-create-billing-events" = "c398805f48a3832f8ff978dd7dd8e3c4888e4b709b3958ab21983d9afb3a8025" +"sf.functions.system-create-semantic-view-from-osi-yaml" = "ecd9e99d1d5720b7d6c84a794eaf443ac76d729fb87f889a116c88c024ba11ac" +"sf.functions.system-create-semantic-view-from-ossie-yaml" = "451df4c2caba13ebb12ced970cfebc80e2f03984672884bb2840856b728f9732" +"sf.functions.system-create-semantic-view-from-yaml" = "082ada4e7615116672e33d363be42379862cc5179d68e2357efd0a28da7b6ba1" +"sf.functions.system-current-user-task-name" = "402377ebcc10a6179d13cc59b6f4eadc5b0c69001c6df38d4019e3085bfebf48" +"sf.functions.system-data-metric-scan" = "93115180a4a13fd771c430ea5887bf1e6c52aafc6350e8adc890d04b7ff65684" +"sf.functions.system-database-refresh-history" = "edba79cd72f421783010a74937a4d13682ddfd302a546ad21b9726c5cf4b38c0" +"sf.functions.system-database-refresh-progress.system-database-refresh-progress" = "dbda9c0e193ef114efc8ec68ca1b39a502ba1136fd2ed99187d502190b3d4d6d" +"sf.functions.system-database-refresh-progress.system-database-refresh-progress-by-job" = "1d8182c1c70ca75142d3feb4dbf271b77b399eeefb43a81d0292bf5d3c2a4106" +"sf.functions.system-dbt-get-last-failed-run-target" = "0700a1e996d0f2fd2faa703d2f6ba6a2bb5d3b47acb37c8cff44061abb01466c" +"sf.functions.system-dbt-get-last-run-target" = "10444d1a0b92c6026ffae33fbed60963d594eb03f04e8d53d828b745f38d3a2d" +"sf.functions.system-dbt-get-last-successful-run-target" = "1c3f49fc99cfb256f84e97e1d17aa092a2cf55ac009ab67964080502273f18bf" +"sf.functions.system-deactivate-cmk-info" = "1c4f678a9812f5da765d7f8746abd9b5d26eed2d3b32bc31e049f1ce0ae3a93b" +"sf.functions.system-deactivate-cmk-info-snowflake-managed-volume" = "28feba33d30e8a1ecf60ddc699555739cbceacf5f9f8417417a0445a77b67b8a" +"sf.functions.system-decode-pat" = "68bf3107cbf7b9792f3b4571a040d3bfc22bca7f72e34f93c05cb0170ecf411f" +"sf.functions.system-demigrate-dbt-project" = "ed384c495d664a7e4b0593f67fa5443476f5ca28a8129acd00d4d0250a3a2d6d" +"sf.functions.system-deprovision-privatelink-endpoint" = "a5116c637623162fb529f0872b1ee9cbcbaf75054088cecbd15e937eb182ac7e" +"sf.functions.system-deprovision-privatelink-endpoint-tss" = "ba17614030e8d96925f202e014f7839a19b34a31c6a2447f3ee5a350f204742c" +"sf.functions.system-deregister-cmk-info" = "6fcfd75271a8e074b347176d439c98f9aed0ebd65eae83c7fab45ee3350bc730" +"sf.functions.system-deregister-cmk-info-postgres" = "3b4f5733d4b5022f140d4d5bcce40824cfd528ac9262207a291662bdf29b05eb" +"sf.functions.system-deregister-cmk-info-snowflake-managed-volume" = "ced08f3708aff2d4bda6134a68fa79ac62b584b3b1f2f51f1651e3ac7beaaa1b" +"sf.functions.system-desc-iceberg-access-identity" = "c1661c49df8b9c3483fc99339c216c379e6e2ea6508b72745d0357792d7a0bc8" +"sf.functions.system-disable-behavior-change-bundle" = "dc58b2bad2454bceb3b555114776f1569e6daf5111377337d5fb5e6efaeb926c" +"sf.functions.system-disable-database-replication" = "a4c48d1e229e8ad2f71ec5cc0b768bd16ea9f77867e972b8f342d1c8a34f5c64" +"sf.functions.system-disable-feature-groups" = "3799374af7add1528031e7c45b6c4e49aeb419bf493a7a72e4c6272cd09fd330" +"sf.functions.system-disable-feature-groups-preview" = "a95b9a3ec6b8a836d0db5c9076c8c87b330f7c4f01f2d46f97296e6ec0fbc0ef" +"sf.functions.system-disable-global-data-sharing-for-account" = "3d9cf281bc4b24297232874120f27d188aa16b7740777440190305aa4537eed9" +"sf.functions.system-disable-preview-access" = "29403c4770f0dac670bb760ef3395e9544c9f708bb91f8ba9fd4d7a452daec33" +"sf.functions.system-disable-privatelink-access-only" = "64cf91cef263a56ba4ccfad683b095ba7fcaaba177135295fc08feb75c4339e0" +"sf.functions.system-enable-behavior-change-bundle" = "a79ec89a2fca85cefbe1331c2e8120daf8e5fbd49bb6786016f91257acc54455" +"sf.functions.system-enable-feature-groups" = "6a3c998a862044823522576235e2c1695d02044444a00bb04e27cf1b1a6b3aa0" +"sf.functions.system-enable-global-data-sharing-for-account" = "636632e8bcd1c36abffc00497e4af6b8ae36613c1b8dbaa21692cf7ceb98cb54" +"sf.functions.system-enable-preview-access" = "97927fb80e5b8d1fcf768844a2747c43fdbcfa06a1ad3cf222f6b0520daa0a35" +"sf.functions.system-encode-cke-primary-key" = "a5ac76dedb26139939e051833055761dfafffb291001cebb38a4dd69ddbb09db" +"sf.functions.system-end-debug-application" = "5195af8518cb2fcae40b937dd9a8dcde715fb978da50ab15669beed789325253" +"sf.functions.system-enforce-privatelink-access-only" = "b05308943d82a39996f4cabd93a0a5f0c4a649bf62b43c3d5a7d8a061c177b02" +"sf.functions.system-estimate-automatic-clustering-costs" = "6cdfba931d205d6bb8993e412fa4eaae18facfd0977e85dfc1ee418cbf21798d" +"sf.functions.system-estimate-query-acceleration" = "9d85060deacf5fec435678a49be44c7931c6f9786f25f3c637e2c402287ca1fe" +"sf.functions.system-estimate-search-optimization-costs" = "a3c5c4b516f08b40b912dc84fc3272018f5fff511a8902312db1dcb1e8da69ea" +"sf.functions.system-evaluate-data-quality-expectations" = "ef6a5ec3507b8fc893f688a2dc5207f7db8d39d3c17dfee92bfe5386e52ead9a" +"sf.functions.system-execute-catalog-operation" = "ffc73d2e7169673703e2c50a4f64f60bd4343404a0820e3355443ef8f380cc7c" +"sf.functions.system-explain-json-to-text" = "a85e1ad11a59d6d8620919f1c9fd40d41dcc20778f1b0fd7fbac138572bfd905" +"sf.functions.system-export-tds-from-semantic-view" = "9a6456f7fc40ccc4c9b2cb4ac5494dd137a0749c8de490887b3435b8c922268b" +"sf.functions.system-external-table-pipe-status" = "645a081f4df8c02b873c78c2548698816cb78d67ed3d890162e822590ca4c90a" +"sf.functions.system-fetch-external-secret-from-integration" = "b78e89c979779fe0d3f602ff82545b5c9ab65c5663aab75eec0429695bc515c0" +"sf.functions.system-finish-oauth-flow" = "7633c418eacd243f219fe4f2226a96a6605dea9c641fe13aee7e18a8aac4c2f3" +"sf.functions.system-generate-saml-csr" = "3e4fa298c35901a5e62e69eb55f7245583b4f82cbbb6b9aecfdefcdb3d6bc37b" +"sf.functions.system-generate-scim-access-token" = "7b71b8d6c7b93233dca9fa1b9c6d6059bdbe55041f0d75538f4dd2c9d08c68da" +"sf.functions.system-get-alert-config" = "ed38dfed428e9fe8b1c9477ec0c9b812c3efb970247a2ec1415e348c3c175e35" +"sf.functions.system-get-alert-template" = "537bb2ae45abe86533c135d26f7335d24bee7ee53cd7b2bc76a5e305d7e7603e" +"sf.functions.system-get-all-default-columns-overrides" = "2856960178f5cf7af9fd01198f83832590c6991a2e4b0a2a4e8613a6d3628fb7" +"sf.functions.system-get-all-references" = "b54fca594980eb916955175ac0d7b244e37516b28c9b4248a3ae9f2cfe4c0830" +"sf.functions.system-get-application-service-logs" = "761f8493efc3b907553f90e9c0e4463ee1dafbf213770387f4bea800d5e2fba4" +"sf.functions.system-get-aws-sns-iam-policy" = "4233141ec968bdaf530e125a21def5e42b7f1184e01d123bfef42dcfe1d95f6b" +"sf.functions.system-get-catalog-linked-database-config" = "63d02c38d0ae461a8ad2fee2bcc8d84a0880747a7d3131c4463b8d11100a24f2" +"sf.functions.system-get-classification-result" = "1dc70d0ff8061ad42ac64538a765c98c24c5f5f9ce89aed75cc4ef97900b78c7" +"sf.functions.system-get-cmk-akv-consent-url" = "15ff77284633b23254831f30b4ac5732a495e37d81d2837b0b234e351b5e745f" +"sf.functions.system-get-cmk-config" = "6ccd10a28442d874b0c8c7acb8314da128c368748e97786d33b35481c4506bbd" +"sf.functions.system-get-cmk-config-postgres" = "d9ab6e4b2f352bdda31771824f6256014ed16fab3f8eed5ffdeb5fa3f4f89bb8" +"sf.functions.system-get-cmk-config-snowflake-managed-volume" = "bd45177281e4371bb55a448ca0bd12fd03562f275b96f93b0301e7f13b01c693" +"sf.functions.system-get-cmk-info" = "1709384fe1e609d852c87dcf46fb1df50ef56111bc08155d36dd417652d9467b" +"sf.functions.system-get-cmk-info-postgres" = "2a2a5f451d33eced338944f1bc0cc44f07305d14848825a385380bbb15418a19" +"sf.functions.system-get-cmk-info-snowflake-managed-volume" = "ac36eecd8e679c737711c10d6c4bff43561ed37e8c0359b77a07db98a4dd31cc" +"sf.functions.system-get-cmk-kms-key-policy" = "c6695577b6d158594ee02d4d13eaddc67ab3d4ac9ccf91ea2d846cee082526df" +"sf.functions.system-get-compute-pool-pending-maintenance" = "ebb8fe0c11612e85e90d94032632079a74ab4b22d72db39160b07a63ab6d581a" +"sf.functions.system-get-dbt-log" = "745cd277e9031ac0e4f4171f6522ea221908799c550d733b34be9f0fddcaaf2c" +"sf.functions.system-get-debug-status" = "920d9ef4a92838414adacd0df511513d0600ddcff0b030e69b3d41f8cbf797a8" +"sf.functions.system-get-default-columns-override-for-show-command" = "3009ed6c6503a37f433ccb3a3cea668b171157900b135ca02df28cf9abb43b22" +"sf.functions.system-get-default-columns-override-for-system-object" = "e374750561550d324eb76f663a332c370b2165042b1313695799c31e646bfcdf" +"sf.functions.system-get-directory-table-status" = "1ce5b698619346ece38efafe0ba260bdfebe5c20f040a1a98a832a6a4a8a07ae" +"sf.functions.system-get-gcp-kms-cmk-grant-access-cmd" = "6a38e437bd450ab75eb8ffe9f0437e491b37e3b6120c7530271eb51c1d1bc54c" +"sf.functions.system-get-hash-for-application" = "5b529acc85533884661c7daf49068ef6ae6b2e3c762278383e5ed5c1db87e56b" +"sf.functions.system-get-iceberg-table-information" = "d57d9b51ac9b7388cf5d1922c84fb344de17ea1d719a1a97ba134e298f84253f" +"sf.functions.system-get-instance-family-placement-groups" = "57cb4dced41ddcd605c004b5cc4a52431b507393677ee3f356600e24f7d279b0" +"sf.functions.system-get-listing-url-for-external-consumer" = "e39ab86f66134bcbeb8fa05c26ef103223bd6a44efda1c71793b4b1c437fe587" +"sf.functions.system-get-login-failure-details" = "e70799b62f2dd180260edc410763cd8e44c2f97c9a138542328da0eae04ec5e4" +"sf.functions.system-get-predecessor-return-value" = "f62ee3e8bc110c6e980c9d6bca659828760ee597508d9b27ed05e230076c18e6" +"sf.functions.system-get-preview-access-status" = "2979897eadac38aa40aceb99544cc028c47332ce5772d7ceae31fb009e65351f" +"sf.functions.system-get-privatelink" = "dcc8f9d380478e5d1df72b5ad5793095d9c1b2a75d64b49fdfaa6a60dbe3d0ab" +"sf.functions.system-get-privatelink-authorized-endpoints" = "530cad79b27a71189367d06396e63515edf3059afad1cafe69b81596ab2f5276" +"sf.functions.system-get-privatelink-config" = "f1c9f12b524efdca4220e5484ac7485c1bf02b5c9fc7d87a37c3de19e76ff3c9" +"sf.functions.system-get-privatelink-endpoint-registrations" = "268f22120b01a62e349b7908455421fa17bc6c9b2ecf5ec7cbebe2ddac2f42a3" +"sf.functions.system-get-privatelink-endpoints-info" = "02b7cf96b8e30acbfa73c897b4930edb6374acade32524563567da25378e3f53" +"sf.functions.system-get-purchase-attributes" = "587896b0f705b889084ff15367b7372e92d30b568a7fecc9f955e7e81e105a15" +"sf.functions.system-get-referenced-object-id-hash" = "c3f0a293778ed8f4bc92e9f7caf351f49a80cd46f17d257f59f665c6c90cd7ca" +"sf.functions.system-get-resultset-status" = "9996e97b09d877d142e5c0e157055e83ed21e01ee03275e2dfc9c2936e0ce7e5" +"sf.functions.system-get-security-integrations-for-api-provider" = "49d44ca11a13d8497b4aff54483d54420143d51629fb08860a4e17a3f4ddc066" +"sf.functions.system-get-service-caller-token-expiry" = "fa444417958298581d7980550a8d1a39ad1cf044b566099e12e942a1887e5352" +"sf.functions.system-get-service-dns-domain" = "36c9a44759b7a63d1e2d986c9d5b763041ebe6ffed1c5e23cebf7a45a5e3d161" +"sf.functions.system-get-service-logs" = "c2d88cf345a45f8a5e046e06fdaa5ca8aa6f3d5b437a49dcb4efcee5cd287730" +"sf.functions.system-get-service-status" = "d7d0920d3530f8dad87801c1cb03dd41da76fa895cf24158b0d3fc36536b523e" +"sf.functions.system-get-snowflake-egress-ip-ranges" = "81541a1943ed5e44a432ef15dcaabd2b5692be867d58f920bbde6a637446741b" +"sf.functions.system-get-snowflake-platform-info" = "e62fe0d2c52e6ee92ddde6b642427674b513d1ebad4fefaf5f30d04320d1ee15" +"sf.functions.system-get-stage-privatelink-authorized-endpoints" = "98d6ae96c3dc2003e90bf8ad32d438df7370d1abe062ebbc432b2c5ad8256b66" +"sf.functions.system-get-table-archive-metadata" = "86d6bdf635aa444205034e9498e96258e5e91804191c44691ade597368932d8a" +"sf.functions.system-get-tag" = "88d0e529bc2858da75cf9b7067d567d0c01c9a9839b7d0208541a48efdb1d5d3" +"sf.functions.system-get-tag-allowed-values" = "28037583da7ee3244ff8f988a78a93315ba20cf6ead9b3fefe7bafd791df3572" +"sf.functions.system-get-tag-on-current-column" = "bc26a0b9ff8d1e359fe327b44b70818eecce9100b66bb169fe008705d0af8548" +"sf.functions.system-get-tag-on-current-table" = "392f0800a2dbce47ee2bb84889e5b18101d9d6f86d13b2e2d98555d62295541b" +"sf.functions.system-get-task-graph-config" = "2e9c3d87065f012ee3b98dae067ba5ad3f10112ae9824dc574cfec0c265d3503" +"sf.functions.system-get-tzdb-version" = "75ab1a727cff4f0caaa9c223c3fd46f8d3315a1a348b500fbdada8faae87388a" +"sf.functions.system-global-account-set-parameter" = "3ab80245b11a56df4c2adf9cfdd9540f20d2fc8dafee4c320d9e12875de56160" +"sf.functions.system-hold-privilege-on-account" = "174cb76a789a7be40d4860484ef9c457058a428ccdcf41051d7418f7c0f88f7d" +"sf.functions.system-ingest-rebind-pipe" = "c944dec374f813cb75e8b5ee29ff3f7aee88e6342e093d42a7020bfb519dcc29" +"sf.functions.system-initiate-move-organization-account" = "9dcf31ab0e5d3cc3ba32d6b60d47e62cba86441f256edcc466abf41f2f199659" +"sf.functions.system-internal-stages-public-access-status" = "91bba78016e30841bce09755ac32c33abea872e4f342f674d6d5a6587ab78b5a" +"sf.functions.system-is-application-authorized-for-telemetry-event-sharing" = "b8cfb6b773a48fcda480c49b65e4c610a4eac3d46e1c71765460c2d396da6fca" +"sf.functions.system-is-application-installed-from-same-account" = "398b6c42656230c3951e56e195cb562059bcb9ba2cf8432ec7a8fba6a4531264" +"sf.functions.system-is-application-sharing-events-with-provider" = "2a4175097c3b36cc4983cb70bb3a0056a04689e2dba7daa1b29018ec92b7dc0f" +"sf.functions.system-is-global-data-sharing-enabled-for-account" = "567e4db2ca9a3c7413857a1e9f0532429a17934c30d82468db089e9716bf9eaa" +"sf.functions.system-is-listing-purchased" = "70879ab0cbbf90d35cc0dd5ae71a6e84611bb2956e3d0fccc74933d3ff44fcdc" +"sf.functions.system-is-listing-trial" = "cf12efb487a1467b5b106993265a2990cb11007a6397b06b03fd5fce48bb3895" +"sf.functions.system-issue-per-account-app-service-certificate" = "8bad51dbc7417e418b2a64535a0955b015403c853b9de57380c74e7973146d55" +"sf.functions.system-issue-per-account-certificates" = "b513e9380fea51e49c3bd7577b3370f109d08eb5eee14ca391a49ce0be9b5cbb" +"sf.functions.system-issue-workload-identity-federation-token" = "12b852af107e07b9825eb5c8c0b6c6f581f50595a06266f6816a7605d7d91069" +"sf.functions.system-last-change-commit-time" = "44d05756397a1e3d88fd8114987b510bca6046c9878d85bd7d5767d0f3ee775c" +"sf.functions.system-link-account-objects-by-name" = "33c85ac9447ab54e24d1b38cfb8c9081b5a25b8301a3fec0b01d27bd64ba06d9" +"sf.functions.system-link-organization-user" = "e9d958fff9e77114adf92cc0b8708cd77e052fd1fa7338f7f771a29c5683de90" +"sf.functions.system-link-organization-user-group" = "784b9a874123725402cdfb565c951513859e6624720b942b8371fd5be758cb1a" +"sf.functions.system-list-alert-templates" = "8aadd883c022175a69350b2c2a34d4a5c388f4333e387ac34f72a2983bd519a7" +"sf.functions.system-list-application-restricted-features" = "0b819db050463e02ded9f6a97a892a71b38ce86343992870c8a6c75b1ca8df7a" +"sf.functions.system-list-external-secrets" = "30f1eb872f9080fd706b09c7fab83cb9aa6e2fed2a3841ff2c7310857a8698b3" +"sf.functions.system-list-iceberg-tables-from-catalog" = "07a0407b3ca6dbf3021773e1b5941e3728fb4f1d04fe25f2bb2647be078a13ec" +"sf.functions.system-list-namespaces-from-catalog" = "6cc364bd2f3680af54226cc13143fd7137ab02368b1b204f4a6bad8170e3fb91" +"sf.functions.system-locate-dbt-archive" = "db134ec6f530201db55fdddcbe5e78a2ebd014c3db40364d28ad4c69da986f7a" +"sf.functions.system-locate-dbt-artifacts" = "2468f1cfe563565bfdd7b59b1478c580ba2ebd59de8b61b47f343341b2bf6322" +"sf.functions.system-log.system-log" = "da9c787d3d60f0b291b9747e0ea4ca829266af978437fc7f7771f8f105e0695e" +"sf.functions.system-log.system-log-debug" = "da1e512ab5f2b22829f10f08b0fae07b88eba99076b0aaaf36e0ed864fdfaab1" +"sf.functions.system-log.system-log-error" = "402729e396148c8bf22f14f82b0eb235bc05b3bc7fcd0f2504008cc763411588" +"sf.functions.system-log.system-log-fatal" = "d766ba55aa02d9359471a9e2dfa7cc23ec812edee07776b770d8c3a51700725d" +"sf.functions.system-log.system-log-info" = "0fd706463f1e3d062e425a7e5c29788ebb48b8ad1cebab2c83aa1defcb14d89c" +"sf.functions.system-log.system-log-trace" = "a18ecb415ddf54fbb9d255d15349a47060c7b0b2f00e21281a9340bf108519de" +"sf.functions.system-log.system-log-warn" = "9f05528f1d4d3c9ad1fca2c0d81612bd20f5bbf0014dd2fdff76a601010e4c79" +"sf.functions.system-manage-semantic-view-materializations-from-yaml" = "c17a0ead9a2d244102feefcf34c5c8f4da3a12a8d86466890272e1917231be64" +"sf.functions.system-migrate-dbt-project" = "e21273fce48b21f0947e92d3407adefe09feace271657ab0f170e2bc60fc48d9" +"sf.functions.system-migrate-legacy-event-routing-configuration" = "0d211a6fc63af7b5ca25b14d2763673e5a558f1c66b408ebfee256fc1e388ee4" +"sf.functions.system-migrate-saml-idp-registration" = "eba00b897e57604233fa3a0094b5031f84c85d8c4342f45ca93fd15f90a42b4c" +"sf.functions.system-opt-in-internal-stage-network-logs" = "fb08e3bfea472635fc2335a82c7e261b81cb0024882f4aa0864de33103a32210" +"sf.functions.system-opt-out-internal-stage-network-logs" = "09c5e48496f06954d552688a667af9f58f6b4cb861460ac3912fb1e42e98e067" +"sf.functions.system-opt-out-malicious-ip-protection-by-category" = "887c9a5d653b88f71453b0e1e50b1a0ab5b8bf076671df23d4b4487b15f1f059" +"sf.functions.system-parquet-direct-auto-refresh-status" = "f0fd5d6518d1f9de5939452adc5c922f4d3e2847f4671ea181ee42ec75992427" +"sf.functions.system-pipe-force-resume" = "24bb08f1cb2f010de56e7d8418ac656ca344a1023226ff62be42771b1e0c6b74" +"sf.functions.system-pipe-rebinding-with-notification-channel" = "7401911b1a4d8baa5df0fd98a0bd5b5d66c3f33e6237cb6e2e1622e271141269" +"sf.functions.system-pipe-status" = "098dffdca7969bffa49eb8e2ded4718215d4ea8e71e41a09a576f9b8c26aca23" +"sf.functions.system-predecessors-state" = "613ad3ba48a5a98b060e7044c1fedb9830438d510e31b7f372b330b109875944" +"sf.functions.system-provision-privatelink-endpoint" = "9db01ab59b8eed6f4b0ec553731c21271ddc0feb33a002e1436bcd471843f6cd" +"sf.functions.system-provision-privatelink-endpoint-tss" = "bd54671c5f1d7d1d5ae9887b87b21c26c614dab60e5f4015d587aec35ff86932" +"sf.functions.system-query-reference" = "ae1d680110c351d59185abc0d44af0461fdbe43ddafd8f26d908eb8e72d8b45e" +"sf.functions.system-read-osi-yaml-from-semantic-view" = "21f280821dcf7fe38589b05b9a17dd274fc87ae104a655f4156e0b4a7dab8328" +"sf.functions.system-read-ossie-yaml-from-semantic-view" = "4db47bd4875d0af41a36fd32a2aba260b57778d86900612f86030f5d46fa6bc3" +"sf.functions.system-read-yaml-from-semantic-view" = "c159b3af475c1e07fbd1455a5c497335a44c958732f1a647eedbd575391412b6" +"sf.functions.system-reference" = "298666a9d106f0fe6a6f916655defdd9a0d523d7707211af591659f25d4025ef" +"sf.functions.system-register-cmk-info" = "59399e64de91937524d45e9891b79f1290b899fb1fef1627f8c66d8288cd110b" +"sf.functions.system-register-cmk-info-postgres" = "d5f2eadbe36b5048cff9f127079d6abb7a146107e51a6e684122ff0c2db62026" +"sf.functions.system-register-cmk-info-snowflake-managed-volume" = "89a3d690ebcb6b7f1ae090834026ecd1fa090821b11096203de611bee073b4b3" +"sf.functions.system-register-privatelink-endpoint" = "01dc807a825e45c465bc527580bd3a219f5e2309ee2d198f4ba7d68e3630bca6" +"sf.functions.system-registry-list-images" = "7efb7b0108d17b6028d50b3c3543f732df082267cc0000fe441f61a1f00fd1b3" +"sf.functions.system-remote-app-operation" = "95d09f04069ec186cff84a4cbf0574a1cea5e626b776df79a7ac2339013afed2" +"sf.functions.system-remove-all-references" = "957b9ccdec4c3183ada1dde214bded610fedf3e51c4869f0427d9f3fae83df77" +"sf.functions.system-remove-privatelink-endpoint-hostname" = "9c3be8cd0ffe527be5e121c567264ba2f4499f5f604ff0545927346c32fd921b" +"sf.functions.system-remove-reference" = "c0553c15c7e1405a6c1010072c6aa99f6c53d02d33b5253a32de6e00f2aed839" +"sf.functions.system-report-health-status" = "a92005586e41ca0555c815b0f9f5dbb22f2de1581c2d0f7c4d7270ef68e1b932" +"sf.functions.system-request-listing-and-wait" = "eb4fc0478a4d9a807dee2f44e357e60e6b99058bf9f614645cc1e550f3d642c8" +"sf.functions.system-resolve-python-packages" = "d7da1db4f18e0d511639e6e553e4c90851e815264e98ef4eb30edd3f3296af79" +"sf.functions.system-restore-privatelink-endpoint" = "08eb1bcaffbf0d1e61e620908b0ade50bb6741a626fecccf369ece6462973105" +"sf.functions.system-restore-privatelink-endpoint-tss" = "934b6aa89c2f7e67ac5be03b7ab53aa296cd49d9c5611edfdb88728149e09f76" +"sf.functions.system-revoke-privatelink" = "0c931095da67b2af6d205f41481e8e2f8098290ed0a97a017fd67d4a84fea6ec" +"sf.functions.system-revoke-snowflake-managed-storage-volume-privatelink-access" = "4b7ebf512f71afbf5d37e2e638f126702afd90cebb117589e0da1ff51237c9fd" +"sf.functions.system-revoke-stage-privatelink-access" = "eb957b3c96963886a1b27a0813211c18288dca544222f487952eb2a60854d61e" +"sf.functions.system-schedule-async-replication-group-refresh" = "c11a5bb43257630c418fca0c852f0a40657e6db3a718714e1af05dc0d2c3d86d" +"sf.functions.system-send-email" = "65866d06676c1cf2539be5d71683501241c975e7ce3a6ed8cb2dbaa1e8032eba" +"sf.functions.system-send-notifications-to-catalog" = "516e5ed461a09766e98286ceae77661acd2bf8781b8ce25ef4e9cd741779853f" +"sf.functions.system-send-snowflake-notification" = "8c0864993100d6510155d87ec73b3f5b22e621916fc2f893723983f748f696bb" +"sf.functions.system-set-application-restricted-feature-access" = "928613dfd334adf47e21137cbfeca79ced14bca685c30139ca44ded34b995140" +"sf.functions.system-set-catalog-integration" = "5f3f46c75920eef48493f82c42e926d12e9a6dab245eb1490a4dcecbd86c172a" +"sf.functions.system-set-default-columns-override-for-show-command" = "80161472fc61325f78106ce10be4b943424c49e223b8793983cc26fe2f968502" +"sf.functions.system-set-default-columns-override-for-system-object" = "9c3ada69ce5f93e94e5f937cdf9e3dabcd920b034acddfa864a1cb9e84b72225" +"sf.functions.system-set-event-sharing-account-for-region" = "a7eefdac64b792831f5cfcb4b10ebd447861f5c56aa21e5f930340df41fadf29" +"sf.functions.system-set-privatelink-endpoint-hostname" = "3c0f3b876a5862749692928210c56909dfa44d733fe06dc5f5dbae9d2e19791d" +"sf.functions.system-set-reference" = "47bf023cb0873f347b93edd3350cb96ca12f4b50d4c21fa1efffeda5e2236b74" +"sf.functions.system-set-return-value" = "ae1bd0eb9e420c8952d0bba6fe8cee8d2bd872cb5f2e2bb35c90cceb4aca0809" +"sf.functions.system-set-row-timestamp-on-all-supported-tables.select-system-set-row-timestamp-on-all-supported-tables" = "664003cf1762f8ffcf9381e60943affc5c13e3a9506683ba071f15932b41a0c8" +"sf.functions.system-set-span-attributes" = "a64fdfca99869c9c0be0753838b50053ce069235749259b49fcca66d52701997" +"sf.functions.system-show-active-behavior-change-bundles" = "912e43d8fd1a9f192a38eee08c225454be61487c9c077d6fbbd28e884d3cab42" +"sf.functions.system-show-budget-shared-resource-candidates" = "b4111fce8a66ff5a2a4c995f3416f3d08a4d297899e3879f8f496fcf232c9be6" +"sf.functions.system-show-budgets-for-resource" = "ef47e7294c0ac580e0d1a0ebe32ec54dfb1ab3430c450b8e10155a29fb90356f" +"sf.functions.system-show-budgets-in-account" = "94cb273eedf2be4a5ded3600a31f63b5f48e35a947d2b422803cd913e90aef72" +"sf.functions.system-show-dynamic-tables-created-for-resharing" = "0b626fa632d43992f545d805c1e9760aca1d5892ba55c1c076ddefe4341db2e3" +"sf.functions.system-show-event-sharing-accounts" = "77b607ba3894ebc2c770efb8d6fed9c22f2af51e656f1de26ecad976193a3740" +"sf.functions.system-show-move-organization-account-status" = "6f6c32622aeb8832b0e6101f663866d52ff45ebed991da98fb7757aefc0ede5f" +"sf.functions.system-show-oauth-client-secrets" = "fc974f805a7c415b2fb47197dce448997a1bfe7ea672e4c795efd0a9a74220f3" +"sf.functions.system-show-sensitive-data-monitored-entities" = "8b10f4214301d3f2b60ebc4948d60ab785e6546c19363b09de26cd25d882aa47" +"sf.functions.system-snowflake-managed-storage-volume-public-access-status" = "75e678d06404114b8f2f0d689a1583b19c89ee11344f31294faded3cf9fe973c" +"sf.functions.system-snowpipe-streaming-update-channel-offset-token" = "0a9f609faae191b6a5fafee4c4a573daff0f8ac68bb199bb3d97a82bfe8a353f" +"sf.functions.system-start-oauth-flow" = "1f0542ddfa7dc55addc1993a9256d0857391db73f898edc6742a00ce7b9aff50" +"sf.functions.system-start-user-email-verification" = "e33cd638d73b16b4b631bea80d9bf3dfc380adef35aa4f3f625871f726f06179" +"sf.functions.system-stream-backlog" = "0607e7aa04b839b0716f3ecd94aecde4f3d43fe577a523ab4f815111b78d3e2a" +"sf.functions.system-stream-get-table-timestamp" = "e6a0cd71c81e84c8f0cd6c07cd2a1fd48484faab31325fd2049620ed08dab492" +"sf.functions.system-stream-has-data" = "4d227d5f27f4ce0a72003a26715ceeea4a50ea42ec12cefb5b269b7b4dedecbe" +"sf.functions.system-supported-dbt-versions" = "376429083094e9f0201ee7345aab4490319425189c16df203f507d00f804e443" +"sf.functions.system-tag-value-contains" = "089b043a7d1ccf9266086b1dd75f529ac6b463cb21ba33900e7f608f6a390185" +"sf.functions.system-task-completion-state" = "afa583d35533a30d13fd89984ae9a371976be47f6c9a6aa21b86ad6a1531df26" +"sf.functions.system-task-dependents-enable" = "683e1e9878c9c838040c77c362711dd79021eef435d19a44b0f9c268a584cb53" +"sf.functions.system-task-runtime-info" = "cf08cb9003d284f325908655b9bdd3602e41d4f3ce30db1a998d0e0e3b79e430" +"sf.functions.system-trigger-listing-refresh" = "21f6393e99c7e4f9ff8651643fe1eace6f05a1d38a9224a6a5e79eb385424f33" +"sf.functions.system-typeof" = "3266a4af0808ae0bbd860dee85ec54836950339c6b5f22128e8dfdd48395ba64" +"sf.functions.system-unblock-internal-stages-public-access" = "960fe94962794027d9b0a82678c355191419ca87e51dcfb121ddf64859094681" +"sf.functions.system-unblock-snowflake-managed-storage-volume-public-access" = "78b2a276def43197b0d5418476f12dddf86c3745003c5ae9f0e4e317cc7860c6" +"sf.functions.system-unlink-organization-user" = "ea74cb93fc2f506bfc8d6b08251be0bcee9b4390803949f37b6f094bc6cdd780" +"sf.functions.system-unlink-organization-user-group" = "888d16102dea51d8c9e09c24ad96f1ac8aa13b9cfd61396adba05f42f48a6f0a" +"sf.functions.system-unmanage-entity-from-dcm-project" = "dc371f83f9dd9c1274cd6076802521783ea36da1662e5aa30ea11a83cc2b20a0" +"sf.functions.system-unmanage-from-dcm-project" = "d315db56759837b3a76ba4315f787f2c0982b7b314f7978b84ef86ec27a8ede9" +"sf.functions.system-unregister-privatelink-endpoint" = "c9dfc1a501648c9bb5e468832103c9b40d457eadef2f2b8363acc84d0cb9ff31" +"sf.functions.system-unset-default-columns-override-for-show-command" = "23c69def0b66dfc7dcac1aca94ad97cbc79cf6c19cac4b09371f2204751107a3" +"sf.functions.system-unset-default-columns-override-for-system-object" = "3d5ca9fa019b6e5bd2ce82cc58159cbac35ffc6ff80b10d56d40c59c72de35ed" +"sf.functions.system-unset-event-sharing-account-for-region" = "0eca0056c3a8de9ceeba185fd2a8f455c6e2ac143af5cb879cf1eb646fa61c91" +"sf.functions.system-unverify-dns-domain" = "5232930c514509df3258f79d8d3cb3ce8a9e8625a32fd2d13de12f0b8e9f9dcb" +"sf.functions.system-update-multi-party-approval-justification" = "62cbd29b1b91ae35b3a0608cc0a77e239801c872e65ccf08064bf959225e2c3b" +"sf.functions.system-user-task-cancel-ongoing-executions" = "22e75e955dbbe60031973eed7cf4333c8fd3ae8d51878ad9332a2dea5fe32e1b" +"sf.functions.system-validate-storage-integration" = "4f30f31a83c0a927b90afcf144cae23e171041e31440ab2465ebbec25bbb70f2" +"sf.functions.system-verify-catalog-integration" = "1d2d61b2debd9002d35932581377e19373e7b8aa3a58061694b7d453d9921f12" +"sf.functions.system-verify-cmk-info" = "d5caca264b0a56a704b3bbb1cf78eeeb4e789480d2ac5d510361dda57f3ec9c7" +"sf.functions.system-verify-cmk-info-postgres" = "50bed796068ad127b15ca496f0ab03970c0e2a5729c6a9aac45bc93b5c45b419" +"sf.functions.system-verify-cmk-info-snowflake-managed-volume" = "a2dbdd0feb78f9276198fec13a8649d9b2277404c8462c5357beeecb5dfe9d1c" +"sf.functions.system-verify-dns-domain" = "26698c5ac5b4e9d059cde1445187bf44e0001e4f24a03cd75d226ee2c0d7a4c7" +"sf.functions.system-verify-ext-oauth-token" = "c73767eeb91d169f29ec1c06e858ec9774f2c9525fbc882f6aab7ef1f31250ca" +"sf.functions.system-verify-external-secret-integration" = "e6e2375ff30206682830c7bbf48abcb2110cbdd6da0fe5d3ab10aec093a2480b" +"sf.functions.system-verify-external-volume" = "c2ecfeeecc1b7ab742535da77f827b08ef2904b30b0455dd99fec32d98e82f40" +"sf.functions.system-wait" = "3c26c05a51495891ba94ef7b4cc652585d19f8ca485f799d69d2e5d26ade7b71" +"sf.functions.system-wait-for-openflow-connector-status" = "7a4adbcb3adb29dd32233394b8c27729f5381576e9ac9a32b140ba0b01d8e6d5" +"sf.functions.system-wait-for-openflow-deployment-status" = "9088272535c106e8b3b0250fa255eea024bc58a61fd07a42ccfbfb22c99b6ceb" +"sf.functions.system-wait-for-openflow-runtime-status" = "1e36072567c884de84ecd1790b0eceb3a8272079efb1ba6143e2c1aba865666c" +"sf.functions.system-wait-for-services" = "fbff4175454d26b37f9e38c0591081e1ab82396452df8cdc38c09d647ac0bebe" +"sf.functions.system-wait-for-stable-openflow-connectors" = "99375bd961c707c258abc6374714d9efb03f4f7cd64f1c00c8d11ed919037389" +"sf.functions.system-wait-for-stable-openflow-deployments" = "a3ae18ca14e2bd0b3ae2ac0a0bae69f3653ae247f82c1ee4c32a4b43ad52c3d3" +"sf.functions.system-wait-for-stable-openflow-runtimes" = "6a8bfee53e168cc62f49f3f3385251fbf0746202cb1d9e4b8e85c7ef2f589af9" +"sf.functions.system-whitelist" = "b496c73172ee59f3e8138f9b79d61f18547c6d88e8e21cb3c383ac3d037ef234" +"sf.functions.system-whitelist-privatelink" = "da94c035407be4db0b0d3995b3ad072df492905d1f3991b6a3d48ade8c007c44" +"sf.functions.systimestamp" = "9ebd13fdb67a7299f2175df03726d336326312a5bb1f9da4680828ce1c6cd488" +"sf.functions.tag-references" = "2c800ccf9387dc80b3f32bfe4820eaa700ab07f77c59138e0e3a5c22213a0c89" +"sf.functions.tag-references-all-columns" = "847ff918ea7b29a84a598e01f98e4f20ab5b588323b41da05fb70a4fc4faac3f" +"sf.functions.tag-references-with-lineage" = "1392b1fc0f560bc6abffa00449348745344614e92208e9faa0f472443a59581f" +"sf.functions.tan" = "dd7233e5408c240bed656676f7f8085834de3fd6e09d803cf3bef6eea84dff6a" +"sf.functions.tanh" = "8936abf8c5673dc61b7de82023c4530f6a1e31685b0dec11c28c745446a60eaf" +"sf.functions.task-dependents" = "7cc3ab7edfe2ba48c860b1bc051694ea04dd1b4330caca691c6350993f1dbe77" +"sf.functions.task-graph-changes" = "ee663f5d93dff932e1f46c590928c3fd6916893ba59ecf812167f9fba06d6aa5" +"sf.functions.task-history" = "97fdd77a71c7d6c618ed90f85b8ad8b962d4aba8d2aeea45f08cb88385b6ae79" +"sf.functions.time-from-parts" = "4dbffc989535d3cf9272049e1bffb0a7ec27f0cc28e98ce8e8d4203a2f817120" +"sf.functions.time-slice" = "9fa4f587c6b555b2fa0ddc674da1c9be9d71abd178895f3471316ec4887932b0" +"sf.functions.timeadd" = "9ece8fc37c1d455802f160c95155c6708bbf903b1e621376d5da340a171d126a" +"sf.functions.timediff" = "ed7b3b22f25275741ec8a077744b1b917bbe6bf34241d0d63730a9a59d62dd22" +"sf.functions.timestamp-from-parts.timestamp-from-parts" = "39b06449489bc0ffa86884eea12614c92416a9e89b6f4192ba54d5e89d4c1517" +"sf.functions.timestamp-from-parts.timestamp-ltz-from-parts" = "178ff2d6c372d96501f340c94e05b7a880102af90dd2a9e79126efeeea068c98" +"sf.functions.timestamp-from-parts.timestamp-ntz-from-parts" = "4af939fba5e8d5f7f553274038e54aa898f1a2fa03437a4cd83d3ab7edc807b8" +"sf.functions.timestamp-from-parts.timestamp-tz-from-parts" = "493e0eaae759dd1f807454f7238f030ef50254ae5e335a43c9b3bbe89d824566" +"sf.functions.timestampadd" = "e4c5e7afba831d9b3710bbf09c868618793d2ad2cfdbb0d5aeb8b755c499d4cf" +"sf.functions.timestampdiff" = "8c6e85d8751b445246c90145315f818ca1cbf7e71017303d4178453133932596" +"sf.functions.to-array" = "f7ea3ea007b98939465a1123e862e2da15a819f4ea1bbdc23a2c1a9b1b801a02" +"sf.functions.to-binary" = "3ff971569fadc5d5adbd8b23fde7edccdc843e4f0fa4604b7f6732d991b6195c" +"sf.functions.to-boolean" = "b866c97838831a270c52f84455811785c628a943f835418d0a4e3ca7828225c5" +"sf.functions.to-char.to-char" = "27135d44f34dcd00fb2e5772434ab15a86285f139e49dc528d508472383fc180" +"sf.functions.to-char.to-varchar" = "d8c250d82150e9850607809544e1f4d85284991cbedf33e6cbb9b4f2b76149eb" +"sf.functions.to-date.date" = "5c1162c759e692cd3cb6f6e3b2df1193f3cec836ef17e0f27cfbc02f767e5a9e" +"sf.functions.to-date.to-date" = "013ab6cf1cb91ca767724042da4be5c19145ffda04ffc876ebe60b2b9ca204d6" +"sf.functions.to-decfloat" = "641095096c49d31793eb42deb72b0749a42f514bd10b143e5474ee2c2a50d7aa" +"sf.functions.to-decimal.to-decimal" = "b57742b6c44dcba992412e5d122482bdd9db52e33a87893b550ae3535ec86e19" +"sf.functions.to-decimal.to-number" = "e1127c2c1f4b018ea009d8415dcb132360ea7121ee6761a129ac54e93ffd362c" +"sf.functions.to-decimal.to-numeric" = "df4abee6636c214970261316839d9268f262899544d8d6ba88baed76380de5ac" +"sf.functions.to-double" = "a0f9ad16524391a61f208a739a0bb8b413f11f38132c15278c9a9f3f4db21005" +"sf.functions.to-file" = "4288d9793a99c19ea4ff2bf2b2aa3d1af26d391ab2da460fe129cded2aefac3c" +"sf.functions.to-geography" = "3ad81751e117e6ceabd1120dad09f2e1ef18705f8e520ae2aa36e4b59111b306" +"sf.functions.to-geometry" = "d1a398f152cb886e38d91f8384f29d7a4aa0a91c0b1aa380d53992aa3e4f2cd9" +"sf.functions.to-ipaddress" = "54bd332096b5e9dcded5ff9a38272fbbe7bcaf2e8abcf0a84db2eb50f0938806" +"sf.functions.to-json" = "927bb35fd1c217b69a4ff6ae2bccdf9f37d73791704e9f1c4fb5f47e9a2d36c6" +"sf.functions.to-object" = "3557ea635214175ee66b4ddfeeec78d3ce776fb9f7ece30a3211f76ee0d5fcba" +"sf.functions.to-time.time" = "28997a11365ceca4704ef940db405c14d53b8c4f17c1c6c0bcbbf0098f98f269" +"sf.functions.to-time.to-time" = "efb86f3e888ea4bb9b37ec9037b59d892f7c5b28c95191deeecf74c2d1ab24bc" +"sf.functions.to-timestamp" = "80664998a2f928710ce8e5d1b4ad3a57a4ceafa58278426adedfbb32c9ca5083" +"sf.functions.to-uuid" = "c28ef68423a34dd7d7c9df06b9b6f02c5c7d51a55ce58c869c0d4b71b318ce12" +"sf.functions.to-variant" = "3d7f2dc570b3ec75c8ad580413bf5bbebcd06b07ea96a1019f13e0bb0ca21f23" +"sf.functions.to-xml" = "c38e18bbe8d6cb08862ab7762ecb5da298f0b3eceb503794bdf7b048f2c4a4ef" +"sf.functions.transform" = "09b58c2bc58a09a696613df066b7bd270628d0ae1676560c4ba979ab62f0cc50" +"sf.functions.translate" = "44cb8f03c89fefd478f786fcb836a63d7222540c8430c16035daa93ca7f93cab" +"sf.functions.trim" = "d2d13af6f11f991247e76e03ca1f14139e15d33717f78a9ee0bc1846bc59734b" +"sf.functions.trunc.trunc" = "01a0c7c5af2e9839b5a28fecd83ae211502ad11058e8839eaa06210e8bc03e13" +"sf.functions.trunc.truncate" = "cff40badbd724621fa7b33086cf21e22fb7a0729a6cded301773eed34d228643" +"sf.functions.trunc2" = "2e1a7fbe8a860ed8f109d2bb1ea9048226ba9d60ec2650042a2cf07ef1375ca5" +"sf.functions.try-base64-decode-binary" = "57a36b39324d294df992fd84fb3a9cfb456f4109b625c06455de74e9ff06ce70" +"sf.functions.try-base64-decode-string" = "70d9b43cd281c181840f5c2e17dc8c74c9150561e3fab408a8ec90812b7c9447" +"sf.functions.try-decrypt" = "82625ab85ca101aa7254261ea4f5f4218470d129253ccea15e48fee09c9185c9" +"sf.functions.try-decrypt-raw" = "a141920fed2bcc4333dc6b08951e6bce9d45e1f4c2947de77ba9ee2260d2f6b6" +"sf.functions.try-hex-decode-binary" = "48689e0876f71e42cc4cabfeb5d09552fec10cf7f8d8da12a736003aa8a8c130" +"sf.functions.try-hex-decode-string" = "06386cb0de979870363204c828b983f8385d159cb3a956fb7c8a664e24d8a719" +"sf.functions.try-parse-json" = "b5b4685df4018cddd72f2782232de2a872ccce384730cfcd2a4f1b8b7638dbda" +"sf.functions.try-to-binary" = "52479b84833b583affbd1530e5ef6afe4f858997c6ca9eba2877d02ae5643b36" +"sf.functions.try-to-boolean" = "66d37d02815e8e8f1ec12bd24153d51d140367ff8e045d0b14d46566b2755f10" +"sf.functions.try-to-date" = "bf26a0bb69ca815cf3b5ad067ea7fe764a120760042d4395995f454521fe6941" +"sf.functions.try-to-decfloat" = "a887817fe7070c52dd91361763d3e29ec553f1df191a933b8f65df1d66170791" +"sf.functions.try-to-decimal.try-to-decimal" = "c367c8624d29ea5e1361411362ab5251c67093011b33a13c42bd7052aa28789e" +"sf.functions.try-to-decimal.try-to-number" = "ecdb869f873de82dfb5cc338bff91273cca9c2025784dee2a76e3f989051db82" +"sf.functions.try-to-decimal.try-to-numeric" = "c54b96b677aa8c6653810db8e0234de71f1280b5abe8847eb4288054bce025e7" +"sf.functions.try-to-double" = "10b9e4ede4c4e2b8be0a4b0776bda118640203551f65790871b5b28a815907da" +"sf.functions.try-to-file" = "4355bc2b0111e17fa17c4059d2b2c9119f7fa9d1ce3f3a9d2383db15b3f0664a" +"sf.functions.try-to-geography" = "5058398f7f4b0d574ee65431af13c8f77bdcaa0809c95186c373a6ecbf769feb" +"sf.functions.try-to-geometry" = "ec5df9ddc9209d013cddb155fe798e3f1c6f3902c395ce82127efd89cfaa85a0" +"sf.functions.try-to-ipaddress" = "773d6f1cd3d8d2c699e41b8d26d0c5d1eb440fb0fe9d23f63219b3da881b5d23" +"sf.functions.try-to-time" = "046d680a722cbfe6ca104a4d016ecfa848230d175d57d8be0d1eabea25a9faf5" +"sf.functions.try-to-timestamp" = "0bb62100ff84a161a4a79edd55db3879ca6cc99a9ad7eee0f2f7278be01c5b6e" +"sf.functions.try-to-uuid" = "a832ce169904e55c48fb5bec8ad2521b5d199d6e5d52e875fc76a4090c29776e" +"sf.functions.typeof" = "6c9973400a2106d90ce64c3cfd2ae0eb5d7e594d20b43fdbb931e93813730209" +"sf.functions.unicode" = "99de5c5b38e2bc04f6da903b4bde79b027ee8b658b4f913c0ddc2064ef7f07f0" +"sf.functions.uniform" = "bc92590a3fd78d5bdd58db8bc267ab69ceb823a9966ca72fd0785ddc8cb1b1f6" +"sf.functions.upper" = "834886b8b4d5fadaaf668d525acb0d4e5280f078a34790c18dc9df57dd7a8958" +"sf.functions.uuid-string" = "321119ee724676a43f6e689064ebff5be601b6355302a32ce3e2c026c39cd57c" +"sf.functions.validate" = "7ce0674690b703085829dca3bf7cff1598805d0adeaaac7cc3c657ba8f0ab595" +"sf.functions.validate-pipe-load" = "37946b8449033b23069fffc43b3420b3a85a96115304df558f073ba7b0f5c8a5" +"sf.functions.var-pop.var-pop" = "bf846e15a6b2b277fd58925261d142c694f66e077cee12b103e3788d4edd8399" +"sf.functions.var-pop.var-pop-over" = "5082e72eb8ffee370aec6729fa87357f925dca3fd0c11c1ee831a4ef2a2fbe5e" +"sf.functions.var-samp.var-samp" = "64ff19cd01a5b9f5046f4e42038556a12b5305b446858d7ab06a75fdbd99688b" +"sf.functions.var-samp.var-samp-over" = "45bddab021d8e14b845888a905efd55039a75be879d5b587ee11168ace3b2529" +"sf.functions.variance-pop.variance-pop" = "6fbb2af5ceb95ff3f8bce12eea269283088e2d1a6fa176eade88e0102c7adade" +"sf.functions.variance-pop.variance-pop-over" = "65611e1fc25c881855dc7e0dcc1aa8c0026a94540b8d202c213410c79e7a90b1" +"sf.functions.variance.variance" = "307b5738353f8728abf70b1e28963f50a03a778c0f34e38ec320f73dad9c5cdc" +"sf.functions.variance.variance-over" = "db08a826291bd6bfdec4936af0c992477abe69cae2f816283ca8b696740d4ee7" +"sf.functions.vector-avg" = "767938be58153c4758c3fa28d7ca5d26654bf69cac6bb54e437cb8f025fda25c" +"sf.functions.vector-cosine-similarity" = "11f77be3a4866fc1a233dfa9279f02845462bd2b340fc2fd98678d48f89a862c" +"sf.functions.vector-inner-product" = "69c4dd06a296d4ed3e8e42f142af36d1e5e142056bea7b20a0bed1f38319e224" +"sf.functions.vector-l1-distance" = "2d3beb7575588d3db8f8fbdc57f650caa21d277301ecb0569a76ae81ddc2afc6" +"sf.functions.vector-l2-distance" = "d1174b25ec6bfb36d96de86dfcdf5622aed808140293b017c4ca9ac076d69802" +"sf.functions.vector-max" = "29c7f8dfb456eef0c5f490fb5684aa8d05f324ad9adeb2e2fa067ad4866f10f0" +"sf.functions.vector-min" = "840e311a0b337bcdc7bc393487757396f576ceb29d0b3306ae5acd6c18027728" +"sf.functions.vector-normalize" = "04bb01dc0c9a5eb7b28935ff99076efaa8085bb475d4e608c389288f9677add6" +"sf.functions.vector-sum" = "6210a73ae01f87cda14378b2d106991bd11e267f7c5f4c37396ec33dc173026d" +"sf.functions.vector-truncate" = "38cd5fa7e7d311f2b60f3b3c556e987331b10567a8b657ced3f43fb9b955628e" +"sf.functions.warehouse-load-history" = "b30aa6f9fad61ec99ce3cdb8097274686837586a35b39890f14f831b012f16bd" +"sf.functions.warehouse-metering-history" = "e39d3ee2f316363abc25b63dc71a8149b8ac79a84e45b84dbc89270760333e6d" +"sf.functions.width-bucket" = "dee8a9e687185c3d02c0c0b4ff84569f96756f2fd56f257ca999bf10d9f8f2f6" +"sf.functions.xmlget" = "002b73c88ad69efbe9808f3cc866f2a79adc56bea31a835edf7fcfaef88097f8" +"sf.functions.year.day" = "3fc80bde2f578adf6c2cf6e3a3f202f426b541369d18008ea31371a9e7fbd1b0" +"sf.functions.year.dayofmonth" = "14810dee404aa694a6569338d0387733d2f960d822c9e67c48a0290a8ce304ae" +"sf.functions.year.dayofweek" = "9a17a978eccf3efb6d6ba2b16dc1514142014824aa50d7c0e483d5f4816fc078" +"sf.functions.year.dayofweekiso" = "35d60ea0adfa47257e4311d9f1a692cdafe9a6bf7ec55c72d9b0ba8c482278db" +"sf.functions.year.dayofyear" = "5d9f4c3bf2486ccb65034a2dfd320d7b030bd8ba3ddd07827257c1d1d4978176" +"sf.functions.year.month" = "995511ac8ad464d09247d61504bda0abb6f0b900e0aa0b9a79047ea33eab4b02" +"sf.functions.year.quarter" = "6c3a6ecb4edb80f0ec78a099eb8cb977f8878258454dbb9d26ef5a13eb742582" +"sf.functions.year.week" = "c14c1718ebaa01ed39f066fcd9f34026f3feb22c1bb946f6a024ccb99bc2d55b" +"sf.functions.year.weekiso" = "f16923b1727480fc4276123b22897b51f01e5258df92adfa0c76e4f0d4f80f52" +"sf.functions.year.weekofyear" = "3f0593eb50fb2b0c3f1caa54b06396dc15d84d5c338863f0a9ba07c440f4ed3f" +"sf.functions.year.year" = "db226d099380543b47b69cc71b3df3574af75268aa991c83b3c0bfe237811471" +"sf.functions.year.yearofweek" = "3743f828e898ff89aaf1a442fd4436c237f2220c46dbaac9472be80880193579" +"sf.functions.year.yearofweekiso" = "f559d8a46daa869a60856fb9a2906eb99b0cd2180db6c3c37b29ce3cfca15e33" +"sf.functions.zeroifnull" = "94ad42b4e049bfdbe8c8260818098fb5e06d2975dfe159ad3b6980dfcdce6420" +"sf.functions.zipf" = "17dd5c801a3ec815b3c91419da9e7b2c3fcc970bde78d8ff8c908c8a805480bc" + +[review.definitions] +"sf.functions.abs" = "be5235fa19680039066d239814f876e6941c86b4814300a90d19b1612d2c5b4e" +"sf.functions.acos" = "7302acda7218f9d9543803b45921c5a01072da9c4d5041538e1813b1d4f15663" +"sf.functions.acosh" = "bddf596e5fa6ade8e3e13e198f3a9403bc000ad99946968cdc61f0bf297886ab" +"sf.functions.add-months" = "1ac10b8cefee3742c85a69ad878526c469b3e6be7c3dacff14bce7725cf69e9f" +"sf.functions.agg" = "78db7ab2db4ac9ff2309753178b768e6354390945fe5d57a43bf0b1b333d3b98" +"sf.functions.ai-agg" = "8cc7519d133d1c524a9ca5ba1efb58838733aff230e2722e60c67f321478f3e1" +"sf.functions.ai-classify" = "6dbea8ca922d8d53340a8a025fabe7e317134ecdcc42de099302a49da653f6bf" +"sf.functions.ai-complete-prompt-object" = "93adaace8e175774c94e60cd018f12ff5949755c2e31199be37256fed6d2929b" +"sf.functions.ai-complete-single-file" = "6474c47a4c1f9cddb92ec61f9113e44ca0947353bcf5edff06429d223128212a" +"sf.functions.ai-complete-single-string" = "687f8a3b5c7ee2bc059d642ca23f583cb439b5b0fef7cafffa81f4e5e613b243" +"sf.functions.ai-count-tokens" = "24768ae69db25b8d243a44c3baaa4c46b006dff2aaff3614f7e2824ce790d3ee" +"sf.functions.ai-embed" = "4ef5189229960c1adfea8a7c56dce3ec4e97774f2499e72cd04e509671c6f43b" +"sf.functions.ai-extract-document-ai" = "98340093e163a16dbea235018e72bfa36c24c041b8f580bdc3a73d82421c28d1" +"sf.functions.ai-extract.ai-extract" = "62668a43d02cd1c9164b16520064378c10ae4a6c5f2d18329a9fd7c929568bf7" +"sf.functions.ai-extract.ai-extract-file-responseformat" = "fa7fe760320accfb8ff29d275be56a80f26751625f46957ba18088505128f6de" +"sf.functions.ai-extract.ai-extract-text-responseformat" = "7d5ca26da64874d52a32c6261e7e6d2a51fc6a7eae0363a7280509e60ab98c27" +"sf.functions.ai-filter" = "8d8fce42c007446eda567ffb8a855c4f14f93845e5105399e3251f3757ba092e" +"sf.functions.ai-generate-table-desc" = "113a52226071e96ac008b9e16a0bf7c285be682cfa051758ec5bfe7fde8760cd" +"sf.functions.ai-multi-embed" = "c67cbd0354d5fc292d1002e5a40594a3de1dab0fd93ec70fc8a632e9a3a3963e" +"sf.functions.ai-parse-document" = "f382369da5b0d6f3a6b86a7d4bbc42b77d530efa183a692bcf60125ae2045599" +"sf.functions.ai-redact" = "a1ac80b7b90b29e6c4afb9b7717a6db158b7d78eee9edd1a5748a2502f1be977" +"sf.functions.ai-sentiment" = "e5ccd08e58ebfe0eb0c1677d564eccefb6f2ad30915d42fa98fd25b8375d0931" +"sf.functions.ai-similarity" = "4e07ee95434710471209a754ea6b445e1abce05a8fd399ec42fc1e80962ba36c" +"sf.functions.ai-summarize-agg" = "ecadea1a14a2ea6d7f359f4eb6ac50b8606537d4b99a9252026f6e01081c8199" +"sf.functions.ai-summarize.ai-summarize" = "63adf4a2c9e99ac1c15adb37006d0339714f49535e4f27dabf538c965f4745ca" +"sf.functions.ai-summarize.ai-summarize-to-file" = "93200fba56b256f2d91cb8a3270221b7d534524aee81cdab41999f65dabbe2c3" +"sf.functions.ai-transcribe" = "e1ab05c65d29363321a231d5016733c037269590aca326417ccecf25f6b09ebb" +"sf.functions.ai-translate" = "9fcf9cc3fa35891514ac00fcae3e8212fb7a9776194b58da71c43413df5233ff" +"sf.functions.alert-history" = "f3cd831b97ebd7e46d0134d09eaa96c6c2aa25e37537be52340ad21816e7f895" +"sf.functions.all-user-names" = "19b36f10c5078510e3303395863b0ea9d1cc6ed46d2fcde1a4e90e5b7da269a9" +"sf.functions.any-value.any-value" = "2ec4dea2cc3fa045c5df8a145c5202fbad8e4d2815d32aa72413881f1f45b234" +"sf.functions.any-value.any-value-over" = "d85d462509ca1b21daebbf1bc6e4f41bba6f0fa80355e9e0e12958a5b4092430" +"sf.functions.application-callback-history" = "72bbbd7561a728a7f340cd2700e0050d42a23bf4a8afd3f830c4b193f3315260" +"sf.functions.application-configuration-value-history" = "a9c62a789671e272a459e458b7379acb4dee041b3793f801a63c9fba816eadb2" +"sf.functions.application-specification-status-history" = "15e297bb330e5ddfea077bd5d1c7b3c5e63460f0b0e899d07eb7bee157249b24" +"sf.functions.approx-count-distinct.approx-count-distinct" = "d5cde7a54f56eec0f99c49af13dd0cfa1c4419c671d11f894de5c8f7397f9333" +"sf.functions.approx-count-distinct.approx-count-distinct-over" = "40e0b9833490d38299116fd57817c7e70935005610c55bb14e8c3aac54edd8ee" +"sf.functions.approx-count-distinct.approx-count-distinct-over.syntax" = "3be2e95ad519ff2b9588b2619ffa0ab7eea53d7821b2bc8c7e66a1b9640687c1" +"sf.functions.approx-percentile-accumulate" = "3a26f7ba3b611fda1e7c3e68159f62dca9321616bb215c75c9121c07852d99db" +"sf.functions.approx-percentile-combine" = "67326ae14f4a927212429e97725ba146818a8ac3ab42b0662d02a6513ab17b95" +"sf.functions.approx-percentile-estimate" = "9a845d6c8e9ef4eff2e8e5e142b0d0ee605d2d980c86e20a778518268f0f1054" +"sf.functions.approx-percentile.approx-percentile" = "51947afa5422dcf874ef88028a6c1be4b0b71afcdae1a72fc38c3dbf1ce6930d" +"sf.functions.approx-percentile.approx-percentile-over" = "b45b83f770ccac1103b35a963e8d980751aa5b8766c0810ee87d5e2773453a7c" +"sf.functions.approx-top-k-accumulate" = "55d08398507fbcd261c363b738496e0595ebca789280b22631ca1c796508060d" +"sf.functions.approx-top-k-combine" = "76d0836ef0d62063d94409f8ce80e77ecbd042025b4fe6beeab4dc74b4f00c64" +"sf.functions.approx-top-k-estimate" = "4944ee8c15b349c286691204a10f5c82e7128f2fd6c2104cf8fa7b9c9dd8a988" +"sf.functions.approx-top-k.approx-top-k" = "80dfc8854ac075dc61aaf7ff56a93ea274ad3699fdd329cc4076e254e4e83b8b" +"sf.functions.approx-top-k.approx-top-k-over" = "31cf128eedf503b8d90a6357a379d5987cad4f3688cfa215e109f885e838b546" +"sf.functions.approximate-jaccard-index.approximate-jaccard-index" = "52959eb6f5385df9384d54bbaac3849a66282a7f6116b3f0232055b2673e5628" +"sf.functions.approximate-similarity.approximate-similarity" = "5687d13b9851e2173ec817c065dc7717c8f64aa2024c854a127ba2931f42d477" +"sf.functions.array-agg.array-agg" = "1f10590b12bbf744ca59fc95b5d819c1f908cce0f8c6e0a7f80a015ca3ff81e9" +"sf.functions.array-agg.array-agg-over" = "e234e2ca575534a6f5136abfed82e695bac39b2d50556d21a7bcf5c83225df2b" +"sf.functions.array-append" = "a0616043ffe68aeabecd093a3abfea00b7a5738d824b1fa6541a94a8fd054327" +"sf.functions.array-cat" = "3f899bc328c756252e828e883416ccd07e015faee1acb21ea316fa62f11e9af0" +"sf.functions.array-compact" = "a4a9b9db251592382ec459d08718978f4fca52246b650e11ff0fca97100ba8b6" +"sf.functions.array-construct" = "d96841838d59b2cd28ccf057497724314566cd3274f7c8ff699e3fce9f2e039f" +"sf.functions.array-construct-compact" = "2bb6a0540044774230f8d4a5166b0fd66725143a44a157c028cbc89c2b2ec66c" +"sf.functions.array-construct-structured" = "ee742b21ca7f51106705395b797c4d3d1bf613452e5170c1c670fb751d955e08" +"sf.functions.array-contains" = "85cd0384c391dd79270998f77fa109e96fe5ef893ac5ff04afb9704296e7f2d3" +"sf.functions.array-distinct" = "ad4d6958346a5b92fd6c649c19760b4a55be0603b674eb690f654314fbba1ff9" +"sf.functions.array-except" = "76754ecce1d793447ff90ff6e944b1c7d77635c96d01fbc914506f452eae4436" +"sf.functions.array-flatten" = "9164ece90c31bcd7da992b447533bf3ec7c85af1e46a7c2400b7da29516f7476" +"sf.functions.array-generate-range" = "659dd040eca9f031cae9706d8cebbd4e8ce0e8df6f00c272ad16af2a546b3650" +"sf.functions.array-insert" = "720ffc3527d408570d1269004443f405965ef016335b3999319593b38c59260d" +"sf.functions.array-intersection" = "33af25dd972b9b7693a9fb630a999acae4d8a831ce2a6855c0b346c3d98ae8e3" +"sf.functions.array-max" = "a4c6709a27071729374f9884cb54f0e111bc03b1ed553baa18d438aa8b940ab9" +"sf.functions.array-min" = "17f2364c0f70f061fa77403c12af3c2c50327ad5281980a3a3511dbc25e3c340" +"sf.functions.array-position" = "0e3dbc9c928425b9fdc43f6ab34d4e5cc82ff966caf9f83edbb92e3b4598af50" +"sf.functions.array-prepend" = "514dcb97b52015579259c3c98a95908444555465fc60bb14a89bdfe1019ca258" +"sf.functions.array-remove" = "16299ddeb95f3d51db07a34e2451d0af073ae581b61ddb1d7260123a19512b6e" +"sf.functions.array-remove-at" = "e06651ca60cf0479b4470804dfba14bcc1a7f1c86c285118b842aafd80360469" +"sf.functions.array-repeat" = "3a554695ef6e4e7d20cac665606d5124cbd5e6a9fd80b39a08a74136e4ad7cc9" +"sf.functions.array-reverse" = "08686d0367dfaeaf3fc536d869ca8831c5b4b17dd7c0f89d9311d3f95c2eb195" +"sf.functions.array-size" = "307c0bc359efb8211ebf8e4ffde5fcfd4b3bf103365ce2ac995b67b32a371c7a" +"sf.functions.array-slice" = "df1b9c7af2ecb747e9bea6386e2269fc4b40d89e6725a588b06f0d7a94175f7d" +"sf.functions.array-sort" = "43ae35f0d9487aed071f7f3bc1c5acd5a2246a0e4cfd4e1ed181b034477403ba" +"sf.functions.array-sum" = "08338114ef97dce87b1610c5caf0477196a9cfd64db8ff9c0d115d8c5b7566bf" +"sf.functions.array-to-string" = "8b57adeec1bfcdfcec3e0fdcad4f49306bccc8b4764428f7ce57e99b460a0152" +"sf.functions.array-union-agg.array-union-agg" = "8991361cdd92909ffc5b1c3fde38d5e549e97d14b59a029009ec6bc1287b052f" +"sf.functions.array-union-agg.array-union-agg-over" = "1ca811a6bfa0f55a192684899cce4c31a3d874402c8a6781c97e42ffcab85e62" +"sf.functions.array-unique-agg.array-unique-agg" = "9bd6a8bb060ac55f75af98644c97eb3121ec0a78372dc9c50e807c70929d8a7a" +"sf.functions.array-unique-agg.array-unique-agg-over" = "7a877a820081b3b509dba1b530ada897bc3499a98b2b5ab8428f8b4c6cb93b8d" +"sf.functions.arrays-overlap" = "6effdbd802de81b9b9a91741063162ebfd046b970847661e948ccb867ee617b1" +"sf.functions.arrays-to-object" = "7ca66e4b75e029b4772b34e6690b1a0219d170863e278cedc84952906abe0f85" +"sf.functions.arrays-zip" = "5ea7a3f04761ea244f43b8090be3cf5d3333b4bc09e0a7cd9f5dd93211516e6f" +"sf.functions.as-array" = "e62d7c88e505997798b69af3ccab17f20ef4306c4d2e2961e28254165d2e8843" +"sf.functions.as-binary" = "a119b4ec527453f303e758b1553587319349953376edc8dafbc6448c0e7cb233" +"sf.functions.as-boolean" = "29eff05d4434ef8d170b3e46f2e7068159920c474bd49a2dda348dd23448b161" +"sf.functions.as-char-varchar.as-char" = "f81dee4a57fa72f5f80ac15e09cc7eeb2895103497173c8e297e9f84b98742d7" +"sf.functions.as-char-varchar.as-varchar" = "051c88849f12bdeb1c3707b88f50b0d4d21113ce6355bce4d9398389352ade70" +"sf.functions.as-date" = "91eb1324d2727a39df9a23acc8bb64f9ee63933f4d5a49e58e4b44132a71bb77" +"sf.functions.as-decimal-number.as-decimal" = "8821f29737244dcd86b0981c5dfb7653d0cdcd5991829391c765c95d1501884e" +"sf.functions.as-decimal-number.as-number" = "936d92e3cfa870f86cf32ac25919d3e0776ba966da067cdbe0c91c4b90dd5983" +"sf.functions.as-double-real.as-double" = "05cb6c9076231092472940ccad84c276c630f5417f4ea6040d8df9183f3c9c0f" +"sf.functions.as-double-real.as-real" = "b484fb953d6a64938239ab0de3e1ee4a943ca7e70e3bfa5d1d22dfb92667634e" +"sf.functions.as-integer" = "09b564f4e33b08c273c5ce2060b0db99c7f88c426b0c9cda9e1b0b361fc50083" +"sf.functions.as-object" = "138c8672f1ca3c45c9b6a1ca44984526fb3c614f8e86e458db8fc0f1ba3b80c2" +"sf.functions.as-time" = "e81ba42bb7fd6d8af64f6b7837fc2d63441ba80688414391f42bf96c3e8388b5" +"sf.functions.as-timestamp.as-timestamp-ltz" = "e7a95b598ee12296f33cdd2e079f4587aa204ddcb5dc2be91ee692bc54008923" +"sf.functions.as-timestamp.as-timestamp-ntz" = "6e8389dafdbffb1e098787fa895ed04794ddb40bc6d4c511c009f73ade6c3267" +"sf.functions.as-timestamp.as-timestamp-tz" = "0643437bcba176dc1ebaee7f79f194795eb3aae528389d9e8be89404177b4a41" +"sf.functions.ascii" = "028691244b15d4e52ead050ec97ddf49301ab08c9b8381775ba3d453acce3e9e" +"sf.functions.asin" = "464174ace7ff5e46d1fdf09cba358c40ade42748c0af26fdb37dcab0f479d04c" +"sf.functions.asinh" = "53e796617a2e5d907988313e0f858b76f161fba7e6046edc38927d0f01858143" +"sf.functions.associate-semantic-category-tags" = "8857b5b7c2e8dac4b64bdcdbb324a71e5e4a06b6402256707cfaffe1899d5cf2" +"sf.functions.atan" = "7cece8f623a247a892d143e8b8e6a67c1fc44986ee218aa0de9b9c576f42c459" +"sf.functions.atan2" = "9d7aff8406b21e955d1b6a39abb7febcfff69a496f904c50750961937c869677" +"sf.functions.atanh" = "3b94301843a4da156c18d87559b17bbfcef899172aff96c3e2a37b4b45fe05ee" +"sf.functions.auto-refresh-registration-history" = "d73ece21ff0955a2d8fabbdd3f9decc424eec9d1da7d85d629e9cf21275fe834" +"sf.functions.automatic-clustering-history" = "4b5c8cdc6b6b618f1152f4adb48ba42645b53cf532a69e8242c350a4f028c32b" +"sf.functions.available-listing-refresh-history" = "843b75ffefcd55268bf22f598251affb959f4468461a492280f21cff4be7bb50" +"sf.functions.available-listings" = "83d1c024a50b47b7eb1c8578c72f1cfbfb098dabcdcd42f9792c11d8d1ba178d" +"sf.functions.avg.avg" = "582ab018e6cb5b044f47a09b5d1472a908b539c7d89b19e5fa2422a28eb7fa52" +"sf.functions.avg.avg-over" = "4c8d60a8c0256030495747f220bb164f2ba2db830f53cefafe62b59d82e293ff" +"sf.functions.base64-decode-binary" = "16d791cba95fbef64c15589f30728dcc47a824a507247b8e7fbd4ebd41ef02a8" +"sf.functions.base64-decode-string" = "b216317e6096da603531168172dac396099e21fbc769a9e0cb0997d55de8e0a5" +"sf.functions.base64-encode" = "db01cea748043f950fa237661c99e75efa550b9002ee0f1f9059040c7edad170" +"sf.functions.bind-values" = "78bcefb6976f195b9ea34574b6b4d9884ff98c90fb56038c22d26f29a5fbf117" +"sf.functions.bit-length" = "44fd23fe13ce989536b96d6c6584e1af252c9af7c139363945abe6217a992222" +"sf.functions.bitand" = "993e07c839216436f47d8a67ff3c6990a8e0fa2a84faf4b941a0b231ae5dafd6" +"sf.functions.bitand-agg.bitand-agg" = "1f824c8c412f1c1db1a041ded640a0ffb396720ba89958184e565b2ac1efdaad" +"sf.functions.bitand-agg.bitand-agg-over" = "dd97d7c35366777a45e06b63c7123d3ba6d3f74645c28a7a487877a8b348a56c" +"sf.functions.bitmap-absolute-position" = "442af5f1a9a4ee95947a0de36e294c8aeb3f8db9f3a7166db85247eacea9d211" +"sf.functions.bitmap-and" = "0d5dbb605b2bf13bb23479181ac99fb2d7da6c19a08c3222f486de062ebe2264" +"sf.functions.bitmap-and-agg" = "8129ce54b9c823b59ee928767b1a49fe0b0c886069100da6cb416846386d52a9" +"sf.functions.bitmap-bit-position" = "3d3d91402dd40eed1c4f596a22bc94bf77ea9efc3cd11ac573a9c5e856c9471c" +"sf.functions.bitmap-bucket-number" = "b4c98a0c0ee6af2062ba7693e13deb68a1f4a291e956fcc03cb93fa8c9689e06" +"sf.functions.bitmap-construct-agg" = "5ec1facc819e901a39eab676842b7f087b45bde63fdb9dd553448d8c0cb2f4e2" +"sf.functions.bitmap-count" = "ff2b40898659388802acb270a053464efddebfc72f657a98c2bdb48ebae94a6a" +"sf.functions.bitmap-or" = "a92846af21ec784dfa4c1842fd489c44ea1355a8f5bcec279f5e6189b05fc3a1" +"sf.functions.bitmap-or-agg" = "61836cba8896d663d15e6a608b6b79104ba602f7e82b44c4c6c7a71bf7851e73" +"sf.functions.bitmap-to-array" = "f9df9bd18586036d76bd0f74d3f629fe6a8d1e3a66e348c444d51bbd93fb73f6" +"sf.functions.bitnot" = "774fe26cf4fab2c33684b4483daaa5667502674a68d53b0fd4052ea397551e7a" +"sf.functions.bitor" = "1af17a2f37cc9a686c2b77390eb98c6e9095e389ddfd24a6f938ff72260ce9eb" +"sf.functions.bitor-agg.bitor-agg" = "eef3ac31be7948312b53a3521c3bce76479b6dbbfcb384d4cc519a4cb96abd1e" +"sf.functions.bitor-agg.bitor-agg-over" = "f6f48c2877ad670a236ad47ea32cd8a288f175d1967fd886967d29bfac66ee5f" +"sf.functions.bitshiftleft" = "8f1bb3a0e825b03df4cb0338fd2bb41cd4381f9691a3e5ac41e6c1a69357c106" +"sf.functions.bitshiftright" = "bd1b36733c0f081530d666028ba5ee677852a3bf7d6feb6112359be4e2183376" +"sf.functions.bitxor" = "37e1470e535bd06e67c0f5b471638d9918a626e0dbf8b208235c2a783f43eff2" +"sf.functions.bitxor-agg.bitxor-agg" = "9f26472e4107edad4e001c5a36e9795da9ebdddd6ae50997f8186e79a7549a97" +"sf.functions.bitxor-agg.bitxor-agg-over" = "431875235d151cf0512c92c14333f4c178b22b846a41f9e8c1ef93fb5d6e8e41" +"sf.functions.booland" = "d6f8f1af65e9b3a8f42594d8eaaced72025bbf161abb2582fa89dd05d2237a29" +"sf.functions.booland-agg.booland-agg" = "4395e27752bf7c3175255d6d62daf4535ca9d4de97fff1078aa067a964c43c4c" +"sf.functions.booland-agg.booland-agg-over" = "4f2aac48081ba2eb263c52b0c54c5268e6fa1ec4047273a4e49d426caaa9b390" +"sf.functions.boolnot" = "83fae3a0685b1056f7b3f8adce64fc4c708823ba0599ed40710c9b0a0731ac39" +"sf.functions.boolor" = "c31b93d3818401ae3241070ae4020c4e5b4461384ad8019c3e054dd202defed4" +"sf.functions.boolor-agg.boolor-agg" = "934228fc234a491527abb9347b0d654eac19a848a3fb6818d40402944ef3f7d2" +"sf.functions.boolor-agg.boolor-agg-over" = "3ed3de19dc4ed25d78b8ac5866b5cb0c5a6f2683b9a9331c24a50cb185c543dd" +"sf.functions.boolxor" = "971d763af1a965cf6a2f6bd8c1abd849f6c3f5ebad3d119499c9e28ff49b4149" +"sf.functions.boolxor-agg.boolxor-agg" = "bd435442e5101dcf38158926080a05adcba5d78959ae63a3921fc3c41413ccde" +"sf.functions.boolxor-agg.boolxor-agg-over" = "54920a7bb7ee8102eb28b8f2880a9c62b9b8c0ecc33da89168770cce02eade88" +"sf.functions.build-scoped-file-url" = "86d108f272ca75998e816d30586c505a82536d8f73e4fc8e5717b23c7861dd17" +"sf.functions.build-stage-file-url" = "680ab7fd5a0fd7f711f123cab2a74c6f2bdb81ad7a99b53c8f2bba6e15582842" +"sf.functions.cast.cast-as" = "49f109189fd1e5270cd2181c6650a58ba1cd8aad51ca8d61c9732cfb2ec29f52" +"sf.functions.cbrt" = "cda6aa6a64ee758e8d8628b36b422710e85f63b87d6b4114ce4ef178f32286f8" +"sf.functions.ceil" = "8d6be620b0ba53b10d4ad2044d5f3ce8720f8f59ed7517ab652271e94ec79974" +"sf.functions.charindex" = "f8e4d25876e6394675c74350e1a295c4a4120afda8c9c9736e640d462fefe080" +"sf.functions.check-json" = "e535346114bb69dd5c242125b97637217b3826cb895ed57419f308e667a6d2b1" +"sf.functions.check-xml.check-xml" = "6f094a7c596f1a00e9eb6a497e26e274be11cbb9adc0e30b3e3b0a39b6ef88da" +"sf.functions.check-xml.check-xml-str" = "51920c30782c3e675b111ab8e0c8f9c88f4e672cddb7c03f9c2049e64cf8348d" +"sf.functions.chr" = "c8a75b37de6835d5d353a76985bfd2e8f1a3ddf9a69fc316a7c3ac7518a91022" +"sf.functions.coalesce" = "ea2354d1459479e4f06f6dfc2067e0cac6f4a6d401289860353f9687ce6d9aed" +"sf.functions.collate.collate" = "7290d4ba5e69ca75d616f1cb9afa1c49bf2aaf0a4d6272154a1ae68cc36b04d3" +"sf.functions.collation" = "0753484506d3c883ced15369caedcca042007e0baca2b5d693c848b56553a800" +"sf.functions.complete-snowflake-cortex-multimodal.from" = "1d86ac873d8a963568380e1d5c3078bb3fbaf8f5db69715b7924f0edb065cd5b" +"sf.functions.complete-snowflake-cortex-multimodal.from.syntax" = "c814d58dee59bb5232d5f31bc59f69751d6d2d9ab0baf73a254a13a190989d97" +"sf.functions.complete-task-graphs" = "4317b4a441bda39ac20ab015d6d57f513aaa984823b911d3e5d46848b8c0b94d" +"sf.functions.compress" = "a88762f3ce2db6243d90f31eba76abb58627f8a30bbe228c1b66430f08c3e1c6" +"sf.functions.concat-ws" = "08f34e97bbf637e3b4387ebaaff30029b92a2dc7224ed968d38a3c540dca87b1" +"sf.functions.concat.concat" = "91f192c523227fe021b8ec6ceac658cffeb80228935263c243bcdefe3eddc080" +"sf.functions.conditional-change-event" = "d9319195b56041bd2b455d5e0188c106d467b151e382c47b03415851a36a455e" +"sf.functions.conditional-true-event" = "6b585434cceceeb26796636690896fa1cc33e43c49d27227bd2bc6cf8c2a0ab7" +"sf.functions.contains" = "7be91c37d05c47c9dcfc39460ce5e438afa5e5c1df698874932ae751f857532d" +"sf.functions.convert-timezone" = "6c2c9c294f1445b692bacb7e1ddb75578f4fd4af486cabe49b429e1967e93529" +"sf.functions.copy-history" = "ce17ac6c64b9b0aed92379aaa915d41d5b1b24a2d5b651f946f0613cf1e25509" +"sf.functions.corr.corr" = "8831b0868d3eca23fdb693114aeec610ef16ccd712d6dd9cabee7ad44258868a" +"sf.functions.corr.x-over" = "edeb9e41a095870be7b15c9d9cf06dc5bc87a2f95f0bffe023d039c303dade3a" +"sf.functions.cortex-search-batch" = "cf0dac1723ea64a9f15f053a5d7b6cb76a68c1bbfaa422d91f191bcddb3d3351" +"sf.functions.cortex-search-data-scan" = "19730c62bcc92f13e8d656cbc8fde3405ea03d79f061bd6796b090b252cb0ddd" +"sf.functions.cortex-search-refresh-history" = "99d3ac6cc1034eefaf7620d357233df6dca2d60a40096874944bb8bd3c2200fd" +"sf.functions.cos" = "641e14d9ac8c291b33a4de34a1522861853e508c2a5246561d2fada28fc3c91b" +"sf.functions.cosh" = "e0b2aae0ab1cca03d241f616930e39c91385f8a92c2b7ced1969f4c22e5e20ec" +"sf.functions.cot" = "758a033238d332532bcf0040667ed62d4486c7b7ff80cd5d2a4777a9f5f0cfd9" +"sf.functions.count-if.count-if" = "86da32d81a0eefa79668e2333217df6ee9197ecc3fb92bf10b835509bf4855d5" +"sf.functions.count-if.count-if-over" = "e2c5829940d6012d4a63a0eea93f652031fb54cdeeca132193be2481755df65a" +"sf.functions.count.count" = "47229d200f408ff4050f44c3bb7f6358f6c6e78aa17d878575844d9297f6dff6" +"sf.functions.count.count-over" = "35cb351fd7bc5d8d690cecd7631853616cfe1d0a33e11044c6c231d6d4e07674" +"sf.functions.covar-pop.covar-pop" = "35fc4076eb48c34162f7a01f9458619817da3a454680c09cd858660a37a3fdcb" +"sf.functions.covar-pop.x-over" = "1b81d479aaceffa55ef4b5da7b6b303ead0ce49d7a624d7a6dff9dee3b5e9e4f" +"sf.functions.covar-samp.covar-samp" = "ed93dd7992cf55095ac33b8a651f616a822aab1d403d5905af3d1771359a8b58" +"sf.functions.covar-samp.x-over" = "627d1c369e2c671d6adf09ff22c50259b768c132a81297bb7f8d631639a7a850" +"sf.functions.cume-dist" = "e911f60b4bdb31dfd5a1ef9188ce196af239245006e7af444fc87e959c44f4d2" +"sf.functions.cumulative-privacy-losses" = "b794515f0098c7ff2f0b40bddbd8ef4a63edfbb4ad8043d04946f852326752bc" +"sf.functions.current-account" = "d806583a066254640960dabd54e2247228a0489e10b2f74f3c292272fae5ea9c" +"sf.functions.current-account-name" = "4c58386a345037e61d24f8c93cf9ba19bef7e2be68cf4f6927c9f21fb73091e6" +"sf.functions.current-available-roles" = "8be8063b810541cc146bd5fd502245fcb3d4d2c8c133403395d9597da5a1a9c7" +"sf.functions.current-client" = "9cc977aa477f285a1b3895cb929fdfab8bf5729a63d41a0b1ede47e74dfe330f" +"sf.functions.current-database" = "02ad6ad80f59d82fc31ce36fe77e22d4713c712dac50b3e39fa1be90591e74c6" +"sf.functions.current-date.current-date" = "e738e4cb637c82f5bde5adafd9dd684e24f1c2c7aedb35f6a4273f6755176362" +"sf.functions.current-date.current-date.syntax" = "5976c236e21f4fb3fbb9710d2ab85b9b30c6687f797f7ce511f108558d40c6ec" +"sf.functions.current-ip-address" = "9ee64add7bfa4e88eddf73208ad054eb48e11fed51f935cbc8ad1e00e00d2e4e" +"sf.functions.current-organization-name" = "b745709438a21a65c23fb568922b88c141b9fe3649c79a6652c2b8ca165b54eb" +"sf.functions.current-organization-user" = "bb2c9813aff6184abe3b8e5a7c3a73314a8740957b07a7ba57aed18906687f43" +"sf.functions.current-region" = "c0024a016ea2bb27b8cb60f76c1768e69119f72cecaf8b0deddff87971b095d9" +"sf.functions.current-role" = "f9091c4c430e4d6ca3a3fad68cfe8c81d3d2b01fa54fd0efc4fdc8ccc90d9e5f" +"sf.functions.current-role-type" = "0168a717b27308587c698dd41d283ef0b31a12cb96730b4b4240f5f75ca5fce3" +"sf.functions.current-schema" = "4d28f111e111a357b14af233fee4929a3f68dedd149ca4ee15ba40e93f49d768" +"sf.functions.current-schemas" = "ac22fe30227ed89bfa8b2df59181c12685d5f87131af0b5d06dc32e3456449ba" +"sf.functions.current-secondary-roles" = "c35d6f8833489cf3b8fc32809f862f49f737d6e8fefb093b8360d1042f4a0a65" +"sf.functions.current-session" = "6ac1b8c9a034d97029afff40be2ec3017733220274cd1204cf5604071f853054" +"sf.functions.current-statement" = "5616241c74e603c35fc311364ed9592e30f256971a11312dfc2ff86c1aea1ecc" +"sf.functions.current-task-graphs" = "eb4eb39ce037b2d56b30e797f02a839bf2bc827c1ad40521cccb297bc83b5d91" +"sf.functions.current-time.current-time" = "e98cc66f77ccf720cd38b8e99c81174536b77eecd0541ccb7639a28106c73934" +"sf.functions.current-time.current-time.syntax" = "844766d4745b851fe632dae3b689e86c244be699b342b9b301ac35435e5e5d3e" +"sf.functions.current-timestamp.current-timestamp" = "ab437109656893594e67c6d8e2de85a6766e90bc09b592dec1ce786896b01619" +"sf.functions.current-timestamp.current-timestamp.syntax" = "b6e4f9ac18290507e0c7b448e31f9bd7d731a3fcdc879b8fde63fca6a99a82d8" +"sf.functions.current-transaction" = "f9257a07da42efd6ddd0d91b95aa26e586a724ff6f0a1011d2d37ae157c22e30" +"sf.functions.current-user.current-user" = "256e4bd376bd73d883b0961ac51b942284aacaa292013382d5813c9bd0106c99" +"sf.functions.current-user.current-user.syntax" = "6b93cba816fa2297e6bf845683cd2765bf4313263d28ec443592b582c364d94f" +"sf.functions.current-version" = "899112a46ed648c39bb78363b3b51e59c8e76186365ad6307ad55db6c7cc3de4" +"sf.functions.current-warehouse" = "34fe703cdaf725fbb35e67c247e7ede46892d72387a9224713bf922b3df94f47" +"sf.functions.data-metric-function-expectations" = "469a6e28716da0f8d29cbff7cfe54c248e9e0cde297ed43dbaff16653948e57c" +"sf.functions.data-metric-function-references.metric-name" = "5a890491864797fcb695bc5480efc7bcf1796fced64400ae96ef3e8ee161799f" +"sf.functions.data-metric-function-references.ref-entity-name-ref-entity-domain" = "2b7baf2450890a4c00416c06629ea493e77673efe483d501f98f9d86ee1c4f02" +"sf.functions.data-quality-monitoring-expectation-status" = "40fa9e5cb4c7e4c042fe8b24c1ab1cc28525a2d12b122afda857fb36e47e115f" +"sf.functions.data-quality-monitoring-results" = "01adeaa2064f0bb9ae8bd79a3175f54e3c61b0906fa43ef395ca6fa364b1c070" +"sf.functions.data-transfer-history" = "838a2145e78c8cf95f4677a1046b7edf7029759fdf6c8e653942933558f60ee4" +"sf.functions.database-refresh-history" = "ef19116cc3d1ab626f70b6744a0267bfd53f142e5a2871491226ceaffef3b40d" +"sf.functions.database-refresh-progress.database-refresh-progress" = "fc437e0180be04dbe6a96deee0a5c6550054cd4e1ee6a1466876eef62cfde5ba" +"sf.functions.database-refresh-progress.database-refresh-progress-by-job" = "943318cfd68036e70d61d1492c2e936d022d3ac873a10339fee37a9e511f9809" +"sf.functions.database-replication-usage-history" = "22797b2370af2b0812021cb0927e077cd63ec7b3bb0b1253bf0da6221c31633f" +"sf.functions.database-storage-usage-history" = "7dfbc4701b187a841da8f84b038cc81d8c9c751367cdd7de1e7bf7a9a0295bb5" +"sf.functions.datasketches-hll-accumulate" = "0507a6b40c35d0b9243099273d0563a1be79c51dcf287f725ce5a0a1e56a0b18" +"sf.functions.datasketches-hll-combine" = "86dbee49b43b85e6acb417ad4ed2f1e354ccb72cc01920af42e8281558f73ebc" +"sf.functions.datasketches-hll-estimate" = "3a7393e5facc5f1af27a9d7bda73cffd28bb9dc938bd06c0fddc1083ca8ea43e" +"sf.functions.datasketches-hll.datasketches-hll" = "dec1593beda6f8b79e982d515fd80f65fb8ecc19baec8136b860eaa7686e3037" +"sf.functions.datasketches-hll.datasketches-hll-over" = "7cd43fb87548e124d9a0589962b588053809de0c0a8d201b89a5e960a9543260" +"sf.functions.date-from-parts" = "1b4687003a499b9179aa9d5898f524155f7ec807975cf8f6bec89ae6d331fdf2" +"sf.functions.date-part.date-part" = "9f49216bf91cd218db92f5b0c30d2c53cfc234e2e7af0c5d168803587cfa11c5" +"sf.functions.date-part.date-part-from" = "61413f283d03f6eb65d925aabe6cc618762575abaf4fd2fd4d81ba4d2e6f1f6e" +"sf.functions.date-trunc" = "7c6e3cf3dc987731bed7ddefb8d4accb3a01a2cd0408c233b68315ee4f8e99cb" +"sf.functions.dateadd" = "628f7a94d3c99e07447d5252610f1f2ffd49756a2754f1ed947f50816ee53af7" +"sf.functions.datediff.datediff" = "de29c46b8f47fe8554ea28e2fb93d0625c92372e0ec6bc878d8754e241e31819" +"sf.functions.dayname" = "dd9db8e78b44cebf0b47c0b44371bd0e8eecae99ba335d6d86f7fcb1cb5f2b5a" +"sf.functions.dbt-project-execution-history" = "18beb419ca80e4c2e5a3e57127eb749483bed833e7c963d4390b2938eef79f46" +"sf.functions.dcm-deployment-history" = "2572a92329eb17a995e8c7d86fd259e7c027afef9b2a48f0b8f7f6823e7fa44e" +"sf.functions.decode" = "21ad8dcf56ae9f7a2053ef16721e2488273ffbe19a242c8313318dcf9fa4d2e0" +"sf.functions.decompress-binary" = "45aae4c654e68f36327a585d2ca0d3ea729f1666b76a88e2d09bdeb686861fdb" +"sf.functions.decompress-string" = "62d53e286547756f86c4caad9a46211017023d2e757d770e7fe73d4e6a7ed0ef" +"sf.functions.decrypt" = "b44b1f635148ccecde5a28ab00455068810e00d60d97c04db13cd244c3d2fd71" +"sf.functions.decrypt-raw" = "890329cf80f7c62e4ac762fdcd4bb726bf248c7c0afb19031ee5ed35b68553e9" +"sf.functions.degrees" = "12c3d2df5e9ff99ed760916eaed072342f2e0fec983b70f0fa8ebcf979975f1f" +"sf.functions.dense-rank" = "0424b89859f96a536379d11205336f595e5a1dc1181439667cc1a74785e425d7" +"sf.functions.div0" = "33a9839e6d3f3cd84280c9d1fbb939456b281293c91597b59bf825e0648b6885" +"sf.functions.div0null" = "7dca13df5bbc3949f6508e2013351e44b5ca978de9f572ba1d2ab64d0ea62a8b" +"sf.functions.dp-interval-high" = "77c8fef32bd1ec8407cabcd2b404f12e20a9f1b858cc27740decf4c7a4e8b6c2" +"sf.functions.dp-interval-low" = "075bc71ab729470b8105392570f2f551fc215d0d53c724180f084226eeddb387" +"sf.functions.dynamic-table-graph-history" = "389ad8f82e27e7464fb554bde6137288096f63753e558ce892ee96b311c84814" +"sf.functions.dynamic-table-refresh-history" = "4abca22006b9b343814785dbf8da23b75a486b6d4fc71a911625b44f25d108bd" +"sf.functions.dynamic-tables" = "ba3888529aedebfd7620149993ff36852ddc64f6276c1a4ffa4984c86d318710" +"sf.functions.editdistance" = "e6aa7c78ff3ca6d567245bd25356a33122e01738a99d891d57d3b2426ab0ba2e" +"sf.functions.encrypt" = "61ef9b405ff9fc7d6714a0e6807d86f80bb05f1d25281ba048fb109f68ce1201" +"sf.functions.encrypt-raw" = "b2640aa5c26c0534825a8e426291b8cd20288912284c820dae598fc012913847" +"sf.functions.endswith" = "77557ca941af6a29c9603d593b3e29a158daa1038e7016537e535bb655e3f65e" +"sf.functions.equal-null" = "779da47566847acef429d1ec330359fb324a507449d582185662f1f26efd0fd7" +"sf.functions.estimate-hybrid-table-storage-usage" = "bf16ef334b98a34cf2f5b899a9fa864ce183507ce838ff350d97309de869b460" +"sf.functions.estimate-remaining-dp-aggregates" = "9aa33071d897fa0090a9cec260af4d082f135e35fcb6fe8e73c80ceb338b874c" +"sf.functions.execute-ai-evaluation" = "01e14b4fea45ecd40831169957e66b4f867d0f563199ffbe1f7d8d79a85385c2" +"sf.functions.exp" = "f8930fac27d50466cf62b16d5bc00700e8ad7feb74de8a8d80a91f94d24b6ec8" +"sf.functions.explain-grantable-privileges" = "ba3be2c326bd9258fa6488896a41eb727217f184757d4613c11e0a7590ca7636" +"sf.functions.explain-json" = "6fd8026c6e51da1dc8091161d78f3e005b3e137ffe05b2b1baab4580e9c51282" +"sf.functions.explain-privileges" = "f8c3ab9ebde61a009b05b1ec3b6271e43cfcf654d80122e6901572a234963a13" +"sf.functions.external-functions-history" = "16f41907e1e315d04e4be5999be56c371892850a2b1b76bd96eb425c7b6b0bc4" +"sf.functions.external-table-files" = "38bbad3b773a95f7d1c03054e34013fdacf85f16de38a32b1feb5dbcae9d3a4a" +"sf.functions.external-table-registration-history" = "9b7530467e30b30144ada04bface7822104286f3c891b3663dcbd8ca0c3626f6" +"sf.functions.extract-semantic-categories" = "2a18fa1862319c0561f0f7b0e9c3890df53b2e0eff91a8a2916a04ed5783a83c" +"sf.functions.extract.extract" = "142049a81e70639e084bc829a61a3858800a2890e22389e7ef5a23514bcded1f" +"sf.functions.factorial" = "75fa9d876e466c92ced3ecc8ec0e1fb6f0187f4a4aac384533c9393536acec06" +"sf.functions.filter" = "7aa7b489ced6e44e24f48613b5c7b28471d8200b9750ba62facdbf67c5fa585c" +"sf.functions.finetune-snowflake-cortex" = "4f79522cc8a3a1aaf66b1adc0d91a9bf0d154559eb8ff1b4c5dccdbb0dee7965" +"sf.functions.first-value" = "31addb855228b34f8035fd5c5a8336cc9085146253251a3f0c4f386c382a2f3a" +"sf.functions.fl-get-content-type" = "fbf32928185faabf681f9bcfdbe5d03b7b7d58773fcadb18667d6e0f7906f0cd" +"sf.functions.fl-get-etag" = "65fda8e345c0190df5b484bf047b1ee63c3f62174ec597531e3b4c98281ccebc" +"sf.functions.fl-get-file-type" = "015ff82a7c5a41e06b68af38abc0f2f10694d5f66cfc74572ba39912696ba9ca" +"sf.functions.fl-get-last-modified" = "5b9625810d63834fe4c75e969f86667026a03fceccb6be2903180bc251aafbfc" +"sf.functions.fl-get-relative-path" = "e7d5c6827e8d6eb3d7fe77d56992691119bac9b1d273dd07fc5604133504147e" +"sf.functions.fl-get-scoped-file-url" = "2f38d3fc6901ef6478f6f4a3d87b353998b15d97a6fe1fd827573d8bfbc8782d" +"sf.functions.fl-get-size" = "01bc8a15f511c74e7047cd628487a36acf6a882954cd5d935bc88b7581fe1c0f" +"sf.functions.fl-get-stage" = "9f9025f4c6816913216f364384c44d846507d9ea0d87c1f9b4e407733cf61a61" +"sf.functions.fl-get-stage-file-url" = "41f23e5755e92da94947a8d61198dff920ba25aa72eb495564f9d68289c952ac" +"sf.functions.fl-is-audio" = "f2cac1ee434fc8d42e600b19101800527a88833ef8e532754b7abea63ab82d05" +"sf.functions.fl-is-compressed" = "c55fb47f99368591dd918ed49f765e5c4cc1970a31704fae9fced98e5cef4472" +"sf.functions.fl-is-document" = "6ce27701b0804de6e1d881ae58ccaa72682ff3d00165e768696138f6d850292b" +"sf.functions.fl-is-image" = "9a714c85b26194a7c3cfc4c3d826f39a41a0876c168d74e3770c9694fd341652" +"sf.functions.fl-is-video" = "c447a0190efe5c38114385e5802d5e30177f6c49b460383b7451301ee3289b1d" +"sf.functions.flatten" = "f1cdd4ccdebeedba51a3ac8ad95315e9baa65207155f4821b1a6213dd947bbf8" +"sf.functions.floor" = "0a47bdefd2f963f7f2422371b5e9415ab6569ac9ffe642c0651eb0a6b52d0700" +"sf.functions.format-string-template" = "0a1399e7c72765869af3ce03206a1c4e24adf235f0e3431ae06ef2be5addd545" +"sf.functions.functions-window-syntax" = "6b37f0d8c4d1277d19372847ec16d31df3162fcba54e29474216d1d4e3f7a2bf" +"sf.functions.generate-column-description" = "280f5706d72b77f9666d9fc939cc9f84d657d4fc156a7c9da72e7b355956d330" +"sf.functions.generate-postgres-access-token-for-user" = "1e4e5975224307e3df9428faf8c4f7ac3da675b0d06b5dee244637d244e747ef" +"sf.functions.generator.generator" = "14f6cb4327c8a7af68585cd25c992e0ee43c6e8e3542bbb66e0fd3918202b752" +"sf.functions.generator.generator-rowcount" = "ce51cdea7f1398a383649d24092e5fde4d031fe196d9aec03faa9e0227219831" +"sf.functions.get" = "41d82d2268877b0378502a24de3123410a5a5417193234427f7a865bf13c33f1" +"sf.functions.get-absolute-path" = "c9d76a65ea291928fae6d3a41c08d55cea39c969b1fb031f3d32f04a1bd373d9" +"sf.functions.get-ai-evaluation-data-snowflake-local" = "8af5322da6559373c08fcd8436854ef03b843e07bdf979cd7f3d2803e8e2bb2b" +"sf.functions.get-ai-observability-events-snowflake-local" = "cbe0d75551bde8512d6d420461141aba335cf5756b894b121e13d60e879a3d7b" +"sf.functions.get-ai-observability-logs-snowflake-local" = "2ae530230cdfe96a6c26d9199bae708ddf6f67f504b2499e6fe9ae69278a0de9" +"sf.functions.get-ai-record-trace-snowflake-local" = "9540cdeb323e5cb881562f6d0a298154ceeac305c3d0776583d2dc4f9f10ddf7" +"sf.functions.get-configuration-value" = "e26c38f7525d2c9885852afe91173c21566fdccb1a509b9458ff37241c6076bf" +"sf.functions.get-contacts" = "ebf41ed1dc49142cd796f17f0e009eb7dfccfe15fd3458d9ff94d907e2721a40" +"sf.functions.get-ddl" = "4688158aa08b5af3fc41f6e69fce8998a6a5c91ad5517014a9a5d4d4ccba6aa2" +"sf.functions.get-ignore-case" = "11a4519e3d51e41a8b3c4e7907fac1aed364433a8182475fe0867f40026d0284" +"sf.functions.get-job-history" = "16772950e0e849de371b5f0737a8897cab3d00cf58bb10de711f014d96119670" +"sf.functions.get-lineage-snowflake-core" = "946a46e6a14baaa346b7b344e322e6fc5fe017495c39e1a1ee63942219079ea9" +"sf.functions.get-object-references" = "30803dd90df0ee8c88cae3e947191953284fca8c258758810e5eafd23a0bcff0" +"sf.functions.get-path.get-path" = "8ff9de1018c3a4f1513e227e44988b4d6b54464bbac8feb4ae120384bcde0ca8" +"sf.functions.get-presigned-url" = "69046fb9150fbfb112f045f0cb6e7532c0434add3df068b78fa902fe3c05cd00" +"sf.functions.get-query-operator-stats" = "e7d395172b563f408012524e529ea1cf14a16694e6d68364235676183e022a42" +"sf.functions.get-relative-path" = "64c9e42b60a417cc33fe55470ab5942bc5ce13d181e8e6c183a0c6313de645a6" +"sf.functions.get-stage-location" = "05acfc72f1e24e0502cef85312dfa75b046c9369656f8efb47161df2e6875ebb" +"sf.functions.get-table-version-refs" = "48ba2a132d623faf866bffb6a9f2b34f118156f836ecc8351a41f2e1f8e9b93c" +"sf.functions.get-table-versions" = "8c013ac7d022bc42346fc405046f7226b965173a14080792b103cdbbd8a5c0b7" +"sf.functions.getbit" = "a74f834ab3d66f05c26fb517e568be68052e2a0a63e55a8799514470b350c1a7" +"sf.functions.getdate" = "05dd5a1885882a0d6c776e53485777c597915cbb4355dfe9cc76890f6656ea80" +"sf.functions.getvariable" = "bff8662aee5c0551a561234917a02828aa7f5d46a7fbf4bade5d60ceaddd4d09" +"sf.functions.greatest" = "d6f93921d2301303484351af0dda744c41db59eaf1ff98fe6a3957d7705c8690" +"sf.functions.greatest-ignore-nulls" = "6543bac20d2c206d4e84c3c1fb7e7db4cd5598f5453cdf8a6cc582edd5ef097d" +"sf.functions.grouping" = "98bed871cb525f0b6e4057f24ab336beecaee1c0e5b098c05e86d36f9a216005" +"sf.functions.grouping-id" = "aea54ddf69b08ef2d8d346d1c469fa1ce7927b762d4b16d3e8f13083d6da4a71" +"sf.functions.h3-cell-to-boundary" = "e329e7d5f8a8702205e12187101e018f8aaa842949b7115ed85c47885103e2ef" +"sf.functions.h3-cell-to-children" = "d7475d748cf52bf32ec18870a85253d1d394aab042aaa4db616bdb0ff1a008ce" +"sf.functions.h3-cell-to-children-string" = "6a8eb5812314022a61a49b8e942f112362b30a160925fa9a7a2d77a3ef7613b9" +"sf.functions.h3-cell-to-parent" = "bd76fbc4f871d099273f4baafa48b7b0fe13a4da5f55bae72b642626a838fe95" +"sf.functions.h3-cell-to-point" = "fc60985cf8b1216fd5743c7f1b4cb015a4af53ce4826bb95fe90d7756c48e239" +"sf.functions.h3-compact-cells" = "005ab239f9213e311b4947b627d67745a2975ffeb3f68a457df1416dcc030222" +"sf.functions.h3-compact-cells-strings" = "d2803344ebe10418b2a955356ccbca12eda976b6a55ce222b2f3a684247f741c" +"sf.functions.h3-coverage" = "4d1415e64ba4b5a004d192a8a566b06e646ad4e99b40b57ab2892565c45bfac1" +"sf.functions.h3-coverage-strings" = "f15e9918b0a733af653b75dbd9d94570328ccec79366a519c35e559e77f07a5d" +"sf.functions.h3-get-resolution" = "ff0495467ea2cc543be12a71f1b32d238dc6574f7ea0a43cb82c868d53dcb7e0" +"sf.functions.h3-grid-disk" = "a1d8c062c187348b812ab57ed49b320723ad8aa20a904192cb3b3ef6bdfb1c73" +"sf.functions.h3-grid-distance" = "2027cf25478ee8490986fc38e7b1ba6062852df758804e02a603e289603d023c" +"sf.functions.h3-grid-path" = "0c8c6cc900d8a789ec94992e61a11ac410531eeb83ca715c0153446b2751bdc4" +"sf.functions.h3-int-to-string" = "b281cfff4d530e1357481f0036d33190e15eefeb82b1b90b336fcfc5bc69963c" +"sf.functions.h3-is-pentagon" = "cf43268d19988c932c75da32f28a2ed516559ee1299afae537381f1c344e48ad" +"sf.functions.h3-is-valid-cell" = "a9a90c8670e72bfba41f1bbd07336dda946b3554734b23a3a73c0e018cf7cb1d" +"sf.functions.h3-latlng-to-cell" = "03e235b93b474b2da73db91ae14f8ef257444413b8cd6e8ff544a5bfe88e6d54" +"sf.functions.h3-latlng-to-cell-string" = "071c3ac5d74c6170452b13e25227d98b69bc07344a9165defcecb182548f78ba" +"sf.functions.h3-point-to-cell" = "e1f9f4f9405492075bb5d14eefa8b6b3b16b7ebb6652577b775f0e4be44395b1" +"sf.functions.h3-point-to-cell-string" = "ab43828f4f4c38ce37f503c0546ff9baa51555e1ddf532a973c76926424c88f1" +"sf.functions.h3-polygon-to-cells" = "cf26183c0b3e6f119d8909fcaf597d5c2422a47c8516132a313e0481bb613b70" +"sf.functions.h3-polygon-to-cells-strings" = "63b519d91e4264478b1ef1646dfb4cc310ee2e39816e5e2f2ebffbdb6de78077" +"sf.functions.h3-string-to-int" = "64376ab92abc2c15c5236c7dcb4ac38ba2f38b4b1d7d4cd955bd4dfa6caaa680" +"sf.functions.h3-try-coverage" = "a036920008e384df67f3d794225f83ac887b78ad9a883c158dd57986c0b3797d" +"sf.functions.h3-try-coverage-strings" = "2e0b282db926fc3c7d23f3e1ea1a2bc568db6487651ee5988d27eeb8350a77e7" +"sf.functions.h3-try-grid-distance" = "b7352410e7b94c599646ea677769c5fdd88391ca0bf2557b2f543ce3f8dc7ff9" +"sf.functions.h3-try-grid-path" = "57f8aa679af4439242e445d61defc431732efa0efb2eb6770f74c34667c93fa3" +"sf.functions.h3-try-polygon-to-cells" = "983a84b1f5caf15fbcc193c105f13c5c048f4d06e929467c3437a6cfb10d11bd" +"sf.functions.h3-try-polygon-to-cells-strings" = "003949b7ad872939aece48cb0da4ed88cc16f34bd60e9ee0672aa5e3feda1a19" +"sf.functions.h3-uncompact-cells" = "481d39847bd59beca5675c2ee8866480b2249428ddc546a7b207c905ed904b3c" +"sf.functions.h3-uncompact-cells-strings" = "fd4d503a87627ad31eacc28e91866b3959ed888174d624a8ff18b56c4187b6f4" +"sf.functions.hash" = "cca591d3c65b8d627013764a6b989d858300d5540a7290b96d4af962b6430761" +"sf.functions.hash-agg.hash-agg" = "a06581262139d530c66c2bf117ad05e81335c2b7723b33d0e1fbbc959f207a83" +"sf.functions.hash-agg.hash-agg-over" = "e99700d0c3b5f54b4c47852f1612ac41112c18be9dbac50202aa84e21c8806d8" +"sf.functions.hash-agg.hash-agg-over.syntax" = "93b16f06195c492280bc1afcac04401dc9a4b77dcbd34bc6899ae302c79acec7" +"sf.functions.haversine" = "f845bf45bfc504c6b2993772e14a3c4722df0e0af326618fdca197d155c6114d" +"sf.functions.hex-decode-binary" = "100d71e21438265bd4c3f5b60d9d805b544834c633f66906935dac4041d713b5" +"sf.functions.hex-decode-string" = "cc50e092bd2c742b2c872e6aa3857eac44872102553f3a060a3cb9e5beeda5fa" +"sf.functions.hex-encode" = "60bce0a05bbd8f465412abbcd8c4718abd484766664b1795de145d4c766e4790" +"sf.functions.hll-accumulate.hll-accumulate" = "98b9d4291a712d8ef98eb5fe12680ac85ccedb1c1daf4640bd8993ddad9a8cf2" +"sf.functions.hll-accumulate.hll-accumulate-over" = "0ba3f73cad5bde7f1baae1687a5ea182ac63e5e3c2b17281e6ac248ad26eb463" +"sf.functions.hll-accumulate.hll-accumulate-over.syntax" = "25e91d368fee94ff71f6682eff4dcf54e7cc0b3f59336ae608ed6a07815f3493" +"sf.functions.hll-combine.hll-combine" = "bacf964f70f20a41808e3ea8b1202def2b76a6597f358cec609140c675eaa97d" +"sf.functions.hll-combine.hll-combine-over" = "890e95e967c392c2fc66d71f331a9f00ff79b0560c9e469f6c5ef466869c7d41" +"sf.functions.hll-estimate.hll-estimate" = "950fb36f7e857e8237e45d5706c6322d661d80ae0cd77aaf30234668f4e0b13f" +"sf.functions.hll-estimate.hll-estimate-over" = "b4cff38d549aa947e7d8af321461114c0151e41d650d044eb5fe36ddeddc7d78" +"sf.functions.hll-export.hll-export" = "f8fa461584a0eec099e32f3d791166f7d8c2b2992faae579325be4054d334185" +"sf.functions.hll-export.hll-export-over" = "c7484a3757a91433a7b8269111c83be8aa32b8ce1ef36ff7ccc7c55d3d41600d" +"sf.functions.hll-import.hll-import" = "14e829e062f5d33ad3b723d7d6f5c661ec9d82ded4130448282cade93f8a0598" +"sf.functions.hll-import.hll-import-over" = "3b399e65ea36b578b0e89b400b9b7ee58073c43946e7cb53938f7588c2914b12" +"sf.functions.hll.hll" = "8df0cf3d1b4b22ad27c883b328ef4d46c0d3d4461d3cd257951f239d7e3155c4" +"sf.functions.hll.hll-over" = "f08741b1ca7a430e11175722a3b9788f83f20b7ac3722ce0c3b9d10375b9be75" +"sf.functions.hll.hll-over.syntax" = "6d65879dfcc03cdf1c47a806fc8494eb4f7c5d8777b0981f17b0c2fc2e313a4c" +"sf.functions.hour-minute-second.hour" = "7460696fe166031447f9243d3c78435c65d629a3277248be9057a7f48f04421e" +"sf.functions.hour-minute-second.minute" = "06f72ed8a84ce37dd1ac0abe39dc0160396f1a6cf62d8352ca9be6fcad8d5a03" +"sf.functions.hour-minute-second.second" = "0e54ed29251e821cb01fcabe601abf9562278d597fc109db82a78cbcc2a7b3da" +"sf.functions.iceberg-table-file-registration-history" = "7e3782a87085fc927b5d22773728b85419a1f545adccb6cbe30537092dd22533" +"sf.functions.iceberg-table-files" = "7ce93d6f43ea07b4415e9022e11a4045ff5e5e66173a761e024e40e06e1149b6" +"sf.functions.iceberg-table-snapshot-refresh-history" = "e52e07fd2ca1721e9c9a68d6c4b093a20c4b5ab756a715fec16613f6048c3060" +"sf.functions.iff" = "481b4be3cb857699b728d3fe5a5538f0de842b50ad0b576ecf9782e1cf0523cc" +"sf.functions.ifnull" = "4cc8d590dcf3af6861d1f1544cc86d6dd6674d1387e22a5854d63b533ecabc27" +"sf.functions.ilike.ilike" = "598332a3288c07556a54883b8cdcc3fc4c6e29f9645ed1930e18202cfaeacd9a" +"sf.functions.infer-schema" = "46db623387896ec8415d1adb2fea043af3a2112e04d95119448d46ad317fc5f6" +"sf.functions.initcap" = "1057aba9b591f4dfac1a76360de0a5b397d05e94a5dfc6734cd5e84f895d4f05" +"sf.functions.insert" = "621571fdec3ef9464ed5e3ed79b0757877b46d3fab9d35c42e290a80e886d5eb" +"sf.functions.interpolate-bfill.interpolate-bfill-over-order-by" = "7440b03f344c95958d9626b252f1f7b3b31df9ca25049940509bf955098d49bd" +"sf.functions.interpolate-bfill.interpolate-ffill-over-order-by" = "490248243addf77f8282eced81ab6b82d1151284e2912e7e1b9c6c13826e07ab" +"sf.functions.interpolate-bfill.interpolate-linear-over-order-by" = "a3b0ae49a47687759481430a9929071ab5d221dd3ee41599db98b05c960969b2" +"sf.functions.invoker-role" = "28e766687d8ef771c20d4b77ab624a4780e66fbbd6e437ebba128b868fc6d46d" +"sf.functions.invoker-share" = "fef06986de8c92aefeedd4a4bc1697014b744d2c6a1707f67b6ed6e90295d771" +"sf.functions.ipaddress-trunc" = "d8ea9f890183321c481de3b6ac6f104770df4aa952cec8f0fb8a439e5712c566" +"sf.functions.is-agent-activated" = "d6e8f55605c9f48e83d54796581beff468b5e268f799f22c03ba050c8e2cc46c" +"sf.functions.is-application-role-activated" = "978249496e7b88f0f3acd59b509813888f70e8ee4f7908ce4917390b309623d4" +"sf.functions.is-application-role-in-session" = "3b3fe7f2a51c749d8f3ba1745112abddbd628acfaeab07f478b2f38760b69df9" +"sf.functions.is-array" = "93d75ebe4e5fc2f8db8fa9e0e3852ca811f79c933e0af25d099d60013f5a7c0e" +"sf.functions.is-binary" = "c5105e981f5f290fefe5db05388676ef32b0347d4b1a120d07c228ffcebc47bc" +"sf.functions.is-boolean" = "6ab4c41fefd393709d3a9075c473259569752fbbb13510f0d77db7a0e1e9576a" +"sf.functions.is-char-varchar.is-char" = "2ba8707a44ee57bb55f3e02008e1449d5c945196228b565978a98ef032efd861" +"sf.functions.is-char-varchar.is-varchar" = "cefe68ef0628ad52611bfc38e4f5607e1442f4b2ba18559551dcf5af09a74c0a" +"sf.functions.is-configuration-set" = "1cf5420e69f67109c55053b6153f9fc410185fbde6573ac81fdc16efdd4b8969" +"sf.functions.is-database-role-activated" = "b83a41a8a10294e70d83cf7180c950716ad7f6bd2912f23a9c41b89d626f3f6f" +"sf.functions.is-database-role-in-session" = "57d5c6212f6ff8e5ac5ae925b15e0343ab992e2c183db00fd34689789a8f35ae" +"sf.functions.is-date-value.is-date" = "be10067158d9a6b798530b99e2bc376da814c6093d482f9400e5e1b8969b5b21" +"sf.functions.is-date-value.is-date-value" = "4e3c05677ffce68f41ec6cb35e8a93dce111da4d3294e7e985ae74e5b95765c4" +"sf.functions.is-decimal" = "7fb07d7672f83db0bf5174da99aab29b76a7717ceabeee3dc0c543c4caadcfce" +"sf.functions.is-double-real.is-double" = "5cceccfede73ee4fbd446b25970c394c8117fdd382cb6d3dce689140485a0dc9" +"sf.functions.is-double-real.is-real" = "81a35e99a5308be82edec3d8bd9c538420cdb1c3d59e099cdc0de61aaed513e1" +"sf.functions.is-granted-to-invoker-role" = "3fa78943389c7ea0f6a00133dcc9e9f727cf2e76cbb69fbc3a7e24fe932109da" +"sf.functions.is-group-activated" = "8c62f2afe876c44e04655382fd2196998379d1bd25a08519f9210faca2401475" +"sf.functions.is-group-imported" = "33630291126269640e279cff3637b6b3b0b0a996c722c4eae8e01c70a0537886" +"sf.functions.is-instance-role-in-session" = "9d3bf2799cc68ee13910c14a0ab85caa0faa3ba1024b62ea4fcf7f3f14dd63f0" +"sf.functions.is-integer" = "e137fe5765e8e59afb8e4f668f6b1aaa66191fb49c2fadbac7b9a26e2ae804e3" +"sf.functions.is-null-value" = "ae67f6cae9f29dd7869a999354339c8d5bdc001faf9f98153fcb17134906ee09" +"sf.functions.is-object" = "c8251a6aaa5c79ae252bf1bab4dfd7483cf0b388c5faac39b289419d1de25db3" +"sf.functions.is-organization-user" = "b64c982a3022be44cbba55e14baa5c3955eceb5ce3151807a46c83ac2e212861" +"sf.functions.is-organization-user-group" = "97ab7969ce0c166c8d0eaaca3ffb619a6c7ed461941d2109b884d1562727024e" +"sf.functions.is-organization-user-group-in-session" = "3c566a0cb3395ae8d3c1e0a705293d3b902101cbad7011aad0db83dac3043f37" +"sf.functions.is-role-activated" = "87dad99273d997f88ac1b193fdda4d7d12b9bc601c8cbbd8f455accb28e281fb" +"sf.functions.is-role-in-session" = "9e31ac3cab9fc1c8b1f3e79f09f481c9c1335bcdfea60e71ff8c4a1649e46d07" +"sf.functions.is-time" = "4130e602c674cc0e3c3a7bc541a4a21d0446c0d19f002e50bd7d1a38b08b4a31" +"sf.functions.is-timestamp.is-timestamp-ltz" = "ed6bcda28a0b7fb20df20cd4ef69c64ad4891c0bfabb6a34173e367737f706eb" +"sf.functions.is-timestamp.is-timestamp-ntz" = "40cd8ede74a52fbe49335e0f61d43c61aeafbb740837ee954e89ec5a701f38c2" +"sf.functions.is-timestamp.is-timestamp-tz" = "b4e06e108af7829b7de7c6203b457ed39b21b951dbde6f001b389d3cdecf6ed6" +"sf.functions.is-user-imported" = "95ddf225b2b71463e77edcd78c24975cec593cf210eed1c4bfbc7a8abab6ac7b" +"sf.functions.jarowinkler-similarity" = "f183dd8118319bd4f777d64d5f099881e284d2f08039ef667c221754af9dbc67" +"sf.functions.json-extract-path-text" = "2f336bfb351a8e2949c2ff25f16dc81e0e1c15c0304290d477c1576b1992d83d" +"sf.functions.kurtosis.kurtosis" = "24d4006773e53c886242a869782c546b87cd45aab41ba949753ace3e5c477ec2" +"sf.functions.kurtosis.kurtosis-over" = "181f7b38b4cbb7b6c8962fc070f9c1553206eb1c71c3a23531c3fd3bbf15e4ec" +"sf.functions.lag" = "ba6e80e50229e3e6f863197265f0b279a10b6ab705891e82908ef6904a02f408" +"sf.functions.last-day" = "194c6b338d6bac7b1dbf2d7b19da2612be13cb0d9aa04d9f3e5ae12488c4df01" +"sf.functions.last-query-id" = "168ec7636369cdbd69ec649f150cfd5fc3a75b0a084f13c76c30e42806f59110" +"sf.functions.last-transaction" = "729a9d0a1461dc162c3742f2d5dd970386cd81f343f1363db0c42a14783b05b5" +"sf.functions.last-value" = "a6482f6d4cca0c10df6e8d490e02be0aca1009ed57afe31550629c0ebdbd0864" +"sf.functions.lead" = "ddd64cb6d855f72917cf5bbc0463be7acc28c3ff746d9b75c96b7b1990454e6d" +"sf.functions.least" = "b7b60bc3a5a1e76d0c11e7e0409201a3e1d662358d9f02cbe88f8c361ad9fcca" +"sf.functions.least-ignore-nulls" = "4e3be7116c267b2466a8b7c7917e31aba53e6bf457604c6d98929c2b7e8e9851" +"sf.functions.left" = "26920133bff43ad14e7e400b974e35b54a9da277a501ffcbc3846fa8022efdfe" +"sf.functions.length.len" = "87012c670ecaa990907a80f12e9fa934942ccf8f63740255824f6a65f47478f3" +"sf.functions.length.length" = "efcc690c374073902b0947341a7c2d7cd2342979ed9718efdade7f5b4ed2b846" +"sf.functions.like.like" = "672d1e578427076241805f1c26451170d32915bda145fba21d9a0e3c3335452c" +"sf.functions.listagg.listagg" = "17b76daf4e54947fcd4065ab2fd8893f7c38c94d313b05ad168e6225f095bd0a" +"sf.functions.listagg.listagg-over" = "8f11c5f566dbfe0ef7fe64b2e001d8e2b04f60c453f787c92b7e5dd4dd048ef7" +"sf.functions.listing-refresh-history" = "907b607908c688d483b05dcc06c42d7476e47b7d18baf2f70c6276b56df182de" +"sf.functions.ln" = "b6b4be14f8c7ab26d72d53053629cc7167ec2d9fdf5dda0d62ddacd4581fd48b" +"sf.functions.localtime.localtime" = "9377ee0b533daf08faafb31708963bfeeae11f8c628f2fc769c93ff7e1aa53ad" +"sf.functions.localtime.localtime.syntax" = "0a1771b9e1e30445ffd779a60566c9cec0e13c312026c0f4244f0012cf6120a8" +"sf.functions.localtimestamp.localtimestamp" = "c9b68c2fd11348b4f2a129b8be557ed1855ec1e10762fbef2ef3ce410f61e23b" +"sf.functions.localtimestamp.localtimestamp.syntax" = "86d12503a27fef5aff8171b98173deae4fd9b97a459f954648519c5fc611175c" +"sf.functions.log" = "7479d16878ad0358e7b5b841e91a1b49f2bbff43d4d4112713fbc202ded020ed" +"sf.functions.login-history.login-history" = "03d78588b1920603cc00858b3e4bad590b14f1667d552011b64697f1ba501b34" +"sf.functions.login-history.login-history-by-user" = "bb992eb65022dc84273553ef940ca128648bbc0c7e0eb524e5d3f63089984b20" +"sf.functions.lower" = "89ebf6fa7fcc8c956c73fce2dd43dd4ce889791d266681688ff5b0ebf340302a" +"sf.functions.lpad" = "272cad8d1abd01c1c7a940e36bd3751ebd81ac8dd0e3cdc75ab234efecdd1a3d" +"sf.functions.ltrim" = "7564ffc21a640265b630c4314331a6c305f74a582769f8cae0e25dc1cf52593b" +"sf.functions.map-cat" = "61cc9d4ffe5a738cd54bae6c096a557e278d5a7863c7dfeb66080699dbbc96bd" +"sf.functions.map-construct" = "8d4af32041f0c734151538056aeae23899b95bdc08f5d7461d0696f4983e77fc" +"sf.functions.map-contains-key" = "6e55d491a10c0a423b0900f84b2f785218d3e8aea1e5976c82645c1e95e6efcf" +"sf.functions.map-delete" = "e4536bfefd74b0b12f945d5ecb4c188f2fe6794ff36ea63782eeb44783e35582" +"sf.functions.map-entries" = "4dfe518fa937d40c516389abc46dad3f60f4517ad35e569cf444b5307b8ab7b6" +"sf.functions.map-insert" = "14f519d1153df984efcdd1cdd1d612867870e1a47a3177f8d8e71da53cf09e6d" +"sf.functions.map-keys" = "05b230da4e3b7de4f88bf44a9c913f91321f5f856b0aea8c8ded7b845333b35e" +"sf.functions.map-pick" = "1a7165f5ec91dc4a6e0e3fc1cd9d81b1ab79fe29027a72a9baeeb2046aa708a3" +"sf.functions.map-size" = "0828f4f5f3c641e4c8a34a05c3ab025e2a3f262733d065c766d698bfa168a501" +"sf.functions.materialized-view-refresh-history" = "c98059a6c9bcaa112f81e4654d6a6b5eae2a08b35387446cbea05d30ba2ac151" +"sf.functions.max-by" = "480f1eddfe3a9aa71f1b5549500a84c722513f52e65b34876851062b43c4c392" +"sf.functions.max.max" = "67087f61cc5cf597797f2035bf9b1ca85fa39f515b812effc2fdfc324f1dc22c" +"sf.functions.max.max.syntax" = "449fddceaeafe316dbd28b4de1ee63baa60d7599d151eff8ec9526cd0f17b544" +"sf.functions.md5-binary" = "0c049b3969a7f3310c06067b85eac4bf2a2ed74f0ce2cb96fd2189bd0bc0a865" +"sf.functions.md5-number" = "28079cb4dc4c3d073f778fc67419c29fee7db03bce195b271eea07957beb8fe5" +"sf.functions.md5-number-lower64" = "16ae533475ff27acad4bcff75b11542fcb97b5e1b03f1b64438dd4f5834d9b23" +"sf.functions.md5-number-upper64" = "75c44e623968780ee4f27dcedde0534f50f3dfd5ff3d94ac813ed319f28c3a9f" +"sf.functions.md5.md5" = "ecc21e6f2b026257ba85239dba2c561b5fb0c16447a62e1c15bb387416d8511e" +"sf.functions.md5.md5-hex" = "671d6e9f262b2fae76d482c358d8f1188d5008353fcd75866d0405ab0f03fb85" +"sf.functions.median.median" = "b18d1e0bf37611d5b27a5b645213db2b4498c932cf31fe2d7396c850a523246e" +"sf.functions.median.median-over" = "98e5c453cab6744d6de6b10873d1827184d879c79d73d7f8a7f51ad08bae7182" +"sf.functions.min-by" = "a5ecc31832dc5b1284eb8e863ea1495d2aba7b1d2d01f416aacfab120fe842de" +"sf.functions.min.min" = "2550ee0899b20cc03a68624d90096f8b049974dd2dc4dc4c9dbadb0a4290fec3" +"sf.functions.min.min.syntax" = "bc97618b4afd9629dc876d7c9c9aaf964853b9b333f58a964e9ac490235f97c5" +"sf.functions.minhash-combine.minhash-combine" = "a3f66fbcc7d8ae560830c74e0a5bd51ad78aa199023f81c584dc96c44f6cc458" +"sf.functions.minhash-combine.minhash-combine-over" = "1be21335636f7644a1ad60a825399daa977078224de08881f04cfd5c47d165aa" +"sf.functions.minhash.minhash" = "b81b60e3d2eb6900109ee1818a9451f04c7543d9c43d462235c2e2c65829faf2" +"sf.functions.minhash.minhash-over" = "edf546153b34042402585e3c87b05f2fbd6c95d6457799e49f80965ae6a08474" +"sf.functions.mod" = "b64ae1b061607b3894ac384ed20f776934bade9b12bfbd41d4a6737f1696c0ca" +"sf.functions.mode.mode" = "9900275b862afdff499dd53d9e224aa53183aa1383a227887ff18c2721bc8bec" +"sf.functions.mode.mode-over" = "ef0666aa79bce4146d3bfd4f95cce05e4618440d666b394b7e5090e0a85cc760" +"sf.functions.model-monitor-drift-metric.model-monitor-drift-metric" = "a995778c9df8e14df8cc248ba43075cdc674d3d46dbc5ad91bfc746e354bf4b5" +"sf.functions.model-monitor-drift-metric.model-monitor-drift-metric-service-base-service" = "6b81a9944ac938e1c00fee11ec0f31c7c7e0d4f5bcb478e8118b0e984f411102" +"sf.functions.model-monitor-performance-metric.model-monitor-performance-metric" = "5dbdca87247e648dfee6b18a1f62b07d99dd5837ccf4ee2cb2f73428d34bce7c" +"sf.functions.model-monitor-performance-metric.model-monitor-performance-metric-service" = "946947624906d7925a3a3ebc59deda320ccdcb6e99a17c01d17eb8a79fb9df50" +"sf.functions.model-monitor-stat-metric.model-monitor-stat-metric" = "a4203ae28b440c345b31a2d13bfe53bf732b5a795815c3c7f395cd5fe6253fa2" +"sf.functions.model-monitor-stat-metric.model-monitor-stat-metric-service" = "1966d3ce64a7e72530372010bb9f7fba727c58eea7f3422357a87a4056dc701f" +"sf.functions.monthname" = "6c7bc7b3f6288561cce44470a71cf0d65d6b34ea35279947e64e23c214c75353" +"sf.functions.months-between" = "275ebe6449317169c12717974e93ddd5ada084b02dd2233b36a42486315f0a34" +"sf.functions.my-budget-summary-snowflake-local" = "ef06cc479a26fef1691b30dfbb4b5e7ae84845a776a9a6598579d391c65ca367" +"sf.functions.network-rule-references.container-name-container-type" = "367b7826e4980f87d8de90e39c29c4d8b700f7e921b4b67a8c158f9bad43e849" +"sf.functions.network-rule-references.network-rule-name" = "cae9eef343cd869b39b6d885bb964c4fa7b41d80a93e6582d8e5aadd4c7a6516" +"sf.functions.next-day" = "d2bee3b2ba71f6970af46abd8ad931835c353eb337c5ca615eb75fee1a1eaa5d" +"sf.functions.normal" = "df48867fe87167397ee50ecc91dcc2b004a9d2d854456da554d62b552fab234a" +"sf.functions.notification-history" = "dd893362f37f371527491447c548f93976666362b26192f125db2b0f631ebf41" +"sf.functions.nth-value" = "6e1edf15c6e974a837d3d56a57aad04dbacc8de76123dcbd073ec6bb7ef09a4b" +"sf.functions.ntile" = "4b49b881e1d1978d0ab141104b1b8b848fafa0e2ed3f109c736f2b732df5bbc5" +"sf.functions.nullif" = "6976f1ccb59ad9680d16bbeb0feed79b7102a5e621b0a15d1568c2b6f47d9678" +"sf.functions.nullifzero" = "9b5e9fad7859eb2b40d319fb0c2a52c29f4f09da6c1f68903c4652bc4ff6bd6e" +"sf.functions.nvl" = "53a56d8f47bd1f3be8424abb778c4d760f9bd7b6f43cdc172cfbb24b39abd595" +"sf.functions.nvl2" = "da932473597be78e27119abeb631cd1d8a5a35dc965d9214e783ac7b507a7f75" +"sf.functions.object-agg.object-agg" = "670c19b2383b52559f21533d0e03149fa22e34d4482a2fea4606e00aebb4ee3c" +"sf.functions.object-agg.object-agg-over" = "f9d2850ff025c8d6da4278a197bc471fc9a3c29b83c90a885e46e7ccc65740d3" +"sf.functions.object-construct" = "e29fa2e34bc0d63eb35f67aed19f10a8d10c7174c66c46c9a870ee91e4e596b8" +"sf.functions.object-construct-keep-null" = "a6fe2c34eca1b0b047e2688be4a9f360d535994aa737dddd2167e1bdf034ee14" +"sf.functions.object-construct-keep-null-structured" = "b1258344b951800ddcb3cd4cf220cb25b411f6c605811eca315183e13e1cfd0c" +"sf.functions.object-delete" = "499ee3631ec4abf5b0f0b2af0eb7050a0ce930b0dd0843b97d560bed56a70e59" +"sf.functions.object-insert" = "b41eaded87f552819b31f80df23bc7633748734ac2885e82edf76588b0ed948a" +"sf.functions.object-keys" = "ff6c037b9991cc8b4ea9b68997e1de27d1cf9f5ea301c5754a69f349d4a69969" +"sf.functions.object-pick" = "8ae3b0cb2cd9368614b8c6f796de50c445b16003e669cba5fa1bb4466a42d37e" +"sf.functions.octet-length" = "1378ec7b3e127ebee1a44570868394c321c08f83cd1e866c7aa9cd9be5bac965" +"sf.functions.online-feature-table-refresh-history" = "469c9cc9065165cd1578353c5f60d18f16ab0915f0a01ff6a804f63dcc46301b" +"sf.functions.parse-ip" = "62a4a14109e822e52f207f6789f0775c7f25fcf73d23854213c5849787094a45" +"sf.functions.parse-json" = "4f69c464ff05c0e871b8825094847bcdf592280e72bf92b4935f3682bb49d9a2" +"sf.functions.parse-url" = "bdb0b97990b322d213ac2529f5128201a30d67c3e994b21c67942138f9a2b662" +"sf.functions.parse-xml.parse-xml" = "d76d23b15a9626ddd27aade72403dad12df95662e810965cca8a698e0b792f84" +"sf.functions.parse-xml.parse-xml-str" = "d4d3ecc0f4b0affc1ad6e3d6514b61576c72ed12c6531e6ff02fd789d96e4d3d" +"sf.functions.percent-rank" = "94d79aa4608f46cc0ed2484a474657fa0c11ed45e7de6f1bdec50195ab8277fa" +"sf.functions.percentile-cont.by" = "2c5d6c180f46a64ecdb00a451ed89915d44bbafdd5050111307b58254d8dbbed" +"sf.functions.percentile-cont.by-over" = "2c6100dad5dbf5c66d6a4d67c6e2bf5bce71d27c8a583d2700bcfc57cb4d1eb8" +"sf.functions.percentile-disc.by" = "a70a83f98d4d375df77f688b46bac330de3a8da5aa24551ec913627a338d8d0d" +"sf.functions.percentile-disc.by-over" = "181a8e20fae38e7b9b9a8ec67f1f85f93867c18fadffdf925a035c089fb3f94c" +"sf.functions.period-begin" = "ec1e57446703d6be34038800a1aa3dae32abe02a30dc40db12e90806a9c3c8f0" +"sf.functions.period-construct" = "86b2bb1f54e8c3613adc5d8185741df68733c06dcd5c690120f5a4c03d13092c" +"sf.functions.period-contains" = "4439499e3b6dedb89e83f56621069671cf91aad27d907ea1c158e7607875ff26" +"sf.functions.period-end" = "8a41517ccd237c592071f2e135841f7ee8644a79652164e28de5d8c6d81abe13" +"sf.functions.period-equals" = "9fbf4fb695ac482b98bc45ffedce1755ea2efbc1954d8e7ac52155257d8a0320" +"sf.functions.period-immediately-precedes" = "f7f10ca91a01144f248174bb0420afb730eacf11de3f0d9e7840952316eaa665" +"sf.functions.period-immediately-succeeds" = "264335493da200cf79b83509dd60a6c046ecda0cdcaafb8ff676f558fde08d25" +"sf.functions.period-intersect" = "429761b64cdb83baacde60154262b76b25e0a984b3c7219040a19c8e08f84d8b" +"sf.functions.period-ldiff" = "ee209032fe34c6da3ae1befdf16fe407e56ec8ea8be556d26e6f331f4726f3d4" +"sf.functions.period-meets" = "f3ea9243bbcf6ac51bc77bfbeecfedfc33e9fa9ca24793bec806309799d9aece" +"sf.functions.period-overlaps" = "7d2e7fc392ef85ab6e317b0bc450809918600b1fea37026cd3dcd0744bd0c11f" +"sf.functions.period-precedes" = "c96a4ff064222581d933a68aa1c70d68589508e93208465ac5c8f6a5091a3fe4" +"sf.functions.period-rdiff" = "b8f1d699ab07fe808c7ee3b1bd1c8cfc141fba6ead405d23c118c2202329ed6d" +"sf.functions.period-succeeds" = "55cdcf8952966bd09106f45e12c630f46198a1f2f0a972b1a3fd881a113bad92" +"sf.functions.pi" = "2e82bb28b111c140dd0ba5deadc29bda35ee440cc6d2a80cd17058e30a78ea42" +"sf.functions.pipe-usage-history" = "d067c0b9e08af47e4df1e1ca81ed85c98cb9acaf70012a8d5d4125469d1e1580" +"sf.functions.policy-references.policy-name" = "3a495f143c208951f095149724e843715e355eed0bf6e2f64fd52b6a15309363" +"sf.functions.policy-references.policy-name-policy-kind" = "f6615e94446d817a25eaa49717c8a705f9f02224c11e96f167e62528fd9ae361" +"sf.functions.policy-references.ref-entity-name-ref-entity-domain" = "093af3521353c7225afc6c5b664ed097e51bea4beb096244a54a81cef34d027f" +"sf.functions.position.position" = "8d30517b3ca4c0811d52766efffb2362cbbe543c3687094565c09db234cc75dd" +"sf.functions.pow.pow" = "d60ef7e5fa1ec3708fcc07419852a584b23e27ad082a0fea36719310ac371532" +"sf.functions.pow.power" = "a2bbccbd83428f1e6cd80d1e07bed466dcb9ce5121c241bcceb0eb325a93da31" +"sf.functions.previous-day" = "1824984d022b99810e597c39cacfc6238d46f95638884fd97f86d43e65ad86b2" +"sf.functions.prompt" = "3f40c24f2156645b7c7e0cd894bb2dcf32e0f4c1af582667d091911881029c76" +"sf.functions.query-acceleration-history" = "24b1b6573c4ab2c5c549028f40bef7e05af67c416bbf9c588271b73c9898cd99" +"sf.functions.query-history.query-history" = "7a7fea71e01b37f7013424e55b749fe9e2ec798dac32855fabd0d5e5c0e7c637" +"sf.functions.query-history.query-history-by-session" = "b778b3f227d7ffd80ec5f1417454fab9e055b6cbbf41e0e35b944c331fb7d3f3" +"sf.functions.query-history.query-history-by-user" = "91f33f8b34996de4c8fe69421c1492e70e71de435d54b944c0c7435c0ff1544e" +"sf.functions.query-history.query-history-by-warehouse" = "f629f2e88839facab6040227cda2d5326de32995ad3dbd9f6c99269a85a2471b" +"sf.functions.radians" = "80ea6507f012d90144ff291207f31837449f5a53638f9d710eedb6f9a208a86b" +"sf.functions.random" = "eea0721e752cb269b887184ba508f6ebab993d2abb37729501362bcbb3124917" +"sf.functions.randstr" = "90cc45d212dc174861ff9990d2da0e4534c1e219b8d3687dc4b822f1b4bbe10d" +"sf.functions.rank" = "42a9817a57d3e75f8460782744c0d99aad6305eaa9bf37fac3016b3074d0ceef" +"sf.functions.ratio-to-report" = "f415259704c3f78fe2be8489eb4f85b8ad9472d9f5ffae6a5c65e0a765804b52" +"sf.functions.reduce" = "ca79fddeadf0c43408ab7b262ed0a925b39d813a28fec47113d244ff24b566df" +"sf.functions.regexp-count" = "23efb5cb98ebb91db9ed1903b3fb8e3c75f9b01be8e006febb222a8b0270317b" +"sf.functions.regexp-instr" = "ab48acbffc4aa235e6985ca5b563209c0bb0b1de64230d83b36c1748cb2fae36" +"sf.functions.regexp-like" = "99be6d1ac3b16ca5f60d09d87e726d233819e49a6b97a3d3ceffe2beda3a21f6" +"sf.functions.regexp-replace" = "fb73fbe7bf8cedf0fdf3a3d6b4e3eff5ed6e522139e0301312171056551cb9e6" +"sf.functions.regexp-substr" = "dbc3d92a5cc16719e1ab00d3956d4117330f5a85cc4ce5e5d01dfca0ae03986e" +"sf.functions.regexp-substr-all" = "a810ca68cdf1bb06014bf15bc05fe587716afdcd4b970d8e4b1e5e40b7e75f36" +"sf.functions.regr-avgx.regr-avgx" = "8db1c4796aacba7653d4bc15a045b01394e478f2309fe9bdf2f4da7d331059d9" +"sf.functions.regr-avgx.x-over" = "c3bf9cdf30a95c7053825b4becf14958485b32251e9b8ea1d43e44812d0b8b15" +"sf.functions.regr-avgy.regr-avgy" = "cf5007aca438cf9968e5f59b43a78e8787bfa41f78d58d0fd5130200a9d81a91" +"sf.functions.regr-avgy.x-over" = "e608e1f44d0533b71ed164e975843b7fd8ad6ca1967c9c947d18df76514afb7d" +"sf.functions.regr-count.regr-count" = "c65baaa25140b048857bd2d58ac2ba2aae6495c5a4a71f29d336fc4a0bb955d3" +"sf.functions.regr-count.x-over" = "8d261580ea0cd46f451e18a26bdedc0487055a153fa7162b048f47ca3e50b6e5" +"sf.functions.regr-intercept.regr-intercept" = "ca445c1dec84fe04526eda73f54d92bfcfff4ee16eb2cfa6d233c83e6c7b9e9a" +"sf.functions.regr-intercept.x-over" = "58e2e89ed17bdce71cbc74eb4c1382e674eac7fc8e571ccf83b1ef6dd3d2137c" +"sf.functions.regr-r2.regr-r2" = "0d6a07c011f4e92108655af041c0d239cd9b3d2bc70b30e5600a0baeb8416081" +"sf.functions.regr-r2.x-over" = "248102d64bcbe576f47bca640ae7c2f591d4d6d02cb88d49492dcdaa7aed79cf" +"sf.functions.regr-slope.regr-slope" = "964ad4b88ebe63ac8e962678f3cd04d11f48d3d1b5cff80f376606915b8377bf" +"sf.functions.regr-slope.x-over" = "083d83372b76f44e21b85cbfa3ea2948d8a6276c885a207c4a3f28211e7cee28" +"sf.functions.regr-sxx.regr-sxx" = "87207ea924653cc0257c3bf8c71ea5d72a97e3a67ce9ed953c9695eac6cdd263" +"sf.functions.regr-sxx.x-over" = "c9866d9fd7ec70bc86f69c086066e8f4db9bae4b9c4a797b95d8ec21483d1aa5" +"sf.functions.regr-sxy.regr-sxy" = "465dc043806982da1d8f8d1cd4f587dab6c5149b41e524e0c804b239de15b088" +"sf.functions.regr-sxy.x-over" = "4d4a23d3de7c358d565d97932d8674d1312abe46ebe0784d21e08856357308e3" +"sf.functions.regr-syy.regr-syy" = "e21b50410dfef3fcc27ffba532e1cbeede5421652a92458764bf21d1b867597a" +"sf.functions.regr-syy.x" = "d84389702522127d52d257d81df1c381533e9ba6475f22ae47e648e2275b9424" +"sf.functions.regr-valx" = "0499ca4ece9c5b180f6c3a857fab136b6b7c281e2f1b91425da04d5d40176d14" +"sf.functions.regr-valy" = "2780f70c93c6f0a3578f08cb15cbf91f333bb4d1b58ebbe8f450682369c2790e" +"sf.functions.repeat" = "1ba013b3d840be786036b212a5ce15ebf6b86c2434b21a6f4118f816cca4b997" +"sf.functions.replace" = "8add1b348d89f60be4da4f55d9ca518037ea7f8b2b396a5d81fa1aac435e69fd" +"sf.functions.replication-group-dangling-references" = "509d93500ea5a80de7c3fad434cf8fe1ecb64fd7c726436dc917d39c73e95a4f" +"sf.functions.replication-group-lag-history" = "2a9e6159cc0dd5eb8a125eac4e73911af2ff8c294a4c2f8b630f515ff30acaa7" +"sf.functions.replication-group-refresh-history.replication-group-refresh-history" = "b31a3c168059e6ec72431853270d9bfa63e2adf3a1ef9f509572897e6789d07e" +"sf.functions.replication-group-refresh-history.replication-group-refresh-history-all" = "bc3d6e4f1335222f8dbc1b8e378fcc14e724769dc89194adec7e133114da9386" +"sf.functions.replication-group-refresh-progress.replication-group-refresh-progress" = "0bee5612a25a2fb2b7badbd1d26865db071e53f87434a8ed32c4bb88104f87e5" +"sf.functions.replication-group-refresh-progress.replication-group-refresh-progress-all" = "987fa22191809cff9df34690492b7c80d7c5c48eeacc7776adc3402a03190371" +"sf.functions.replication-group-refresh-progress.replication-group-refresh-progress-by-job" = "085092ad05d1b2f37bf345ab5d786325bc7e11bbfc4a66a113487267c5b9a230" +"sf.functions.replication-group-usage-history" = "9fd018d621093784650665268f3fa97c2dc78fd481b6625b9e648b791e6209ae" +"sf.functions.replication-usage-history" = "e309a6709542a662933865badb6e1eb9256c6c0b8eaa248f7a4c85033d45b0d6" +"sf.functions.rest-event-history" = "167334da3322206af22d01986072fe77b4a13089121cbc2c99bc20edd15b0e3e" +"sf.functions.result-scan" = "ce8ead2ee1afc8f8ba8164303bc089686a45200251f940ea6a567531453724ce" +"sf.functions.reverse" = "88e7aa25468240d8ec2c044694f397a1efc4447f014aab7f777ccf31f799be22" +"sf.functions.right" = "2ccceb372de56cef01b160ab7d67b1dc95270cf99b94ced74939003af29d1035" +"sf.functions.rlike.rlike" = "8bf7e9e5052f9ece5543f949ae4863989bd0cc45ab4ad41f0358fa952e294caf" +"sf.functions.round.round" = "7aadd63717eeaa45213bd435548b23701f18f045c2ebc380947ffbbf9d6f6605" +"sf.functions.round.round-expr-scale" = "32333eb8ef0ca1ac83f74d385151235d05a1ba0b6fdad6b11c384a23ddf4551f" +"sf.functions.row-number" = "b81e9ce8f4c2aa38d26b270872cd9c9b1b7cd263052310529003b7a93fdc9056" +"sf.functions.rpad" = "ba19112177e15ba9a7637f8793fe339f2513b69af1ea6c14d9df98641da5f90d" +"sf.functions.rtrim" = "7fdc1146c004cb3162838a00a88b6d88fd4718c031565cd4d7bb317d92817b9c" +"sf.functions.rtrimmed-length" = "f995dc6ee42c4b3467667e2a27c5a66dcb4573ebf6f9a1100d90e897af202428" +"sf.functions.search" = "35faeefa3491d732f46f7a3ace42a1d80061cfaeed67d9c7c84d5e25b562514d" +"sf.functions.search-ip" = "e169b02fc64d7ccb67ec1b8c12278d8347fb122a49d2bd6a1fd437da98242381" +"sf.functions.search-optimization-history" = "6010a636f6465300ab36c36a9acb4d7d26f7ffa675d3978687b40dff90a9eb07" +"sf.functions.semantic-view-materialization-refresh-history" = "d20eef9cd672ebd6ba8f1b14ca4523765a4409f8357915727d664cf81018c8d7" +"sf.functions.seq1.seq1" = "451bd9e7ce43d11dab46db10c90822f1d2545fb1b1e78ef1000e64094821854a" +"sf.functions.seq1.seq2" = "28080828c02faf96012b65aed6095a7d4d22e7155bf38d5797251c6037bf90b5" +"sf.functions.seq1.seq4" = "eab24ed998336b4344d5bfe33bd39d51b016fb01b3bca01bbe87442b3484a8e3" +"sf.functions.seq1.seq8" = "ea5fc39358e046b3873c2df71b86f564f75133c9dc8962c0b35b6c88ec8cfda1" +"sf.functions.serverless-alert-history" = "7bc3db6ab611ea25654e8e6f9a132401cb6ed0bd4229a7d218e1922419654064" +"sf.functions.serverless-task-history" = "0accc780b7834720b6bb6f387d6e3f31b9cacd0cd52f3881150e3e1a2f9a9980" +"sf.functions.sha1-binary" = "82791aed0309a5aaa54d53ba25c5b48ca7673c7a190a879da662574c7244c2c6" +"sf.functions.sha1.sha1" = "b109e163d1f5023fdb5c67feff1913a7ff8732a213cfb472a6f0c299df9bc589" +"sf.functions.sha1.sha1-hex" = "52e1060d7077ee4bafccc3334c206e885f4f586b7f37f886b58e56092907ebfe" +"sf.functions.sha2-binary" = "6e77de3cb9e4bd81493f29ab8d4d8b5538deb50704e1ec92d947680d39bdafb0" +"sf.functions.sha2.sha2" = "2785cbe87286a5bb11a35454c26949e367521da027435ee46a502e5a5b6145ff" +"sf.functions.sha2.sha2-hex" = "96fcf499e76b72f5de4b3db838833c2121f719cd9e749cbb5fed988a4c5578ba" +"sf.functions.sign" = "2eacebbcdf09f99fb6606ce016fba4ed6e2ec6ffca3a8adedff20284a9294dce" +"sf.functions.sin" = "b9beae2214a4fac860618616318a65ba8ab8b73778a4dd0b9678244150824b94" +"sf.functions.sinh" = "3d9f85269018d1dbfb5b6e335a18e5ac65bfec8f3ab97eb93036ad6f27ab793b" +"sf.functions.skew" = "3abc45f6bde9edc87dd5bea8e8386b0a920c7fef03b88dc3dc61af3c8eccce9b" +"sf.functions.soundex" = "c6eca9149e59fa26e57abdf00394391ef8d7a9071339e0499a92d7b77d3b3623" +"sf.functions.soundex-p123" = "fdd0d30d3e29a803b8efae2dacce1732057688853c01ec6a0a4b52792564372a" +"sf.functions.space" = "a8c7e0699944aae94a8dce2759c5aca414090e99f5ba8656f1424d97cc462394" +"sf.functions.spcs-cancel-job" = "c20c16111e0a7d547ad606979258727672c51634cffb590b96e4227047c04940" +"sf.functions.spcs-get-events" = "5b08381807bbb6d0d844dfa17016f3124a20fbc2e78909c9b4ba62aec4209c28" +"sf.functions.spcs-get-logs" = "01a95b8f328905d25662cab6390944bf134271f359350e31488d3671cae94134" +"sf.functions.spcs-get-metrics" = "27ddfc0366f89ca7abed64682761ec86ac7e2cc989ec520d0262e4b186fe60fa" +"sf.functions.spcs-wait-for" = "d0552d2f2b485ca0008b770efe6ee76cc170589a62ca62562f5e583d02fb8590" +"sf.functions.split" = "56b4b4cdbd649f27304345fb7bdfe18af1824bfab603755a33ea73f97d0c8f57" +"sf.functions.split-part" = "a5c63c742803d4ea6b0f4d82aee0ec1882ebf56b5c7725dbf078a3f48747c385" +"sf.functions.split-to-table" = "c4fded699817d7573c52f2188432d9218fe5a5ab99f40ddd56aa9d7495bf18ae" +"sf.functions.sqrt" = "d45ea558bc67784ee719efba2d355188be24bff38d4a78075d0d6318a83086da" +"sf.functions.square" = "de4cfb86672d8ce5a63df5d0c362a4bb12648d248ae52bd9025fabec60f3e67a" +"sf.functions.st-area" = "88d0b81ca2c815092f7598bd6d833c07273b89ba7cdd547b06e5e07f735e93bb" +"sf.functions.st-asewkb" = "e1ff22ac4b9a4679cc292cef5d14b0ef55ac4c4e789f5f6f0f0024c185b34b07" +"sf.functions.st-asewkt" = "a311cad078140db2dbde2c46834428b802ae150102da5bbfe0569dfd1a617318" +"sf.functions.st-asgeojson" = "611d9a5fb470ab8e85a9b74a3966a24ac091c5b7cd732a0712b7ac1ca02400fa" +"sf.functions.st-aswkb.st-asbinary" = "84d6f8d9bc324f551b8f2d5a9df10ecd5fd6b284d25dbecfe9485f12fcc71eb3" +"sf.functions.st-aswkb.st-aswkb" = "ccae51d0ccf5197a41b300d21c6a0be6dc4b08f0ccf174b99af7a429d08950e8" +"sf.functions.st-aswkt.st-astext" = "b5c960527d1f5b1b72e454baf22bfcae531b8b6c9984a2bb06173e4c5a198786" +"sf.functions.st-aswkt.st-aswkt" = "9fbfc304bc2f52233b708b3f872773f0005efbb9b19b44a1e30393fb9c90ef0c" +"sf.functions.st-azimuth" = "dac7544efd070c531b9e426ee1fedd23d78107736a27684b328cac9554b265f0" +"sf.functions.st-buffer" = "c6fedfcad507fef95d76020dc84a299f71b49709c5093da41d63c5de066fafad" +"sf.functions.st-centroid" = "21ddf0faf3a6d32b7bf0bcb28ded3806f58ffe832b2227755b5e045961038bc8" +"sf.functions.st-collect.st-collect" = "3a03591a316f526765d8b32beea3639c9f8fea45c3c7dc627ca2b19f908e8e0e" +"sf.functions.st-contains" = "204ff8af775a8f45432fb40640cd7fb6819623319ccdf63f8b70f02e8ccc0be8" +"sf.functions.st-coveredby" = "cdca6bd8c0c5e09bf1a40749ab204d81e32cdd7fcba5d242cb12ab71a33669f2" +"sf.functions.st-covers" = "be7493190647039f9ff520a11f3922667de9ba5e8c84e661e1e3265cf8735d53" +"sf.functions.st-difference" = "499e2eb0ea15d4479d1890779004e04b274988c390ea36edb69192bdf8148159" +"sf.functions.st-dimension" = "939e91306ae0a303c8b695d272903a16fef87c0f294f527a76b2a80da4d10582" +"sf.functions.st-disjoint" = "e63ad76d9841ad17c25f0da2fa04e00b9db95cd6450601a0e5f8c2ff176b9717" +"sf.functions.st-distance" = "491343103efdfd69ea4d7dae7345dfe3031c02eb80f66ced51d1e467c80848ec" +"sf.functions.st-dwithin" = "21d6a4725e88b76108b3434efb303bbd33863ffd267578cd031ff1e9d7fc8591" +"sf.functions.st-endpoint" = "c5eff464eb2b73145cded44a50ecbf96923704abfcde4043c1c493e5a37c0a73" +"sf.functions.st-envelope" = "91c69f89f8c8e76a3ba7bdbf77f6dba2454ef60494df3d42ac4980a301a5ccb2" +"sf.functions.st-geogfromgeohash" = "9e83476bb5fe2a9049dbb4ea03c8b0570203ecfda49e29672c7a4ca73ef829c1" +"sf.functions.st-geogpointfromgeohash" = "678b9f1792749bc1866a877722e7f381b4fc58390081d93277cdf88e2825a5af" +"sf.functions.st-geographyfromwkb.st-geogfromewkb" = "01fc56aeaea9131857dcaa1376fa416f1a23d430294d675c32b26f08faf0fe7a" +"sf.functions.st-geographyfromwkb.st-geogfromwkb" = "abfdbaa85d711b2493b520a1723c793e9d285287065bde6b3657cd5092764c34" +"sf.functions.st-geographyfromwkb.st-geographyfromewkb" = "b50d43e5228320006bfff34264c5fdff2bca93c4c86520662078e5b8e94bdd3f" +"sf.functions.st-geographyfromwkb.st-geographyfromwkb" = "2c4882ab1ccccb77120ca9ad6574c8d37a78d90093c0e3510cbbb503aa87b8b1" +"sf.functions.st-geographyfromwkt.st-geogfromewkt" = "3bc1f974b6ddf2dd4af2bc4524a42438869591b8c1307727fda039b0528e6fc9" +"sf.functions.st-geographyfromwkt.st-geogfromtext" = "a2d7e91f4b9314fedbcd8f4c6b145a7ba8e9b559bed4ff1312bdc47d6ab5f285" +"sf.functions.st-geographyfromwkt.st-geogfromwkt" = "6d5788b4a19c35e0cba8101fc79166dcca3e295b51b2713d53242ccf2658aece" +"sf.functions.st-geographyfromwkt.st-geographyfromewkt" = "496f390794e565bb674b1ca0bb251f2a3ac2add0ca1423d624a4c7eef1620ce8" +"sf.functions.st-geographyfromwkt.st-geographyfromtext" = "45ea87fc08ae5e926b9dead813b58caad5da1a55c4f693c87a6b4d20fa53dd67" +"sf.functions.st-geographyfromwkt.st-geographyfromwkt" = "df2c9abd4ba90f7ab0f4faa67b92806b26a9bd596707211f0c7669df8471fcd1" +"sf.functions.st-geohash" = "100140d5984a15f2acb5020a89a148e6344132bf8c0213835ab3c937d2465bb7" +"sf.functions.st-geometryfromwkb.st-geometryfromewkb" = "56eb2bd6ac34c71b1917cb0ccc7ac02cf6f48c705bfc88a25581cd4dcddfba7e" +"sf.functions.st-geometryfromwkb.st-geometryfromwkb" = "5ac61b3aef550ad6cbdb6280c0cda9494b1e634b0268203697eb421dddf55a67" +"sf.functions.st-geometryfromwkb.st-geomfromewkb" = "f7f14cb38cf15258c95c5be3ec2da46903a2a17c5e291869f60290e5c66d9a02" +"sf.functions.st-geometryfromwkb.st-geomfromwkb" = "402177a7165eed7c67742bf2d7a6428abff4da52add69aa87e575d9af8553bc2" +"sf.functions.st-geometryfromwkt.st-geometryfromewkt" = "dba487937be8c8a7a85ecf1a7a98d4417cc90ef95d9670d9b7481e4d1eb29476" +"sf.functions.st-geometryfromwkt.st-geometryfromtext" = "68b3385d6bb952782d1e3a07d817b3a7ba7e219267d6750439d4469d69e1417c" +"sf.functions.st-geometryfromwkt.st-geometryfromwkt" = "f41611c83f897e16950d2345b59742e80d793dc5c47606ae98e929b9d9fc1646" +"sf.functions.st-geometryfromwkt.st-geomfromewkt" = "12a400506e1805cc89da080f837f46896be6ce36fb67b4ffe254ec755ea165e0" +"sf.functions.st-geometryfromwkt.st-geomfromtext" = "189199419a13dee54951490a4ffa22d187ce06435931dc63a2bdfbe25cf39d04" +"sf.functions.st-geometryfromwkt.st-geomfromwkt" = "6b5874f5d1eb85cdd54afe79a9cfc89ad58324f6b57adad30b97c5cbf853c8f0" +"sf.functions.st-geomfromgeohash" = "1e4880b43f3bc0a211730722090888a36e28539b3e934b317e131c07569e69ee" +"sf.functions.st-geompointfromgeohash" = "aa4bd832a2ac7dba27203c5852ad98356c859673baf935bec64f12f57d090a40" +"sf.functions.st-hausdorffdistance" = "060b468f501d577d81e3ec98ccd4c383b6a2693f6a86432ae1fcc737019375b7" +"sf.functions.st-interpolate" = "2f3041228893e2bc726e09fd7483777dc8dd8e9005181140df60a934bb84040f" +"sf.functions.st-intersection" = "66c9a2d76bb49517564fb2cab1382ac422d3230fd54c81b017200d27d8c70155" +"sf.functions.st-intersection-agg" = "bd73b5fe559ced844cece9b39d7d636a33eddc8393616e50b8f826ac188ad4da" +"sf.functions.st-intersects" = "511cd5c9dfa6bca4564980e1e7d937048fdd824ab69e53697b43f4500e1d2ddc" +"sf.functions.st-isvalid" = "7bfac940b5d8522d4df4c29ffeea5aa2e114b1708eff4d672b16926bb756a777" +"sf.functions.st-length" = "737dd6164c3bce54ee0650295ca20cfc32bc33221fe54da5aae4d635dad2f324" +"sf.functions.st-makegeompoint" = "d1dcd2f320b96f6f478631cd13ba77edb3b9741a01193d179fe8ba6fb2bc2150" +"sf.functions.st-makeline" = "0d89095504ee69ccb9238f358d1a320bf475a5655e258a9af8c3b5e195bb62fb" +"sf.functions.st-makepoint" = "6714eeb88c3d8e66eb9452753f2663682e5b9b986ed1bacbc7dda49f7b5fd23c" +"sf.functions.st-makepolygon" = "f8ef1593dca3d492651dc5cb1dd7d686d3915dc9fa05d3daadb84b2f8d447db1" +"sf.functions.st-makepolygonoriented" = "14cc7d78791edea779f24f8d2afdba56f0772121ef81685a367636a971e686ba" +"sf.functions.st-npoints" = "f2f72f70f033cf4523f2e129c35609d587fdd8e35a58dc130767168c4d361e75" +"sf.functions.st-perimeter" = "07ba11abd8ed108fd93f64630da6953853481055d77cef03bb307400482920b4" +"sf.functions.st-pointn" = "0e4069d3c9ed796f78eaa41fbb57df4ea6702b18b3eace533decfdca3b06d311" +"sf.functions.st-setsrid" = "99811997e92fad5f871083fe81bca1f05be6a113bc200b4c2848b52442b59f9c" +"sf.functions.st-simplify" = "bbfcae73fc2115f4a6fcb5809ca4312f7b9c98854d6513670b1538d70ff50dcb" +"sf.functions.st-srid" = "c7a598c0d1fcccff0ad3889fb9b363bed8f981bb6bb799c572f1295a7454a08c" +"sf.functions.st-startpoint" = "cdc70e74ca81eaeae3ac507b72c42b1dda607f20d377a5f6cb966ec79f352286" +"sf.functions.st-symdifference" = "34aaf54d2d43b05c438361719a7ce4226d2f0370ed941d17662d66c85900b556" +"sf.functions.st-transform" = "422aa590a212ae27bdcdbd668ec76d8e72d910a09d26ef9c81c8093bf3722f5d" +"sf.functions.st-union" = "0ae8fe5794f267652b851378314a370d6ac7186515b9e8a91bb1b8d0ad640414" +"sf.functions.st-union-agg" = "e45f121bad1b2f32b24ab677ab9f06652c1c0eda6d7bdba7bb406bbfeda269df" +"sf.functions.st-within" = "8d79eed1cf439591492fa9d642d5dfaf46b1224fb3891ad7bc40618ed24ce839" +"sf.functions.st-x" = "3808f43ac576628d75236d130a22906903dfb2a1434fbcfa84f7779a202c545c" +"sf.functions.st-xmax" = "c868e290e045f9f25a7ea0679f3c5b035208216c13bc272f45eaa224ca62824b" +"sf.functions.st-xmin" = "c8513d10b34d5af49c330a819284776f50a3ac322166a8191449c9ee83550264" +"sf.functions.st-y" = "65c209c192fe5db697c63f5896094bb65c41586414558b3c9de10eb290011ed7" +"sf.functions.st-ymax" = "876e66874195aa7eb4d80a1009fcb16737b8a8ed3aafc24f6e23e967cf15b57f" +"sf.functions.st-ymin" = "5ed259f9d447e97b1fa34474146bb9340374c8dc1747df30f6ce279beea29295" +"sf.functions.stage-directory-file-registration-history" = "d4aa8c774daf4b95af29ee67e2bf462fd93cd6f578cbef8170a569054fc5c8e4" +"sf.functions.stage-storage-usage-history" = "c8649040a7cca1900cb402a58b24a5c3d99f589b233286dd8d42a436a8b39f9a" +"sf.functions.startswith" = "58594d1465be31a7cf6db9714ccedbef2c00bb24b0ef8bf74cb3835a8f837fc1" +"sf.functions.stddev-pop.stddev-pop" = "da3221c50bdf90906fbc8b82e31fef3945984b08cd1391be32a6d105d9723f96" +"sf.functions.stddev-pop.stddev-pop-over" = "2e3cc7930c9433afe4c524473f57f2b805ce32adb3e58de7188447df98d6be88" +"sf.functions.stddev.stddev" = "fe5a5a4f95592ad5d05b8cfdcf337a2d641b334ab4a57c4648b962902f01b622" +"sf.functions.stddev.stddev-over" = "75dbf15946722acc727845159d7e4a85a84a6e3e928dd1e2bd2743df0ed4be65" +"sf.functions.stddev.stddev-samp" = "1ac6c871aa77bfdc591805717fd9388e60788ffe05d8dc7e96fcf99d031e56be" +"sf.functions.stddev.stddev-samp-over" = "6ce2b88312b841d09f704ea7a1e7ee10cb58c7b7bb422d36ce8ea3cd54972fb9" +"sf.functions.storage-lifecycle-policy-history.policy-name" = "5874eb6811a2c0ee52e38034e4682cf3d5bfa740699111538928981a6d002f43" +"sf.functions.storage-lifecycle-policy-history.ref-entity-name-ref-entity-domain" = "6f97860f116a889500c863075189ae8c6ded58001f45aec1ec2b437ad92a5146" +"sf.functions.strip-null-value" = "7f11499af4eee13ba7273ff60ab026a65640b70da03bdeb11078fe3daa2636b6" +"sf.functions.strtok" = "c85e142fcb148551edea80b100a8ff61d489cf8672ab5cf7167f18c99189056f" +"sf.functions.strtok-split-to-table" = "bc5ddad5cc5ccc565e34ee1c57c200fae34b05d257d26f18e8e8925c8fd0f358" +"sf.functions.strtok-to-array" = "16531385073e387798198726806090a6e1f2c8c0f888954dee0624af891cf0e5" +"sf.functions.substr.substr" = "9e723e1f436ed4392d668777a7ff3adfe198c4ee4783ceaacbb206816d3c68e1" +"sf.functions.substr.substring" = "35ef9af8a73c444cb789c26c5860315d721bdf46f39cb5fbe2afda1bcb246cf5" +"sf.functions.sum.sum" = "1e03dd4e60cb3f0c7a2a144255a67d20724585e9c98cd3b4bfe35f3b7dd5112a" +"sf.functions.sum.sum-over" = "a808b9bf7cb6d1557635e0de0f8a8b846c6cd5b626635c5008c3343baea7f652" +"sf.functions.sys-context" = "61f79523f7575c3225e0dcfd372904c16baad69743aeff28962b333defd1e8f0" +"sf.functions.sys-context-snowflake-application" = "d423102cbf0ef15c85667ae644278e5d90f5eae224837e2adabb0cdce1c927d3" +"sf.functions.sys-context-snowflake-current" = "12d6ce573a51f3f3b6b01767ea8f8be861a910b406867d442fa6f77305c984c6" +"sf.functions.sys-context-snowflake-environment" = "be416ade8d758faf670c02c99a3514677c20c4aacb85c4e60589c55413c113d3" +"sf.functions.sys-context-snowflake-organization" = "05e9187f0107fa58e5b11d179d3fdfebecd7d111d5f728f5b3c3878879985964" +"sf.functions.sys-context-snowflake-organization-session" = "7eec600aeebe94077334293c2ffd94aca684cbf807f0c2cd6c74e3f5ccf6a07e" +"sf.functions.sys-context-snowflake-organization-sharing" = "ff7b1d1320195e3b694c4b30f71d6cab44b0728cdc3f3811337bc5ee9efeb077" +"sf.functions.sys-context-snowflake-session" = "f5416612e4e3cb488d579362373b079c85ade14dd3e286983f25e47ef59b7244" +"sf.functions.sys-context-snowflake-session-attributes" = "0216fadafd5b431ae917cb2540c685b54410e81d891e8e4d791d944986365948" +"sf.functions.sysdate" = "dde683e72850555720bf1848968aa02ba13e845fa16f3363cf1bc3b94993f67e" +"sf.functions.system-abort-session" = "7807047bfb4afd17c1498173903067c99a2a5ca22ba304f61b5462d25adc8d96" +"sf.functions.system-abort-transaction" = "72d080b70cf17f9e9aa183eaf4164c385bc4b33aab539b27d59f9c65cd2623d6" +"sf.functions.system-activate-cmk-info" = "24bf81dfe4a1e21a3840e6dbec073796bd99811edbeeda2d4f24143305a2d073" +"sf.functions.system-activate-cmk-info-postgres" = "c340ff27eb8e43cb16c918e3be47c4d17419d5b966113a2f5733d0715d836d95" +"sf.functions.system-activate-cmk-info-snowflake-managed-volume" = "ed04d93b8c4ffe586e21d8ad3d40ff8a25cef6dd2740a2d867ff05a518f8053b" +"sf.functions.system-add-event" = "3c1891cfba82d8e9141bb41ec3a815266ab9ec08660fb9e7bf61430cc89670ef" +"sf.functions.system-add-privatelink-endpoint-hostname" = "41e7d2ece0c04b07f40bd2e86df18ed8155ddbd9911bfb2423b08074e38cced7" +"sf.functions.system-add-reference" = "2cf43ed676aada7bb800f3aad82c293137f7c68a01073001a94631c167e1a3ee" +"sf.functions.system-allowlist" = "e2b11ec33ca763a1fc86a7a6c70f584316f0194d8269b00b4c5477289b613dd2" +"sf.functions.system-allowlist-privatelink" = "afae9b7764bbf87a346bc3ee73283e62ddc5b825f568e4935741a4fb3e5e2aa6" +"sf.functions.system-app-compatibility-check" = "a57a500e883c9a1c45507f6c7b0dd223b6b9b4c7d280d57fd9bf56f619b42311" +"sf.functions.system-application-get-log-level" = "cc2cd4807cba4e9742d26c517e6e0a895ae9d18bc136a3133fd32abcc1a613de" +"sf.functions.system-application-get-metric-level" = "58e15788d7d7e80ee762e958ec513e346d178fd7cf55b00b19ec8b4f1d3c2ed3" +"sf.functions.system-application-get-trace-level" = "83416b61dfe7ffa36b2eb6ef0ff91e96ebd29a88d27572b3740d754a0db744ca" +"sf.functions.system-authorize-privatelink" = "61acf092bcffa34a7da2d104bd662ec58f286a361bd0e76eb24a8dcf5255e273" +"sf.functions.system-authorize-snowflake-managed-storage-volume-privatelink-access" = "2dadc1606daa5e1e1622c6f13b160bd5abd5268b48a559a55bcabfe2b4e12911" +"sf.functions.system-authorize-stage-privatelink-access" = "932d04e9d764c8f41187d3771a759872cb42f88fc343d9c7c21231d84060b048" +"sf.functions.system-auto-refresh-status" = "3ccc1fa519dacbb71cfe82d53ca10f6c5a6f7f5daf205ca01d00af7ce81d8c73" +"sf.functions.system-begin-debug-application" = "6985fbbb46296c85e8846bb87bcc4453ec8b99df9204af5f0b5f3b24cfdb57ad" +"sf.functions.system-behavior-change-bundle-status" = "624cda12bd5b9d06702d40feeb64799fe42c14284ff3f75690af696ad5381a04" +"sf.functions.system-block-internal-stages-public-access" = "e78e8bae1713067964fccd827da4ec1eab271923b2798dd739e7eb99a9e81d16" +"sf.functions.system-block-internal-stages-public-access-with-exception" = "92170e6fa1bd5aa723b41562d2fd15bdb0d9ac2da102050056b16bdeb13b2748" +"sf.functions.system-block-snowflake-managed-storage-volume-public-access" = "eff3b65dc910f747e58a7e19a2c39b07ce9f915935f6ba37b83b554630d39ee4" +"sf.functions.system-block-snowflake-managed-storage-volume-public-access-with-exception" = "129a12d865ce67d736746cfe7ee0819ce99855bd67620918aef1c7bab9a4cfde" +"sf.functions.system-cancel-all-queries" = "699de06aae9b8e237f9333414cf1ca3b1b2ff17702ef1c810417584c444074a6" +"sf.functions.system-cancel-classify-schema" = "ca38fd92281dc912d3e82323b28cce4f0488685eb9552e804ac96b1d5e0f2ffb" +"sf.functions.system-cancel-query" = "53b12fe705b44685bd4100fbab068c5311eee821b87c0963e83b8745cd04627e" +"sf.functions.system-cast-multi-party-approval-vote" = "a7eca24a82efb590bc9bcd7cf411fbc6bffe25b9f413d3416cd881cf7bcad8b8" +"sf.functions.system-catalog-link-status" = "99c9eb37ca48e6d546c2ba1d6f9046321e8da2cd8f942ab56571ae4445a630ae" +"sf.functions.system-cke-hash-function" = "591ed01093ae0a6b6cb7e3beb48a1dd1994d9e22eb4f66bc11779bb4bf084b64" +"sf.functions.system-classify" = "f6d3f8f621108ef988e00f26732ca8d2a8c2c15084d28544b3bb2d954f8f46ad" +"sf.functions.system-classify-schema" = "7c946a890c0f734fd03fc481490e9a36406aa883ad28f75c41748a55dc0cd045" +"sf.functions.system-cleanup-database-role-grants" = "010fbd11412a52f7a917b62abe6ffd43d29e3d3741ffbfae66ad805f95520a7d" +"sf.functions.system-client-version-info" = "7679999e214c62c1c93f44b70cc2d093e1e6e8d093c2634fc18b95b29b1da7ab" +"sf.functions.system-client-vulnerability-info" = "a29d9521277522cb419dc6d2cfb72bea47fc3db0377848748514dd68795fcc1b" +"sf.functions.system-clustering-depth" = "67f4d5ef25c6fdfb270858d2634de738d541a3e918caa9fb52bf0bf0444b0659" +"sf.functions.system-clustering-information" = "826579718cd00489f8caddd0fe39f21ff9f7a76552e17e65105e2e9c5f598629" +"sf.functions.system-clustering-ratio" = "c1c0f4d073c5812887ffe2e5883049e91f85a4d2bad9ae60ff31cb965396cb48" +"sf.functions.system-commit-move-organization-account" = "cb623eb577069f2108093f6df804ea1901e6418819005409674e3244370b95cf" +"sf.functions.system-convert-pipes-sqs-to-sns" = "cb26db78cece05ebb13e9245549efa33f760a1f9e7664583e9a435a5c91058b9" +"sf.functions.system-create-billing-event" = "99117096cff8cdb3946ed869684511d848006f0f9c94631d242299bdfbc5de40" +"sf.functions.system-create-billing-events" = "8909b532d21efcbe7d4df521df50592fdc5a6a734da67d0d6199d158c5f52a5d" +"sf.functions.system-create-semantic-view-from-osi-yaml" = "93f5a8b3f47dae2226e0e9d55f2082359e543e415f7c117fbfe620a004a356c6" +"sf.functions.system-create-semantic-view-from-ossie-yaml" = "d61dba7cdca3622907d7aa9086b1ad6deca2e389385e631538b55aa90a188b27" +"sf.functions.system-create-semantic-view-from-yaml" = "7c3204a64f97b4dbbb9cfbaaf39d00d240ec10a3bd1f83a4b13cdbb4d4084d82" +"sf.functions.system-current-user-task-name" = "c5e67c4b3d0505d2e684f68bc5ef0ab0a8181de44088a6b8c7f617d1d86555b8" +"sf.functions.system-data-metric-scan" = "608ddcd998f211c47d77a67e09a0ba37a9a56f7d028e71599176020d82ffcfc7" +"sf.functions.system-database-refresh-history" = "33a103e2abf965d67f58ec049d785fe19db60d7ab2a3a2eb2584ad909805848c" +"sf.functions.system-database-refresh-progress.system-database-refresh-progress" = "cf8babea34910e82332b61a724f33c6ad00c1a3491a819af8f50ab597f93abc5" +"sf.functions.system-database-refresh-progress.system-database-refresh-progress-by-job" = "7ffc8eac47f1447a47a55257861563ca135019e48dacc640c91eb392f6593b9b" +"sf.functions.system-dbt-get-last-failed-run-target" = "1d3e86f31e5017a1fba844108dbe85b83ccf8a11bac9601a93d27e4860722338" +"sf.functions.system-dbt-get-last-run-target" = "cfc1c2169ec6a9bfb49a8f4ac07095a065ae25755d42b28b675aa75bd8199055" +"sf.functions.system-dbt-get-last-successful-run-target" = "bd11256c259ee1db045ee6883ebee8465c21ba344f9aed6cd3485bd755256aa0" +"sf.functions.system-deactivate-cmk-info" = "97a92e9cd365e87993db4a1fd4350c057ae0acd4366fe0940ad3098c73b2c7b8" +"sf.functions.system-deactivate-cmk-info-snowflake-managed-volume" = "9b9af999259fe8154ee1487e2bbe6688b75e10820de22cd0452a095804e246d5" +"sf.functions.system-decode-pat" = "f5bcbe23b24a34b0cb370d082e72ca71863dec2c53bcf68274609e2f0d624225" +"sf.functions.system-demigrate-dbt-project" = "69202b60f36147b602a125846ff1535c4024d247242071684bc369e439434ca4" +"sf.functions.system-deprovision-privatelink-endpoint" = "4093ac3c5f9d45ffb501412c6061a534efe60f2302c703dc26c60767fd23ae2f" +"sf.functions.system-deprovision-privatelink-endpoint-tss" = "07d25c524c7bac6d80d60a60c0d871847a017141c10ca3d98345202f34cbaea0" +"sf.functions.system-deregister-cmk-info" = "b668eb2af935ee99733e60086c39d40d31de21f65331cf79ba9fec42cdb84468" +"sf.functions.system-deregister-cmk-info-postgres" = "f2a047cb77f535d093f94f70af14f6b6d760609fe0fbb7784dd6272210cde709" +"sf.functions.system-deregister-cmk-info-snowflake-managed-volume" = "252a53213bf5319ecd264aea73d4b3e58ab48f0a4f377934f85e5bce4426f71c" +"sf.functions.system-desc-iceberg-access-identity" = "afeb75028c841ab36ccb0a7e873eee255cd0d4ca599d1b64b5845390c09acfd5" +"sf.functions.system-disable-behavior-change-bundle" = "29c5f0c71b07ca39dea26fc8ed69f1d8f1a2262089ee911863377214cb1811e0" +"sf.functions.system-disable-database-replication" = "abbac517ee41d8a7745eba6928c5c68942781f31e53a82d99a5ec05be8f4e4c4" +"sf.functions.system-disable-feature-groups" = "aae57757a574325093600ca0e263e75dc1f5ad750c6002bfd86b14635ead6214" +"sf.functions.system-disable-feature-groups-preview" = "87aff604c67b2d350d5401bc41e18c4dc26bc832f196cd87e4c8bb273dbd1b66" +"sf.functions.system-disable-global-data-sharing-for-account" = "7244057fd21ba8e7ef3db06e5fa5362b1d329c9b1b6bb16ffaf8bbd44f1cc2ef" +"sf.functions.system-disable-preview-access" = "1f14eb67ca6458b87dd1e77f346c95560daec197316484c8d6c7cc5b73757ed4" +"sf.functions.system-disable-privatelink-access-only" = "8f1e08c4d28ad69522de4dcd534dd262c94f2b3f67a37952433bbd524c1cdcf8" +"sf.functions.system-enable-behavior-change-bundle" = "b9ee1150db3a04b5b39ae17c2fc669f6206ba6621c367513322a0861bee06517" +"sf.functions.system-enable-feature-groups" = "bbf0635ccc9c3e7b20894d2dc70b755ed32b861925f73d1fe7f0ea4511a65331" +"sf.functions.system-enable-global-data-sharing-for-account" = "939e58aa8a58cc868e90c79e27b3c5ec7ed74b679decf8f6deff9a4944293d02" +"sf.functions.system-enable-preview-access" = "7f39ef54e24b724af5925f494e40e3da6607524a5e1ac05ec48f1fdfa088772d" +"sf.functions.system-encode-cke-primary-key" = "52f347cedafc7e8075645d317fea14200af6ddf094cbdd77a12b9e0e8be9509c" +"sf.functions.system-end-debug-application" = "66bdbf76f2c6e34111c68f743841297f26829e2acc6f3bc47b96b800c24f3f9a" +"sf.functions.system-enforce-privatelink-access-only" = "803904f860269ac732f3cc05c80e980a4e5e4542e2534dcace2f16afb7ac94d8" +"sf.functions.system-estimate-automatic-clustering-costs" = "e807e45e29af0c378ffb5321d9af5fc08876ba8121531e3e04fb4e4e62df2fee" +"sf.functions.system-estimate-query-acceleration" = "c956e57f221c16f994fcf0d267e35c453e853901b63a61c027f7b2ad05602704" +"sf.functions.system-estimate-search-optimization-costs" = "7bc57d398471d2e047c7114554b0e63e5fb66a446014c27250c2b17b47b3a9ef" +"sf.functions.system-evaluate-data-quality-expectations" = "bf0f03e1d93da809c7befe772119cac6c2b40ef14c5bc8007ca45e6a14ed4c94" +"sf.functions.system-execute-catalog-operation" = "c2a85e2d16d570b2fa82929b1ef0aa046ed7ea0ff7c1e7b55836a587c3be1658" +"sf.functions.system-explain-json-to-text" = "ea54d07945fb396e219809534f9134cbd1a365c88a3a1f3b8f4edfc6054c887b" +"sf.functions.system-export-tds-from-semantic-view" = "49d4dd0067b76eab2bdc2415b88586aaf184fd3fc7546c8537f3cac1839a44fa" +"sf.functions.system-external-table-pipe-status" = "b7b543e75cac5cc06ff2ff07591b15dc487a32a14b7b00bd9f42adfd86fa397e" +"sf.functions.system-fetch-external-secret-from-integration" = "9f7554426bee0b46dea5d7ca1ec274dc0e8d5118f15d2f98140dc7f14b2df8ef" +"sf.functions.system-finish-oauth-flow" = "2660218868d13873ffcf94083e98b6d21e293baf3269ad681f668e13ff417c91" +"sf.functions.system-generate-saml-csr" = "9aafbe6f40607c87032362cb51adb16afed35623d804255eadc24a6e220422b5" +"sf.functions.system-generate-scim-access-token" = "35d739f050e5841c7de25a910634022b9a6748829606e5f961a8d8ee306b6c30" +"sf.functions.system-get-alert-config" = "cf093bef8f508b1f8153cbcd10aff316a90d6c219d9b04a517df8918a567fdef" +"sf.functions.system-get-alert-template" = "d1f32ddc0a29b51ee0cf5f7f08e2d296326da2cbc099d1be0356684ed105ae57" +"sf.functions.system-get-all-default-columns-overrides" = "4b02aababebdd0ea04cd7dbaa60d8d2f584888d076095be6154d053475b8510d" +"sf.functions.system-get-all-references" = "3807758883ea2eb3a3d0ee8120368986f08cc5b32a52f3eccb643c32d0f7c031" +"sf.functions.system-get-application-service-logs" = "1192e5bf69983e9c4b63b2f54d5481da69a6111c653e04a6da8c8cd1f031ab47" +"sf.functions.system-get-aws-sns-iam-policy" = "f2625532e649ef81154d4ed6e2d0d4ae70cdf0ae86b5fc6bfd71e2e268683039" +"sf.functions.system-get-catalog-linked-database-config" = "1cc93d542868f9e2970edc75e02c2d62f8ac8b291d74a6ed5b4df66889d2f542" +"sf.functions.system-get-classification-result" = "bb8ce298ca6c2a27caf5f81490c4390149f41c80846a5cd4e114107b3df6ac94" +"sf.functions.system-get-cmk-akv-consent-url" = "9dbce55a09eb5c9dadcaceadcca3e8da1fa3e5d65edfabf7a5f7977605741145" +"sf.functions.system-get-cmk-config" = "3b94c8e1071604a6b51f31494bb5fcdd17a1419be59f6407443aaf6003f3e4e2" +"sf.functions.system-get-cmk-config-postgres" = "2365be2e0ee29a47f3cbdc97acb40c4d284e00d5570bbc4106a3b5431e4824fc" +"sf.functions.system-get-cmk-config-snowflake-managed-volume" = "ff2f84478f1b365f035cff81dcc19d3cf623df17af19f494647b9aa35c51fddd" +"sf.functions.system-get-cmk-info" = "e53269bd7e53523c3ef9ad2dda2ab7443e785db764a697d5b6a51834c9375663" +"sf.functions.system-get-cmk-info-postgres" = "b1f4cb0c78a996dd43eeedb618cda8dd5db1db32e15070060b6c00fb167ec90a" +"sf.functions.system-get-cmk-info-snowflake-managed-volume" = "091c74c4272684276012b8511107154c0c4e12a4539d96146a2c3e07f8bf57e8" +"sf.functions.system-get-cmk-kms-key-policy" = "a426d382cba8350c61c3b4aef2c1f116a382dfd3aca68b51798c0e1a5d949720" +"sf.functions.system-get-compute-pool-pending-maintenance" = "a1956968c9d0ab8ac70505126d0f8861a2a2e14b336e293151c81ce47748024e" +"sf.functions.system-get-dbt-log" = "9c74cb863ab295d512c695d837a818eb52745e555476809443af4ea7f6c48926" +"sf.functions.system-get-debug-status" = "854c6750a4c9cdf6af2c4876da6997612f5cbc69d3094bde509bbf0a852c0b2d" +"sf.functions.system-get-default-columns-override-for-show-command" = "45b8b88f851fbf447e81856bfb367cc3512d1e94b405d4b785720221feb2f9cb" +"sf.functions.system-get-default-columns-override-for-system-object" = "bb5fdc80765e147ac82f6d47009f1dfa57139d880c8313d271cc6c848d76d045" +"sf.functions.system-get-directory-table-status" = "5a6c8a7e6c6e61e6499aa7b5f53b51a9f2fd69c985ab995d89a72e22bd6940a1" +"sf.functions.system-get-gcp-kms-cmk-grant-access-cmd" = "db5c5071d3f7e80876b85f02c1be0ea5492e7dd726a1f296df27ff812f771adc" +"sf.functions.system-get-hash-for-application" = "1dd026fd1e769f9f8acbafa80815c701ada9d781eaebcb86daf5919104ea7b0a" +"sf.functions.system-get-iceberg-table-information" = "008c6d4258cb069494fbaff57e41fd0aaf58f5932663c428c2a072b84ac724e9" +"sf.functions.system-get-instance-family-placement-groups" = "26cb3a93d66d8048fdd48e21f62dc5947bff3e51807308c2fad9788a0f9deab6" +"sf.functions.system-get-listing-url-for-external-consumer" = "a40f4dff4b7a3052bc74574d1b651a5b18d3bffe75d90b811c62f25136a278ee" +"sf.functions.system-get-login-failure-details" = "b43b4e04dc2fb8d3fb127599f668be7749cc5118307c74e54e25809042832581" +"sf.functions.system-get-predecessor-return-value" = "c2de9e04254673527c637bdb6ffa76fc318ab4cdeb2ce5cdfdbec4a49c113de3" +"sf.functions.system-get-preview-access-status" = "e9abcc13d3ee14edaebb1193d85cbca06b03632a42d29d7b544423294e3711fb" +"sf.functions.system-get-privatelink" = "b26c6e5c4de5b64232c9543c447a33b2ba13d8d4baae77c3528a3ee00f82a3e7" +"sf.functions.system-get-privatelink-authorized-endpoints" = "aee217979a5f59b0179fdf4faed65d0d21a7db1b1e36e047e79a3c564853f308" +"sf.functions.system-get-privatelink-config" = "647857bdd6eaceb7ef0c15973a84fe79871b0d3d0e09528ce1be8b1df4d7b3cf" +"sf.functions.system-get-privatelink-endpoint-registrations" = "ba6741588ee6e8914d3844539edc16e2b64971421e54301457e96d027dff8e35" +"sf.functions.system-get-privatelink-endpoints-info" = "5a418735b1a02e3ae98e006aa2d2b952d3530e3bb4971373464f35410c8932ca" +"sf.functions.system-get-purchase-attributes" = "1b12253a47f1cf946ad0ed78344c07d7f497a02f21b43976fb658e09d6ede66e" +"sf.functions.system-get-referenced-object-id-hash" = "fd275d8f10e5adbd2b70245d4fa937ca4f23c7b6b9380a0128367f7c314e4c1f" +"sf.functions.system-get-resultset-status" = "f028df38767283225aaacbea9027f93004fa596bec5848c7b3c81268289fe777" +"sf.functions.system-get-security-integrations-for-api-provider" = "d02bd7792fdf0b86fc4b420dfa1646ee99030fff9d94a558a0a4007cc0eddfea" +"sf.functions.system-get-service-caller-token-expiry" = "48d06807701130480092ac471ced2268b3755742d83d5422876821c0a9a3dffa" +"sf.functions.system-get-service-dns-domain" = "fabf6b0ef5a081606c776316a71bd653b4aa4b75ba38db509b8b125d727c4261" +"sf.functions.system-get-service-logs" = "f0186bc92d67bf8490bf46af9e79bd2168aa5e0ee7a1a76da7c0d9d287bb239b" +"sf.functions.system-get-service-status" = "488563f2fa29779f0c8a762beca2f2fdd383dc84291fd0d5e747bb70e058fd97" +"sf.functions.system-get-snowflake-egress-ip-ranges" = "233ca5572fa48f4984534033362c5574a35a03d4d275e2527ad19751aee5ca17" +"sf.functions.system-get-snowflake-platform-info" = "ed91c13fbba8da63a21c3701143ff8bfd8d48da81aed4200282018aed3ecb107" +"sf.functions.system-get-stage-privatelink-authorized-endpoints" = "5256efb12f257d8866c2e1fa6956a0b317d6c9f9ab3444b2846feb8fa5afecbe" +"sf.functions.system-get-table-archive-metadata" = "f6cce21c8bbe8624d952a065af5ebf52a23abc92597abe7c89d7ca62eb682640" +"sf.functions.system-get-tag" = "9c7d06d06f4ea6a2ae96d31a641780c86379a46c7d924986478f721b9f70547b" +"sf.functions.system-get-tag-allowed-values" = "200882e756b379d4bd6c35a1f6b49ef3665868fa43ed2129889de6611272d91b" +"sf.functions.system-get-tag-on-current-column" = "739c8b739f0afe06aef7eebc6c102469bdf2ea37f96b347d4b9f0261225e7b98" +"sf.functions.system-get-tag-on-current-table" = "4a3ddf50042a57c10fffd1468155cc568d2d3129a26b87998541af25310b76c1" +"sf.functions.system-get-task-graph-config" = "a09d1d835f675257a7b20da0d64bd5d410a830d84c05e31dec4d2a53994404bf" +"sf.functions.system-get-tzdb-version" = "977f9570e2109b5bafc7500ee784d8770a1ed0e16a3f571f52fb7589b71d3518" +"sf.functions.system-global-account-set-parameter" = "20fb8f8270d4be9f2eafdfc55f573382ddcebd48ea2900d8602f5510780055cc" +"sf.functions.system-hold-privilege-on-account" = "fae124d25cb6ee1a02df00405da2313ea854063b7e9403e8980e3f3dde04730e" +"sf.functions.system-ingest-rebind-pipe" = "907260d1da7617fb66bc9724d072483e0d5b5c6858c37b3ad421ecb87d85f7dc" +"sf.functions.system-initiate-move-organization-account" = "8b9f89d223f28fd8e77fca15a7e1b222f9b358f98325eccb8dd86a092453de9b" +"sf.functions.system-internal-stages-public-access-status" = "87ab4ea526c8a71794afc127d2b996364203097cbbb5bf6af4dbc6ebb70e0056" +"sf.functions.system-is-application-authorized-for-telemetry-event-sharing" = "7c5789949971a0822d054668a3709e4861e2b08d9e1d753982a4e459e239f0c8" +"sf.functions.system-is-application-installed-from-same-account" = "ff44c44c8ea3653e6f0fd1c1b0f4ab3ed66a8221beddbe932aebb436577edd6e" +"sf.functions.system-is-application-sharing-events-with-provider" = "29496198356430eec96ed7b9eadf3b902aa8ecb5de62541250e650b26f040846" +"sf.functions.system-is-global-data-sharing-enabled-for-account" = "75d4a27fe963209901c162e4c1bfbb27304eafb20c78e292355268fe99f9e2b5" +"sf.functions.system-is-listing-purchased" = "26ce32b807badd00a224523c0ca433cb5fe7924011dc4324bf59acb1ba0e6a0b" +"sf.functions.system-is-listing-trial" = "077e05327e3e4e1d33fa73d62b7fae46e85070a3bce1ffec82de7a66aac956c4" +"sf.functions.system-issue-per-account-app-service-certificate" = "a0ff739a6c9fb5effcbb520259493bf19c95fb7ce9c16ec377b53fbc1a8f2a1b" +"sf.functions.system-issue-per-account-certificates" = "5b3cb4b1ec4a43cf0be01f799dcd7c01facd4e30e30fb4d3ab918671de9da69f" +"sf.functions.system-issue-workload-identity-federation-token" = "34c08a93ac3d41e464117258ca803465df3b16eef7229ad9c1ff6c1ff8d3c2ca" +"sf.functions.system-last-change-commit-time" = "608c9a36347fd0627bd034b78c70730cd1a766e1941d01cfc80a2b4d36b125e0" +"sf.functions.system-link-account-objects-by-name" = "ee4437d78c612ee155463284505d29698a23b25d132944e329b04eada519b750" +"sf.functions.system-link-organization-user" = "5f04f72d5c52d59f1b44efa0ebfc9a99e04e8313c36312a2690face246293f54" +"sf.functions.system-link-organization-user-group" = "3a67287de2af3591f2b35a4fe516c0f0363ca54b88d0ddcf743d28777165186e" +"sf.functions.system-list-alert-templates" = "9b49466e96c3b19d8a417fbd71f11e752e442868668ab900228116d4dd7a83d7" +"sf.functions.system-list-application-restricted-features" = "beb360386df8ce9c72ca6cc1f80ff36ff303a6c25054209cd66881aa6a80aef4" +"sf.functions.system-list-external-secrets" = "a8317bb171af9355e00740915feb56903d324493b307e2a1c34e94b1f1cce058" +"sf.functions.system-list-iceberg-tables-from-catalog" = "78e9db3c3b298c56ed5ac24dd501f3e012ed3a31ab88882c70cf33b57b94d370" +"sf.functions.system-list-namespaces-from-catalog" = "e8d3d89732b8268cc08492edeadadff7ce18e54feffedb861b48c08bb1953cc1" +"sf.functions.system-locate-dbt-archive" = "faea07f5a286dad748bbf15191186a27dcc94a0aef432b93781d797785105925" +"sf.functions.system-locate-dbt-artifacts" = "04425bf1e2056a0ae74230b1417af329d4c0d0db145f419ba9137935724a3847" +"sf.functions.system-log.system-log" = "e5dc321254b49d34c613d1b5db6eb602dc6e02d6cdbcf62a9484f9636a9c5095" +"sf.functions.system-log.system-log-debug" = "9d3a90508cf9e02e556921e241c0bff8b1ede22801d43211e17531de89a9ea3f" +"sf.functions.system-log.system-log-error" = "01002dfb48945a2ccca167e549442006b76fa923a1f196f5968dda3be2b32164" +"sf.functions.system-log.system-log-fatal" = "8c42cbd50a54f9d3f99d916a7448528159ca7fba3aa8a1225e523856f34817a0" +"sf.functions.system-log.system-log-info" = "79806a222c4c233b0969090a85e475c3bbc938524ae839483ea1679c640aec07" +"sf.functions.system-log.system-log-trace" = "caf484ac4f94584f67f77a81bde3504d0d9a615f2e911074052f6d89d4569ac3" +"sf.functions.system-log.system-log-warn" = "e1af388448f9ec8ca687333addadecbf95aff6c17fc8c0eb5705e2bc6916811d" +"sf.functions.system-manage-semantic-view-materializations-from-yaml" = "bc0f943e03101324d171784aa98b6d4529367098c5d6e52d1156073501eecc0b" +"sf.functions.system-migrate-dbt-project" = "8ba29973b93c094a187f84ac18d308f29b0e19e2eb84d99781419590ad0c4fb1" +"sf.functions.system-migrate-legacy-event-routing-configuration" = "281af7e97d46cce0cb6644b39f9c05995a72c42ce651ac385d2f51a4e8c0138a" +"sf.functions.system-migrate-saml-idp-registration" = "bf88655ec8fc141f965c308c977d7499be5e97272dabdde0fb4b0ce0ab389616" +"sf.functions.system-opt-in-internal-stage-network-logs" = "4c2395e949202b95d280c8fa4d4fed70bf44b390e54fd9653dbaa120a4225731" +"sf.functions.system-opt-out-internal-stage-network-logs" = "f2cda695042fc3fe51eb1e9f9bc5758b5a839131161dd47361e2c8373c7b4780" +"sf.functions.system-opt-out-malicious-ip-protection-by-category" = "688b6d6269eeccc8cbf21bfc198612bf0501565110e14e8212ff35e2af13e53a" +"sf.functions.system-parquet-direct-auto-refresh-status" = "ab6425fc6817760506f285bc5a92bef011ca6a6b1ab4897aeac57260cb7c0ccf" +"sf.functions.system-pipe-force-resume" = "1725d303019042ead2fa157135b0a8a33bffef59deb5921e3340a65d3ed45ed4" +"sf.functions.system-pipe-rebinding-with-notification-channel" = "6d77a732bc0f93c45a59f5427a3a3995c2193138f1aaaf8af702981a937c89c2" +"sf.functions.system-pipe-status" = "19766385a4f3c98214d902edef3949434de263abe2e2d51815954247749e4358" +"sf.functions.system-predecessors-state" = "28c55b84d9fd36b0d9ad6f34fac70436611768de91b7d968c60dc46d1f10e7ea" +"sf.functions.system-provision-privatelink-endpoint" = "67abc31d967458b0b0838916ba23d20425d5dffc4f7416f5abc2adb236b69f05" +"sf.functions.system-provision-privatelink-endpoint-tss" = "2d73e265f561c2947d918e01cdf440616b272cf05323c63d1f867e9d844ff42d" +"sf.functions.system-query-reference" = "89daf35ff3291b278c65693585af2454f2ec03baa1ad8db5cfe018b18ec7ed01" +"sf.functions.system-read-osi-yaml-from-semantic-view" = "af9933057b67b01de502c0aa89c4346721d6f379bca32b0c953607bf6fc6b749" +"sf.functions.system-read-ossie-yaml-from-semantic-view" = "218c65b8cfd644b9e92aae8441621bdf4d063f1a914a77af6eda0373ce2928b5" +"sf.functions.system-read-yaml-from-semantic-view" = "70b2459a50ca8fec03675286c66f8e91938fa2b5fc3db4d81e2cb1551d942adc" +"sf.functions.system-reference" = "bdbb93bf98dcc80198bfc92fc44ed76e49af3a95276a25116e113fdf80799bb6" +"sf.functions.system-register-cmk-info" = "bef5a911da09f4292febab1275c34e0d106cc776cfad83684406e1c3161d209d" +"sf.functions.system-register-cmk-info-postgres" = "ea5e75de72d3cf1fdceaf656c2d8313082be45cc8683dc6656dde5307154098a" +"sf.functions.system-register-cmk-info-snowflake-managed-volume" = "a6a2c9624a6e424e57a136ec2ac5319be1477907ff5363ccb2a0757231b57dc8" +"sf.functions.system-register-privatelink-endpoint" = "20af76b7f6b2d74a7967402ba0dabddacae8602bd25d218c74a3e7a4f26e6c57" +"sf.functions.system-registry-list-images" = "b1657d9622d578db61c97f2c1b4aba833201c338b73e93f3b8f61954095a3907" +"sf.functions.system-remote-app-operation" = "c7e932513ac560514e2c031092ce7f31e1936103dfeca5c643a6dcf14bff6de6" +"sf.functions.system-remove-all-references" = "647120253647243987dcf61830636186b72385ff3bce50e3735c3ccac7abbc36" +"sf.functions.system-remove-privatelink-endpoint-hostname" = "81b6a6a98a2af2a56055f5c628b9f1559304be0f3d800634874467f20db20f4c" +"sf.functions.system-remove-reference" = "bc4b2c8b7e854213ee86f44ace497c8639756f72181d0929811b6c673aab8486" +"sf.functions.system-report-health-status" = "1d565f861abb913a6dec8fef6dc01187ae5d1dd281db6c4cbe0c85601c73a73f" +"sf.functions.system-request-listing-and-wait" = "8dc3b32fdeb562c74100b39f943bcce1c6a5f1598985bf84901568117f0a5a5d" +"sf.functions.system-resolve-python-packages" = "4b5fed3dcf4715429a9747b56015cff0578c2c8de9128ff5070c339606b147fa" +"sf.functions.system-restore-privatelink-endpoint" = "de32fcd815d022dfadbc7f64a2a6ca39f9a8ade24dac1b31658c7052343bfb4b" +"sf.functions.system-restore-privatelink-endpoint-tss" = "ffb03779fc1432451585f2db864f96f6fed5582d285c36e8c4e2efaf15b719d7" +"sf.functions.system-revoke-privatelink" = "7e140c1c40c2c442b2486ec7652014a6fe130c78e4a7636aab5d0851e520798e" +"sf.functions.system-revoke-snowflake-managed-storage-volume-privatelink-access" = "e0fe68e703e84ef3aa5d54a6cf2df3758e6d53e896237da932b690712505f604" +"sf.functions.system-revoke-stage-privatelink-access" = "c1c28f87b855a8204499a3e14601293ac80d6fe16cf1c29c5005857b019cd703" +"sf.functions.system-schedule-async-replication-group-refresh" = "f9e03050a1d81b56f67dd2a785186dd46cba52a4eb1569c6772c11a87a32ba32" +"sf.functions.system-send-email" = "7b254c5875819539a90ca3846197717e9efbea657aa28bc0099aa4a8da97b9f6" +"sf.functions.system-send-notifications-to-catalog" = "e53b831d102f23396951f5b61853936382849c6f6a0f689cd01192bb7fdf869c" +"sf.functions.system-send-snowflake-notification" = "ebe4140ba524ad577559c93003b7e003f7508cd25d685717b12cff4f143c4321" +"sf.functions.system-set-application-restricted-feature-access" = "fd720cc74cec4e617a23ff2e014c7f13d8bac38144c85d25671c16eb008d5065" +"sf.functions.system-set-catalog-integration" = "20d66cbee8e80cb3d98c5d218c26d0ad8e4800cb2f9e56fd88287c1053d967f3" +"sf.functions.system-set-default-columns-override-for-show-command" = "7e3154165e436dc725fff387fc371ed2106f7625e216869267ac4f28a4154c2b" +"sf.functions.system-set-default-columns-override-for-system-object" = "4868132a3f615166cb82dc1f6575c3af17443ad3477ee604b98e9d1782ebb39d" +"sf.functions.system-set-event-sharing-account-for-region" = "1c6c788c86eef8cb38b39e2faaa9bf50a3fbd2837e480f6c461d387feed43f5a" +"sf.functions.system-set-privatelink-endpoint-hostname" = "a8a554ef68050e4cdf0e6f4691388bccb064b39444f745cf73922dde592d6c0f" +"sf.functions.system-set-reference" = "e20be2019fe04b034fe61388e5af12d8f270cd41fdaf87e1ba1d45f1c52232ed" +"sf.functions.system-set-return-value" = "c6809f8bdd5dfee4c460c50567d88e335c7054acdfd59b3cd9e7a34392b3f108" +"sf.functions.system-set-row-timestamp-on-all-supported-tables.select-system-set-row-timestamp-on-all-supported-tables" = "d814830774f688a7c537e434bcdfe2fe49dc432108afa762aedf76c0155fb6ef" +"sf.functions.system-set-span-attributes" = "fff2e1656e20ccf758542b877537a5e729358d8e0d4c733daaf8a178062cd2e9" +"sf.functions.system-show-active-behavior-change-bundles" = "256eccd7a14a9fb8de646dcd7b8bc24fd87294e1f49c4388ebb68caa4b6fbd63" +"sf.functions.system-show-budget-shared-resource-candidates" = "3ab9a556ef873f12c01953ee83e3918bb2c54cf253ff01cf943902b7f891a624" +"sf.functions.system-show-budgets-for-resource" = "96d3df1967c7564e8fb2747bd3ff9b07f15e5acd67a25e24bfb1b2e65da69f78" +"sf.functions.system-show-budgets-in-account" = "37dffaa9ff4e0822afef5827e145e3dce0b431e60ae72befa4b9646afceb2272" +"sf.functions.system-show-dynamic-tables-created-for-resharing" = "8115b4cc4636354dc4bfb958d84ae10c1039972ecc6e8f3fd40f4760b91c5a00" +"sf.functions.system-show-event-sharing-accounts" = "23889e9c4cb4dc8f1ae0836cf29f1e633ed30461441f9c5f394856faac25a1e2" +"sf.functions.system-show-move-organization-account-status" = "51aa117113602e001b6ed342480eb8d29fc875c345035fa27eed85e6aa86fb9a" +"sf.functions.system-show-oauth-client-secrets" = "c1a5afc9b34700193af6ad7f2ba3e1fca7b6d807b2377f3f87e9b317c5051e7a" +"sf.functions.system-show-sensitive-data-monitored-entities" = "92737886ea1c5e0f07368403268560c05d24b03a14815c937a874b1fb6b6f877" +"sf.functions.system-snowflake-managed-storage-volume-public-access-status" = "a9b633213a0ac0ef11d8b5ed404176a5fdb14f853e9697c81a51e663a7c9cd8c" +"sf.functions.system-snowpipe-streaming-update-channel-offset-token" = "087be1d3f428fab694be02da5b30aecf863e91f08db1acc7988065afd329f848" +"sf.functions.system-start-oauth-flow" = "9d757b03710400a1791f5baa3ba9d63bfe8def4c9720127e918d11774e4c18db" +"sf.functions.system-start-user-email-verification" = "3f749d25bf75f493b114279bad9550a6261553f9838a96f11cba282c9d95e70e" +"sf.functions.system-stream-backlog" = "339e2a6731039f54205455b136018a9f4d173d0f70383a7dcdcf6e3f9a5c2b34" +"sf.functions.system-stream-get-table-timestamp" = "8912d85cc79843b9e03bcfccc08dc5f99e32cb6db89f294b8f9f29980e921ee7" +"sf.functions.system-stream-has-data" = "ea601ac0a5ac168e8d93e3be5cc31e8fca70bf0590d0c547acd0bf2ed61b0e62" +"sf.functions.system-supported-dbt-versions" = "d0b1e9ff6e3e0e92c80c8f89054758c477b7d9dbf4d8c86ff98c33fca7ae934f" +"sf.functions.system-tag-value-contains" = "8dcef2c3b8355fc1728b40dc05211f4ad1256743481ed663526a316cdabbf43e" +"sf.functions.system-task-completion-state" = "b7ea73891efebebcde965513b441867fd3507cf4928e6a80e951a539399cc145" +"sf.functions.system-task-dependents-enable" = "2e62734602cc3c796061ef44906d87f55b8626b3b9dbd865ea06fc134c25fa03" +"sf.functions.system-task-runtime-info" = "54bb22a52dc5dbad82a62d14f84694597149a80a86db6b5978913b0dd645bd1f" +"sf.functions.system-trigger-listing-refresh" = "1049776e0b58c99855e181bdf691fc5511e91c47e3819d695a571dba304b931a" +"sf.functions.system-typeof" = "eb8b166172560c58873b9e2b2a33a9af2be2c7173f71cac641de6303404c0b53" +"sf.functions.system-unblock-internal-stages-public-access" = "4f401ebcc2b489069e45291208dabc16f90025cbaa6aa38919c6860893525e0d" +"sf.functions.system-unblock-snowflake-managed-storage-volume-public-access" = "a56b2bb89d595a610aa459a5e9acae7b7c1c2206a2f87c90158abeb88a337c70" +"sf.functions.system-unlink-organization-user" = "6a1ce30ec619f0babf897562728493d7ca2e5e4f2f85e0794176fd6b4b6c2262" +"sf.functions.system-unlink-organization-user-group" = "3b9dc69e9641af0e3a01bb988e35e45aaa03b19ec7510f64980d09930535e60c" +"sf.functions.system-unmanage-entity-from-dcm-project" = "8504bb45cd7efdee34331fa5e88bc7477236c588a8d588bec88d751312b5b97d" +"sf.functions.system-unmanage-from-dcm-project" = "cb819d17263b8626477d95b797dcb2343d64df05d4c0328b890b25886369d6b8" +"sf.functions.system-unregister-privatelink-endpoint" = "c87f2329c4cf6afbf1deb46792c47693cc930da9f492f6142a304fab289e785e" +"sf.functions.system-unset-default-columns-override-for-show-command" = "7f2a458c05a57b418e8ae4ac7ffd15c2dc287419c2c4864185a1bbf04ea69e10" +"sf.functions.system-unset-default-columns-override-for-system-object" = "252727b95538b31e305b3b60df0c1bdfb2f7636d412c13225f606cf2824db0e2" +"sf.functions.system-unset-event-sharing-account-for-region" = "2de4279255c520ddad15e40392254d621aa50d6f32be68174fce99f60f4c7a4d" +"sf.functions.system-unverify-dns-domain" = "664d45bfde4c4e87fda0d80dd39de267cd9257e246abfdd4dde324b23401f6bc" +"sf.functions.system-update-multi-party-approval-justification" = "5592fe2bd98cb09f8f00b09679f48cdd13c4daf80a49ac5c488f975f549cb605" +"sf.functions.system-user-task-cancel-ongoing-executions" = "38fd5c98c11f4f8b3eac85bf3d76cbc1c7c2a533933bbbefa2af303aa94e2935" +"sf.functions.system-validate-storage-integration" = "c8c09ab6040a79cfeb546034ffbc472334a0f5f2cb49c80d19d7784290a3019b" +"sf.functions.system-verify-catalog-integration" = "c513b6d54367b8068ec326452e07043f83abb5192334d57d196a85dc2ec5c3ca" +"sf.functions.system-verify-cmk-info" = "0ac665b04917521fc7535b6b9e85a32cad15315cfb0e214a3ae72f14097336b5" +"sf.functions.system-verify-cmk-info-postgres" = "0faa540960b1c63ee68de0142a0a2be097cddc6e7d22803b4b2247578bb03631" +"sf.functions.system-verify-cmk-info-snowflake-managed-volume" = "d03feb1659084c8a0a0116e7a1c2f694448ba6c9a5bc0a90c18f7781b9479f9e" +"sf.functions.system-verify-dns-domain" = "23abfaeef6501c4caf3734b2d84faa2d326251613198513f86c543a856e255cd" +"sf.functions.system-verify-ext-oauth-token" = "bb4689596c9e58e201cd92ac51e1aebcba048a505e1661eab800b3e2107a1b63" +"sf.functions.system-verify-external-secret-integration" = "7ff247420102b47c7f7853a914c6a63804037bd9d86ec26bff1efac6593618b4" +"sf.functions.system-verify-external-volume" = "e5a548d37f8c53fa5d08e5d34c94bca55f8093cfd648c0284c8062f4fc6dad35" +"sf.functions.system-wait" = "6a9bb964557a0667cbb44491cff2ff6049872fa7db557f8484191ae5fb117cb7" +"sf.functions.system-wait-for-openflow-connector-status" = "0964a4e1e0db6fa5a46765e6b4811a4d30c1ffd7742473e849ab0e3812cfa1f1" +"sf.functions.system-wait-for-openflow-deployment-status" = "945200aa45e49796ccfa4692a3ca4e863bdb3491e1c52eb79e4e1eab01408a0a" +"sf.functions.system-wait-for-openflow-runtime-status" = "afb02d3d392464b000101584115fde367130fc2831aebe0a4aa93e609c54f9c8" +"sf.functions.system-wait-for-services" = "6e12fb13ed624a5879031a3d7c5fd060a29dcb670e9da503afb923e712a68207" +"sf.functions.system-wait-for-stable-openflow-connectors" = "eae17d90f6b534c926f87eff14af5946bbdf824c637db5d82e22fd029816a17e" +"sf.functions.system-wait-for-stable-openflow-deployments" = "f0c32a1400a6e08debce260fb3b00e42949f7f41b5f45dc3864b38ba853bccb2" +"sf.functions.system-wait-for-stable-openflow-runtimes" = "6fdbfa9364146c7acc636dce1a25fe54fee24253caf5a4f4a5db8f7e86149538" +"sf.functions.system-whitelist" = "ae4a9c773b78be8361965eda706ada980cc421b500c3ae62b7c5f074fc736c92" +"sf.functions.system-whitelist-privatelink" = "b51da65cdac1ac0983fdbbaa56bfd73440f26dac647eeeacbd57ab7f60d547e6" +"sf.functions.systimestamp" = "66d87fc35a75f4c9c4541c4420381543b4eb31d656108d83cc396fd4c1fee847" +"sf.functions.tag-references" = "4c66e7d0f2cd3c97b5edec079cd5de6cfd103a8974d6927d8a45a922e1b33024" +"sf.functions.tag-references-all-columns" = "5a89e1d757fd196fcedf9cae6c1c4071aaa0a8e32fac8161d07ddef726345065" +"sf.functions.tag-references-with-lineage" = "1c6a800e02941821635e9aee7d4c9623594d041ed2dc5768943d813a9915ff67" +"sf.functions.tan" = "a6495b1679fd98676faf84409d88644a6f466cad93cbb75026e78c8793b97371" +"sf.functions.tanh" = "b474bbd7e4131afe97969782c4453a57bfd96d643afe17c91028b8ad716e64b5" +"sf.functions.task-dependents" = "b8388e8acb027ad5103277241418ff09c4624a5c8e60786d5ad18f0b59d6b17a" +"sf.functions.task-graph-changes" = "79a1c3cfd2658a71e3faf16fb98a6edeb13be22dd5e428a973fe35dc920f1a91" +"sf.functions.task-history" = "2fa2b1d0bde13cd0b42bbd7d1e4959774fec1f235c0103ff828c0151faf49e71" +"sf.functions.time-from-parts" = "ff54308b25c4bfe3bceefacaf977e6211d476eed5fcea5c09af269f98d03436b" +"sf.functions.time-slice" = "67d73e3de52432bd18656a913702c84a8a30850275a9a69a35c9d82de160cbf2" +"sf.functions.timeadd" = "1c7386eb0bd78284fdb45cff2400c4fdce0ca6291b2b11ba1625e3342fff2b9a" +"sf.functions.timediff" = "d26b4a66ed8bf83b8221e6d661116a66e4a09195fef3277fa0aae5ab6e7bdc12" +"sf.functions.timestamp-from-parts.timestamp-from-parts" = "87abdec81a8b494da7d4838cda29384f0b13df50a17c1a1e67fd6588d0179a30" +"sf.functions.timestamp-from-parts.timestamp-ltz-from-parts" = "ee2f02a56bc7deec9d4401b8c4841a2b8146f92757539e367a5a6953f44a99f5" +"sf.functions.timestamp-from-parts.timestamp-ntz-from-parts" = "d8380e57f5d1146c93815ca895f710988fcea18f07f39e0cad83913b33cd0729" +"sf.functions.timestamp-from-parts.timestamp-tz-from-parts" = "51999f7afc69b5dd348627e3751ca3b0d0082f0f9d5355a68ac9e1d907481ef6" +"sf.functions.timestampadd" = "75780470c3317b9917f3b6ff77d51a17e8e1d47b15336f5e8178112dfe66faa8" +"sf.functions.timestampdiff" = "966506d1d5e416d1251cc05b9bb0c4776b57d8e817a47b2ee395fe874a274029" +"sf.functions.to-array" = "778fb93c9ca16e86dc7bf512d850665ce40e7b082cdaf5eb1d7fae9cb24ecbd9" +"sf.functions.to-binary" = "94d8f26a24b5c1fb73988224d99869983a196f5f8994795540a2f7130e9365c9" +"sf.functions.to-boolean" = "a0b98c686de088144a178884f47e9b99bb62e116c56bc107da2c754a57561093" +"sf.functions.to-char.to-char" = "64e25167f3448f879bce1131f9145189886ca5aa2118c7889caf9d680b9e7820" +"sf.functions.to-char.to-varchar" = "25b4d32115cda94e21992594edbfbe3204c891336c117614788152856eecf095" +"sf.functions.to-date.date" = "ca5e5748a214d1c85bf9863364c50f535134a3f863c646c0180483ce5b13fceb" +"sf.functions.to-date.to-date" = "0c1fc9af8b00c1e8e7881390fa9b88525094da176b442bc26048cfdc54ca76eb" +"sf.functions.to-decfloat" = "16680d8b86e5fc49c9d7fd7cbe8b8d8db04e7ef9d14b3b69d7166867d36622af" +"sf.functions.to-decimal.to-decimal" = "1ea444d6b370192b2acca1bfaa52974e33989c4512792fa66c0028baaa3f0cb5" +"sf.functions.to-decimal.to-number" = "62065ccad8c18a6d00030e6104821fe9a1176f0e2b90387b00b7bef04288e7e4" +"sf.functions.to-decimal.to-numeric" = "2c07a36a1758cd5d2ca29494fcec1a0fc7ee54a49ddb57bf119d7b8a530f6027" +"sf.functions.to-double" = "07d43e14929a3b69c4667042626bf2ad660350c55c68a3abef54906dfd37369f" +"sf.functions.to-file" = "5717c6617f68eee3545e86ddd784d8345da12e718ce21a3a3dba4a50c38d32cb" +"sf.functions.to-geography" = "6707c1473ff11661d510db83e991e0c46656d5a753c747a698256a20ca25ad0d" +"sf.functions.to-geometry" = "403d3ed973757ce2c30c6d3c72cdb0841b640e04110eb274966638a0f41d9743" +"sf.functions.to-ipaddress" = "3da9647c8593614622bcf6f3b5c4b01999c7415504773a7d9f53bcb8faee3573" +"sf.functions.to-json" = "4ef29e7b80efbd8dfe231ab9333b0fe69b8718021642b532ff52f391e95d3098" +"sf.functions.to-object" = "a857630783687d14e58d32f74ca6a7396ee0d9049096896e6c3c051ddb6a4601" +"sf.functions.to-time.time" = "778abc2e956626f1c41a2d8d7394b1a71559cde384692819e1d24145d5a39dc5" +"sf.functions.to-time.to-time" = "d714b727f1847767bffc83ea525b1056b84af55183ba90b8993edfe57f69ed1b" +"sf.functions.to-timestamp" = "d3bdd1fc1924c46e2b53c3896edf797aac91ef445270ddde0d6bde4e059fd712" +"sf.functions.to-uuid" = "526f506f388131a941cca1512a82a0f167adb08ce504ce9a62430adc98666fab" +"sf.functions.to-variant" = "3ae3245872f79aaf9b20ee1cd8206254363f815d643c42f6921410a1b40ae27e" +"sf.functions.to-xml" = "0db7d81023ddb073a23c0d2acb4efdf87a3ed5ba30f57b96d4baf66c04d608b8" +"sf.functions.transform" = "b6323ecb98fd1111ca712a94dff88e13d1eaff59cb13f9ea0ff7418a347a11fe" +"sf.functions.translate" = "f3b3239cda9c5794f817bc028babf6b0212eb6d266981c3d1b0fc4f55bf6ea6f" +"sf.functions.trim" = "7827e92e2a0b9c53fe1c8fa0374e577494f221a1f0ee4f6285aa3abb99a4cbde" +"sf.functions.trunc.trunc" = "98948e87b1aea03b77436a51a5bb28b1c059765978c3c1f2272be36307c3a121" +"sf.functions.trunc.truncate" = "ee74e454cf88121e64a5890a4505736570e00af6a63b7cfe47d06ddf5d58b727" +"sf.functions.trunc2" = "68b34fd700dad6b111c5dca54696c7c6142a83229072bcbe20e47ac55511b3f7" +"sf.functions.try-base64-decode-binary" = "bc0eb4111c49518f6ae42c7d7857c0b711fa0d1c43c8e94064636bc04e9d33e9" +"sf.functions.try-base64-decode-string" = "bb5582a3c51f4c6d98823c5ff701ec249009e68ebe3b904bfa3e651e9fdcac7d" +"sf.functions.try-decrypt" = "94828fbc9767822a7780f31b89567625a43fa2af944fb0008471d71b0d9cc7d4" +"sf.functions.try-decrypt-raw" = "acb594ac410d5be6a1ceb2487445612baa2b0a2f20aad051120c5580e4faf934" +"sf.functions.try-hex-decode-binary" = "20efe93abca53de9384e266d9b7c29bbbd277d387a0bfc6593ae17c41bbea766" +"sf.functions.try-hex-decode-string" = "3f8c0f3933f47f3d76c52c8b307ed95c96f1d5ba1315f7f34e50e882eaba0719" +"sf.functions.try-parse-json" = "ebe382c013bf82f57594abe646d9f02c3720a66cc85b880522e7a347a68b0b40" +"sf.functions.try-to-binary" = "0b06ee16f4e04cebb5d395b7b1a48f203ebb7fa6477d4a79b284509567bdce7c" +"sf.functions.try-to-boolean" = "cdd2912b54ad44e8511d434d5b28f7ffbd3c9f30c76c7ace0d62ae4ecefcebd2" +"sf.functions.try-to-date" = "a32d00feeaa82ce309a90082665b7446d16aa4659319bde8b714078cf2f3c604" +"sf.functions.try-to-decfloat" = "321561e56713567347c1886c02d5da1861cd400bfd3f7ac2d19de7a716de3d9a" +"sf.functions.try-to-decimal.try-to-decimal" = "5efaf9efcdfbf83d0bebf7b1d38dfacf1735a46cd00febbd13414f13ad4bae55" +"sf.functions.try-to-decimal.try-to-number" = "7e4c6df56f78fe9cd5519451be2dd680254c108a571841081bfcedfbe6d1c6e2" +"sf.functions.try-to-decimal.try-to-numeric" = "191f2abc3923ac5ebf0ba40f70df9398a57f912719064d29b4c6e5932f023960" +"sf.functions.try-to-double" = "b9fd68cdf413ddc146a85f3f9c5e3f54af86c876059655a6299d443fe1f2f8d5" +"sf.functions.try-to-file" = "b7caec6797b7388f6c9336d50a35d701b7dbb495430cb89108d421c8b5e1f908" +"sf.functions.try-to-geography" = "120bfb05712d6f182039b6b50de63e95b8528b17178f7b666b0488a6e0a7af12" +"sf.functions.try-to-geometry" = "9f8a0b9c21761266f1d1dd7bfa333dc7f03ae9f9afbe4ba0d37899381fa4b878" +"sf.functions.try-to-ipaddress" = "9a5b55d4e3e9f88e169324de64f52a17a71114f891b27ca27b2802fadb4dca35" +"sf.functions.try-to-time" = "bac440b56fba1c4cd2edc1a9a8679e58d0954d001b9ce0b1b2bc8acaf0331bca" +"sf.functions.try-to-timestamp" = "48da47f57371860d581749d54cfb1f17e2a9be8889d7ea7015561898f568cd86" +"sf.functions.try-to-uuid" = "108da0b354f021ea2090509efcb327197c49f4685fbc2a78c83ba48e2f87d91b" +"sf.functions.typeof" = "f7e3790d03be33460c8e25fca4631aa95e6d8f32a84a5c66d3db3b746348a76a" +"sf.functions.unicode" = "f68a8ffb02617e9f2d6a473400303b972ae60b3926f18ba9b43d4dea46f7cd04" +"sf.functions.uniform" = "fa2f10106f6272bd8ed2b145be0e255528005db82a443b00c36acaee533b0c86" +"sf.functions.upper" = "ee0155f5c72eb7a9434fce52a781bcbc0e61ee5728e3bcb4288820001f90c7e6" +"sf.functions.uuid-string" = "2a301aab4c9bb9116d809fc6c102ceb9405aaf75ee69dd70c6cdbaeefe1112e2" +"sf.functions.validate" = "bb4a8157745f6949db157c78740e7e74fc2c8a168cbc80a9c72c8e9d3c6810d4" +"sf.functions.validate-pipe-load" = "364145a62054ffdea2972a5d984e3e12003927df8235df11d50203702aac0075" +"sf.functions.var-pop.var-pop" = "7869b5c8a60c3593c6b3e0b2608eee3435b645304a0e31e70dff01e7a20f32ed" +"sf.functions.var-pop.var-pop-over" = "a4a64e1b55f24b6320b17399c2628321598e69a47f41f7f054b8622e230bbf6c" +"sf.functions.var-samp.var-samp" = "9e5e282c52cc8a4d671b3adcca32ca21d02d0b6d57bc16196f65204a500ac21d" +"sf.functions.var-samp.var-samp-over" = "69ffcada52a5069d180aa57cd5dd170a6d4719c7ba0eb00691cb2cbde00a2342" +"sf.functions.variance-pop.variance-pop" = "789b46245886e0bc72a008e3cdf69981a21e14d88ccd10002a8e9d8579c14717" +"sf.functions.variance-pop.variance-pop-over" = "03835e1fb42399c0c8be2285357126eb42913cfba1568a726c481a3e549c9e06" +"sf.functions.variance.variance" = "94410a67af6a74ef6ba15a3f82bb27a39a7cd60a01a8e337a250740fb83cc94a" +"sf.functions.variance.variance-over" = "7631506ce5d6f908c2a16030cb490b09be900734a659896b506f1afb67828c24" +"sf.functions.vector-avg" = "b5d7e15ae205e2a2395ec4257d6e801a0435734dcfca5f4577fb84a41ffd2af5" +"sf.functions.vector-cosine-similarity" = "c3569f432918d4c4dfb5696de911b275abaed38801fd28969a6f6c6ec5a45d8d" +"sf.functions.vector-inner-product" = "0b1a0585d7fbbb8de3493d35d6b74b1acfd9ae54312ae4b6e8648b05c7ae02c1" +"sf.functions.vector-l1-distance" = "4fe3e4e8b7ae1f963aac5da44943be7ecfac31e7beeb45ca06038e46b6a51fde" +"sf.functions.vector-l2-distance" = "722eaabeea34616325ff9b9f1b12fd1eeb72c53ea107b3b20d016f98e4c7f040" +"sf.functions.vector-max" = "00a9ce163c1f6e378b033b5ad843ede74621584c7fc116d8e4f41d20fef56bc5" +"sf.functions.vector-min" = "01253fb0dbd09924265a66b035c5e1b10338a74574f6b07d6a8a2a7b9560fbc9" +"sf.functions.vector-normalize" = "48a306a9f1cf0d89607ac67c444cf839e80af6f90c2f4d687e1e6e5c80ceb0a0" +"sf.functions.vector-sum" = "4539baa54134697142827cedb17d02547f4e71651e4cbcb7fa80a411a96e23e8" +"sf.functions.vector-truncate" = "a7025674a9f783b3b35f0fe914bf33e90fbe6d1085579cab7b76185cbf25ee7d" +"sf.functions.warehouse-load-history" = "31f9c0c0b33a16e89eaa5c868f0270dc1a628b6f14d853a5346c36420adabc71" +"sf.functions.warehouse-metering-history" = "3e02baeddfe51e630b8a382fa1586abc3579a4917a3f2045b7ad291c2c95819c" +"sf.functions.width-bucket" = "a1091d807411a8f542a5a903e2861c13f617eeaba947a920e6a13a4cb559efd4" +"sf.functions.xmlget" = "6a9e3350aac665204b58e259f295e24fc6c16a32595eff0cc9f4a91ade90c58a" +"sf.functions.year.day" = "21acdfc0b344bdcd2a73836d132b2bdf0891d8c4a1dbaac4db83088f0437dc6c" +"sf.functions.year.dayofmonth" = "0a66dc1db92f131d37811a730a2303e3016e2adba488c8cedb72568507580a41" +"sf.functions.year.dayofweek" = "7e1c84bd29fd0d83b649959f1252b3be03a3d23918f2fa003fa92bdeb6852e5e" +"sf.functions.year.dayofweekiso" = "47023e90ab1e59dee63aa2056349af7d88279f7847e53bd9bdae065fdab63e73" +"sf.functions.year.dayofyear" = "f79713ba3b7d1bf5fd614a0b03c2090aa634915c229109efb87ff17f38819f69" +"sf.functions.year.month" = "3b027f99e3d87229a7d79fe462cdc126148332bfb5fec4f62f4e6e182164a701" +"sf.functions.year.quarter" = "05420c02459ee13e80d36a47798753485ce857d8b0c5218702d9e710e1ada0e8" +"sf.functions.year.week" = "c853bd04ab2b5d8264ca8930d8b1643377ea010f50129c140998f9dcf42e8808" +"sf.functions.year.weekiso" = "928294d6d39df8746e9d307b15633dd5d3dbe314a9efdb41ec39478776f12481" +"sf.functions.year.weekofyear" = "a831fa3b38add1ee09287738d506d999c3bc65d8d625547f70c613b56eb4584c" +"sf.functions.year.year" = "735e8d2455d30532f933f6471c5217e62ec1153c1519a32771a2c3f3255b80f9" +"sf.functions.year.yearofweek" = "251ef042852b76799b21b4825c9b574fb95a54891c969939d5e0f48fbb5f776c" +"sf.functions.year.yearofweekiso" = "99142578d596d4c5a58552cff783581a017b0d4e1d0db8037f3129b9ddac000f" +"sf.functions.zeroifnull" = "7f2372e28de9982819d5dfa4ff8bbcb53c50106f36310b3a49167099b7756820" +"sf.functions.zipf" = "921bfbd0662555085db34d058597afbc6cddbc03d9fbd343ef16caaef267d070" diff --git a/coverage/syntax/reviews/query.toml b/coverage/syntax/reviews/query.toml index 63ddb02f8..d5250815c 100644 --- a/coverage/syntax/reviews/query.toml +++ b/coverage/syntax/reviews/query.toml @@ -449,3 +449,38 @@ note = "Read in full under review brief version 1 against the documentation page [review.definitions] "sf.query.match-recognize.match-recognize-pattern-define-as" = "b1575679b90b13ccb0cf1ed3a3bd417e53701b63d2b99baf888c91cec31301db" "sf.query.resample" = "ae258470c362d09a2a321c6b7951cfe49fef7128c81448030f5f9bbfb4575a3f" + +[[review]] +id = "query-021" +family = "query" +parser_tree = "e3a3c11b087d88ce3023dbb4d1c4152f5b57e1ad" +reviewed_utc = "2026-11-16T09:56:03Z" +verdict = "approved" +forms = [ + "sf.query.at-before", + "sf.query.changes", + "sf.query.constructs", + "sf.query.group-by-rollup", + "sf.query.match-recognize.match-recognize-pattern-define-as", + "sf.query.pivot", + "sf.query.resample", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sf.query.at-before" = "f7c9db42396612375b4056b3592d3d0ba69173c808d375edb1e314f6e5a1ec98" +"sf.query.changes" = "aa6bcca00388662f9065bf7d851c5110ee07b66ba423203dea5fc6e35891ff45" +"sf.query.constructs" = "a73c45f3b888ceb861e903e64bbe7aedc4a486e0bb97a3a6567019bbee5a1c4d" +"sf.query.group-by-rollup" = "e8e445cf8429eeef46b7fee7729e2374a387dc0c2cd4d50eeba47ea189b1c7b2" +"sf.query.match-recognize.match-recognize-pattern-define-as" = "5a90b33369710665e8789ecb27855bd2426611493a96167163e7dd85bc9990dd" +"sf.query.pivot" = "3efaf0de43b1699f2020e8b8440e814a09c5c96c04d4e117684cab86f6c12585" +"sf.query.resample" = "f1699b5ca527c712e0517b43cd16cd3f9a75e6ff6124812cc89cff83a50c2469" + +[review.definitions] +"sf.query.at-before" = "c22f44abf00eef2ccb78372a2affdd5f516b17058bd94a8d78d76593d0abcf3a" +"sf.query.changes" = "9f931de198de4e7f9456eb3354488013e7013b8a94c436c9252fa57bc5ec921c" +"sf.query.constructs" = "c8a8a6cd0ee6642ea5a89af0b125b637a5efea4df80f5d9eda34370ccd9932c4" +"sf.query.group-by-rollup" = "34f937067a7c9185f997cdbe30cb8c121ae14d67cf269b5cd063ad2d3cb6c40e" +"sf.query.match-recognize.match-recognize-pattern-define-as" = "b1575679b90b13ccb0cf1ed3a3bd417e53701b63d2b99baf888c91cec31301db" +"sf.query.pivot" = "e7ca654000c0c093b06ad8d3f6cca602fda630527b3ae7d2ce868358727b77bd" +"sf.query.resample" = "ae258470c362d09a2a321c6b7951cfe49fef7128c81448030f5f9bbfb4575a3f" diff --git a/coverage/syntax/reviews/scripting.toml b/coverage/syntax/reviews/scripting.toml index 9eeca8fd4..0e17fff6e 100644 --- a/coverage/syntax/reviews/scripting.toml +++ b/coverage/syntax/reviews/scripting.toml @@ -280,3 +280,29 @@ note = "Read in full under review brief version 1 against the documentation page "sf.scripting.let.let-default" = "fa624183cf73d33f609b8473f1fed802b2bde09180addabf4f6d645ad6223fce" "sf.scripting.let.let-default.variable-assignment-syntax" = "613907a139ae4de0c43d0a86f6459b102f55ddeab18bec46c7b8305f716f78e7" "sf.scripting.return" = "e37499675e520a680eb2b5a6547eb4989a94f9fd9f9391ded6b95e8da4948311" + +[[review]] +id = "scripting-010" +family = "scripting" +parser_tree = "e3a3c11b087d88ce3023dbb4d1c4152f5b57e1ad" +reviewed_utc = "2026-11-16T09:56:03Z" +verdict = "approved" +forms = [ + "sf.scripting.begin", + "sf.scripting.let.let", + "sf.scripting.let.let-default.variable-assignment-syntax", + "sf.scripting.return", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sf.scripting.begin" = "bfae597a7c022a8e8df7809c3c9ebbbb2399744bff940577da2e8daece790a23" +"sf.scripting.let.let" = "2796dea11a4dd585d491b3af2315269e15a05e768cba07687ebfeddf4ecfd4a0" +"sf.scripting.let.let-default.variable-assignment-syntax" = "ca3100da41be92d85e3eecb35c4983c6a9b6b98931a3093366b30885fedffaee" +"sf.scripting.return" = "a7f992b98fad935eb8cbc87d69de52cab086197e97c60495cf97aceb26cf26bd" + +[review.definitions] +"sf.scripting.begin" = "811a9c92af3ab88ff10f9f64bc32e427e36042476a471d93c75358914deab6d6" +"sf.scripting.let.let" = "20a52cc8089c3ebfd217683c12cf53a682176362a6945fb5c05742e59271ac27" +"sf.scripting.let.let-default.variable-assignment-syntax" = "613907a139ae4de0c43d0a86f6459b102f55ddeab18bec46c7b8305f716f78e7" +"sf.scripting.return" = "e37499675e520a680eb2b5a6547eb4989a94f9fd9f9391ded6b95e8da4948311" diff --git a/coverage/syntax/reviews/security-admin.toml b/coverage/syntax/reviews/security-admin.toml index 7d271f8eb..80a7a07d2 100644 --- a/coverage/syntax/reviews/security-admin.toml +++ b/coverage/syntax/reviews/security-admin.toml @@ -3771,3 +3771,44 @@ note = "Read in full under review brief version 1 against the documentation page "sf.security_admin.alter-user.unset-tag" = "887a22d4899b63426761575fe9b62bc2e373ac086e1b7f0b43e7a5a03d6e34d5" "sf.security_admin.show-oflow-data-plane-integration" = "8bf5da4c6f9b547ef3b96a5c008b91fc3a2b340cd478c29d0f4d71c09775767b" "sf.security_admin.show-row-access-policies" = "be506ee175eb39d934a5c0860a328fc6074b77245e012e68dc41971a4e877a9c" + +[[review]] +id = "security-admin-035" +family = "security_admin" +parser_tree = "e3a3c11b087d88ce3023dbb4d1c4152f5b57e1ad" +reviewed_utc = "2026-11-16T09:56:03Z" +verdict = "approved" +forms = [ + "sf.security_admin.alter-aggregation-policy.set-body", + "sf.security_admin.alter-join-policy.set-body", + "sf.security_admin.alter-privacy-policy.set-body", + "sf.security_admin.alter-projection-policy.set-body", + "sf.security_admin.create-aggregation-policy", + "sf.security_admin.create-join-policy", + "sf.security_admin.create-privacy-policy", + "sf.security_admin.create-projection-policy", + "sf.security_admin.create-storage-lifecycle-policy", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sf.security_admin.alter-aggregation-policy.set-body" = "4a833d5c0735a262bd031bfb04d7e62890531c76edb702652eb91a0f766e9522" +"sf.security_admin.alter-join-policy.set-body" = "aef6ae3b64241e0066327286efa18837f9326fa8017637037851ab1a07c1694e" +"sf.security_admin.alter-privacy-policy.set-body" = "d078c84e1caf8500195a1380fd4393f916353944dfe62af7fae06e0b5c4ee5e5" +"sf.security_admin.alter-projection-policy.set-body" = "acbf0ba62494f56f62a770da95cb6b9db274bee6ecb8edb55fa6873f78aa05c7" +"sf.security_admin.create-aggregation-policy" = "4a783d202d8f27ef08305ee19f4ffc7e95e25d9de91762fd2abb2d30f3f7df96" +"sf.security_admin.create-join-policy" = "506360884503b7b8a54d325dec2b4b866957723fbc3b537f4d3541b40ad98a58" +"sf.security_admin.create-privacy-policy" = "94ad62143654d3157ef731bdc9cca341e67d37cdc47fee41beaad53c4914c9c7" +"sf.security_admin.create-projection-policy" = "09764ffa586cebaed0d7a0a8cea9fd63d2e959b19e98170145a43f63d81d64b1" +"sf.security_admin.create-storage-lifecycle-policy" = "cbbc63486352dd92a49481677182db951fa52440c89a3ae4b9fec40ae1344294" + +[review.definitions] +"sf.security_admin.alter-aggregation-policy.set-body" = "1bbe040ba3aa96601b71af9575cbe35e8f677c56575e12654683f194fc9c4b81" +"sf.security_admin.alter-join-policy.set-body" = "bdfb90b6e646aa501616e5ff211ca5fd23140dfe5a33cf79c02e1a3c659acb8d" +"sf.security_admin.alter-privacy-policy.set-body" = "4f346997c52e0c194369976d8babcbd46f6bbc172f3b593f514b3ef4dfd86d76" +"sf.security_admin.alter-projection-policy.set-body" = "41037a70547d014a3a9a6296f1a66f91b92b51e669d40d82c6b64d9d15c81203" +"sf.security_admin.create-aggregation-policy" = "eb05704303528b7fcea01fd28b42a04832acb4a30094a8e47589e0e6648050b0" +"sf.security_admin.create-join-policy" = "96ed87d4ee6bc57059da015f2c43e3e8785c7df49b76b19c759b541cbb74b973" +"sf.security_admin.create-privacy-policy" = "29c1bd06d3932fcabc084bdcd36729f7a57fc6d3368e5a10f9332a8b1bd5f569" +"sf.security_admin.create-projection-policy" = "0ab83bd3a200e9121b3cb92debeb1310b8cb3397b71e8efb9d38b2ddf2242d60" +"sf.security_admin.create-storage-lifecycle-policy" = "8665b98dca1048abdea0c35f7990f3f66bc17b725ceca8daee0b251d4ea25610" diff --git a/coverage/syntax/reviews/transaction-session.toml b/coverage/syntax/reviews/transaction-session.toml index 0426b29b6..1a515a5bd 100644 --- a/coverage/syntax/reviews/transaction-session.toml +++ b/coverage/syntax/reviews/transaction-session.toml @@ -275,3 +275,20 @@ note = "Read in full under review brief version 1 against the documentation page [review.definitions] "sf.transaction_session.set.set" = "a0d71b06dae5a41249517ec51ed85e2f64d6a9e9daa5553e0fea3b1ae13d2726" "sf.transaction_session.use-secondary-roles" = "3f667c86a6a1185d4b38794a73bcb2a34bb21804f31a7459e234098325c80bde" + +[[review]] +id = "transaction-session-015" +family = "transaction_session" +parser_tree = "e3a3c11b087d88ce3023dbb4d1c4152f5b57e1ad" +reviewed_utc = "2026-11-16T09:56:03Z" +verdict = "approved" +forms = [ + "sf.transaction_session.desc-result", +] +note = "re-bound: set_quantifier rename, diff-checked. Not re-read: scripts/check_rebound_reviews.py found every parse tree of these forms' cases equal to the one the earlier approved review fingerprinted, but for each call's distinct flag read as set_quantifier (true as distinct, false as none, or all where the SQL writes ( ALL); no case, receipt, obligation or definition changed." + +[review.fingerprints] +"sf.transaction_session.desc-result" = "9c3ed1fba3c9d2c6db80de6c3dcb81128965d196c35f969842e5e9441c2d3dc3" + +[review.definitions] +"sf.transaction_session.desc-result" = "2128a9b1b7fab1f24e8eebb4c77e28baff1adf4ef6ac1d4699caf8577edf8c3c" diff --git a/scripts/check_rebound_reviews.py b/scripts/check_rebound_reviews.py new file mode 100644 index 000000000..0a9fbc8a9 --- /dev/null +++ b/scripts/check_rebound_reviews.py @@ -0,0 +1,14 @@ +"""Direct wrapper for the re-bound review check.""" + +from __future__ import annotations + +from scripts.rebound_reviews.main.check import run_rebound_check + + +def main(argv: list[str] | None = None) -> int: + """Fail when a re-bound review's form changed by more than its class allows.""" + return run_rebound_check(argv) + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/scripts/rebound_reviews/__init__.py b/scripts/rebound_reviews/__init__.py new file mode 100644 index 000000000..004fa7071 --- /dev/null +++ b/scripts/rebound_reviews/__init__.py @@ -0,0 +1 @@ +"""Checking reviews re-bound across the set-quantifier rename.""" diff --git a/scripts/rebound_reviews/_helpers/__init__.py b/scripts/rebound_reviews/_helpers/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/scripts/rebound_reviews/_helpers/fingerprints.py b/scripts/rebound_reviews/_helpers/fingerprints.py new file mode 100644 index 000000000..fde5d5215 --- /dev/null +++ b/scripts/rebound_reviews/_helpers/fingerprints.py @@ -0,0 +1,34 @@ +"""A form fingerprint as `syntax-coverage` computes it, so a review's can be recomputed.""" + +from __future__ import annotations + +import hashlib +import json + +from scripts.rebound_reviews.constants import ACCEPTED_VERDICT, REJECTED_VERDICT +from scripts.rebound_reviews.models import CaseLine + + +def form_fingerprint(*, lines: list[CaseLine], trees: dict[str, str | None]) -> str: + """SHA-256 over one line per case, by id, with each accepted case's tree hash from `trees`.""" + text: str = "".join( + f"{line.case_id}\t{line.sql_sha256}\t{_verdict(line=line, tree=trees.get(line.case_id))}\t" + f"{json.dumps(line.expect)}\t{json.dumps(line.stage)}\t{json.dumps(line.phase)}\n" + for line in sorted(lines, key=lambda line: line.case_id) + ) + return hashlib.sha256(text.encode()).hexdigest() + + +def tree_sha256(tree: str) -> str: + """The hash a fingerprint covers for one accepted case's compact tree JSON.""" + return hashlib.sha256(tree.encode()).hexdigest() + + +def _verdict(*, line: CaseLine, tree: str | None) -> str: + """The checker's verdict text: accepted with its tree hash, rejected, or the failure's name.""" + if line.verdict == ACCEPTED_VERDICT: + return f"accepted\t{tree or ''}" + if line.verdict == REJECTED_VERDICT: + return "rejected\t" + failure: str = line.verdict.removeprefix("failed:") + return "failed:" + "".join(part.capitalize() for part in failure.split("_")) + "\t" diff --git a/scripts/rebound_reviews/_helpers/inputs.py b/scripts/rebound_reviews/_helpers/inputs.py new file mode 100644 index 000000000..e4dab3b5f --- /dev/null +++ b/scripts/rebound_reviews/_helpers/inputs.py @@ -0,0 +1,98 @@ +"""Reading tree dumps, cases, the checker's family results and the reviews files.""" + +from __future__ import annotations + +import json +import tomllib +from pathlib import Path +from typing import Any + +from scripts.rebound_reviews.constants import ( + APPROVED, + FAILED_VERDICT, + QUANTIFIER_CLASS, + REBOUND_NOTE, + STAGE_CLASS, + STAGE_REBOUND_NOTE, +) +from scripts.rebound_reviews.models import CaseLine, Rebound + + +def dump(*, path: Path) -> dict[str, str]: + """`\\t` lines, as a tree dumper prints, by case.""" + trees: dict[str, str] = {} + for line in path.read_text().splitlines(): + if line: + case_id, tree = line.split("\t", 1) + trees[case_id] = tree + return trees + + +def cases(*, directory: Path) -> dict[str, dict[str, Any]]: + """Every recorded case in the `*.jsonl` files of `directory`, by id.""" + rows: dict[str, dict[str, Any]] = {} + for path in sorted(directory.glob("*.jsonl")): + for line in path.read_text().splitlines(): + if line: + row: dict[str, Any] = json.loads(line) + rows[row["case_id"]] = row + return rows + + +def form_cases( + *, paths: list[Path], recorded: dict[str, dict[str, Any]] +) -> dict[str, list[CaseLine]]: + """Each form's citing cases from `syntax-coverage family --json` output, once each.""" + forms: dict[str, list[CaseLine]] = {} + for path in paths: + for form in json.loads(path.read_text()): + seen: dict[str, CaseLine] = {} + for obligation in form["obligations"]: + for case in obligation["cases"]: + local: dict[str, Any] = case["local"] + row: dict[str, Any] = recorded.get(case["case_id"], {}) + seen[case["case_id"]] = CaseLine( + case_id=case["case_id"], + sql_sha256=case["sql_sha256"], + verdict=local["verdict"] + if local["verdict"] != FAILED_VERDICT + else f"failed:{local['failure']}", + tree_sha256=local.get("tree_sha256"), + expect=row.get("expect"), + stage=row.get("stage"), + phase=case.get("phase"), + ) + forms[form["id"]] = [seen[case_id] for case_id in sorted(seen)] + return forms + + +def rebound(*, reviews: Path) -> list[Rebound]: + """Each form a re-bound review names, its diff class, and the fingerprint approved before it.""" + found: list[Rebound] = [] + for path in sorted(reviews.glob("*.toml")): + approved: dict[str, str] = {} + for review in tomllib.loads(path.read_text()).get("review", []): + if review.get("verdict") != APPROVED: + continue + fingerprints: dict[str, str] = review.get("fingerprints", {}) + note: str = str(review.get("note", "")) + diff_class: str | None = ( + QUANTIFIER_CLASS + if note.startswith(REBOUND_NOTE) + else STAGE_CLASS + if note.startswith(STAGE_REBOUND_NOTE) + else None + ) + if diff_class is not None: + found += [ + Rebound( + review_id=review["id"], + form_id=form_id, + fingerprint=fingerprints.get(form_id, ""), + previous=approved.get(form_id), + diff_class=diff_class, + ) + for form_id in review.get("forms", []) + ] + approved.update(fingerprints) + return found diff --git a/scripts/rebound_reviews/_helpers/refusals.py b/scripts/rebound_reviews/_helpers/refusals.py new file mode 100644 index 000000000..ff807e862 --- /dev/null +++ b/scripts/rebound_reviews/_helpers/refusals.py @@ -0,0 +1,113 @@ +"""Why one re-bound form is refused: its trees or cases changed by more than its class allows.""" + +from __future__ import annotations + +import json +from dataclasses import replace +from typing import Any + +from scripts.rebound_reviews._helpers.fingerprints import form_fingerprint, tree_sha256 +from scripts.rebound_reviews._helpers.trees import quantifier_difference +from scripts.rebound_reviews.constants import ( + ACCEPTED_VERDICT, + EXPECT_ACCEPT, + EXPECT_KEY, + REJECTED, + STAGE_KEY, + STAGE_OF_PHASE, +) +from scripts.rebound_reviews.models import CaseLine, Rebound + + +def refusal( + *, + claim: Rebound, + forms: dict[str, list[CaseLine]], + recorded: dict[str, dict[str, Any]], + old: dict[str, str], + new: dict[str, str], +) -> str | None: + """Why the re-bind of one form is refused; None when every check holds.""" + lines: list[CaseLine] | None = forms.get(claim.form_id) + if lines is None: + return "not in the checker's family results" + if claim.previous is None: + return "no earlier approved review records a fingerprint for it" + current: dict[str, str | None] = {line.case_id: line.tree_sha256 for line in lines} + if form_fingerprint(lines=lines, trees=current) != claim.fingerprint: + return "the review's fingerprint is not the form's current one" + reviewed: dict[str, str | None] = {} + for line in lines: + if line.case_id not in old or line.case_id not in new: + return f"{line.case_id} is missing from a tree dump" + accepted: bool = line.verdict == ACCEPTED_VERDICT + if (old[line.case_id] != REJECTED) != accepted or ( + new[line.case_id] != REJECTED + ) != accepted: + return f"{line.case_id}: a dump's verdict is not the checker's {line.verdict}" + if not accepted: + continue + if tree_sha256(new[line.case_id]) != line.tree_sha256: + return f"{line.case_id}: the new dump is not the current parser's tree" + reviewed[line.case_id] = tree_sha256(old[line.case_id]) + difference: str | None = quantifier_difference( + old=json.loads(old[line.case_id]), + new=json.loads(new[line.case_id]), + sql=str(recorded.get(line.case_id, {}).get("sql", "")), + ) + if difference is not None: + return f"{line.case_id}: {difference}" + if form_fingerprint(lines=lines, trees=reviewed) != claim.previous: + return "the old trees are not the ones the earlier review approved" + return None + + +def stage_refusal( + *, + claim: Rebound, + forms: dict[str, list[CaseLine]], + recorded: dict[str, dict[str, Any]], + before: dict[str, dict[str, Any]] | None, +) -> str | None: + """Why a stage re-bind is refused; None when only stages changed, each to its receipt's.""" + lines: list[CaseLine] | None = forms.get(claim.form_id) + if lines is None: + return "not in the checker's family results" + if claim.previous is None: + return "no earlier approved review records a fingerprint for it" + if before is None: + return "no --old-cases to compare its cases with" + current: dict[str, str | None] = {line.case_id: line.tree_sha256 for line in lines} + if form_fingerprint(lines=lines, trees=current) != claim.fingerprint: + return "the review's fingerprint is not the form's current one" + reviewed: list[CaseLine] = [] + for line in lines: + now: dict[str, Any] = recorded.get(line.case_id, {}) + then: dict[str, Any] | None = before.get(line.case_id) + if then is None: + return f"{line.case_id} is not in the old cases" + changed: list[str] = sorted( + key for key in (set(now) | set(then)) - {STAGE_KEY} if now.get(key) != then.get(key) + ) + if changed: + return f"{line.case_id}: {', '.join(changed)} changed, not only its stage" + if now.get(STAGE_KEY) != then.get(STAGE_KEY): + stage_reason: str | None = new_stage_refusal(line=line, case=now) + if stage_reason is not None: + return f"{line.case_id}: {stage_reason}" + reviewed.append(replace(line, stage=then.get(STAGE_KEY))) + if form_fingerprint(lines=reviewed, trees=current) != claim.previous: + return "the old cases are not the ones the earlier review approved" + return None + + +def new_stage_refusal(*, line: CaseLine, case: dict[str, Any]) -> str | None: + """Why a case's changed stage is refused: unless accepted, its receipt phase's stage.""" + stage: Any = case.get(STAGE_KEY) + if case.get(EXPECT_KEY) != EXPECT_ACCEPT: + return "its stage changed, but it is not expected to be accepted" + if line.phase not in STAGE_OF_PHASE: + return f"its stage changed, but {line.phase!r} is no receipt phase that gives a stage" + if stage != STAGE_OF_PHASE[line.phase]: + return f"stage {stage!r} is not the stage of its receipt's {line.phase}" + return None diff --git a/scripts/rebound_reviews/_helpers/trees.py b/scripts/rebound_reviews/_helpers/trees.py new file mode 100644 index 000000000..7acdabf99 --- /dev/null +++ b/scripts/rebound_reviews/_helpers/trees.py @@ -0,0 +1,74 @@ +"""Whether a new parse tree differs from the reviewed one only by the call's set quantifier.""" + +from __future__ import annotations + +from typing import Any + +from scripts.rebound_reviews.constants import ( + CALL_NODES, + EXPLICIT_ALL, + NEW_FIELD, + OLD_FIELD, + QUANTIFIER_OF, + WRITTEN_ALL, +) + + +def quantifier_difference(*, old: Any, new: Any, sql: str) -> str | None: + """None when only call flags became quantifiers, `all` at most as often as SQL has `( ALL`.""" + reason: str | None = _difference(old=old, new=new, path="$", call=False) + alls: int = _explicit_alls(tree=new, call=False) + written: int = len(WRITTEN_ALL.findall(sql)) + if reason is None and alls > written: + reason = f"{alls} calls read as all, but the SQL writes ( ALL {written} times" + return reason + + +def _difference(*, old: Any, new: Any, path: str, call: bool) -> str | None: + """The first difference by JSON path other than a call's flag read as its quantifier.""" + if isinstance(old, dict) and isinstance(new, dict): + renamed: bool = call and OLD_FIELD in old and NEW_FIELD in new and NEW_FIELD not in old + reason: str | None = _quantifier(old=old, new=new, path=path) if renamed else None + keys: list[str] = [NEW_FIELD if renamed and key == OLD_FIELD else key for key in old] + if reason is None and keys != list(new): + reason = f"{path}: fields {keys} became {list(new)}" + for key in keys: + if reason is None and not (renamed and key == NEW_FIELD): + reason = _difference( + old=old[key], new=new[key], path=f"{path}.{key}", call=key in CALL_NODES + ) + return reason + if isinstance(old, list) and isinstance(new, list): + if len(old) != len(new): + return f"{path}: {len(old)} items became {len(new)}" + for index, (before, after) in enumerate(zip(old, new, strict=True)): + reason = _difference(old=before, new=after, path=f"{path}[{index}]", call=False) + if reason is not None: + return reason + return None + if type(old) is not type(new) or old != new: + return f"{path}: {old!r} became {new!r}" + return None + + +def _quantifier(*, old: dict[str, Any], new: dict[str, Any], path: str) -> str | None: + """None when a call's flag reads as its quantifier: true as distinct, false as none or all.""" + flag: Any = old[OLD_FIELD] + quantifier: Any = new[NEW_FIELD] + if not isinstance(flag, bool): + return f"{path}.{OLD_FIELD}: {flag!r} is not a flag" + if quantifier == QUANTIFIER_OF[flag] or (quantifier == EXPLICIT_ALL and flag is False): + return None + return f"{path}: {OLD_FIELD} {flag} became {NEW_FIELD} {quantifier!r}" + + +def _explicit_alls(*, tree: Any, call: bool) -> int: + """How many calls in `tree` record an explicit `all` quantifier.""" + if isinstance(tree, dict): + own: int = int(call and tree.get(NEW_FIELD) == EXPLICIT_ALL) + return own + sum( + _explicit_alls(tree=value, call=key in CALL_NODES) for key, value in tree.items() + ) + if isinstance(tree, list): + return sum(_explicit_alls(tree=value, call=False) for value in tree) + return 0 diff --git a/scripts/rebound_reviews/constants.py b/scripts/rebound_reviews/constants.py new file mode 100644 index 000000000..b56210985 --- /dev/null +++ b/scripts/rebound_reviews/constants.py @@ -0,0 +1,37 @@ +"""What marks a re-bound review, the call nodes it may differ in, and the names it reads.""" + +from __future__ import annotations + +import re + +REBOUND_NOTE: str = "re-bound: set_quantifier rename, diff-checked" +STAGE_REBOUND_NOTE: str = "re-bound: stage from its receipt, diff-checked" +QUANTIFIER_CLASS: str = "set_quantifier" +STAGE_CLASS: str = "stage" +STAGE_KEY: str = "stage" +EXPECT_KEY: str = "expect" +EXPECT_ACCEPT: str = "accept" +CHECK_EPILOG: str = ( + "A set_quantifier re-bind may differ only by the call flag read as its quantifier in the " + "trees. A stage re-bind may differ only by the stage of cases expected to be accepted, each " + "the stage of its receipt phase (accepted gives none; a phase not listed, such as a syntax " + "error, gives no stage a re-bind may take); their setup, session, SQL text and obligations " + "are taken from --old-cases, compared with the current cases field by field." +) +STAGE_OF_PHASE: dict[str, str | None] = { + "accepted": None, + "semantic_error": "semantic", + "runtime_error": "runtime", + "unsupported_feature": "error", +} +CALL_NODES: tuple[str, ...] = ("function", "aggregate_function") +OLD_FIELD: str = "distinct" +NEW_FIELD: str = "set_quantifier" +QUANTIFIER_OF: dict[bool, str] = {True: "distinct", False: "none"} +EXPLICIT_ALL: str = "all" +REJECTED: str = "REJECTED" +ACCEPTED_VERDICT: str = "accepted" +REJECTED_VERDICT: str = "rejected" +FAILED_VERDICT: str = "failed" +APPROVED: str = "approved" +WRITTEN_ALL: re.Pattern[str] = re.compile(r"\(\s*ALL\b", re.IGNORECASE) diff --git a/scripts/rebound_reviews/main/__init__.py b/scripts/rebound_reviews/main/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/scripts/rebound_reviews/main/check.py b/scripts/rebound_reviews/main/check.py new file mode 100644 index 000000000..56cda6882 --- /dev/null +++ b/scripts/rebound_reviews/main/check.py @@ -0,0 +1,62 @@ +"""Refuse each re-bound review whose forms changed by more than its class allows.""" + +from __future__ import annotations + +import argparse +import sys +from pathlib import Path +from typing import Any + +from scripts.rebound_reviews._helpers.inputs import cases, dump, form_cases, rebound +from scripts.rebound_reviews._helpers.refusals import refusal, stage_refusal +from scripts.rebound_reviews.constants import CHECK_EPILOG, STAGE_CLASS +from scripts.rebound_reviews.models import CaseLine, Rebound + + +def run_rebound_check(argv: list[str] | None = None) -> int: + """Fail unless each re-bound form's reviewed trees, by fingerprint, map to its current ones.""" + parser: argparse.ArgumentParser = argparse.ArgumentParser( + description=__doc__, epilog=CHECK_EPILOG + ) + parser.add_argument("--reviews", type=Path, required=True, help="the coverage root's reviews/") + parser.add_argument("--cases", type=Path, required=True, help="the recorded cases/ directory") + parser.add_argument( + "--family", + type=Path, + action="append", + required=True, + help="`syntax-coverage family --json` output", + ) + parser.add_argument("--old", type=Path, help="trees from the parser the reviews read") + parser.add_argument("--new", type=Path, help="trees from the current parser") + parser.add_argument( + "--old-cases", type=Path, help="the cases/ directory the stage re-binds' reviews read" + ) + arguments: argparse.Namespace = parser.parse_args(argv) + recorded: dict[str, dict[str, Any]] = cases(directory=arguments.cases) + forms: dict[str, list[CaseLine]] = form_cases(paths=arguments.family, recorded=recorded) + old: dict[str, str] = dump(path=arguments.old) if arguments.old else {} + new: dict[str, str] = dump(path=arguments.new) if arguments.new else {} + before: dict[str, dict[str, Any]] | None = ( + cases(directory=arguments.old_cases) if arguments.old_cases else None + ) + claims: list[Rebound] = rebound(reviews=arguments.reviews) + refused: list[str] = [] + for claim in claims: + reason: str | None = ( + stage_refusal(claim=claim, forms=forms, recorded=recorded, before=before) + if claim.diff_class == STAGE_CLASS + else refusal(claim=claim, forms=forms, recorded=recorded, old=old, new=new) + ) + if reason is not None: + refused.append(f"{claim.review_id} {claim.form_id}: {reason}") + for line in refused: + print(f"rebound reviews: refused {line}", file=sys.stderr) + reviews: int = len({claim.review_id for claim in claims}) + passed: int = len(claims) - len(refused) + print( + f"rebound reviews: {passed} of {len(claims)} forms in {reviews} reviews diff-checked; " + f"{'FAILED' if refused or not claims else 'passed'}", + file=sys.stderr, + ) + return 1 if refused or not claims else 0 diff --git a/scripts/rebound_reviews/models.py b/scripts/rebound_reviews/models.py new file mode 100644 index 000000000..8d37511d9 --- /dev/null +++ b/scripts/rebound_reviews/models.py @@ -0,0 +1,29 @@ +"""One form's case results from the checker, and one re-bound review's claims.""" + +from __future__ import annotations + +from dataclasses import dataclass + + +@dataclass(frozen=True) +class CaseLine: + """What a form fingerprint covers for one case; `tree_sha256` is None unless accepted.""" + + case_id: str + sql_sha256: str + verdict: str + tree_sha256: str | None + expect: str | None + stage: str | None + phase: str | None + + +@dataclass(frozen=True) +class Rebound: + """A form a re-bound review names: its new fingerprint and the one it was approved at before.""" + + review_id: str + form_id: str + fingerprint: str + previous: str | None + diff_class: str diff --git a/tests/unit/scripts/rebound_reviews/__init__.py b/tests/unit/scripts/rebound_reviews/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/unit/scripts/rebound_reviews/_test_types.py b/tests/unit/scripts/rebound_reviews/_test_types.py new file mode 100644 index 000000000..1f9d836a2 --- /dev/null +++ b/tests/unit/scripts/rebound_reviews/_test_types.py @@ -0,0 +1,28 @@ +"""Test types for the re-bound review check.""" + +from __future__ import annotations + +from dataclasses import dataclass + + +@dataclass(frozen=True) +class ReboundTestCase: + description: str + sql: str + old_tree: str + new_tree: str + reviewed_tree: str + expected_code: int + expected_fragment: str + note_field: str = "note" + + +@dataclass(frozen=True) +class StageReboundTestCase: + description: str + phase: str | None + reviewed_stage: str | None + old_case: dict[str, object] + new_case: dict[str, object] + expected_code: int + expected_fragment: str diff --git a/tests/unit/scripts/rebound_reviews/helpers.py b/tests/unit/scripts/rebound_reviews/helpers.py new file mode 100644 index 000000000..e597d8815 --- /dev/null +++ b/tests/unit/scripts/rebound_reviews/helpers.py @@ -0,0 +1,116 @@ +"""A one-form coverage root, checker results and tree dumps for the re-bound review check.""" + +from __future__ import annotations + +import hashlib +import json +from pathlib import Path +from typing import cast + +from scripts.rebound_reviews.constants import REBOUND_NOTE, STAGE_REBOUND_NOTE + +_FORM: str = "sf.functions.count" +_CASE: str = "sf.functions.count.k1" +_SQL_SHA256: str = "a" * 64 + + +def call(quantifier: str) -> str: + """A one-statement tree whose call carries `quantifier`, a field such as `"distinct":true`.""" + function: str = f'{{"name":"COUNT",{quantifier},"args":[{{"column":"c1"}}]}}' + return f'[{{"select":{{"expressions":[{{"function":{function}}}]}}}}]' + + +def fingerprint( + tree: str, *, stage: str | None = None, phase: str | None = "accepted", expect: str = "accept" +) -> str: + """The fingerprint `syntax-coverage` gives the form whose one accepted case parsed to `tree`.""" + tree_hash: str = hashlib.sha256(tree.encode()).hexdigest() + line: str = ( + f"{_CASE}\t{_SQL_SHA256}\taccepted\t{tree_hash}\t{json.dumps(expect)}\t{json.dumps(stage)}\t" + f"{json.dumps(phase)}\n" + ) + return hashlib.sha256(line.encode()).hexdigest() + + +def write_inputs( + root: Path, *, sql: str, old_tree: str, new_tree: str, reviewed_tree: str, note_field: str +) -> list[str]: + """The check's arguments over a form reviewed at `reviewed_tree` and re-bound to `new_tree`.""" + (root / "reviews").mkdir() + (root / "cases").mkdir() + (root / "cases" / "functions.jsonl").write_text( + json.dumps({"case_id": _CASE, "sql": sql, "expect": "accept"}) + "\n" + ) + (root / "reviews" / "functions.toml").write_text( + f'[[review]]\nid = "r-001"\nverdict = "approved"\nforms = ["{_FORM}"]\n' + f'[review.fingerprints]\n"{_FORM}" = "{fingerprint(reviewed_tree)}"\n\n' + f'[[review]]\nid = "r-002"\nverdict = "approved"\nforms = ["{_FORM}"]\n' + f'{note_field} = "{REBOUND_NOTE}"\n' + f'[review.fingerprints]\n"{_FORM}" = "{fingerprint(new_tree)}"\n' + ) + case: dict[str, object] = { + "case_id": _CASE, + "sql_sha256": _SQL_SHA256, + "phase": "accepted", + "local": { + "verdict": "accepted", + "opaque": False, + "tree_sha256": hashlib.sha256(new_tree.encode()).hexdigest(), + }, + } + (root / "family.json").write_text( + json.dumps([{"id": _FORM, "obligations": [{"cases": [case]}]}]) + ) + (root / "old.tsv").write_text(f"{_CASE}\t{old_tree}\n") + (root / "new.tsv").write_text(f"{_CASE}\t{new_tree}\n") + return [ + "--reviews", str(root / "reviews"), "--cases", str(root / "cases"), + "--family", str(root / "family.json"), + "--old", str(root / "old.tsv"), "--new", str(root / "new.tsv"), + ] # fmt: skip + + +def write_stage_inputs( # noqa: PLR0913 + root: Path, + *, + phase: str | None, + reviewed_stage: str | None, + old_case: dict[str, object], + new_case: dict[str, object], +) -> list[str]: + """The check's arguments over a form approved at `reviewed_stage`, re-bound by stage alone.""" + tree: str = call('"set_quantifier":"none"') + for name, case in (("old-cases", old_case), ("cases", new_case)): + (root / name).mkdir() + row: dict[str, object] = {"case_id": _CASE, "sql": "SELECT COUNT(c1) FROM t1", **case} + (root / name / "functions.jsonl").write_text(json.dumps(row) + "\n") + new_stage: str | None = cast("str | None", new_case.get("stage")) + old_expect: str = str(old_case.get("expect")) + new_expect: str = str(new_case.get("expect")) + (root / "reviews").mkdir() + (root / "reviews" / "functions.toml").write_text( + f'[[review]]\nid = "r-001"\nverdict = "approved"\nforms = ["{_FORM}"]\n' + f'[review.fingerprints]\n"{_FORM}" = ' + f'"{fingerprint(tree, stage=reviewed_stage, phase=phase, expect=old_expect)}"\n\n' + f'[[review]]\nid = "r-002"\nverdict = "approved"\nforms = ["{_FORM}"]\n' + f'note = "{STAGE_REBOUND_NOTE}"\n' + f'[review.fingerprints]\n"{_FORM}" = ' + f'"{fingerprint(tree, stage=new_stage, phase=phase, expect=new_expect)}"\n' + ) + case: dict[str, object] = { + "case_id": _CASE, + "sql_sha256": _SQL_SHA256, + "phase": phase, + "local": { + "verdict": "accepted", + "opaque": False, + "tree_sha256": hashlib.sha256(tree.encode()).hexdigest(), + }, + } + (root / "family.json").write_text( + json.dumps([{"id": _FORM, "obligations": [{"cases": [case]}]}]) + ) + return [ + "--reviews", str(root / "reviews"), "--cases", str(root / "cases"), + "--family", str(root / "family.json"), "--old-cases", str(root / "old-cases"), + ] # fmt: skip diff --git a/tests/unit/scripts/rebound_reviews/test_check.py b/tests/unit/scripts/rebound_reviews/test_check.py new file mode 100644 index 000000000..25ab6c8df --- /dev/null +++ b/tests/unit/scripts/rebound_reviews/test_check.py @@ -0,0 +1,227 @@ +"""The re-bound review check refuses every change but the one its class allows.""" + +from __future__ import annotations + +from pathlib import Path + +import pytest + +from scripts.rebound_reviews.main.check import run_rebound_check +from tests.unit.scripts.rebound_reviews._test_types import ReboundTestCase, StageReboundTestCase +from tests.unit.scripts.rebound_reviews.helpers import call, write_inputs, write_stage_inputs + +_SQL: str = "SELECT COUNT(c1) FROM t1" +_FALSE: str = call('"distinct":false') +_ACCEPT: dict[str, object] = {"expect": "accept"} + + +@pytest.mark.parametrize( + "test_case", + ( + ReboundTestCase( + description="a false flag read as none passes", + sql=_SQL, + old_tree=_FALSE, + new_tree=call('"set_quantifier":"none"'), + reviewed_tree=_FALSE, + expected_code=0, + expected_fragment="1 of 1 forms in 1 reviews diff-checked; passed", + ), + ReboundTestCase( + description="a true flag read as distinct passes", + sql="SELECT COUNT(DISTINCT c1) FROM t1", + old_tree=call('"distinct":true'), + new_tree=call('"set_quantifier":"distinct"'), + reviewed_tree=call('"distinct":true'), + expected_code=0, + expected_fragment="passed", + ), + ReboundTestCase( + description="all passes where the SQL writes ( ALL", + sql="SELECT COUNT( all c1) FROM t1", + old_tree=_FALSE, + new_tree=call('"set_quantifier":"all"'), + reviewed_tree=_FALSE, + expected_code=0, + expected_fragment="passed", + ), + ReboundTestCase( + description="all is refused where the SQL writes no ( ALL, even with UNION ALL", + sql="SELECT COUNT(c1) FROM t1 UNION ALL SELECT 1", + old_tree=_FALSE, + new_tree=call('"set_quantifier":"all"'), + reviewed_tree=_FALSE, + expected_code=1, + expected_fragment="1 calls read as all, but the SQL writes ( ALL 0 times", + ), + ReboundTestCase( + description="a true flag read as none is refused", + sql=_SQL, + old_tree=call('"distinct":true'), + new_tree=call('"set_quantifier":"none"'), + reviewed_tree=call('"distinct":true'), + expected_code=1, + expected_fragment="distinct True became set_quantifier 'none'", + ), + ReboundTestCase( + description="any other change alongside the rename is refused", + sql=_SQL, + old_tree=_FALSE, + new_tree=call('"set_quantifier":"none"').replace('"c1"', '"c2"'), + reviewed_tree=_FALSE, + expected_code=1, + expected_fragment="'c1' became 'c2'", + ), + ReboundTestCase( + description="a moved field is refused", + sql=_SQL, + old_tree=_FALSE, + new_tree=call('"set_quantifier":"none"').replace( + '"name":"COUNT","set_quantifier":"none"', '"set_quantifier":"none","name":"COUNT"' + ), + reviewed_tree=_FALSE, + expected_code=1, + expected_fragment="fields", + ), + ReboundTestCase( + description="old trees other than the reviewed ones are refused", + sql=_SQL, + old_tree=_FALSE, + new_tree=call('"set_quantifier":"none"'), + reviewed_tree=call('"distinct":true'), + expected_code=1, + expected_fragment="the old trees are not the ones the earlier review approved", + ), + ReboundTestCase( + description="no re-bound review fails closed", + sql=_SQL, + old_tree=_FALSE, + new_tree=_FALSE, + reviewed_tree=_FALSE, + expected_code=1, + expected_fragment="0 of 0 forms in 0 reviews diff-checked; FAILED", + note_field="comment", + ), + ), + ids=lambda case: case.description, +) +def test_given_a_rebound_review_when_checked_then_only_the_quantifier_rename_passes( + test_case: ReboundTestCase, tmp_path: Path, capsys: pytest.CaptureFixture[str] +) -> None: + arguments: list[str] = write_inputs( + tmp_path, + sql=test_case.sql, + old_tree=test_case.old_tree, + new_tree=test_case.new_tree, + reviewed_tree=test_case.reviewed_tree, + note_field=test_case.note_field, + ) + + code: int = run_rebound_check(arguments) + + assert code == test_case.expected_code + assert test_case.expected_fragment in capsys.readouterr().err + + +@pytest.mark.parametrize( + "test_case", + ( + StageReboundTestCase( + description="a stage added that is its receipt's phase passes", + phase="semantic_error", + reviewed_stage=None, + old_case=_ACCEPT, + new_case={**_ACCEPT, "stage": "semantic"}, + expected_code=0, + expected_fragment="1 of 1 forms in 1 reviews diff-checked; passed", + ), + StageReboundTestCase( + description="a stage added that is not its receipt's phase is refused", + phase="semantic_error", + reviewed_stage=None, + old_case=_ACCEPT, + new_case={**_ACCEPT, "stage": "runtime"}, + expected_code=1, + expected_fragment="stage 'runtime' is not the stage of its receipt's semantic_error", + ), + StageReboundTestCase( + description="a stage dropped from a case whose receipt accepted it passes", + phase="accepted", + reviewed_stage="semantic", + old_case={**_ACCEPT, "stage": "semantic"}, + new_case=_ACCEPT, + expected_code=0, + expected_fragment="passed", + ), + StageReboundTestCase( + description="a stage dropped under a syntax error phase is refused", + phase="syntax_error", + reviewed_stage="semantic", + old_case={**_ACCEPT, "stage": "semantic"}, + new_case=_ACCEPT, + expected_code=1, + expected_fragment="'syntax_error' is no receipt phase that gives a stage", + ), + StageReboundTestCase( + description="a stage dropped under an unknown phase is refused", + phase="some_new_phase", + reviewed_stage="semantic", + old_case={**_ACCEPT, "stage": "semantic"}, + new_case=_ACCEPT, + expected_code=1, + expected_fragment="'some_new_phase' is no receipt phase that gives a stage", + ), + StageReboundTestCase( + description="a stage dropped with no receipt phase is refused", + phase=None, + reviewed_stage="semantic", + old_case={**_ACCEPT, "stage": "semantic"}, + new_case=_ACCEPT, + expected_code=1, + expected_fragment="None is no receipt phase that gives a stage", + ), + StageReboundTestCase( + description="a stage changed on a case expected to be rejected is refused", + phase="semantic_error", + reviewed_stage=None, + old_case={"expect": "reject"}, + new_case={"expect": "reject", "stage": "semantic"}, + expected_code=1, + expected_fragment="it is not expected to be accepted", + ), + StageReboundTestCase( + description="another field changed beside the stage is refused", + phase="semantic_error", + reviewed_stage=None, + old_case={"expect": "observe"}, + new_case={**_ACCEPT, "stage": "semantic"}, + expected_code=1, + expected_fragment="expect changed, not only its stage", + ), + StageReboundTestCase( + description="old cases other than the reviewed ones are refused", + phase="semantic_error", + reviewed_stage="runtime", + old_case=_ACCEPT, + new_case={**_ACCEPT, "stage": "semantic"}, + expected_code=1, + expected_fragment="the old cases are not the ones the earlier review approved", + ), + ), + ids=lambda case: case.description, +) +def test_given_a_stage_rebound_review_when_checked_then_only_its_receipt_stage_passes( + test_case: StageReboundTestCase, tmp_path: Path, capsys: pytest.CaptureFixture[str] +) -> None: + arguments: list[str] = write_stage_inputs( + tmp_path, + phase=test_case.phase, + reviewed_stage=test_case.reviewed_stage, + old_case=test_case.old_case, + new_case=test_case.new_case, + ) + + code: int = run_rebound_check(arguments) + + assert code == test_case.expected_code + assert test_case.expected_fragment in capsys.readouterr().err From 11ab87b047c9f9cb6174cd45c41bcf149306882c Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Wed, 18 Nov 2026 04:18:55 +0000 Subject: [PATCH 04/10] feat(databricks): parse documented Databricks SQL into trees that keep what was written The Databricks parser reads each documented statement into a tree instead of opaque text, and keeps in that tree every spelling the grammar tells apart, so a form's evidence can be told from its neighbours': - documented statements checked against their syntax pattern become trees of clauses, with a paren node only on a ( whose content a sibling choice spells without it; compound statements become the shared scripting tree; - DDL, DML, COPY INTO, directory inserts, pipe operators, hints, STREAM, TABLESAMPLE, NEAREST BY and WATERMARK keep their clauses; - optional keywords (VARIABLE, AS, DATABASE or NAMESPACE, TEMP), omitted = and commas, parenthesised lists and relations, quoting of names and keys, and written clause order stay in the tree. The shared tree gains optional fields that serialise only when set, so the other dialects' trees and formatting are unchanged; their parsers and the semantics and diagnostics readers fill or ignore the defaults. Scripting types move to their own expressions/scripting domain, whose entry is the scripting_sql wrapper SQL Server and Databricks shared. --- .../src/classification/_helpers/clauses.rs | 4 + .../snowflake/refusals/_helpers/rejections.rs | 2 + .../src/bigquery/profile/_helpers/typing.rs | 2 + .../src/databricks/profile/_helpers/typing.rs | 6 +- .../databricks/profile/tests/test_lineage.rs | 112 +- .../databricks/profile/tests/test_types.rs | 7 + .../src/duckdb/profile/_helpers/duck_types.rs | 6 +- .../src/lineage/main/rendered_type.rs | 2 + .../src/postgres/profile/_helpers/typing.rs | 3 + .../src/snowflake/profile/_helpers/typing.rs | 1 + .../src/parse/_helpers/commands/alters.rs | 1 + .../src/parse/_helpers/commands/creates.rs | 2 + .../src/parse/_helpers/commands/dml.rs | 1 + .../src/parse/_helpers/commands/from.rs | 4 + .../src/parse/_helpers/commands/queries.rs | 3 + .../src/parse/_helpers/commands/tvf.rs | 1 + .../src/parse/_helpers/tree/cursor.rs | 5 + .../src/parse/_helpers/tree/nodes.rs | 12 + .../src/parse/_helpers/values/functions.rs | 2 + .../src/parse/_helpers/values/typenames.rs | 14 +- .../src/parse/errors.rs | 2 + .../src/parse/main/parse.rs | 1 + .../src/parse/_helpers/commands/ddl.rs | 2 + .../src/parse/_helpers/commands/queries.rs | 1 + .../src/parse/_helpers/tree/nodes.rs | 9 + crates/sqlquack-syntax-databricks/README.md | 88 +- crates/sqlquack-syntax-databricks/src/lib.rs | 1 + .../src/parse/_helpers/commands/alters.rs | 699 ++++++--- .../src/parse/_helpers/commands/creates.rs | 559 +++++-- .../src/parse/_helpers/commands/delta.rs | 205 +-- .../src/parse/_helpers/commands/dml.rs | 254 +++- .../src/parse/_helpers/commands/documented.rs | 243 ++- .../src/parse/_helpers/commands/from.rs | 261 +++- .../src/parse/_helpers/commands/queries.rs | 294 ++-- .../src/parse/_helpers/commands/recognize.rs | 107 +- .../src/parse/_helpers/commands/routines.rs | 89 +- .../src/parse/_helpers/commands/scripting.rs | 676 +++++++-- .../src/parse/_helpers/commands/statements.rs | 2 - .../src/parse/_helpers/commands/utility.rs | 565 +++++-- .../src/parse/_helpers/tree/clauses.rs | 258 ++++ .../src/parse/_helpers/tree/cursor.rs | 48 +- .../src/parse/_helpers/tree/forms.rs | 403 +++-- .../src/parse/_helpers/tree/mod.rs | 2 + .../src/parse/_helpers/tree/nodes.rs | 144 +- .../src/parse/_helpers/tree/reading.rs | 79 + .../src/parse/_helpers/values/data_types.rs | 130 +- .../src/parse/_helpers/values/expressions.rs | 48 +- .../src/parse/_helpers/values/functions.rs | 29 +- .../src/parse/_helpers/values/primary.rs | 233 ++- .../src/parse/constants.rs | 214 ++- .../src/parse/errors.rs | 2 + .../src/parse/main/mod.rs | 1 + .../src/parse/main/parse.rs | 45 +- .../src/parse/main/parse_strict.rs | 9 +- .../src/parse/main/parse_strict_reviewed.rs | 11 + .../src/parse/tests.rs | 20 + .../src/parse/tests/helpers.rs | 48 + .../src/parse/tests/test_ddl_trees.rs | 189 +++ .../src/parse/tests/test_dml_trees.rs | 77 + .../src/parse/tests/test_kept_depth.rs | 104 ++ .../src/parse/tests/test_lineage_trees.rs | 1306 +++++++++++++++++ .../src/parse/tests/test_operand_trees.rs | 86 ++ .../src/parse/tests/test_parse.rs | 1027 +++++-------- .../tests/test_scripting_and_commands.rs | 940 ++++++++++++ .../src/parse/tests/test_small_stack.rs | 237 +++ .../src/parse/tests/test_treed_form_guards.rs | 320 ++++ .../src/parse/tests/test_types.rs | 30 + .../src/parse/tests/test_written_forms.rs | 652 ++++++++ .../src/parse/_helpers/commands/alters.rs | 4 + .../src/parse/_helpers/commands/copies.rs | 3 + .../src/parse/_helpers/commands/creates.rs | 1 + .../src/parse/_helpers/commands/drops.rs | 1 + .../src/parse/_helpers/commands/from.rs | 2 + .../src/parse/_helpers/commands/merges.rs | 1 + .../src/parse/_helpers/commands/objects.rs | 2 + .../src/parse/_helpers/commands/pivots.rs | 2 + .../src/parse/_helpers/commands/queries.rs | 2 + .../src/parse/_helpers/commands/sessions.rs | 2 + .../src/parse/_helpers/tree/cursor.rs | 6 + .../src/parse/_helpers/tree/nodes.rs | 12 + .../src/parse/_helpers/values/data_types.rs | 21 +- .../src/parse/_helpers/values/primary.rs | 1 + .../src/parse/errors.rs | 2 + .../src/parse/main/parse.rs | 6 +- .../src/parse/_helpers/commands/alters.rs | 1 + .../src/parse/_helpers/commands/dml.rs | 1 + .../src/parse/_helpers/commands/objects.rs | 2 + .../src/parse/_helpers/commands/queries.rs | 1 + .../parse/_helpers/commands/role_alters.rs | 1 + .../parse/_helpers/commands/role_creates.rs | 1 + .../src/parse/_helpers/commands/statements.rs | 3 + .../src/parse/_helpers/commands/tables.rs | 1 + .../src/parse/_helpers/tree/cursor.rs | 5 + .../src/parse/_helpers/tree/nodes.rs | 12 + .../src/parse/_helpers/tree/typenames.rs | 28 +- .../src/parse/_helpers/values/expressions.rs | 3 + .../src/parse/_helpers/values/sqljson.rs | 2 + .../src/parse/errors.rs | 2 + .../src/parse/main/format_type.rs | 3 + .../src/parse/main/parse_type.rs | 1 + .../src/parser/_helpers/ddl/alter.rs | 40 +- .../src/parser/_helpers/ddl/alter_table.rs | 4 + .../src/parser/_helpers/ddl/commands.rs | 3 + .../src/parser/_helpers/ddl/constraints.rs | 1 + .../src/parser/_helpers/ddl/create_table.rs | 2 + .../parser/_helpers/ddl/create_table_forms.rs | 19 + .../src/parser/_helpers/ddl/scripting.rs | 18 + .../src/parser/_helpers/ddl/snowflake_copy.rs | 4 + .../_helpers/ddl/snowflake_create_table.rs | 2 + .../_helpers/ddl/snowflake_external_table.rs | 1 + .../_helpers/ddl/snowflake_statements.rs | 3 + .../src/parser/_helpers/ddl/table_options.rs | 1 + .../_helpers/expressions/comparisons.rs | 44 +- .../parser/_helpers/expressions/grouping.rs | 10 + .../parser/_helpers/expressions/operators.rs | 3 + .../src/parser/_helpers/expressions/paths.rs | 16 +- .../parser/_helpers/expressions/primary.rs | 49 +- .../src/parser/_helpers/functions/generic.rs | 6 + .../src/parser/_helpers/functions/registry.rs | 9 + .../_helpers/functions/registry_functions.rs | 21 + .../_helpers/functions/snowflake_calls.rs | 2 + .../src/parser/_helpers/functions/typed.rs | 11 + .../src/parser/_helpers/queries/clauses.rs | 18 + .../src/parser/_helpers/queries/insert.rs | 24 + .../src/parser/_helpers/queries/joins.rs | 1 + .../src/parser/_helpers/queries/modifiers.rs | 24 + .../src/parser/_helpers/queries/select.rs | 45 + .../src/parser/_helpers/queries/tables.rs | 16 + .../src/parser/_helpers/statements/dml.rs | 6 + .../src/parser/_helpers/statements/entry.rs | 14 + .../parser/_helpers/statements/scripting.rs | 15 +- .../parser/_helpers/statements/sessions.rs | 33 +- .../_helpers/statements/with_statement.rs | 2 + .../src/parser/_helpers/support/names.rs | 15 + .../src/parser/_helpers/support/tables.rs | 2 + .../parser/_helpers/types/cast_base_types.rs | 43 +- .../src/parser/_helpers/types/casts.rs | 41 +- .../src/parser/_helpers/types/data_types.rs | 57 +- .../src/parser/tests/test_data_types.rs | 2 + .../src/parse/_helpers/commands/queries.rs | 1 + .../src/parse/_helpers/tree/cursor.rs | 13 +- .../src/parse/_helpers/tree/nodes.rs | 7 + .../src/parse/_helpers/values/primary.rs | 17 +- .../src/parse/errors.rs | 2 + .../src/parse/main/parse.rs | 5 +- crates/sqlquack-syntax-sqlserver/src/lib.rs | 1 + .../src/parse/_helpers/statements/ddl.rs | 4 + .../src/parse/_helpers/statements/dml.rs | 1 + .../src/parse/_helpers/statements/entry.rs | 35 +- .../src/parse/_helpers/statements/queries.rs | 2 + .../src/parse/_helpers/tree/cursor.rs | 6 +- .../src/parse/_helpers/tree/nodes.rs | 11 + .../src/parse/_helpers/values/data_types.rs | 17 +- .../src/parse/constants.rs | 4 +- .../src/expressions/columns/models.rs | 37 + .../functions/main/make_unquoted_function.rs | 1 + .../src/expressions/functions/models.rs | 10 +- crates/sqlquack-syntax/src/expressions/mod.rs | 1 + .../src/expressions/names/models.rs | 11 + .../src/expressions/operators/models.rs | 50 + .../src/expressions/queries/models.rs | 102 ++ .../src/expressions/schema_objects/models.rs | 32 + .../src/expressions/scripting/main/mod.rs | 3 + .../scripting/main/scripting_sql.rs | 13 + .../src/expressions/scripting/mod.rs | 4 + .../src/expressions/scripting/models.rs | 528 +++++++ .../src/expressions/statements/models.rs | 495 ++----- .../src/expressions/tables/models.rs | 16 + .../src/expressions/tree/models.rs | 2 +- .../src/expressions/tree/tests/helpers.rs | 5 +- .../src/expressions/types/models.rs | 59 + 171 files changed, 10484 insertions(+), 2713 deletions(-) create mode 100644 crates/sqlquack-syntax-databricks/src/parse/_helpers/tree/clauses.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/_helpers/tree/reading.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/main/parse_strict_reviewed.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/helpers.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_ddl_trees.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_dml_trees.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_kept_depth.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_lineage_trees.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_operand_trees.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_scripting_and_commands.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_small_stack.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_treed_form_guards.rs create mode 100644 crates/sqlquack-syntax-databricks/src/parse/tests/test_written_forms.rs create mode 100644 crates/sqlquack-syntax/src/expressions/scripting/main/mod.rs create mode 100644 crates/sqlquack-syntax/src/expressions/scripting/main/scripting_sql.rs create mode 100644 crates/sqlquack-syntax/src/expressions/scripting/mod.rs create mode 100644 crates/sqlquack-syntax/src/expressions/scripting/models.rs diff --git a/crates/sqlquack-diagnostics/src/classification/_helpers/clauses.rs b/crates/sqlquack-diagnostics/src/classification/_helpers/clauses.rs index c1fdb70ab..79c1ddacc 100644 --- a/crates/sqlquack-diagnostics/src/classification/_helpers/clauses.rs +++ b/crates/sqlquack-diagnostics/src/classification/_helpers/clauses.rs @@ -85,6 +85,8 @@ fn select_clauses(select: &Select) -> Vec { total_rowcount, source_dialect: _, span: _, + table_statement: _, + pipe_operators: _, } = select; present(&[ (with.is_some(), "with"), @@ -166,6 +168,7 @@ macro_rules! set_operation_clauses { on_columns, locks, with_ties, + keyword: _, span: _, } = operation; present(&[ @@ -224,6 +227,7 @@ fn join_constructs(join: &Join) -> Vec { first_last_alias: _, using_alias, span: _, + nearest_by: _, } = join; let mut constructs = vec![Construct::new( ConstructFamily::Join, diff --git a/crates/sqlquack-diagnostics/src/snowflake/refusals/_helpers/rejections.rs b/crates/sqlquack-diagnostics/src/snowflake/refusals/_helpers/rejections.rs index 186417d6b..6095d35e9 100644 --- a/crates/sqlquack-diagnostics/src/snowflake/refusals/_helpers/rejections.rs +++ b/crates/sqlquack-diagnostics/src/snowflake/refusals/_helpers/rejections.rs @@ -128,10 +128,12 @@ fn parameterized_date_time(data_type: &DataType) -> Option<(String, &'static str DataType::Timestamp { precision: Some(precision), timezone: true, + .. } => Some((format!("TIMESTAMP_TZ({precision})"), "TO_TIMESTAMP_TZ")), DataType::Timestamp { precision: Some(precision), timezone: false, + .. } => Some((format!("TIMESTAMP({precision})"), "TO_TIMESTAMP")), DataType::Time { precision: Some(precision), diff --git a/crates/sqlquack-semantics/src/bigquery/profile/_helpers/typing.rs b/crates/sqlquack-semantics/src/bigquery/profile/_helpers/typing.rs index e85af67d7..2fd87ad80 100644 --- a/crates/sqlquack-semantics/src/bigquery/profile/_helpers/typing.rs +++ b/crates/sqlquack-semantics/src/bigquery/profile/_helpers/typing.rs @@ -118,10 +118,12 @@ pub(crate) fn bigquery_cast_spelling(data_type: &DataType) -> Option { DataType::Decimal { precision: Some(precision), scale: None, + spelling: _, } => format!("NUMERIC({precision})"), DataType::Decimal { precision: Some(precision), scale: Some(scale), + spelling: _, } => format!("NUMERIC({precision},{scale})"), DataType::String { .. } | DataType::VarChar { .. } | DataType::Text => "STRING".to_owned(), DataType::VarBinary { .. } => "BYTES".to_owned(), diff --git a/crates/sqlquack-semantics/src/databricks/profile/_helpers/typing.rs b/crates/sqlquack-semantics/src/databricks/profile/_helpers/typing.rs index c3c6b243f..3d81cabae 100644 --- a/crates/sqlquack-semantics/src/databricks/profile/_helpers/typing.rs +++ b/crates/sqlquack-semantics/src/databricks/profile/_helpers/typing.rs @@ -70,7 +70,11 @@ pub(crate) fn databricks_cast_spelling(data_type: &DataType) -> Option { DataType::BigInt { .. } => "BIGINT", DataType::Float { .. } => "FLOAT", DataType::Double { .. } => "DOUBLE", - DataType::Decimal { precision, scale } => { + DataType::Decimal { + precision, + scale, + spelling: _, + } => { let (precision, scale): (u32, u32) = match precision { Some(precision) => (*precision, scale.unwrap_or(0)), None => DATABRICKS_DEFAULT_DECIMAL, diff --git a/crates/sqlquack-semantics/src/databricks/profile/tests/test_lineage.rs b/crates/sqlquack-semantics/src/databricks/profile/tests/test_lineage.rs index 1134931dc..0c6b117bb 100644 --- a/crates/sqlquack-semantics/src/databricks/profile/tests/test_lineage.rs +++ b/crates/sqlquack-semantics/src/databricks/profile/tests/test_lineage.rs @@ -1,6 +1,7 @@ use crate::databricks::profile::tests::helpers::databricks_findings; use crate::databricks::profile::tests::helpers::databricks_outputs; use crate::databricks::profile::tests::test_types::DatabricksOutputsTestCase; +use crate::databricks::profile::tests::test_types::SameReadingTestCase; use crate::dialects::constants::DATABRICKS; use crate::lineage::tests::helpers::duckdb_shop_schema; use crate::lineage::tests::helpers::output_ranges; @@ -239,30 +240,101 @@ fn given_a_strict_parse_when_tracing_lineage_then_each_output_has_its_items_byte #[test] fn given_an_aggregate_written_with_all_when_analysed_then_it_reads_as_no_quantifier() { - let calls = [ - "sum({q}quantity)", - "avg({q}price)", - "count({q}status)", - "max({q}status)", + let test_cases = [ + SameReadingTestCase { + description: "SUM with ALL", + sql: "SELECT sum(ALL quantity) AS a FROM orders HAVING sum(ALL quantity) > 0", + expected_same_as: "SELECT sum(quantity) AS a FROM orders HAVING sum(quantity) > 0", + }, + SameReadingTestCase { + description: "AVG with ALL", + sql: "SELECT avg(ALL price) AS a FROM orders HAVING avg(ALL price) > 0", + expected_same_as: "SELECT avg(price) AS a FROM orders HAVING avg(price) > 0", + }, + SameReadingTestCase { + description: "COUNT with ALL", + sql: "SELECT count(ALL status) AS a FROM orders HAVING count(ALL status) > 0", + expected_same_as: "SELECT count(status) AS a FROM orders HAVING count(status) > 0", + }, + SameReadingTestCase { + description: "MAX with ALL", + sql: "SELECT max(ALL status) AS a FROM orders HAVING max(ALL status) > 0", + expected_same_as: "SELECT max(status) AS a FROM orders HAVING max(status) > 0", + }, ]; - for call in calls { - let sql = |quantifier: &str| { - format!( - "SELECT {} AS a FROM orders HAVING {} > 0", - call.replace("{q}", quantifier), - call.replace("{q}", quantifier) - ) - }; - let (none, all) = (sql(""), sql("ALL ")); + for test_case in test_cases { assert_eq!( - databricks_outputs(&all), - databricks_outputs(&none), - "{call}: outputs" + ( + databricks_outputs(test_case.sql), + databricks_findings(test_case.sql) + ), + ( + databricks_outputs(test_case.expected_same_as), + databricks_findings(test_case.expected_same_as) + ), + "{}", + test_case.description ); + } +} + +#[test] +fn given_synonymous_operator_spellings_when_analysed_then_each_reads_alike() { + let test_cases = [ + SameReadingTestCase { + description: "== against =", + sql: "SELECT quantity == 2 AS a FROM orders WHERE quantity == 2", + expected_same_as: "SELECT quantity = 2 AS a FROM orders WHERE quantity = 2", + }, + SameReadingTestCase { + description: "== against = between a string and a number", + sql: "SELECT status == price AS a FROM orders WHERE status == price", + expected_same_as: "SELECT status = price AS a FROM orders WHERE status = price", + }, + SameReadingTestCase { + description: "!= against <>", + sql: "SELECT quantity != 2 AS a FROM orders WHERE quantity != 2", + expected_same_as: "SELECT quantity <> 2 AS a FROM orders WHERE quantity <> 2", + }, + SameReadingTestCase { + description: "<=> against IS NOT DISTINCT FROM", + sql: "SELECT quantity <=> 2 AS a FROM orders WHERE quantity <=> 2", + expected_same_as: "SELECT quantity IS NOT DISTINCT FROM 2 AS a FROM orders WHERE quantity IS NOT DISTINCT FROM 2", + }, + SameReadingTestCase { + description: "NOT <=> against IS DISTINCT FROM", + sql: "SELECT NOT quantity <=> 2 AS a FROM orders WHERE NOT quantity <=> 2", + expected_same_as: "SELECT quantity IS DISTINCT FROM 2 AS a FROM orders WHERE quantity IS DISTINCT FROM 2", + }, + SameReadingTestCase { + description: "REGEXP against RLIKE", + sql: "SELECT status REGEXP 'x' AS a FROM orders WHERE status REGEXP 'x'", + expected_same_as: "SELECT status RLIKE 'x' AS a FROM orders WHERE status RLIKE 'x'", + }, + SameReadingTestCase { + description: "RLIKE against the rlike call", + sql: "SELECT status RLIKE 'x' AS a FROM orders WHERE status RLIKE 'x'", + expected_same_as: "SELECT rlike(status, 'x') AS a FROM orders WHERE rlike(status, 'x')", + }, + SameReadingTestCase { + description: ">>> against the shiftrightunsigned call", + sql: "SELECT quantity >>> 1 AS a FROM orders WHERE quantity >>> 1", + expected_same_as: "SELECT shiftrightunsigned(quantity, 1) AS a FROM orders WHERE shiftrightunsigned(quantity, 1)", + }, + ]; + let read = |sql: &str| { + let findings: Vec<(&str, String)> = databricks_findings(sql) + .into_iter() + .map(|(code, message, _)| (code, message)) + .collect(); + (databricks_outputs(sql), findings) + }; + for test_case in test_cases { assert_eq!( - databricks_findings(&all), - databricks_findings(&none), - "{call}: findings" + read(test_case.sql), + read(test_case.expected_same_as), + "{}", + test_case.description ); } } diff --git a/crates/sqlquack-semantics/src/databricks/profile/tests/test_types.rs b/crates/sqlquack-semantics/src/databricks/profile/tests/test_types.rs index 815088826..b65a2470b 100644 --- a/crates/sqlquack-semantics/src/databricks/profile/tests/test_types.rs +++ b/crates/sqlquack-semantics/src/databricks/profile/tests/test_types.rs @@ -3,3 +3,10 @@ pub(crate) struct DatabricksOutputsTestCase { pub(crate) sql: &'static str, pub(crate) expected_outputs: &'static [(&'static str, Option<&'static str>)], } + +/// Two spellings of one query that must read alike. +pub(crate) struct SameReadingTestCase { + pub(crate) description: &'static str, + pub(crate) sql: &'static str, + pub(crate) expected_same_as: &'static str, +} diff --git a/crates/sqlquack-semantics/src/duckdb/profile/_helpers/duck_types.rs b/crates/sqlquack-semantics/src/duckdb/profile/_helpers/duck_types.rs index 709ef549a..8bb4b6f2f 100644 --- a/crates/sqlquack-semantics/src/duckdb/profile/_helpers/duck_types.rs +++ b/crates/sqlquack-semantics/src/duckdb/profile/_helpers/duck_types.rs @@ -169,7 +169,11 @@ pub(crate) fn cast_type(data_type: &DataType) -> Option { precision: None, .. } => DuckType::Real, DataType::Double { .. } => DuckType::Double, - DataType::Decimal { precision, scale } => match (precision, scale) { + DataType::Decimal { + precision, + scale, + spelling: _, + } => match (precision, scale) { (None, _) => DuckType::Decimal(DUCKDB_DEFAULT_DECIMAL.0, DUCKDB_DEFAULT_DECIMAL.1), (Some(precision), scale) => DuckType::Decimal(*precision, scale.unwrap_or(0)), }, diff --git a/crates/sqlquack-semantics/src/lineage/main/rendered_type.rs b/crates/sqlquack-semantics/src/lineage/main/rendered_type.rs index e56bd9580..908d0837d 100644 --- a/crates/sqlquack-semantics/src/lineage/main/rendered_type.rs +++ b/crates/sqlquack-semantics/src/lineage/main/rendered_type.rs @@ -19,10 +19,12 @@ pub(crate) fn rendered_type(data_type: &DataType) -> Option { DataType::Decimal { precision: Some(precision), scale: None, + spelling: _, } => format!("DECIMAL({precision})"), DataType::Decimal { precision: Some(precision), scale: Some(scale), + spelling: _, } => format!("DECIMAL({precision},{scale})"), DataType::String { .. } => "STRING".to_owned(), DataType::Text => TEXT_TYPE.to_owned(), diff --git a/crates/sqlquack-semantics/src/postgres/profile/_helpers/typing.rs b/crates/sqlquack-semantics/src/postgres/profile/_helpers/typing.rs index 06b0af8f9..b03777ba7 100644 --- a/crates/sqlquack-semantics/src/postgres/profile/_helpers/typing.rs +++ b/crates/sqlquack-semantics/src/postgres/profile/_helpers/typing.rs @@ -663,6 +663,7 @@ pub(crate) fn postgres_cast_spelling(data_type: &DataType) -> Option { DataType::Decimal { precision: Some(precision), scale, + spelling: _, } => { format!("{NUMERIC}({precision},{})", scale.unwrap_or(0)) } @@ -672,6 +673,7 @@ pub(crate) fn postgres_cast_spelling(data_type: &DataType) -> Option { DataType::Timestamp { precision, timezone, + .. } => length( ["TIMESTAMP", "TIMESTAMPTZ"][usize::from(*timezone)], precision, @@ -679,6 +681,7 @@ pub(crate) fn postgres_cast_spelling(data_type: &DataType) -> Option { DataType::Time { precision, timezone, + .. } => length(["TIME", "TIMETZ"][usize::from(*timezone)], precision), DataType::Interval { unit: None, diff --git a/crates/sqlquack-semantics/src/snowflake/profile/_helpers/typing.rs b/crates/sqlquack-semantics/src/snowflake/profile/_helpers/typing.rs index de05f14e8..5aca91cf1 100644 --- a/crates/sqlquack-semantics/src/snowflake/profile/_helpers/typing.rs +++ b/crates/sqlquack-semantics/src/snowflake/profile/_helpers/typing.rs @@ -263,6 +263,7 @@ pub(crate) fn snowflake_cast_spelling(data_type: &DataType) -> Option { DataType::Time { precision: Some(precision), timezone: false, + .. } => Some(format!("TIME({precision})")), other => rendered_type(other), } diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/alters.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/alters.rs index 1dd034ebf..429beaad4 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/alters.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/alters.rs @@ -620,6 +620,7 @@ impl Parser<'_> { return Err(self.error()); } let mut reference: ForeignKeyRef = ForeignKeyRef { + written_order: Vec::new(), table: target, columns, on_delete: None, diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/creates.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/creates.rs index a157c8473..c009a3ffc 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/creates.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/creates.rs @@ -145,6 +145,8 @@ impl Parser<'_> { let entries: Vec = option_entries(self.options_list()?); properties.push(Expression::OptionsProperty(Box::new(OptionsProperty { entries, + string_keys: Vec::new(), + without_equals: Vec::new(), }))); } Ok((properties, connection)) diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/dml.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/dml.rs index 051d49298..a8d7033d3 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/dml.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/dml.rs @@ -247,6 +247,7 @@ impl Parser<'_> { }, with_: with.map(|with| Box::new(Expression::With(Box::new(with)))), returning: None, + schema_evolution: false, }))) } diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/from.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/from.rs index 1f7868e67..1da97d638 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/from.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/from.rs @@ -602,6 +602,7 @@ impl Parser<'_> { this: Box::new(Expression::Identifier(Identifier::new("SYSTEM_TIME"))), kind: "AS OF".to_owned(), expression: Some(Box::new(value)), + for_keyword: false, }))) } @@ -917,6 +918,7 @@ impl Parser<'_> { self.expect_char(')')?; let name: Option = self.pivot_alias()?; Ok(Expression::Pivot(Box::new(Pivot { + alias_explicit_as: false, this: input, expressions: aggregates, fields: vec![in_list(column, pivoted, None, false)], @@ -999,6 +1001,7 @@ impl Parser<'_> { let name: Option = self.pivot_alias()?; let value_column: Identifier = value_columns.remove(0); Ok(Expression::Unpivot(Box::new(Unpivot { + alias_explicit_as: false, this: input, value_column, name_column, @@ -1037,6 +1040,7 @@ impl Parser<'_> { this: Expression::Function(Box::new(function(name, args))), table_alias: Some(table_alias), column_aliases, + column_aliases_explicit_as: false, outer, }); } diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/queries.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/queries.rs index 9d10cfe3e..bb73e550d 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/queries.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/queries.rs @@ -590,6 +590,7 @@ impl Parser<'_> { all: Some(true), totals: false, comments: Vec::new(), + with_modifier: false, }); } let items: Vec = self.comma_list(|parser| parser.group_item())?; @@ -611,6 +612,7 @@ impl Parser<'_> { all: None, totals: false, comments: Vec::new(), + with_modifier: false, }) } @@ -947,6 +949,7 @@ impl Parser<'_> { all: None, totals: false, comments: Vec::new(), + with_modifier: false, }); } select.expressions = aggregates; diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/tvf.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/tvf.rs index f7fc095cb..e53fd80b6 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/tvf.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/commands/tvf.rs @@ -17,6 +17,7 @@ use crate::scan::models::Token; /// `prefix this`, a `MODEL`, `CONNECTION`, `GRAPH`, `DESCRIPTOR` or `TABLE` argument. fn prefixed(prefix: &str, this: Expression) -> Expression { Expression::TableArgument(Box::new(TableArgument { + parenthesized: false, prefix: prefix.to_owned(), this, })) diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/cursor.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/cursor.rs index 72930ec66..76283999b 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/cursor.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/cursor.rs @@ -232,12 +232,14 @@ impl<'sql> Parser<'sql> { message: "Syntax error at or near end of input".to_owned(), position: self.sql.len(), syntax: true, + guard: false, }, Some(token) => match token.kind { TokenKind::Fault(syntax) => ParseError { message: token.value.clone(), position: token.start, syntax, + guard: false, }, _ => ParseError { message: format!( @@ -246,6 +248,7 @@ impl<'sql> Parser<'sql> { ), position: token.start, syntax: true, + guard: false, }, }, } @@ -257,6 +260,7 @@ impl<'sql> Parser<'sql> { message: message.to_owned(), position, syntax, + guard: false, } } @@ -290,6 +294,7 @@ impl<'sql> Parser<'sql> { message: TOO_DEEP_MESSAGE.to_owned(), position: self.offset(), syntax: false, + guard: true, }; return Err(self.too_deep.get_or_insert(error).clone()); } diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/nodes.rs index 471a12ad5..9c8c1c597 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/tree/nodes.rs @@ -391,6 +391,8 @@ pub(crate) fn subquery(this: Expression, alias: Option, lateral: boo trailing_comments: Vec::new(), inferred_type: None, span: SourceSpan(None), + table_sample: None, + watermark: None, })) } @@ -417,6 +419,7 @@ pub(crate) fn lateral(this: Expression, alias: Option) -> Expression None => (None, Vec::new()), }; Expression::Lateral(Box::new(Lateral { + alias_explicit_as: false, this: Box::new(this), view: None, outer: None, @@ -460,6 +463,7 @@ pub(crate) fn join( first_last: None, first_last_alias: None, span: SourceSpan(None), + nearest_by: None, } } @@ -489,6 +493,7 @@ pub(crate) fn set_operation( Expression::$variant(Box::new($node { locks: Vec::new(), with_ties: false, + keyword: None, left, right, all, @@ -523,12 +528,14 @@ pub(crate) fn values(rows: Vec>, alias: Option) -> E None => (None, Vec::new()), }; Expression::Values(Box::new(Values { + alias_explicit_as: false, expressions: rows .into_iter() .map(|expressions| Tuple { expressions }) .collect(), alias, column_aliases, + bare_rows: Vec::new(), })) } @@ -544,6 +551,7 @@ pub(crate) fn cte(alias: Identifier, columns: Vec, this: Expression) comments: Vec::new(), span: SourceSpan(None), key_items: Vec::new(), + as_omitted: false, } } @@ -585,6 +593,10 @@ pub(crate) fn insert(table: TableRef) -> Insert { function_target: None, partition_by: None, settings: Vec::new(), + schema_evolution: false, + replace_on: None, + replace_using: Vec::new(), + table_keyword: false, } } diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/values/functions.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/values/functions.rs index 7f6ca6dc6..678bd4c6f 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/values/functions.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/values/functions.rs @@ -118,6 +118,7 @@ impl Parser<'_> { self.at += 1; let path: Vec = self.multipart_identifier()?; return Ok(Expression::TableArgument(Box::new(TableArgument { + parenthesized: false, prefix: kind, this: Expression::Table(Box::new(table(path))), }))); @@ -126,6 +127,7 @@ impl Parser<'_> { self.at += 1; let columns: Vec = self.identifier_list()?; return Ok(Expression::TableArgument(Box::new(TableArgument { + parenthesized: false, prefix: "DESCRIPTOR".to_owned(), this: tuple( columns diff --git a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/values/typenames.rs b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/values/typenames.rs index 3556b8454..6093d627f 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/_helpers/values/typenames.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/_helpers/values/typenames.rs @@ -167,7 +167,11 @@ impl Parser<'_> { self.expect_char(')')?; } match word.as_str() { - "NUMERIC" | "DECIMAL" => DataType::Decimal { precision, scale }, + "NUMERIC" | "DECIMAL" => DataType::Decimal { + precision, + scale, + spelling: None, + }, _ => DataType::Custom { name: match (precision, scale) { (Some(precision), Some(scale)) => { @@ -186,12 +190,15 @@ impl Parser<'_> { "TIMESTAMP" => DataType::Timestamp { precision: None, timezone: true, + spelling: None, }, "DATETIME" => DataType::Timestamp { precision: None, timezone: false, + spelling: None, }, "TIME" => DataType::Time { + spelling: None, precision: None, timezone: false, }, @@ -202,7 +209,10 @@ impl Parser<'_> { "JSON" => DataType::Json, "BOOL" | "BOOLEAN" => DataType::Boolean, "INT64" | "INT" | "SMALLINT" | "INTEGER" | "BIGINT" | "TINYINT" | "BYTEINT" => { - DataType::BigInt { length: None } + DataType::BigInt { + length: None, + spelling: None, + } } "FLOAT64" => DataType::Double { precision: None, diff --git a/crates/sqlquack-syntax-bigquery/src/parse/errors.rs b/crates/sqlquack-syntax-bigquery/src/parse/errors.rs index 0449cc36f..11a041def 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/errors.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/errors.rs @@ -8,6 +8,8 @@ pub struct ParseError { pub position: usize, /// Whether it is a syntax refusal (`Syntax error: ...`), not a check such as the nesting limit. pub syntax: bool, + /// Whether a resource guard refused it (nesting depth, recursion or an input-size limit): never a syntax verdict. + pub guard: bool, } /// Why strict parsing refused the input. diff --git a/crates/sqlquack-syntax-bigquery/src/parse/main/parse.rs b/crates/sqlquack-syntax-bigquery/src/parse/main/parse.rs index 1371c3661..00d131a83 100644 --- a/crates/sqlquack-syntax-bigquery/src/parse/main/parse.rs +++ b/crates/sqlquack-syntax-bigquery/src/parse/main/parse.rs @@ -64,6 +64,7 @@ fn within_tree_depth(statement: Expression, start: usize) -> Result { if_not_exists, position, column_keyword: false, + keyword: None, }); } if self.eat_kws(&["DROP", "COLUMN"]) { @@ -505,6 +506,7 @@ impl Parser<'_> { if_exists, cascade: false, column_keyword: false, + keyword: None, }); } if self.eat_kws(&["MODIFY", "COLUMN"]) { diff --git a/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/commands/queries.rs b/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/commands/queries.rs index 7f32dcd87..4e3d72e88 100644 --- a/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/commands/queries.rs +++ b/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/commands/queries.rs @@ -179,6 +179,7 @@ impl Parser<'_> { all: None, totals: false, comments: Vec::new(), + with_modifier: false, }; if self.kw_in(0, &["ROLLUP", "CUBE"]) || self.kws(&["GROUPING", "SETS"]) { self.skip_grouping_modifier()?; diff --git a/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/tree/nodes.rs b/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/tree/nodes.rs index 6b8165785..e451dd46d 100644 --- a/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/tree/nodes.rs +++ b/crates/sqlquack-syntax-clickhouse/src/parse/_helpers/tree/nodes.rs @@ -384,6 +384,8 @@ pub(crate) fn subquery(this: Expression, alias: Option, lateral: boo trailing_comments: Vec::new(), inferred_type: None, span: SourceSpan(None), + table_sample: None, + watermark: None, })) } @@ -417,6 +419,7 @@ pub(crate) fn join( first_last_alias: None, using_alias: None, span: SourceSpan(None), + nearest_by: None, } } @@ -450,6 +453,7 @@ pub(crate) fn set_operation( on_columns: Vec::new(), locks: Vec::new(), with_ties: false, + keyword: None, span: SourceSpan(None), })) }; @@ -473,6 +477,7 @@ pub(crate) fn cte(alias: Identifier, columns: Vec, this: Expression) search_cycle: Vec::new(), span: SourceSpan(None), key_items: Vec::new(), + as_omitted: false, } } @@ -514,6 +519,10 @@ pub(crate) fn insert(table: TableRef) -> Insert { returning_aliases: Vec::new(), column_targets: Vec::new(), settings: Vec::new(), + schema_evolution: false, + replace_on: None, + replace_using: Vec::new(), + table_keyword: false, } } diff --git a/crates/sqlquack-syntax-databricks/README.md b/crates/sqlquack-syntax-databricks/README.md index 8cc1bc783..33c0cc7f4 100644 --- a/crates/sqlquack-syntax-databricks/README.md +++ b/crates/sqlquack-syntax-databricks/README.md @@ -12,7 +12,9 @@ the message, the byte position and whether it is a syntax refusal (`PARSE_SYNTAX have `syntax = false`; a typed literal whose text cannot be its value (`DATE 'm'`, `X'zz'`, `INTERVAL 'm'`, a time or timestamp not starting as one) is `INVALID_TYPED_LITERAL`, a syntax refusal. `parse_strict(sql)` returns `Result` and also refuses -an input with a byte that no token, blank or comment covers. +an input with a byte that no token, blank or comment covers. `parse_strict_reviewed(sql)` returns +the same verdict but keeps each form listed under Treed forms as a gap; the formatter and lint read +Databricks SQL through it. Beyond the Spark grammar, the scanner takes Databricks' `?::` (try cast) operator, and the parser takes Databricks' own additions and checks: `REPLACE TEMPORARY TABLE`, session temporary @@ -48,8 +50,8 @@ their documented syntax (`parse/_helpers/commands/documented.rs`, in the notatio `ANTI` unless a join begins there; a table alias may not. - Expressions: literals, including typed and suffixed ones and `INTERVAL`, `CASE`, `CAST`, `TRY_CAST`, `::`, calls with `DISTINCT`, `FILTER`, `IGNORE`/`RESPECT NULLS` and `OVER` with frames, - lambdas, field, subscript and semi-structured `:path` access, the predicates, `EXISTS`, scalar - subqueries, and the complex data types. + lambdas, field, subscript and semi-structured `:path` access (a JSON path of keys and + subscripts), the predicates, `EXISTS`, scalar subqueries, and the complex data types. - `INSERT INTO`/`OVERWRITE`, `MERGE INTO`, `UPDATE`, `DELETE`, `COPY INTO` (`Copy`) and `LOAD DATA` (`LoadData`). - `CREATE [OR REPLACE] TABLE`, `REPLACE TABLE`, `CREATE TABLE … LIKE` (a `Like` constraint), @@ -60,9 +62,11 @@ their documented syntax (`parse/_helpers/commands/documented.rs`, in the notatio - `ALTER TABLE` (`AlterTable`): `ADD COLUMN[S]`, `DROP COLUMN[S]`, `RENAME [COLUMN]`, `ALTER | CHANGE [COLUMN]` with `TYPE`, `COMMENT`, `SET | DROP NOT NULL`, `SET DEFAULT`, `DROP DEFAULT`, Hive's `CHANGE old new type`, `ADD | DROP PARTITION`, `PARTITION (…) SET - LOCATION`, `ADD CONSTRAINT`, `DROP CONSTRAINT`, `SET | UNSET TBLPROPERTIES`, `SET | UNSET TAGS`, - `SET LOCATION`, `CLUSTER BY`. `ALTER VIEW` (`AlterView`): `AS query`, `RENAME TO`, - `SET | UNSET TBLPROPERTIES`, `[SET] OWNER TO`. `ALTER SCHEMA` (`AlterObject` of kind `SCHEMA`, + LOCATION`, `ADD CONSTRAINT`, `DROP CONSTRAINT` (with `CASCADE`), `DROP PARTITION` (with + `PURGE`), `SET | UNSET TBLPROPERTIES` (with `IF EXISTS`), `SET | UNSET TAGS`, `SET LOCATION`, + `CLUSTER BY`. `ALTER VIEW` (`AlterView`): `AS query`, `RENAME TO`, `SET | UNSET TBLPROPERTIES`, + `[SET] OWNER TO`; its tags, `SET MANAGED`, `WITH SCHEMA …` and relationship constraints are an + `AlterObject` of kind `VIEW`, its action naming the clause. `ALTER SCHEMA` (`AlterObject` of kind `SCHEMA`, its action naming the clause): properties, tags (named by identifiers, not strings), locations, collation, owner, `RETAIN DROPPED TO` and predictive optimization. - `DESCRIBE` (`Describe`) of tables (`EXTENDED`, `FORMATTED`, `PARTITION`, `AS JSON`), queries, @@ -76,7 +80,11 @@ their documented syntax (`parse/_helpers/commands/documented.rs`, in the notatio - `RESET [key]` (`ResetStatement`): the key as its name, such as `STATEMENT_TIMEOUT` or `spark.sql.ansi.enabled`, or no name for a bare `RESET`; text Spark's pattern does not read is refused. `EXPLAIN RESET` holds the same node. -- `FROM STREAM t` and `FROM STREAM(t)` are a `Stream` holding the relation read. +- `FROM STREAM t`, `FROM STREAM(t)` and `FROM STREAM(f(…))` are a `Stream` holding the relation + or table function call read; the parentheses hold no alias and no query. +- `CREATE VIEW … WITH METRICS` (`CreateView`): the YAML body is the view's query, a dollar-quoted + literal, and `WITH METRICS` and `LANGUAGE` are its options. `CLUSTER BY ('text', …)` on + `CREATE TABLE` is a `CLUSTER BY` property of the expressions. - `@name.method(args)`, a templating macro call left in the text (such as `@py.f(a)`), is a `MethodCall` on the column `@name` (a dotted `@name.a.f()` qualifies the column), the shape Polyglot gives it; its arguments are expressions. @@ -85,6 +93,30 @@ their documented syntax (`parse/_helpers/commands/documented.rs`, in the notatio `COMMENT ON`; `TRUNCATE TABLE`; `GRANT` and `REVOKE`; `DECLARE [OR REPLACE] [VARIABLE]`; `CACHE [LAZY] TABLE` and `UNCACHE TABLE`. +## Treed forms + +`parse` and `parse_strict` keep these forms in the tree when the shape below reads every token the +parser checked. Otherwise, or when a kept value would take the tree past the nesting limit, the +form stays the gap named in the first column, and the verdict is the same either way. +`parse_strict_reviewed` keeps every one of them as that gap, so the formatter and lint refuse them +as they refuse any gap. + +| Form | Construct | Tree | +| --- | --- | --- | +| `add`, `list` | `ADD` and `LIST` of a file, jar or archive (another resource type is refused) | a `UtilityStatement` of the keywords and each resource, split where a space falls, as Spark splits them: a resource written wholly as a string literal as a string, any other as its text as written | +| `restore`, `deny`, `refresh` | `RESTORE … {TIMESTAMP \| VERSION} AS OF`, `DENY privileges ON securable TO principal` (read as `GRANT`), `REFRESH path` (checked as Spark checks the resource path) | a `UtilityStatement` of the keywords and parts; `REFRESH` keeps a quoted path as a string and an unquoted one as its text as written | +| `cache_select` | `CACHE SELECT expr, … FROM name [WHERE expr]`, as documented | a `UtilityStatement` of its clauses; text the service reads as a query with `FROM` or `WHERE` as a name, as in `CACHE SELECT c1 FROM`, has an alias in their place; any other text it accepts stays the gap, unchecked but for a string after `FROM` | +| `describe_column`, `show_partition` | `DESCRIBE t column`, `PARTITION (…)` on `SHOW PARTITIONS` and `SHOW TABLE EXTENDED` | the `Describe` or `Show` holding the column or partition | +| `row_format`, `stored_as` | `ROW FORMAT DELIMITED \| SERDE` and `STORED AS \| BY` on `CREATE TABLE [… LIKE]` | properties of the table; `STORED AS` is marked as the Hive spelling, unlike `USING`. A storage handler's `SERDEPROPERTIES` stays the gap | +| `insert_overwrite_directory` | `INSERT OVERWRITE [LOCAL] DIRECTORY path` in Hive's form | an `Insert` whose directory holds the path, a delimited row format and a bare format name. `ESCAPED BY`, a SerDe, a quoted format name, input and output formats, `STORED BY` and the `USING` form stay the gap | +| `copy_columns` | `COPY INTO t (columns)` | the target as a `Schema` of the table and its columns | +| `constraint_validation` | `ENABLE \| DISABLE` then `VALIDATE \| NOVALIDATE` after a key in `CREATE TABLE` or a constraint in `ALTER TABLE ADD` | the constraint's modifiers; words repeated or out of that order stay the gap | +| `column_mask`, `row_filter` | `MASK` on a created or added column, `WITH ROW FILTER` on `CREATE TABLE` | a masking policy among the column's options; a property of the table | +| `owner`, `managed`, `serde`, `table_collation`, `recover_partitions`, `replace_partitioning`, `predictive_optimization`, `rename_partition`, `drop_primary_key`, `drop_foreign_key`, `drop_feature`, `row_filter`, `alter_column_position`, `column_mask`, `identity_sync`, `column_tags` | those `ALTER TABLE` actions: `[SET] OWNER TO`, `SET \| UNSET MANAGED`, `SET EXTERNAL`, `SET SERDE` and `SERDEPROPERTIES`, `DEFAULT COLLATION`, `RECOVER PARTITIONS`, `REPLACE PARTITIONED BY WITH CLUSTER BY`, predictive optimization, partition renames, dropped keys and features, `SET \| DROP ROW FILTER`, and a column's position, mask, `SYNC IDENTITY` and tags | a `SetProperty` under a fixed upper-case key from a closed list (`KEYED_ACTIONS`), such as `OWNER TO` or `COLUMN POSITION`, never the text as written | +| `schema_binding`, `view_collation`, `view_partitioned_on`, `view_nocopy` | `WITH SCHEMA …`, `DEFAULT COLLATION`, `PARTITIONED ON` and `NOCOPY *` on `CREATE VIEW` | options of the view | +| `temporary_view_using`, `drop_temporary_table`, `drop_table_force`, `drop_temporary_function`, `undrop_with_id` | `CREATE TEMPORARY VIEW … USING`, `DROP TEMPORARY TABLE`, `DROP TABLE … FORCE`, `DROP TEMPORARY FUNCTION`, `UNDROP … WITH ID` | a `UtilityStatement` of the documented form | +| `compound`, `compound_cursor` | `BEGIN [[NOT] ATOMIC] … END` blocks, checked against Spark's `compoundBody` (a whole block takes no label), and the `DECLARE … CURSOR FOR query` they hold | a `ScriptingBlock`: nested blocks, `LOOP`, `WHILE`, `REPEAT` and `FOR [name AS] query` keep their begin and end labels; `IF`, `CASE`, `LEAVE`, `ITERATE`, `GET DIAGNOSTICS`, handlers, conditions, cursors, `OPEN`, `FETCH`, `CLOSE`, `SIGNAL` and `RESIGNAL` are scripting statements; `SET name = value` assigns variables as `SET VAR` does; any other statement is an SQL member. A cursor declared `ASENSITIVE`, `INSENSITIVE` or `FOR READ ONLY` stays the gap `declare_cursor` | + ## Gaps A statement holding a construct the shared tree cannot hold becomes a `Command` with the @@ -99,31 +131,22 @@ next top-level `;` is not checked further; every other gap's text is checked. | `analyze`, `fsck`, `generate`, `sync`, `reorg`, `call`, `clear_cache`, `list`, `execute_immediate`, `drop_variable` | `ANALYZE`, `FSCK REPAIR TABLE`, `GENERATE`, `SYNC` (a `SYNC TABLE` whose source is named other than its target is refused), `REORG`, `CALL`, `CLEAR CACHE`, `LIST path`, `EXECUTE IMMEDIATE`, `DROP TEMPORARY VARIABLE`: checked against their documented syntax, no shared node | | `describe_policy`, `describe_credential`, `describe_location`, `describe_governed_tag` | `DESCRIBE POLICY`, `DESCRIBE {SERVICE \| STORAGE} CREDENTIAL`, `DESCRIBE EXTERNAL LOCATION`, `DESCRIBE GOVERNED TAG`: checked, no shared node | | `show_policies`, `show_shares`, `show_all_in_share`, `show_groups`, `show_principals`, `show_volumes`, `show_statistics`, `show_governed_tags`, `show_securables` | the documented `SHOW` statements the shared `Show` does not hold: policies, shares, `ALL IN SHARE`, groups, users, providers, recipients, volumes, statistics, governed tags, connections, credentials and external locations; checked. Any other `SHOW` is refused, as Spark refuses it | -| `compound`, `signal`, `open_cursor`, `fetch_cursor`, `close_cursor` | `BEGIN … END` blocks and their labelled `LOOP`, `WHILE`, `REPEAT`, `FOR`, `IF`, `CASE`, `LEAVE`, `ITERATE`, handlers and conditions, `SIGNAL`, `RESIGNAL` and the cursor statements: checked against Spark's `compoundBody` (a whole block takes no label; `GET DIAGNOSTICS` is refused, as Databricks refuses it) | -| `add`, `list` | `ADD` and `LIST` of a file, jar or archive (another resource type is refused) | -| `deny`, `cache_select` | `DENY privileges ON securable TO principal` (read as `GRANT`), Databricks' `CACHE SELECT …` (its text unchecked but a string after `FROM`) | -| `refresh` | `REFRESH path`, checked as Spark checks the resource path | +| `compound` | a `BEGIN … END` block holding a label written as an `IDENTIFIER` clause, or whose tree would pass the depth limit, checked as the treed form `compound` is | +| `signal`, `open_cursor`, `fetch_cursor`, `close_cursor` | `SIGNAL`, `RESIGNAL` and the cursor statements outside a compound block: checked against their documented syntax | | `alter_owner` | `ALTER name [SET] OWNER TO principal`, a securable named without its kind | -| `optimize`, `vacuum`, `restore`, `repair`, `msck` | `OPTIMIZE`, `VACUUM`, `RESTORE`, `[MSCK] REPAIR TABLE`: checked, but the shared tree has no node | +| `optimize`, `vacuum`, `repair`, `msck` | `OPTIMIZE`, `VACUUM`, `[MSCK] REPAIR TABLE`: checked, but the shared tree has no node | | `alter`, `create`, `drop`, `describe` | those statements of any other object kind with no documented form above, such as a group | | `set` | `SET ROLE`, `SET RECIPIENT name`, `SET COLLATION name` and `SET QUERY_TAGS[key] = value`; any other `SET` text Spark's patterns do not read is refused (`INVALID_SET_SYNTAX`), as are `SET QUERY_TAGS` without a key, `SET PATH` with a one-part schema and `SET TIME ZONE` with no zone | -| `row_format`, `stored_as`, `bucket_spec`, `skew_spec` | the Hive table clauses | -| `temporary_view_using`, `metric_view`, `view_nocopy` | `CREATE TEMPORARY VIEW … USING`, `CREATE VIEW … WITH METRICS`, a view's `NOCOPY *` | -| `schema_binding`, `view_collation`, `view_partitioned_on` | `WITH SCHEMA …`, `DEFAULT COLLATION`, `PARTITIONED ON` on a view | -| `drop_table_force`, `drop_temporary_table`, `drop_temporary_function` | `DROP TABLE … FORCE`, `DROP TEMPORARY TABLE`, `DROP TEMPORARY FUNCTION` | -| `insert_options`, `insert_overwrite_directory`, `insert_replace_on`, `insert_replace_using`, `schema_evolution` | `INSERT … WITH (options)`, `INSERT OVERWRITE [LOCAL] DIRECTORY`, `REPLACE ON`/`REPLACE USING`, `WITH SCHEMA EVOLUTION` | -| `copy_columns`, `copy_by_position`, `copy_target_credential` | `COPY INTO t (columns)`, `COPY INTO t BY POSITION`, a credential on `COPY INTO`'s target | +| `bucket_spec`, `skew_spec` | the Hive `CLUSTERED BY … INTO … BUCKETS` and `SKEWED BY` table clauses | +| `insert_options`, `insert_replace_on`, `insert_replace_using`, `schema_evolution` | `INSERT … WITH (options)`, `REPLACE ON`/`REPLACE USING`, `WITH SCHEMA EVOLUTION` | +| `copy_by_position`, `copy_target_credential` | `COPY INTO t BY POSITION`, a credential on `COPY INTO`'s target | | `multi_select_from` | `FROM … INSERT …` / `FROM … SELECT …` with more than one body | | `changes`, `relation_options`, `watermark`, `identified_by`, `nearest_by`, `subquery_sample`, `parenthesized_relation_sample` | `CHANGES`, `WITH (options)` on a relation, `WATERMARK … DELAY OF INTERVAL …` (checked), `IDENTIFIED BY`, `NEAREST BY`, a sample or later relation clause after a parenthesized subquery or relation | | `table_argument_partitioning` | `TABLE t PARTITION BY … ORDER BY …` as a function argument | | `pivot_after_lateral_view`, `identifier_clause_function` | `PIVOT` after `LATERAL VIEW`, `IDENTIFIER(…)(…)` calls | -| `owner`, `managed`, `row_filter`, `column_mask`, `column_tags`, `view_tags`, `view_constraint` | `ALTER TABLE … [SET] OWNER TO`, `SET \| UNSET MANAGED` and `SET EXTERNAL`, row filters (on `ALTER TABLE` and `CREATE TABLE … WITH ROW FILTER`), column masks (on added and created columns), column and view tags, view constraints | -| `cluster_by_expression` | `CLUSTER BY ('text', …)` on `CREATE TABLE`: an expression, parsed and refused later than the parser | -| `drop_feature`, `drop_primary_key`, `drop_foreign_key`, `drop_constraint_cascade`, `drop_partition_purge` | `DROP FEATURE`, `DROP PRIMARY KEY`, `DROP FOREIGN KEY`, `DROP CONSTRAINT … CASCADE`, `DROP PARTITION … PURGE` | -| `constraint_validation` (also after a primary or foreign key in `CREATE TABLE`), `predictive_optimization`, `identity_sync`, `table_collation`, `unset_if_exists` | `ENABLE`/`NOVALIDATE` after an added constraint, `{ENABLE \| DISABLE \| INHERIT} PREDICTIVE OPTIMIZATION` on a table, `SYNC IDENTITY`, a table's `DEFAULT COLLATION`, `UNSET TBLPROPERTIES IF EXISTS` | -| `alter_column_position`, `change_column_position`, `change_column_not_null`, `replace_columns`, `replace_partitioning`, `recover_partitions`, `rename_partition`, `serde`, `partition_change_column`, `view_partition` | column moves, `REPLACE COLUMNS`, `REPLACE PARTITIONED BY WITH CLUSTER BY`, `RECOVER PARTITIONS`, partition renames, SerDe clauses, Hive column changes in a partition, partitions of a view | -| `describe_column`, `show_partition`, `show_create_table_serde` | `DESCRIBE t column`, `PARTITION (…)` on `SHOW`, `SHOW CREATE TABLE … AS SERDE` | -| `declare_cursor`, `undrop_with_id`, `function_credentials`, `function_secrets` | `DECLARE … CURSOR`, `UNDROP … WITH ID`, a function's `CREDENTIALS` and `SECRETS` | +| `change_column_position`, `change_column_not_null`, `replace_columns`, `partition_change_column`, `view_partition`, `alter_column_without_action` | column moves with `CHANGE`, `REPLACE COLUMNS`, Hive column changes in a partition, partitions of a view, a column named with no action after an action kept as a tree | +| `show_create_table_serde` | `SHOW CREATE TABLE … AS SERDE` | +| `declare_cursor`, `function_credentials`, `function_secrets` | `DECLARE … CURSOR`, a function's `CREDENTIALS` and `SECRETS` | ## Lossy mappings @@ -144,13 +167,13 @@ These parse without a gap, but the shared tree keeps less than the source said: - A function's `RETURNS TABLE (columns)` keeps the column list as `returns_table_body` text; its `COMMENT`, `SPECIFIC` and `DEFAULT COLLATION` become `options` properties, and parameter comments and `NOT NULL` are dropped. -- `SHOW TBLPROPERTIES t (key)` holds the key as a string `scope` of `scope_kind` `PROPERTY`: the - shared `Show` has no field for a property key. +- `SHOW TBLPROPERTIES t (key)` holds the key as the `scope` of `scope_kind` `PROPERTY`, a key + written as a string literal as a string and any other as its dotted identifier: the shared `Show` has no field for + a property key. - `GRANT`, `REVOKE`, `CACHE` and `UNCACHE` keep their object's name as one dotted identifier. - A `SET` configuration value, and a time zone that is neither a string nor `LOCAL`, become `Var` text. - A `MATCH_RECOGNIZE` pattern is kept as its source text, after it is checked. -- `ALTER SCHEMA … [SET] RETAIN DROPPED TO n unit` keeps `n unit` as one `Var` operand. ## Implementation notes @@ -160,7 +183,11 @@ These parse without a gap, but the shared tree keeps less than the source said: alternatives, and a `...` or `,...` after an item for one or more of it, bare or comma-separated. Matching follows every reading at once, as a set of token positions, so an optional part never hides a later one. When no pattern reads a statement, the furthest failure - is reported. + is reported. A matched statement's tree is its keyword clauses in order, each a property of its + keywords and values. `IF [NOT] EXISTS`, `IGNORE NULL UPDATES`, `ON METASTORE` and `FOR TABLES` + end their clause unless an optional part opened right after them goes on with it, as + `IGNORE NULL UPDATES ON columns` and `FOR TABLES WHEN expr` do. `* EXCEPT (columns)` is a star + with those columns excepted. - The scanner has no `>>` or `>>>` operator: `>` is always one token, as Spark's lexer makes it inside `ARRAY<…>`, `MAP<…>` and `STRUCT<…>`, and the grammar joins adjacent `>`s into a shift. `REGEXP` is the same token as `RLIKE`. A doubled quote stands for one quote; where backslash @@ -185,4 +212,5 @@ These parse without a gap, but the shared tree keeps less than the source said: - `SET PATH = …` text that the path elements do not read to its end is a configuration, as in Spark. - In `GRANT … ON VIEW TO u`, a kind word followed by `TO` or `FROM` and then a principal is the - securable's name. + securable's name, except a bare `CATALOG` or `METASTORE`, which is that securable left unnamed: + the service answers `ON CATALOG TO u` by asking for the catalog's name. diff --git a/crates/sqlquack-syntax-databricks/src/lib.rs b/crates/sqlquack-syntax-databricks/src/lib.rs index 5b24f8d2c..9a6c17559 100644 --- a/crates/sqlquack-syntax-databricks/src/lib.rs +++ b/crates/sqlquack-syntax-databricks/src/lib.rs @@ -9,4 +9,5 @@ pub mod scan; pub use crate::parse::errors::{ParseError, StrictFailure}; pub use crate::parse::main::parse::parse; pub use crate::parse::main::parse_strict::parse_strict; +pub use crate::parse::main::parse_strict_reviewed::parse_strict_reviewed; pub use sqlquack_syntax::{Gap, Parsed}; diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/alters.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/alters.rs index a0566d7c4..4d7fdcb69 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/alters.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/alters.rs @@ -4,16 +4,30 @@ use sqlquack_syntax::DataType; use sqlquack_syntax::Expression; use sqlquack_syntax::expressions::columns::models::{ AlterColumnAction, AlterTable, AlterTableAction, ColumnDef, ColumnPosition, + MaskingPolicyColumnConstraint, }; use sqlquack_syntax::expressions::names::models::{Identifier, TableRef}; use sqlquack_syntax::expressions::schema_objects::models::{ AlterObject, AlterView, AlterViewAction, }; -use sqlquack_syntax::expressions::tables::models::Partition; +use sqlquack_syntax::expressions::tables::models::{Partition, Properties}; use crate::parse::_helpers::tree::cursor::{Parser, Parsing, is_identifier}; -use crate::parse::_helpers::tree::nodes::{binary, column_from, joined, null, table, var}; -use crate::parse::constants::{ALTER_COLUMN_WORDS, ALTER_KINDS, SET_TAGS}; +use crate::parse::_helpers::tree::nodes::{ + binary, collate, column_from, flagged, joined, null, property, property_node, table, + too_deep_to_keep, tuple, var, +}; +use crate::parse::constants::{ + ALTER_COLUMN_WORDS, ALTER_KINDS, COLUMN_DROP_MASK, COLUMN_POSITION, COLUMN_SET_MASK, + COLUMN_SET_TAGS, COLUMN_SYNC_IDENTITY, COLUMN_UNSET_TAGS, DEFAULT_COLLATION, DROP_FEATURE, + DROP_FOREIGN_KEY, DROP_PRIMARY_KEY, DROP_ROW_FILTER, KEYED_ACTIONS, OWNER_TO, + PREDICTIVE_OPTIMIZATION, RECOVER_PARTITIONS, RENAME_PARTITION, REPLACE_PARTITIONING, + SET_EXTERNAL, SET_MANAGED, SET_OWNER_TO, SET_ROW_FILTER, SET_SERDE, SET_SERDEPROPERTIES, + SET_TAGS, TRUNCATE_UNIFORM_HISTORY, UNSET_MANAGED, +}; + +/// Key and value pairs with the positions of the values written without `=`. +type ValuedProperties = (Vec<(Expression, Expression)>, Vec); /// The text of a property key or value: a string's contents, or a name or number as written. pub(crate) fn property_text(expression: &Expression) -> String { @@ -64,6 +78,23 @@ fn partition_pairs(spec: Vec<(Identifier, Option)>) -> Vec<(Identifi .collect() } +/// An `ALTER VIEW` action with no shared variant, as an `AlterObject` of kind `VIEW`. +fn view_object( + name: TableRef, + action: String, + if_exists: bool, + operands: Vec, +) -> Expression { + Expression::AlterObject(Box::new(AlterObject { + kind: "VIEW".to_owned(), + name: Some(name), + action, + operand_if_exists: if_exists, + operands, + ..Default::default() + })) +} + impl Parser<'_> { /// `ALTER TABLE`, `ALTER VIEW` and `ALTER SCHEMA`; another object kind is an opaque gap. pub(crate) fn alter_statement(&mut self) -> Parsing { @@ -103,13 +134,45 @@ impl Parser<'_> { Ok(None) } + /// The action `key` of `KEYED_ACTIONS` holding `values`, read from `start` as `construct`. + fn keyed_action( + &mut self, + (construct, start): (&'static str, usize), + key: &str, + mut values: Vec, + ) -> Parsing> { + if !KEYED_ACTIONS.contains(&key) || values.iter().any(too_deep_to_keep) { + return self.alter_gap(construct, start); + } + self.treed(construct, start); + let value: Expression = match values.len() { + 0 => null(), + 1 => values.remove(0), + _ => tuple(values), + }; + Ok(Some(AlterTableAction::SetProperty { + properties: vec![(key.to_owned(), value)], + })) + } + /// `propertyList` whose every key has a value, refused as Spark refuses one without. pub(crate) fn valued_property_list(&mut self) -> Parsing> { + Ok(self + .spelled_valued_property_list()? + .into_iter() + .map(|(pair, _)| pair) + .collect()) + } + + /// `valued_property_list`, each pair with whether its value followed the key without `=`. + pub(crate) fn spelled_valued_property_list( + &mut self, + ) -> Parsing> { let at: usize = self.offset(); - let properties: Vec = self.property_list()?; + let properties: Vec<(Expression, bool)> = self.spelled_property_list()?; if properties .iter() - .any(|property| !matches!(property, Expression::Eq(_))) + .any(|(property, _)| !matches!(property, Expression::Eq(_))) { return Err(self.error_with( "Operation not allowed: Values must be specified for key(s)", @@ -117,11 +180,37 @@ impl Parser<'_> { true, )); } - Ok(properties.into_iter().map(property_pair).collect()) + Ok(properties + .into_iter() + .map(|(property, without_equals)| (property_pair(property), without_equals)) + .collect()) + } + + /// `valued_property_list` with the positions of the values written without `=`. + pub(crate) fn valued_properties(&mut self) -> Parsing { + let spelled: Vec<((Expression, Expression), bool)> = self.spelled_valued_property_list()?; + let without_equals: Vec = flagged(&spelled); + Ok(( + spelled.into_iter().map(|(pair, _)| pair).collect(), + without_equals, + )) + } + + /// `propertyList` as a `Properties` node; `valued` refuses a key without a value. + pub(crate) fn properties_node(&mut self, valued: bool) -> Parsing { + let expressions: Vec = match valued { + true => self + .spelled_valued_property_list()? + .into_iter() + .map(|((key, value), without)| property_node(key, value, without)) + .collect(), + false => self.property_list()?, + }; + Ok(Expression::Properties(Box::new(Properties { expressions }))) } /// `propertyList` of keys only, refused as Spark refuses one with a value. - pub(crate) fn key_property_list(&mut self) -> Parsing> { + pub(crate) fn key_property_list(&mut self) -> Parsing> { let at: usize = self.offset(); let properties: Vec = self.property_list()?; if properties @@ -134,7 +223,7 @@ impl Parser<'_> { true, )); } - Ok(properties.iter().map(property_text).collect()) + Ok(properties) } /// A principal: a user, group or service principal name. @@ -150,6 +239,12 @@ impl Parser<'_> { let node: AlterTable = match self.kw("PARTITION") { true => self.partition_alter(node, start)?, false => { + node.columns_parenthesized = self.kw_in(0, &["ADD", "DROP"]) + && self.kw_in(1, &["COLUMN", "COLUMNS"]) + && match self.kw_at(2, "IF") { + true => self.char_at(4, '('), + false => self.char_at(2, '('), + }; node.actions.extend(self.alter_table_action(start)?); node } @@ -160,10 +255,20 @@ impl Parser<'_> { /// An action after `ALTER TABLE t PARTITION (...)`: a rename, a location, a SerDe or columns. fn partition_alter(&mut self, mut node: AlterTable, start: usize) -> Parsing { let spec = self.partition_spec()?; + let deep: bool = too_deep_to_keep(&partition(spec.clone())); if self.eat_kw("RENAME") { self.expect_kw("TO")?; - self.partition_spec()?; - self.gap("rename_partition", start); + let to: Expression = partition(self.partition_spec()?); + if deep { + self.gap("rename_partition", start); + return Ok(node); + } + node.partition = Some(partition_pairs(spec)); + node.actions.extend(self.keyed_action( + ("rename_partition", start), + RENAME_PARTITION, + vec![to], + )?); } else if self.kw("SET") && self.kw_at(1, "LOCATION") { self.at += 2; let location: String = self.string_lit()?; @@ -171,8 +276,14 @@ impl Parser<'_> { node.actions .push(AlterTableAction::SetLocation { location }); } else if self.kw("SET") && self.kw_in(1, &["SERDE", "SERDEPROPERTIES"]) { - self.serde_clause()?; - self.gap("serde", start); + let (key, values) = self.serde_clause()?; + if deep { + self.gap("serde", start); + return Ok(node); + } + node.partition = Some(partition_pairs(spec)); + node.actions + .extend(self.keyed_action(("serde", start), key, values)?); } else if self.eat_kw("CHANGE") { self.eat_kw("COLUMN"); self.hive_change_column()?; @@ -188,18 +299,17 @@ impl Parser<'_> { } /// `SET SERDE 'class' [WITH SERDEPROPERTIES (...)]` or `SET SERDEPROPERTIES (...)`. - fn serde_clause(&mut self) -> Parsing<()> { + fn serde_clause(&mut self) -> Parsing<(&'static str, Vec)> { self.expect_kw("SET")?; if self.eat_kw("SERDE") { - self.string_lit()?; + let mut values: Vec = vec![self.string_literal()?]; if self.eat_kws(&["WITH", "SERDEPROPERTIES"]) { - self.property_list()?; + values.push(tuple(self.property_list()?)); } - return Ok(()); + return Ok((SET_SERDE, values)); } self.expect_kw("SERDEPROPERTIES")?; - self.property_list()?; - Ok(()) + Ok((SET_SERDEPROPERTIES, vec![tuple(self.property_list()?)])) } /// The actions of one `ALTER TABLE` clause; a clause the shared tree cannot hold is a gap. @@ -240,8 +350,8 @@ impl Parser<'_> { "OWNER" => { self.at += 1; self.expect_kw("TO")?; - self.principal()?; - self.alter_gap("owner", start) + let owner: Expression = Expression::Identifier(self.principal()?); + self.keyed_action(("owner", start), OWNER_TO, vec![owner]) } "CLUSTER" if self.kw_at(1, "BY") => { self.at += 2; @@ -260,13 +370,21 @@ impl Parser<'_> { } "DEFAULT" if self.kw_at(1, "COLLATION") => { self.at += 2; - self.ident()?; - self.alter_gap("table_collation", start) + let collation: Expression = Expression::Identifier(self.ident()?); + self.keyed_action( + ("table_collation", start), + DEFAULT_COLLATION, + vec![collation], + ) } "RECOVER" => { self.at += 1; self.expect_kw("PARTITIONS")?; - self.alter_gap("recover_partitions", start) + self.keyed_action( + ("recover_partitions", start), + RECOVER_PARTITIONS, + Vec::new(), + ) } "REPLACE" if self.kw_at(1, "COLUMNS") => { self.at += 2; @@ -280,18 +398,28 @@ impl Parser<'_> { self.expect_kw("WITH")?; self.expect_kw("CLUSTER")?; self.expect_kw("BY")?; + let mut values: Vec = Vec::new(); if self.kw_in(0, &["AUTO", "NONE"]) { + values.push(var(&self.word_at(0).unwrap_or_default())); self.at += 1; } else if self.is_char('(') { - self.parenthesized(|parser| parser.expression())?; + values.push(tuple(self.parenthesized(|parser| parser.expression())?)); } - self.alter_gap("replace_partitioning", start) + self.keyed_action( + ("replace_partitioning", start), + REPLACE_PARTITIONING, + values, + ) } "ENABLE" | "DISABLE" | "INHERIT" => { self.at += 1; self.expect_kw("PREDICTIVE")?; self.expect_kw("OPTIMIZATION")?; - self.alter_gap("predictive_optimization", start) + self.keyed_action( + ("predictive_optimization", start), + PREDICTIVE_OPTIMIZATION, + vec![var(&word)], + ) } _ => Err(self.error()), } @@ -300,6 +428,7 @@ impl Parser<'_> { /// `ADD COLUMN[S] ...`, `ADD [IF NOT EXISTS] PARTITION ...` and `ADD` of a table constraint. fn alter_table_add(&mut self) -> Parsing> { self.expect_kw("ADD")?; + let plural: bool = self.kw("COLUMNS"); if self.eat_kw("COLUMN") || self.eat_kw("COLUMNS") { let columns = match self.is_char('(') { true => self.parenthesized(|parser| parser.added_column())?, @@ -312,6 +441,7 @@ impl Parser<'_> { if_not_exists: false, position, column_keyword: false, + keyword: plural.then(|| "COLUMNS".to_owned()), }) .collect()); } @@ -336,24 +466,18 @@ impl Parser<'_> { return Ok(added); } let constraint = self.table_constraint()?; - let validation: usize = self.offset(); - let mut validated: bool = false; - while self.kw_in(0, &["ENABLE", "DISABLE", "VALIDATE", "NOVALIDATE"]) { - self.at += 1; - validated = true; - } - if validated { - self.gap("constraint_validation", validation); - } + let constraint = self + .constraint_validation(constraint, &["ENABLE", "DISABLE", "VALIDATE", "NOVALIDATE"]); Ok(vec![AlterTableAction::AddConstraint(constraint)]) } /// `qualifiedColTypeWithPosition`, with Databricks' `COLLATE` and `MASK` descriptors. fn added_column(&mut self) -> Parsing<(ColumnDef, Option)> { let name: Identifier = joined(self.multipart_identifier()?); - let data_type: DataType = self.data_type()?; + let (data_type, collation) = self.collated_type()?; let mut column: ColumnDef = ColumnDef::new(String::new(), data_type); column.name = name; + column = collate(column, collation); let mut position: Option = None; loop { let start: usize = self.offset(); @@ -367,8 +491,14 @@ impl Parser<'_> { } else if self.kw_in(0, &["FIRST", "AFTER"]) { position = Some(self.column_position()?); } else if self.eat_kw("MASK") { - self.column_mask()?; - self.gap("column_mask", start); + let mask: Expression = self.column_mask()?; + match too_deep_to_keep(&mask) { + true => self.gap("column_mask", start), + false => { + column.options.push(mask); + self.treed("column_mask", start); + } + } } else { return Ok((column, position)); } @@ -387,17 +517,68 @@ impl Parser<'_> { } /// A column mask after `MASK`: `function [USING COLUMNS (expr, ...)]`. - pub(crate) fn column_mask(&mut self) -> Parsing<()> { - self.multipart_identifier()?; + pub(crate) fn column_mask(&mut self) -> Parsing { + let function: Expression = Expression::Table(Box::new(table(self.multipart_identifier()?))); + let mut expressions: Vec = Vec::new(); if self.eat_kws(&["USING", "COLUMNS"]) { - self.parenthesized(|parser| parser.expression())?; + expressions.push(tuple(self.parenthesized(|parser| parser.expression())?)); } - Ok(()) + Ok(Expression::MaskingPolicyColumnConstraint(Box::new( + MaskingPolicyColumnConstraint { + this: Box::new(function), + expressions, + with: false, + }, + ))) + } + + /// `ON ( [column, ...] )` after a row filter's function: the columns passed to it. + pub(crate) fn row_filter_columns(&mut self) -> Parsing> { + self.expect_kw("ON")?; + self.expect_char('(')?; + let columns: Vec = match self.is_char(')') { + true => Vec::new(), + false => self.comma_list(|parser| parser.expression())?, + }; + self.expect_char(')')?; + Ok(columns) + } + + /// A column's position, mask or identity sync after `values`, the lead words and the column. + fn keyed_column_action( + &mut self, + start: usize, + mut values: Vec, + ) -> Parsing> { + if self.kw_in(0, &["FIRST", "AFTER"]) { + values.push(match self.column_position()? { + ColumnPosition::First => var("FIRST"), + ColumnPosition::After(column) => { + tuple(vec![var("AFTER"), Expression::Identifier(column)]) + } + }); + return self.keyed_action(("alter_column_position", start), COLUMN_POSITION, values); + } + if self.kw("SET") && self.kw_at(1, "MASK") { + self.at += 2; + values.push(self.column_mask()?); + return self.keyed_action(("column_mask", start), COLUMN_SET_MASK, values); + } + if self.kw("DROP") && self.kw_at(1, "MASK") { + self.at += 2; + return self.keyed_action(("column_mask", start), COLUMN_DROP_MASK, values); + } + if self.eat_kw("SYNC") { + self.expect_kw("IDENTITY")?; + return self.keyed_action(("identity_sync", start), COLUMN_SYNC_IDENTITY, values); + } + Ok(None) } /// `DROP` of columns, partitions, constraints, keys, a feature or a row filter. fn alter_table_drop(&mut self, start: usize) -> Parsing> { self.expect_kw("DROP")?; + let plural: bool = self.kw("COLUMNS"); if self.eat_kw("COLUMN") || self.eat_kw("COLUMNS") { let if_exists: bool = self.eat_kws(&["IF", "EXISTS"]); let names: Vec> = match self.is_char('(') { @@ -411,6 +592,7 @@ impl Parser<'_> { if_exists, cascade: false, column_keyword: false, + keyword: plural.then(|| "COLUMNS".to_owned()), }) .collect(); return Ok(dropped); @@ -418,51 +600,66 @@ impl Parser<'_> { if self.eat_kw("CONSTRAINT") { let if_exists: bool = self.eat_kws(&["IF", "EXISTS"]); let name: Identifier = self.ident()?; - let behaviour: usize = self.offset(); - if self.eat_kw("CASCADE") { - self.gap("drop_constraint_cascade", behaviour); - } else { - self.eat_kw("RESTRICT"); - } - return Ok(vec![AlterTableAction::DropConstraint { name, if_exists }]); + let cascade: bool = self.eat_kw("CASCADE"); + let restrict: bool = !cascade && self.eat_kw("RESTRICT"); + return Ok(vec![AlterTableAction::DropConstraint { + name, + if_exists, + restrict, + cascade, + }]); } if self.kw("PRIMARY") { self.at += 1; self.expect_kw("KEY")?; - self.eat_kws(&["IF", "EXISTS"]); - if !self.eat_kw("RESTRICT") { - self.eat_kw("CASCADE"); + let mut values: Vec = Vec::new(); + if self.eat_kws(&["IF", "EXISTS"]) { + values.push(var("IF EXISTS")); + } + if self.eat_kw("RESTRICT") { + values.push(var("RESTRICT")); + } else if self.eat_kw("CASCADE") { + values.push(var("CASCADE")); } return self - .alter_gap("drop_primary_key", start) + .keyed_action(("drop_primary_key", start), DROP_PRIMARY_KEY, values) .map(Vec::from_iter); } if self.kw("FOREIGN") { self.at += 1; self.expect_kw("KEY")?; - self.eat_kws(&["IF", "EXISTS"]); - self.identifier_list()?; + let mut values: Vec = Vec::new(); + if self.eat_kws(&["IF", "EXISTS"]) { + values.push(var("IF EXISTS")); + } + let columns: Vec = self + .identifier_list()? + .into_iter() + .map(Expression::Identifier) + .collect(); + values.push(tuple(columns)); return self - .alter_gap("drop_foreign_key", start) + .keyed_action(("drop_foreign_key", start), DROP_FOREIGN_KEY, values) .map(Vec::from_iter); } if self.eat_kw("FEATURE") { - match self.string_at(0) { - true => { - self.string_lit()?; - } - false => { - self.ident()?; - } - } + let mut values: Vec = vec![match self.string_at(0) { + true => self.string_literal()?, + false => Expression::Identifier(self.ident()?), + }]; if self.eat_kw("TRUNCATE") { self.expect_kw("HISTORY")?; + values.push(var("TRUNCATE HISTORY")); } - return self.alter_gap("drop_feature", start).map(Vec::from_iter); + return self + .keyed_action(("drop_feature", start), DROP_FEATURE, values) + .map(Vec::from_iter); } if self.eat_kw("ROW") { self.expect_kw("FILTER")?; - return self.alter_gap("row_filter", start).map(Vec::from_iter); + return self + .keyed_action(("row_filter", start), DROP_ROW_FILTER, Vec::new()) + .map(Vec::from_iter); } let if_exists: bool = self.eat_kws(&["IF", "EXISTS"]); if !self.kw("PARTITION") { @@ -473,13 +670,10 @@ impl Parser<'_> { while self.eat_char(',') { partitions.push(partition_pairs(self.partition_spec()?)); } - let purge: usize = self.offset(); - if self.eat_kw("PURGE") { - self.gap("drop_partition_purge", purge); - } Ok(vec![AlterTableAction::DropPartition { partitions, if_exists, + purge: self.eat_kw("PURGE"), }]) } @@ -492,32 +686,61 @@ impl Parser<'_> { return self.hive_change_column().map(|action| vec![action]); } if !change && column_keyword && self.tag_column_ahead() { - self.multipart_identifier()?; + let column: Expression = column_from(self.multipart_identifier()?); + let key: &str = match self.kw("SET") { + true => COLUMN_SET_TAGS, + false => COLUMN_UNSET_TAGS, + }; self.at += 1; self.expect_kw("TAGS")?; - self.property_list()?; - return self.alter_gap("column_tags", start).map(Vec::from_iter); + let tags: Expression = tuple(self.property_list()?); + return self + .keyed_action(("column_tags", start), key, vec![column, tags]) + .map(Vec::from_iter); } let mut altered: Vec = Vec::new(); loop { let spec_start: usize = self.offset(); - let name: Identifier = joined(self.multipart_identifier()?); - match self.column_action(spec_start)? { - Some(action) => altered.push(AlterTableAction::AlterColumn { - name, - action, - use_modify_keyword: false, - column_keyword: false, - action_words: None, - }), - None if self.opaque => {} - None => { - return Err(self.error_with( - "Operation not allowed: ALTER TABLE table ALTER COLUMN requires a TYPE, \ - a SET/DROP, a COMMENT, or a FIRST/AFTER", - spec_start, - true, - )); + let parts: Vec = self.multipart_identifier()?; + if parts.len() > 1 && self.kw("SET") && self.kw_at(1, "MASK") { + return Err(self.error_with( + "[COLUMN_MASKS_MULTI_PART_TARGET_COLUMN_NAME] A column mask applies to a \ + top-level column, not a nested field", + spec_start, + true, + )); + } + let lead: Expression = var(match (change, column_keyword) { + (true, true) => "CHANGE COLUMN", + (true, false) => "CHANGE", + (false, true) => "ALTER COLUMN", + (false, false) => "ALTER", + }); + let keyed: Option = + self.keyed_column_action(spec_start, vec![lead, column_from(parts.clone())])?; + let name: Identifier = joined(parts); + if let Some(keyed) = keyed { + altered.push(keyed); + } else { + match self.column_action()? { + Some(action) => altered.push(AlterTableAction::AlterColumn { + name, + action, + use_modify_keyword: false, + column_keyword, + action_words: None, + keyword: change.then(|| "CHANGE".to_owned()), + }), + None if self.opaque => {} + None if self.read_gap() => self.gap("alter_column_without_action", spec_start), + None => { + return Err(self.error_with( + "Operation not allowed: ALTER TABLE table ALTER COLUMN requires a TYPE, \ + a SET/DROP, a COMMENT, or a FIRST/AFTER", + spec_start, + true, + )); + } } } if !self.eat_char(',') { @@ -527,13 +750,9 @@ impl Parser<'_> { Ok(altered) } - /// Whether `name SET|UNSET TAGS` follows, which only `ALTER COLUMN` takes. + /// Whether `name SET|UNSET TAGS` follows, which only `ALTER COLUMN` takes, on a top-level column. fn tag_column_ahead(&self) -> bool { - let mut offset: usize = 1; - while self.char_at(offset, '.') && self.is_at(offset + 1, is_identifier) { - offset += 2; - } - self.kw_in(offset, &["SET", "UNSET"]) && self.kw_at(offset + 1, "TAGS") + self.kw_in(1, &["SET", "UNSET"]) && self.kw_at(2, "TAGS") } /// Whether Hive's `CHANGE name newName type` follows: a second name that begins no action. @@ -576,7 +795,7 @@ impl Parser<'_> { } /// `alterColumnAction`, with Databricks' masks and identity sync; none if absent or a gap. - fn column_action(&mut self, start: usize) -> Parsing> { + fn column_action(&mut self) -> Parsing> { if self.eat_kw("TYPE") { let data_type: DataType = self.data_type()?; return Ok(Some(AlterColumnAction::SetDataType { @@ -589,11 +808,6 @@ impl Parser<'_> { if self.eat_kw("COMMENT") { return Ok(Some(AlterColumnAction::Comment(self.string_lit()?))); } - if self.kw_in(0, &["FIRST", "AFTER"]) { - self.column_position()?; - self.gap("alter_column_position", start); - return Ok(None); - } if self.kw_in(0, &["SET", "DROP"]) && (self.kw_at(1, "NOT") || self.char_at(1, '!')) { let set: bool = self.kw("SET"); self.at += 2; @@ -611,31 +825,14 @@ impl Parser<'_> { self.at += 2; return Ok(Some(AlterColumnAction::DropDefault)); } - if self.kw("SET") && self.kw_at(1, "MASK") { - self.at += 2; - self.column_mask()?; - self.gap("column_mask", start); - return Ok(None); - } - if self.kw("DROP") && self.kw_at(1, "MASK") { - self.at += 2; - self.gap("column_mask", start); - return Ok(None); - } - if self.kw("SYNC") { - self.at += 1; - self.expect_kw("IDENTITY")?; - self.gap("identity_sync", start); - return Ok(None); - } Ok(None) } /// `SET` of table properties, a location, a SerDe, tags, an owner, a row filter or management. fn alter_table_set(&mut self, start: usize) -> Parsing> { if self.kw_at(1, "SERDE") || self.kw_at(1, "SERDEPROPERTIES") { - self.serde_clause()?; - return self.alter_gap("serde", start); + let (key, values) = self.serde_clause()?; + return self.keyed_action(("serde", start), key, values); } self.expect_kw("SET")?; let Some(word) = self.word_at(0) else { @@ -643,9 +840,13 @@ impl Parser<'_> { }; self.at += 1; match word.as_str() { - "TBLPROPERTIES" => Ok(Some(AlterTableAction::SetTableProperties { - properties: self.valued_property_list()?, - })), + "TBLPROPERTIES" => { + let (properties, without_equals) = self.valued_properties()?; + Ok(Some(AlterTableAction::SetTableProperties { + properties, + without_equals, + })) + } "LOCATION" => Ok(Some(AlterTableAction::SetLocation { location: self.string_lit()?, })), @@ -660,32 +861,42 @@ impl Parser<'_> { } "OWNER" => { self.expect_kw("TO")?; - self.principal()?; - self.alter_gap("owner", start) + let owner: Expression = Expression::Identifier(self.principal()?); + self.keyed_action(("owner", start), SET_OWNER_TO, vec![owner]) } "ROW" => { self.expect_kw("FILTER")?; - self.multipart_identifier()?; - self.expect_kw("ON")?; - self.expect_char('(')?; - if !self.is_char(')') { - self.comma_list(|parser| parser.expression())?; - } - self.expect_char(')')?; - self.alter_gap("row_filter", start) + let filter: Expression = + Expression::Table(Box::new(table(self.multipart_identifier()?))); + let columns: Vec = self.row_filter_columns()?; + self.keyed_action( + ("row_filter", start), + SET_ROW_FILTER, + vec![filter, tuple(columns)], + ) } "MANAGED" => { - if !self.eat_kw("COPY") && !self.eat_kw("MOVE") && self.eat_kw("TRUNCATE") { + let mode: Option<&str> = match self.word_at(0).as_deref() { + Some("COPY") => Some("COPY"), + Some("MOVE") => Some("MOVE"), + Some("TRUNCATE") => Some(TRUNCATE_UNIFORM_HISTORY), + _ => None, + }; + if mode.is_some() && !self.eat_kw("COPY") && !self.eat_kw("MOVE") { + self.at += 1; self.expect_kw("UNIFORM")?; self.expect_kw("HISTORY")?; } - self.alter_gap("managed", start) + let values: Vec = mode.map(var).into_iter().collect(); + self.keyed_action(("managed", start), SET_MANAGED, values) } "EXTERNAL" => { - if self.eat_kw("DRY") { + let dry_run: bool = self.eat_kw("DRY"); + if dry_run { self.expect_kw("RUN")?; } - self.alter_gap("managed", start) + let values: Vec = dry_run.then(|| var("DRY RUN")).into_iter().collect(); + self.keyed_action(("managed", start), SET_EXTERNAL, values) } _ => { self.at -= 1; @@ -698,12 +909,10 @@ impl Parser<'_> { fn alter_table_unset(&mut self, start: usize) -> Parsing> { self.expect_kw("UNSET")?; if self.eat_kw("TBLPROPERTIES") { - let if_exists: usize = self.offset(); - if self.eat_kws(&["IF", "EXISTS"]) { - self.gap("unset_if_exists", if_exists); - } - return Ok(Some(AlterTableAction::UnsetProperty { + let if_exists: bool = self.eat_kws(&["IF", "EXISTS"]); + return Ok(Some(AlterTableAction::UnsetTableProperties { properties: self.key_property_list()?, + if_exists, })); } if self.eat_kw("TAGS") { @@ -711,11 +920,16 @@ impl Parser<'_> { return Ok(Some(AlterTableAction::UnsetTag { names })); } self.expect_kw("MANAGED")?; - if self.eat_kw("TRUNCATE") { + let truncate: bool = self.eat_kw("TRUNCATE"); + if truncate { self.expect_kw("UNIFORM")?; self.expect_kw("HISTORY")?; } - self.alter_gap("managed", start) + let values: Vec = truncate + .then(|| var(TRUNCATE_UNIFORM_HISTORY)) + .into_iter() + .collect(); + self.keyed_action(("managed", start), UNSET_MANAGED, values) } fn alter_view(&mut self) -> Parsing { @@ -732,22 +946,19 @@ impl Parser<'_> { } Some("SET") if self.kw_at(1, "TBLPROPERTIES") => { self.at += 2; - let properties: Vec<(String, String)> = self - .valued_property_list()? - .iter() - .map(|(key, value)| (property_text(key), property_text(value))) - .collect(); - Some(AlterViewAction::SetTblproperties(properties)) + let (properties, without_equals) = self.valued_properties()?; + Some(AlterViewAction::SetTableProperties { + properties, + without_equals, + }) } Some("UNSET") if self.kw_at(1, "TBLPROPERTIES") => { self.at += 2; - let if_exists: usize = self.offset(); - if self.eat_kws(&["IF", "EXISTS"]) { - self.gap("unset_if_exists", if_exists); - } - Some(AlterViewAction::UnsetTblproperties( - self.key_property_list()?, - )) + let if_exists: bool = self.eat_kws(&["IF", "EXISTS"]); + Some(AlterViewAction::UnsetTableProperties { + properties: self.key_property_list()?, + if_exists, + }) } Some("OWNER") => { self.at += 1; @@ -759,35 +970,62 @@ impl Parser<'_> { self.expect_kw("TO")?; Some(AlterViewAction::OwnerTo(self.principal()?)) } - Some("SET" | "UNSET") if self.kw_at(1, "TAGS") => { + Some(word @ ("SET" | "UNSET")) if self.kw_at(1, "TAGS") => { + let action: String = format!("{word} TAGS"); self.at += 2; - self.property_list()?; - self.gap("view_tags", start); - None + let tags: Vec = self.tags(word == SET_TAGS)?; + return Ok(view_object(node.name, action, false, tags)); } Some("SET") if self.kw_at(1, "MANAGED") => { self.at += 2; - self.gap("managed", start); - None + return Ok(view_object( + node.name, + SET_MANAGED.to_owned(), + false, + Vec::new(), + )); } Some("WITH") if self.kw_at(1, "SCHEMA") => { self.at += 2; - if !(self.eat_kw("BINDING") - || self.eat_kw("COMPENSATION") - || self.eat_kw("EVOLUTION") - || self.eat_kws(&["TYPE", "EVOLUTION"])) - { - return Err(self.error()); - } - self.gap("schema_binding", start); - None + let binding: &str = match self.word_at(0).as_deref() { + Some("BINDING") => "BINDING", + Some("COMPENSATION") => "COMPENSATION", + Some("EVOLUTION") => "EVOLUTION", + Some("TYPE") if self.kw_at(1, "EVOLUTION") => "TYPE EVOLUTION", + _ => return Err(self.error()), + }; + self.at += binding.split(' ').count(); + let operands: Vec = vec![var(binding)]; + return Ok(view_object( + node.name, + "WITH SCHEMA".to_owned(), + false, + operands, + )); + } + Some("ADD") if self.kw_at(1, "CONSTRAINT") || self.kw_in(1, &["MANY", "ONE"]) => { + self.at += 1; + let mut operands: Vec = Vec::new(); + let action: &str = match self.eat_kw("CONSTRAINT") { + true => { + operands.push(Expression::Identifier(self.ident()?)); + "ADD CONSTRAINT" + } + false => "ADD", + }; + operands.extend(self.relationship_constraint()?); + return Ok(view_object(node.name, action.to_owned(), false, operands)); } - Some("ADD" | "DROP") if self.kw_at(1, "CONSTRAINT") => { + Some("DROP") if self.kw_at(1, "CONSTRAINT") => { self.at += 2; - self.ident()?; - self.skip_statement_rest()?; - self.gap("view_constraint", start); - None + let if_exists: bool = self.eat_kws(&["IF", "EXISTS"]); + let operands: Vec = vec![Expression::Identifier(self.ident()?)]; + return Ok(view_object( + node.name, + "DROP CONSTRAINT".to_owned(), + if_exists, + operands, + )); } Some("ADD") if self.kw_at(1, "PARTITION") || self.kw_at(1, "IF") => { self.at += 1; @@ -813,7 +1051,7 @@ impl Parser<'_> { None } _ => { - self.eat_kw("AS"); + node.as_omitted = !self.eat_kw("AS"); Some(AlterViewAction::AsSelect(Box::new(self.query()?))) } }; @@ -821,8 +1059,67 @@ impl Parser<'_> { Ok(Expression::AlterView(Box::new(node))) } + /// `( 'key' = value, ... )` after `SET TAGS`, or `( 'key', ... )` after `UNSET TAGS`. + fn tags(&mut self, set: bool) -> Parsing> { + self.parenthesized(|parser| { + let key: Expression = parser.string_literal()?; + match set { + true => { + parser.expect_char('=')?; + let value: Expression = parser.primary_expression()?; + Ok(binary(Expression::Eq, key, value)) + } + false => Ok(key), + } + }) + } + + /// A view's `relationship_constraint`: cardinality, target view with alias, then `ON` or `USING`. + fn relationship_constraint(&mut self) -> Parsing> { + let mut cardinality: Vec = Vec::new(); + for expected in [Some(["MANY", "ONE"]), None, Some(["MANY", "ONE"])] { + match expected { + Some(words) if self.kw_in(0, &words) => { + cardinality.push(self.word_at(0).unwrap_or_default()); + self.at += 1; + } + Some(_) => return Err(self.error()), + None => { + self.expect_kw("TO")?; + cardinality.push("TO".to_owned()); + } + } + } + self.expect_kw("RELATIONSHIP")?; + self.expect_kw("TO")?; + let mut target: TableRef = self.table_reference()?; + if let Some(alias) = self.table_alias()? { + target.alias = Some(alias.name); + target.alias_explicit_as = alias.explicit; + target.column_aliases = alias.columns; + } + let join: Expression = match self.eat_kw("ON") { + true => property("ON", Some(self.expression()?)), + false => { + self.expect_kw("USING")?; + let columns: Vec = self + .identifier_list()? + .into_iter() + .map(Expression::Identifier) + .collect(); + property("USING", Some(tuple(columns))) + } + }; + Ok(vec![ + var(&cardinality.join(" ")), + property("RELATIONSHIP TO", Some(Expression::Table(Box::new(target)))), + join, + ]) + } + /// `ALTER SCHEMA` as an `AlterObject` whose action names the clause and holds its operands. fn alter_schema(&mut self) -> Parsing { + let kind: String = self.word_at(0).unwrap_or_default(); self.at += 1; let name: TableRef = table(self.multipart_identifier()?); let (action, operands): (String, Vec) = match self.word_at(0).as_deref() { @@ -833,47 +1130,17 @@ impl Parser<'_> { } Some(word @ ("SET" | "UNSET")) if self.kw_at(1, "TAGS") => { self.at += 2; - let set: bool = word == SET_TAGS; - let tags: Vec = self.parenthesized(|parser| { - let key: Expression = - Expression::Identifier(joined(parser.multipart_identifier()?)); - match set { - true => { - parser.expect_char('=')?; - let value: Expression = parser.primary_expression()?; - Ok(binary(Expression::Eq, key, value)) - } - false => Ok(key), - } - })?; + let tags: Vec = self.tags(word == SET_TAGS)?; (format!("{word} TAGS"), tags) } Some("RETAIN" | "SET") if self.kw_at(0, "RETAIN") || self.kw_at(1, "RETAIN") => { - self.eat_kw("SET"); + let set: bool = self.eat_kw("SET"); self.expect_kw("RETAIN")?; self.expect_kw("DROPPED")?; self.expect_kw("TO")?; - let count: String = self - .expect_token(|token| { - token.kind - == crate::scan::models::TokenKind::Number( - crate::scan::models::NumberKind::Integer, - ) - })? - .value; - let unit: String = match self.word_at(0) { - Some(unit) - if ["HOUR", "HOURS", "DAY", "DAYS", "WEEK", "WEEKS"] - .contains(&unit.as_str()) => - { - unit - } - _ => return Err(self.error()), - }; - self.at += 1; ( - "RETAIN DROPPED TO".to_owned(), - vec![var(&format!("{count} {unit}"))], + format!("{}RETAIN DROPPED TO", if set { "SET " } else { "" }), + vec![self.retention_period()?], ) } Some("SET") if self.kw_at(1, "LOCATION") => { @@ -896,11 +1163,11 @@ impl Parser<'_> { ) } Some("OWNER") | Some("SET") if self.kw_at(1, "TO") || self.kw_at(1, "OWNER") => { - self.eat_kw("SET"); + let set: bool = self.eat_kw("SET"); self.expect_kw("OWNER")?; self.expect_kw("TO")?; ( - "OWNER TO".to_owned(), + format!("{}OWNER TO", if set { "SET " } else { "" }), vec![Expression::Identifier(self.principal()?)], ) } @@ -914,7 +1181,7 @@ impl Parser<'_> { _ => return Err(self.error()), }; Ok(Expression::AlterObject(Box::new(AlterObject { - kind: "SCHEMA".to_owned(), + kind, name: Some(name), arguments: Vec::new(), if_exists: false, diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/creates.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/creates.rs index 720797496..7f7e31d54 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/creates.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/creates.rs @@ -4,27 +4,36 @@ use sqlquack_syntax::DataType; use sqlquack_syntax::Expression; use sqlquack_syntax::expressions::columns::models::{ ColumnConstraint, ColumnDef, ComputedColumn, ConstraintModifiers, ForeignKeyRef, - GeneratedAsIdentity, TableConstraint, + GeneratedAsIdentity, ReferentialAction, TableConstraint, }; -use sqlquack_syntax::expressions::names::models::{Identifier, TableRef}; +use sqlquack_syntax::expressions::names::models::{Identifier, Literal, TableRef}; use sqlquack_syntax::expressions::schema_objects::models::{CreateView, DropView, ViewColumn}; use sqlquack_syntax::expressions::tables::models::{ - ClusterByColumnsProperty, CreateTable, DropTable, FileFormatProperty, LocationProperty, - OptionEntry, OptionsProperty, PartitionedByProperty, Properties, Property, - SchemaCommentProperty, + ClusterByColumnsProperty, ConstraintType, CreateTable, DropTable, FileFormatProperty, + InputOutputFormat, LocationProperty, OptionEntry, OptionsProperty, PartitionedByProperty, + Property, RowFormatDelimitedProperty, RowFormatSerdeProperty, SchemaCommentProperty, + SerdeProperties, StorageHandlerProperty, }; use crate::parse::_helpers::tree::cursor::{Parser, Parsing, is_identifier}; -use crate::parse::_helpers::tree::nodes::{binary, column_from, joined, null, string, tuple, var}; -use crate::parse::constants::{CREATE_KINDS, DROP_KINDS}; -use crate::scan::models::{NumberKind, TokenKind}; +use crate::parse::_helpers::tree::nodes::{ + boolean, collate, column_from, joined, literal, null, table, too_deep_to_keep, tuple, var, +}; +use crate::parse::constants::{ + CREATE_KINDS, DROP_KINDS, DROP_TABLE_FORCE, DROP_TEMPORARY_TABLE, TEMPORARY_VIEW_USING, +}; +use crate::scan::models::{NumberKind, Token, TokenKind}; /// What `CREATE` heads: a table (`OR REPLACE`, `TEMPORARY`, `EXTERNAL`) or a view. pub(crate) struct Head { pub(crate) or_replace: bool, + pub(crate) replace_only: bool, pub(crate) temporary: bool, + pub(crate) temporary_spelling: Option, pub(crate) global: bool, pub(crate) external: bool, + /// The token `CREATE` or `REPLACE` is at. + pub(crate) at: usize, } pub(crate) fn property(name: &str, value: Expression) -> Expression { @@ -34,18 +43,63 @@ pub(crate) fn property(name: &str, value: Expression) -> Expression { })) } +/// `ENABLE` or `DISABLE`, then `VALIDATE` or `NOVALIDATE`, as modifier values, when both read. +fn validation_words( + enable: Option<&str>, + validate: Option<&str>, +) -> Option<(Option, Option)> { + let enabled: Option = match enable { + None => None, + Some("ENABLE") => Some(true), + Some("DISABLE") => Some(false), + Some(_) => return None, + }; + let validated: Option = match validate { + None => None, + Some("VALIDATE") => Some(true), + Some("NOVALIDATE") => Some(false), + Some(_) => return None, + }; + Some((enabled, validated)) +} + +/// The modifiers `constraint` holds, if its kind has them. +fn modifiers_of(constraint: &mut TableConstraint) -> Option<&mut ConstraintModifiers> { + match constraint { + TableConstraint::PrimaryKey { modifiers, .. } + | TableConstraint::ForeignKey { modifiers, .. } + | TableConstraint::Unique { modifiers, .. } + | TableConstraint::Check { modifiers, .. } => Some(modifiers), + _ => None, + } +} + +/// Whether the written foreign key options repeat one or put MATCH between the two actions. +fn order_unsaid(written: &[String]) -> bool { + let distinct: std::collections::BTreeSet<&String> = written.iter().collect(); + let between: bool = written + .iter() + .position(|option| option.starts_with("MATCH")) + .is_some_and(|at| at > 0 && at + 1 < written.len()); + distinct.len() < written.len() || between +} + impl Parser<'_> { /// `CREATE ...` or `REPLACE TABLE ...`; any other `CREATE` is an opaque gap. pub(crate) fn create_statement(&mut self) -> Parsing { let start_at: usize = self.at; let mut head = Head { or_replace: false, + replace_only: false, temporary: false, + temporary_spelling: None, global: false, external: false, + at: start_at, }; if self.eat_kw("REPLACE") { head.or_replace = true; + head.replace_only = true; let temporary: bool = self.kw_in(0, &["TEMP", "TEMPORARY"]) && self.kw_at(1, "TABLE"); if !self.kw("TABLE") && !temporary { return Err(self.error()); @@ -59,7 +113,14 @@ impl Parser<'_> { } let global: bool = self.eat_kw("GLOBAL"); head.global = global; + let temp: bool = self.kw("TEMP"); head.temporary = self.eat_kw("TEMPORARY") || self.eat_kw("TEMP"); + head.temporary_spelling = match (global, temp) { + (true, true) => Some("GLOBAL TEMP".to_owned()), + (true, false) => Some("GLOBAL TEMPORARY".to_owned()), + (false, true) => Some("TEMP".to_owned()), + (false, false) => None, + }; if !global { head.external = self.eat_kw("EXTERNAL"); } @@ -94,7 +155,9 @@ impl Parser<'_> { node.name = name; node.if_not_exists = if_not_exists; node.or_replace = head.or_replace; + node.replace_only = head.replace_only; node.temporary = head.temporary; + node.temporary_spelling = head.temporary_spelling.clone(); if head.external { node.table_modifier = Some("EXTERNAL".to_owned()); } @@ -119,11 +182,10 @@ impl Parser<'_> { constraint, TableConstraint::PrimaryKey { .. } | TableConstraint::ForeignKey { .. } ); - let validation: usize = self.offset(); - if keyed && self.kw_in(0, &["ENABLE", "NOVALIDATE"]) { - while self.eat_kw("ENABLE") || self.eat_kw("NOVALIDATE") {} - self.gap("constraint_validation", validation); - } + let constraint: TableConstraint = match keyed { + true => self.constraint_validation(constraint, &["ENABLE", "NOVALIDATE"]), + false => constraint, + }; node.constraints.push(constraint); } else { node.columns.push(self.column_definition()?); @@ -170,6 +232,7 @@ impl Parser<'_> { let parenthesized: bool = self.is_char('('); node.as_select = Some(self.query()?); node.as_select_parenthesized = parenthesized; + node.as_select_without_as = !as_query; } Ok(Expression::CreateTable(Box::new(node))) } @@ -206,9 +269,25 @@ impl Parser<'_> { let clause: (&'static str, Option) = match word.as_str() { "OPTIONS" if self.char_at(1, '(') => { self.at += 1; - let entries: Vec = + let spelled: Vec<(OptionEntry, bool, bool)> = self.parenthesized(|parser| parser.table_option())?; - let options = Expression::OptionsProperty(Box::new(OptionsProperty { entries })); + let mut entries: Vec = Vec::new(); + let mut string_keys: Vec = Vec::new(); + let mut without_equals: Vec = Vec::new(); + for (at, (entry, string_key, without)) in spelled.into_iter().enumerate() { + if string_key { + string_keys.push(at); + } + if without { + without_equals.push(at); + } + entries.push(entry); + } + let options = Expression::OptionsProperty(Box::new(OptionsProperty { + entries, + string_keys, + without_equals, + })); ("OPTIONS", Some(options)) } "PARTITIONED" if self.kw_at(1, "BY") => { @@ -227,9 +306,9 @@ impl Parser<'_> { self.at += 1; Some(property("CLUSTER BY", var("AUTO"))) } else if self.char_at(0, '(') && self.string_at(1) { - self.parenthesized(|parser| parser.expression())?; - self.gap("cluster_by_expression", start); - None + let expressions: Vec = + self.parenthesized(|parser| parser.expression())?; + Some(property("CLUSTER BY", tuple(expressions))) } else { let columns: Vec = self.parenthesized(|parser| parser.multipart_identifier().map(joined))?; @@ -257,41 +336,33 @@ impl Parser<'_> { } "TBLPROPERTIES" => { self.at += 1; - let expressions: Vec = self - .valued_property_list()? - .into_iter() - .map(|(key, value)| binary(Expression::Eq, key, value)) - .collect(); - let properties = Expression::Properties(Box::new(Properties { expressions })); - ("TBLPROPERTIES", Some(properties)) + ("TBLPROPERTIES", Some(self.properties_node(true)?)) } "WITH" if self.kw_at(1, "ROW") && self.kw_at(2, "FILTER") => { self.at += 3; - self.multipart_identifier()?; - self.expect_kw("ON")?; - self.expect_char('(')?; - if !self.is_char(')') { - self.comma_list(|parser| parser.expression())?; + let filter = Expression::Table(Box::new(table(self.multipart_identifier()?))); + let columns: Vec = self.row_filter_columns()?; + let row_filter = property("WITH ROW FILTER", tuple(vec![filter, tuple(columns)])); + if too_deep_to_keep(&row_filter) { + self.gap("row_filter", start); + return Ok(Some(("WITH", None))); } - self.expect_char(')')?; - self.gap("row_filter", start); - ("WITH", None) + self.treed("row_filter", start); + ("WITH", Some(row_filter)) } "DEFAULT" if self.kw_at(1, "COLLATION") => { self.at += 2; let name: Identifier = self.ident()?; - let collation = property("DEFAULT COLLATION", string(&name.name)); + let collation = property("DEFAULT COLLATION", Expression::Identifier(name)); ("COLLATION", Some(collation)) } - "ROW" if self.kw_at(1, "FORMAT") => { - self.row_format()?; - self.gap("row_format", start); - ("ROW", None) - } + "ROW" if self.kw_at(1, "FORMAT") => ("ROW", Some(self.row_format()?)), "STORED" if self.kw_in(1, &["AS", "BY"]) => { - self.create_file_format()?; - self.gap("stored_as", start); - ("STORED", None) + let format: Option = self.create_file_format()?; + if format.is_none() { + self.gap("stored_as", start); + } + ("STORED", format) } "CLUSTERED" if self.kw_at(1, "BY") => { self.bucket_spec()?; @@ -308,13 +379,14 @@ impl Parser<'_> { Ok(Some(clause)) } - /// One `OPTIONS` entry: adjacent strings are the key and its value unless `=` follows them. - fn table_option(&mut self) -> Parsing { + /// One `OPTIONS` entry, whether its key is a string and whether its value lacks `=`. + fn table_option(&mut self) -> Parsing<(OptionEntry, bool, bool)> { let mut strings: usize = 0; while self.string_at(strings) { strings += 1; } - let key: Identifier = match self.string_at(0) { + let string_key: bool = self.string_at(0); + let key: Identifier = match string_key { true if !self.char_at(strings, '=') => Identifier::new(self.advance()?.value), true => Identifier::new(self.string_lit()?), false => joined(self.multipart_identifier()?), @@ -331,7 +403,7 @@ impl Parser<'_> { )); } let value: Expression = self.expression()?; - Ok(OptionEntry { key, value }) + Ok((OptionEntry { key, value }, string_key, !equals)) } /// `bucketSpec`: `CLUSTERED BY (columns) [SORTED BY (columns)] INTO n BUCKETS`. @@ -370,24 +442,42 @@ impl Parser<'_> { } /// `createFileFormat`: `STORED AS format` or `STORED BY handler`. - pub(crate) fn create_file_format(&mut self) -> Parsing<()> { + pub(crate) fn create_file_format(&mut self) -> Parsing> { + let start: usize = self.offset(); self.expect_kw("STORED")?; if self.eat_kw("BY") { - self.string_lit()?; + let handler: Expression = self.string_literal()?; if self.eat_kws(&["WITH", "SERDEPROPERTIES"]) { self.property_list()?; + return Ok(None); } - return Ok(()); + self.treed("stored_as", start); + return Ok(Some(Expression::StorageHandlerProperty(Box::new( + StorageHandlerProperty { + this: Box::new(handler), + }, + )))); } self.expect_kw("AS")?; - if self.eat_kw("INPUTFORMAT") { - self.string_lit()?; - self.expect_kw("OUTPUTFORMAT")?; - self.string_lit()?; - } else { - self.ident()?; - } - Ok(()) + let format: Expression = match self.eat_kw("INPUTFORMAT") { + true => { + let input: Expression = self.string_literal()?; + self.expect_kw("OUTPUTFORMAT")?; + Expression::InputOutputFormat(Box::new(InputOutputFormat { + input_format: Some(Box::new(input)), + output_format: Some(Box::new(self.string_literal()?)), + })) + } + false => Expression::Identifier(self.ident()?), + }; + self.treed("stored_as", start); + Ok(Some(Expression::FileFormatProperty(Box::new( + FileFormatProperty { + this: Some(Box::new(format)), + expressions: Vec::new(), + hive_format: Some(Box::new(boolean(true))), + }, + )))) } /// `createTableLike` after the new table's name: `LIKE source` and its clauses. @@ -417,15 +507,16 @@ impl Parser<'_> { this: Box::new(path), }))); } else if self.eat_kw("TBLPROPERTIES") { - let expressions: Vec = self.property_list()?; - node.properties - .push(Expression::Properties(Box::new(Properties { expressions }))); + let properties: Expression = self.properties_node(false)?; + node.properties.push(properties); } else if self.kw("ROW") && self.kw_at(1, "FORMAT") { - self.row_format()?; - self.gap("row_format", start); + let format: Expression = self.row_format()?; + node.properties.push(format); } else if self.kw("STORED") && self.kw_in(1, &["AS", "BY"]) { - self.create_file_format()?; - self.gap("stored_as", start); + match self.create_file_format()? { + Some(format) => node.properties.push(format), + None => self.gap("stored_as", start), + } } else { return Ok(Expression::CreateTable(Box::new(node))); } @@ -438,14 +529,16 @@ impl Parser<'_> { node.deep_clone = !node.shallow_clone && self.eat_kw("DEEP"); self.expect_kw("CLONE")?; node.clone_source = Some(self.table_reference()?); - node.clone_at_clause = self.temporal_clause()?.map(Expression::Version); + node.clone_at_clause = match self.at_version()? { + Some(version) => Some(Expression::Version(version)), + None => self.temporal_clause()?.map(Expression::Version), + }; let mut seen: Vec<&str> = Vec::new(); loop { let start: usize = self.offset(); let clause: &str = if self.eat_kw("TBLPROPERTIES") { - let expressions: Vec = self.property_list()?; - node.properties - .push(Expression::Properties(Box::new(Properties { expressions }))); + let properties: Expression = self.properties_node(false)?; + node.properties.push(properties); "TBLPROPERTIES" } else if self.eat_kw("LOCATION") { let path: Expression = self.string_literal()?; @@ -468,37 +561,66 @@ impl Parser<'_> { } } + /// `rowFormat` in a table's definition, marked as a tree not yet reviewed for layout. + fn row_format(&mut self) -> Parsing { + let start: usize = self.offset(); + let format: Expression = self.read_row_format()?; + self.treed("row_format", start); + Ok(format) + } + /// `rowFormat`. - pub(crate) fn row_format(&mut self) -> Parsing<()> { + pub(crate) fn read_row_format(&mut self) -> Parsing { self.expect_kw("ROW")?; self.expect_kw("FORMAT")?; if self.eat_kw("SERDE") { - self.string_lit()?; - if self.eat_kws(&["WITH", "SERDEPROPERTIES"]) { - self.property_list()?; - } - return Ok(()); + let serde: Expression = self.string_literal()?; + let serde_properties: Option> = + match self.eat_kws(&["WITH", "SERDEPROPERTIES"]) { + true => Some(Box::new(Expression::SerdeProperties(Box::new( + SerdeProperties { + expressions: self.property_list()?, + with_: Some(Box::new(boolean(true))), + }, + )))), + false => None, + }; + return Ok(Expression::RowFormatSerdeProperty(Box::new( + RowFormatSerdeProperty { + this: Box::new(serde), + serde_properties, + }, + ))); } self.expect_kw("DELIMITED")?; + let mut node: RowFormatDelimitedProperty = RowFormatDelimitedProperty { + fields: None, + escaped: None, + collection_items: None, + map_keys: None, + lines: None, + null: None, + serde: None, + }; if self.eat_kws(&["FIELDS", "TERMINATED", "BY"]) { - self.string_lit()?; + node.fields = Some(Box::new(self.string_literal()?)); if self.eat_kws(&["ESCAPED", "BY"]) { - self.string_lit()?; + node.escaped = Some(Box::new(self.string_literal()?)); } } if self.eat_kws(&["COLLECTION", "ITEMS", "TERMINATED", "BY"]) { - self.string_lit()?; + node.collection_items = Some(Box::new(self.string_literal()?)); } if self.eat_kws(&["MAP", "KEYS", "TERMINATED", "BY"]) { - self.string_lit()?; + node.map_keys = Some(Box::new(self.string_literal()?)); } if self.eat_kws(&["LINES", "TERMINATED", "BY"]) { - self.string_lit()?; + node.lines = Some(Box::new(self.string_literal()?)); } if self.eat_kws(&["NULL", "DEFINED", "AS"]) { - self.string_lit()?; + node.null = Some(Box::new(self.string_literal()?)); } - Ok(()) + Ok(Expression::RowFormatDelimitedProperty(Box::new(node))) } /// `partitionField`: a column (`name type`), a column name, or a transform call. @@ -526,9 +648,10 @@ impl Parser<'_> { /// `colDefinition`: `name dataType colDefinitionOption*`. pub(crate) fn column_definition(&mut self) -> Parsing { let name: Identifier = self.ident()?; - let data_type: DataType = self.data_type()?; + let (data_type, collation) = self.collated_type()?; let mut column: ColumnDef = ColumnDef::new(String::new(), data_type); column.name = name; + column = collate(column, collation); loop { if (self.kw("NOT") || self.is_char('!')) && self.kw_at(1, "NULL") { self.at += 2; @@ -542,8 +665,14 @@ impl Parser<'_> { } else if self.kw("MASK") { let start: usize = self.offset(); self.at += 1; - self.column_mask()?; - self.gap("column_mask", start); + let mask: Expression = self.column_mask()?; + match too_deep_to_keep(&mask) { + true => self.gap("column_mask", start), + false => { + column.options.push(mask); + self.treed("column_mask", start); + } + } } else if self.kw_in( 0, &[ @@ -555,26 +684,40 @@ impl Parser<'_> { "FOREIGN", ], ) { - if self.eat_kw("CONSTRAINT") { - self.ident()?; - } - if self.kw("PRIMARY") && self.kw_at(1, "KEY") { + let name: Option = match self.eat_kw("CONSTRAINT") { + true => Some(self.ident()?), + false => None, + }; + let kind: ConstraintType = if self.kw("PRIMARY") && self.kw_at(1, "KEY") { self.at += 2; column.primary_key = true; + ConstraintType::PrimaryKey } else if self.eat_kw("UNIQUE") { column.unique = true; + ConstraintType::Unique } else if self.kw("CHECK") { column .constraints .push(ColumnConstraint::Check(self.check_constraint()?)); + ConstraintType::Check } else { - self.eat_kws(&["FOREIGN", "KEY"]); - let reference: ForeignKeyRef = self.reference_spec()?; + let has_foreign_key_keywords: bool = self.eat_kws(&["FOREIGN", "KEY"]); + let mut reference: ForeignKeyRef = self.reference_spec()?; + reference.has_foreign_key_keywords = has_foreign_key_keywords; column .constraints .push(ColumnConstraint::References(Box::new(reference))); + ConstraintType::References + }; + let index: usize = column.constraint_order.len(); + column.constraint_order.push(kind); + column + .constraint_names + .extend(name.map(|name| (index, name))); + let modifiers: ConstraintModifiers = self.constraint_characteristics()?; + if modifiers != ConstraintModifiers::default() { + column.constraint_modifiers.push((index, modifiers)); } - self.constraint_characteristics()?; } else { return Ok(column); } @@ -641,7 +784,7 @@ impl Parser<'_> { false => digits, }; Ok(crate::parse::_helpers::tree::nodes::literal( - sqlquack_syntax::expressions::names::models::Literal::Number(text), + Literal::Number(text), )) } @@ -664,14 +807,32 @@ impl Parser<'_> { false => Vec::new(), }; let mut match_full: bool = false; + let mut on_delete: Option = None; + let mut on_update: Option = None; + let mut on_update_first: bool = false; + let mut match_after_actions: bool = false; + let mut written: Vec = Vec::new(); loop { if self.eat_kws(&["MATCH", "FULL"]) { match_full = true; + match_after_actions = on_delete.is_some() || on_update.is_some(); + written.push("MATCH FULL".to_owned()); } else if self.kw("ON") && self.kw_in(1, &["DELETE", "UPDATE"]) && self.kw_at(2, "NO") && self.kw_at(3, "ACTION") { + match self.kw_at(1, "UPDATE") { + true => { + on_update_first = on_delete.is_none(); + on_update = Some(ReferentialAction::NoAction); + written.push("ON UPDATE NO ACTION".to_owned()); + } + false => { + on_delete = Some(ReferentialAction::NoAction); + written.push("ON DELETE NO ACTION".to_owned()); + } + } self.at += 4; } else { break; @@ -680,37 +841,90 @@ impl Parser<'_> { Ok(ForeignKeyRef { table, columns, - on_delete: None, - on_update: None, - on_update_first: false, + on_delete, + on_update, + on_update_first, match_type: match_full .then_some(sqlquack_syntax::expressions::columns::models::MatchType::Full), - match_after_actions: false, + match_after_actions, constraint_name: None, deferrable: None, has_foreign_key_keywords: false, + written_order: match order_unsaid(&written) { + true => written, + false => Vec::new(), + }, }) } /// `constraintCharacteristic*`: `[NOT] ENFORCED`, `RELY` and `NORELY`. fn constraint_characteristics(&mut self) -> Parsing { let mut modifiers: ConstraintModifiers = ConstraintModifiers::default(); + let mut written: Vec = Vec::new(); loop { if self.eat_kw("ENFORCED") { modifiers.enforced = Some(true); + written.push("ENFORCED".to_owned()); } else if self.kw("NOT") && self.kw_at(1, "ENFORCED") { self.at += 2; modifiers.enforced = Some(false); + written.push("NOT ENFORCED".to_owned()); } else if self.eat_kw("RELY") { modifiers.rely = true; + written.push("RELY".to_owned()); } else if self.eat_kw("NORELY") { modifiers.norely = true; + written.push("NORELY".to_owned()); } else { + if written.len() > 1 { + modifiers.properties = written; + } return Ok(modifiers); } } } + /// `constraint` with the `words` after it as its modifiers when written once each, else a gap. + pub(crate) fn constraint_validation( + &mut self, + mut constraint: TableConstraint, + words: &[&str], + ) -> TableConstraint { + let start: usize = self.offset(); + let mut written: Vec = Vec::new(); + while let Some(word) = self + .word_at(0) + .filter(|word| words.contains(&word.as_str())) + { + self.at += 1; + written.push(word); + } + if written.is_empty() { + return constraint; + } + let read: Option<(Option, Option)> = match written + .iter() + .map(String::as_str) + .collect::>() + .as_slice() + { + [enable] => { + validation_words(None, Some(enable)).or(validation_words(Some(enable), None)) + } + [enable, validate] => validation_words(Some(enable), Some(validate)), + _ => None, + }; + match (read, modifiers_of(&mut constraint)) { + (Some((enabled, validated)), Some(modifiers)) => { + modifiers.enabled = enabled; + modifiers.validated = validated; + self.treed("constraint_validation", start); + } + _ => self.gap("constraint_validation", start), + } + constraint + } + /// `tableConstraintDefinition`. pub(crate) fn table_constraint(&mut self) -> Parsing { let has_constraint_keyword: bool = self.eat_kw("CONSTRAINT"); @@ -795,7 +1009,7 @@ impl Parser<'_> { let name: TableRef = self.table_reference()?; if head.temporary && !if_not_exists && self.temporary_view_using_ahead() { self.at = name_at; - return self.temporary_view_using(); + return self.temporary_view_using(head.at, name_at - 1); } let mut columns: Vec = Vec::new(); if self.is_char('(') { @@ -811,46 +1025,41 @@ impl Parser<'_> { let mut comment: Option = None; let mut table_properties: Vec = Vec::new(); let mut copy_grants: bool = false; + let mut options: Vec = Vec::new(); loop { let start: usize = self.offset(); + if let Some(option) = self.view_option(start)? { + options.push(option); + continue; + } if self.eat_kw("COMMENT") { if comment.is_some() { return Err(self.error_with("Found duplicate clauses: COMMENT", start, true)); } comment = Some(self.string_lit()?); } else if self.eat_kw("TBLPROPERTIES") { - let expressions: Vec = self.property_list()?; - table_properties.push(Expression::Properties(Box::new(Properties { expressions }))); - } else if self.kw("WITH") && self.kw_at(1, "SCHEMA") { - self.at += 2; - if !(self.eat_kw("BINDING") - || self.eat_kw("COMPENSATION") - || self.eat_kw("EVOLUTION") - || self.eat_kws(&["TYPE", "EVOLUTION"])) - { - return Err(self.error()); - } - self.gap("schema_binding", start); + let properties: Expression = self.properties_node(false)?; + table_properties.push(properties); } else if self.kw("WITH") && self.kw_at(1, "METRICS") { if head.global { self.at += 1; return Err(self.error()); } - return self.metric_view(start); - } else if self.kw("DEFAULT") && self.kw_at(1, "COLLATION") { - self.at += 2; - self.ident()?; - self.gap("view_collation", start); - } else if self.kw("PARTITIONED") && self.kw_at(1, "ON") { - self.at += 2; - self.identifier_list()?; - self.gap("view_partitioned_on", start); + let mut node: CreateView = CreateView::new(String::new(), null()); + node.name = name; + node.columns = columns; + node.or_replace = head.or_replace; + node.if_not_exists = if_not_exists; + node.temporary = head.temporary; + node.temporary_spelling = head.temporary_spelling; + node.comment = comment; + node.table_properties = table_properties; + node.copy_grants = copy_grants; + node.options = options; + return self.metric_view(node); } else if self.kw("COPY") && self.char_at(1, '*') { self.at += 2; copy_grants = true; - } else if self.kw("NOCOPY") && self.char_at(1, '*') { - self.at += 2; - self.gap("view_nocopy", start); } else { break; } @@ -878,33 +1087,80 @@ impl Parser<'_> { node.or_replace = head.or_replace; node.if_not_exists = if_not_exists; node.temporary = head.temporary; + node.temporary_spelling = head.temporary_spelling; node.comment = comment; node.table_properties = table_properties; node.query_parenthesized = parenthesized; node.copy_grants = copy_grants; + node.options = options; Ok(Expression::CreateView(Box::new(node))) } - /// `createMetricView` from `WITH METRICS`: its clauses, then `AS $$ body $$`; kept as a gap. - fn metric_view(&mut self, start: usize) -> Parsing { + /// A view's schema binding, default collation, partitioning columns or `NOCOPY *`, read from `start`. + fn view_option(&mut self, start: usize) -> Parsing> { + let (construct, option) = if self.kw("WITH") && self.kw_at(1, "SCHEMA") { + self.at += 2; + let mode: &str = match self.word_at(0).as_deref() { + Some("BINDING") => "BINDING", + Some("COMPENSATION") => "COMPENSATION", + Some("EVOLUTION") => "EVOLUTION", + Some("TYPE") if self.kw_at(1, "EVOLUTION") => "TYPE EVOLUTION", + _ => return Err(self.error()), + }; + self.at += mode.split(' ').count(); + ("schema_binding", property("WITH SCHEMA", var(mode))) + } else if self.kw("DEFAULT") && self.kw_at(1, "COLLATION") { + self.at += 2; + let name: Identifier = self.ident()?; + ( + "view_collation", + property("DEFAULT COLLATION", Expression::Identifier(name)), + ) + } else if self.kw("PARTITIONED") && self.kw_at(1, "ON") { + self.at += 2; + let columns: Vec = self + .identifier_list()? + .into_iter() + .map(Expression::Identifier) + .collect(); + ( + "view_partitioned_on", + property("PARTITIONED ON", tuple(columns)), + ) + } else if self.kw("NOCOPY") && self.char_at(1, '*') { + self.at += 2; + ("view_nocopy", property("NOCOPY", var("*"))) + } else { + return Ok(None); + }; + self.treed(construct, start); + Ok(Some(option)) + } + + /// `createMetricView` from `WITH METRICS`: its clauses, then `AS $$ body $$`, the body as the view's query. + fn metric_view(&mut self, mut node: CreateView) -> Parsing { loop { if self.eat_kws(&["WITH", "METRICS"]) { + node.options.push(property("WITH", var("METRICS"))); } else if self.eat_kw("LANGUAGE") { - self.expect_token(|token| token.kind == TokenKind::Word)?; + let language: Token = self.expect_token(|token| token.kind == TokenKind::Word)?; + node.options + .push(property("LANGUAGE", var(&language.value))); } else if self.eat_kw("COMMENT") { - self.string_lit()?; + node.comment = Some(self.string_lit()?); } else if self.eat_kw("TBLPROPERTIES") { - self.property_list()?; + let properties: Expression = self.properties_node(false)?; + node.table_properties.push(properties); } else { break; } } self.expect_kw("AS")?; - self.expect_token(|token| { + let body: Token = self.expect_token(|token| { token.kind == TokenKind::DollarString && !token.value.is_empty() })?; - self.gap("metric_view", start); - Ok(null()) + node.query = literal(Literal::DollarString(body.value)); + Ok(Expression::CreateView(Box::new(node))) } /// Whether `createTempViewUsing` follows the view name: `USING`, or a column list with types. @@ -917,8 +1173,8 @@ impl Parser<'_> { && !self.kw_at(2, "COMMENT")) } - /// `createTempViewUsing` after the view, every option with a value; kept as a gap. - fn temporary_view_using(&mut self) -> Parsing { + /// `createTempViewUsing` after the view, from `CREATE` at `from` to `VIEW` at `view`; a gap unless its documented form reads it all. + fn temporary_view_using(&mut self, from: usize, view: usize) -> Parsing { let start: usize = self.offset(); self.ident()?; if self.is_char('.') { @@ -954,8 +1210,16 @@ impl Parser<'_> { )); } } - self.gap("temporary_view_using", start); - Ok(null()) + match self.tree_within(from, self.at, view + 1 - from, TEMPORARY_VIEW_USING) { + Some(tree) => { + self.treed("temporary_view_using", start); + Ok(tree) + } + None => { + self.gap("temporary_view_using", start); + Ok(null()) + } + } } /// `DROP TABLE` and `DROP VIEW`; any other `DROP` is an opaque gap. @@ -975,17 +1239,28 @@ impl Parser<'_> { node.names = vec![name]; node.if_exists = if_exists; node.purge = self.eat_kw("PURGE"); - if !temporary { - let start: usize = self.offset(); - if self.eat_kw("FORCE") { - self.gap("drop_table_force", start); - } + let (construct, start, lead, pattern) = match temporary { + true => ( + "drop_temporary_table", + self.tokens[start_at].start, + 3, + DROP_TEMPORARY_TABLE, + ), + false => ("drop_table_force", self.offset(), 2, DROP_TABLE_FORCE), + }; + if !(temporary || self.eat_kw("FORCE")) { + return Ok(Expression::DropTable(Box::new(node))); } - if temporary { - let start: usize = self.tokens[start_at].start; - self.gap("drop_temporary_table", start); + match self.tree_within(start_at, self.at, lead, pattern) { + Some(tree) => { + self.treed(construct, start); + Ok(tree) + } + None => { + self.gap(construct, start); + Ok(Expression::DropTable(Box::new(node))) + } } - Ok(Expression::DropTable(Box::new(node))) } Some("VIEW") => { self.at += 1; diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/delta.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/delta.rs index ce5558082..2eaf00542 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/delta.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/delta.rs @@ -8,10 +8,12 @@ use sqlquack_syntax::expressions::statements::models::{ }; use sqlquack_syntax::expressions::tables::models::Undrop; -use crate::parse::_helpers::commands::alters::{property_pair, property_text}; +use crate::parse::_helpers::commands::alters::property_text; use crate::parse::_helpers::tree::cursor::{Parser, Parsing}; -use crate::parse::_helpers::tree::nodes::{literal, null, subquery, var}; -use crate::parse::constants::MSCK; +use crate::parse::_helpers::tree::nodes::{ + literal, null, property, subquery, too_deep_to_keep, utility, var, +}; +use crate::parse::constants::{MSCK, UNDROP_WITH_ID}; use crate::scan::models::{NumberKind, TokenKind}; fn parameter( @@ -58,12 +60,28 @@ impl Parser<'_> { credentials: Vec::new(), encryption: None, storage: None, + name_quoted: false, + without_equals: Vec::new(), + quoted_keys: Vec::new(), + string_keys: Vec::new(), }; if self.eat_kw("CREDENTIAL") { match self.is_char('(') { true => { - for option in self.option_list()? { - let (key, value) = property_pair(option); + let options = self.spelled_valued_property_list()?; + for (position, ((key, value), without_equals)) in + options.into_iter().enumerate() + { + if without_equals { + credentials.without_equals.push(position); + } + match &key { + Expression::Literal(_) => credentials.string_keys.push(position), + Expression::Identifier(name) if name.quoted => { + credentials.quoted_keys.push(position) + } + _ => {} + } credentials .credentials .push((property_text(&key), property_text(&value))); @@ -71,6 +89,7 @@ impl Parser<'_> { } false => { let name: Identifier = self.ident()?; + credentials.name_quoted = name.quoted; credentials .credentials .push(("CREDENTIAL".to_owned(), name.name)); @@ -95,18 +114,16 @@ impl Parser<'_> { self.expect_kw("COPY")?; self.expect_kw("INTO")?; let target: TableRef = self.table_reference()?; - let start: usize = self.offset(); - if self.kw("WITH") && self.char_at(1, '(') { - self.copy_credentials()?; - self.gap("copy_target_credential", start); - } - let start: usize = self.offset(); - if self.eat_kws(&["BY", "POSITION"]) { - self.gap("copy_by_position", start); - } else if self.is_char('(') { - self.identifier_list()?; - self.gap("copy_columns", start); - } + let target_credentials: Option> = + match self.kw("WITH") && self.char_at(1, '(') { + true => Some(Box::new(self.copy_credentials()?)), + false => None, + }; + let by_position: bool = self.eat_kws(&["BY", "POSITION"]); + let columns: Vec = match !by_position && self.is_char('(') { + true => self.identifier_list()?, + false => Vec::new(), + }; self.expect_kw("FROM")?; let mut credentials: Option> = None; let source: Expression = match self.eat_char('(') { @@ -141,7 +158,10 @@ impl Parser<'_> { let format: Identifier = self.ident()?; params.push(parameter( "FILEFORMAT", - Some(var(&format.name)), + Some(match format.quoted { + true => Expression::Identifier(format), + false => var(&format.name), + }), Vec::new(), true, )); @@ -182,6 +202,9 @@ impl Parser<'_> { credentials, is_into: true, with_wrapped: false, + by_position, + columns, + target_credentials, }))) } @@ -198,103 +221,39 @@ impl Parser<'_> { Ok(null()) } - /// `OPTIMIZE table [FULL] [WHERE predicate] [ZORDER BY (columns)]`, kept as a gap. - pub(crate) fn optimize_statement(&mut self) -> Parsing { - self.checked_gap("optimize", |parser| { - match parser.string_at(0) { - true => { - parser.string_lit()?; - } - false => { - parser.table_reference()?; - } - } - parser.eat_kw("FULL"); - if parser.eat_kw("WHERE") { - parser.expression()?; - } - if parser.eat_kw("ZORDER") { - parser.expect_kw("BY")?; - match parser.is_char('(') { - true => { - parser.parenthesized(|parser| parser.multipart_identifier())?; - } - false => { - parser.comma_list(|parser| parser.multipart_identifier())?; - } - } - } - Ok(()) - }) - } - - /// `VACUUM table [USING INVENTORY ...] [RETAIN n HOURS] [DRY RUN] [FULL | LITE]`, as a gap. - pub(crate) fn vacuum_statement(&mut self) -> Parsing { - self.checked_gap("vacuum", |parser| { - match parser.string_at(0) { - true => { - parser.string_lit()?; - } - false => { - parser.table_reference()?; - } - } - if parser.eat_kws(&["USING", "INVENTORY"]) { - match parser.eat_char('(') { - true => { - parser.query()?; - parser.expect_char(')')?; - } - false => { - parser.multipart_identifier()?; - } - } - } - loop { - if parser.eat_kw("RETAIN") { - parser.expect_token(|token| { - matches!( - token.kind, - TokenKind::Number(NumberKind::Integer | NumberKind::Decimal) - ) - })?; - parser.expect_kw("HOURS")?; - } else if parser.eat_kw("DRY") { - parser.expect_kw("RUN")?; - } else if !(parser.eat_kw("FULL") || parser.eat_kw("LITE")) { - return Ok(()); - } - } - }) - } - - /// `RESTORE [TABLE] table [TO] {VERSION | TIMESTAMP} AS OF value`, kept as a gap. + /// `RESTORE [TABLE] table [TO] {VERSION | TIMESTAMP} AS OF value`: the table, then its version. pub(crate) fn restore_statement(&mut self) -> Parsing { - self.checked_gap("restore", |parser| { - if parser.kw("TABLE") && !parser.kw_at(1, "TO") { - parser.at += 1; - } - parser.table_reference()?; - parser.eat_kw("TO"); - let version: bool = parser.eat_kw("VERSION"); - if !version { - parser.expect_kw("TIMESTAMP")?; - } - parser.expect_kw("AS")?; - parser.expect_kw("OF")?; - match version { - true => { - parser.expect_token(is_integer)?; - } - false => { - parser.expression()?; - } - } - Ok(()) - }) + let start: usize = self.offset(); + self.expect_kw("RESTORE")?; + let mut kind: String = "RESTORE".to_owned(); + if self.kw("TABLE") && !self.kw_at(1, "TO") { + self.at += 1; + kind.push_str(" TABLE"); + } + let target: Expression = Expression::Table(Box::new(self.table_reference()?)); + let mut words: Vec<&str> = self.eat_kw("TO").then_some("TO").into_iter().collect(); + let version: bool = self.eat_kw("VERSION"); + if !version { + self.expect_kw("TIMESTAMP")?; + } + self.expect_kw("AS")?; + self.expect_kw("OF")?; + words.extend([if version { "VERSION" } else { "TIMESTAMP" }, "AS", "OF"]); + let value: Expression = match version { + true => literal(Literal::Number(self.expect_token(is_integer)?.value)), + false => self.expression()?, + }; + let restored: Expression = + utility(kind, vec![target, property(&words.join(" "), Some(value))]); + if too_deep_to_keep(&restored) { + self.gap("restore", start); + return Ok(null()); + } + self.treed("restore", start); + Ok(restored) } - /// `[MSCK] REPAIR TABLE table [{ADD | DROP | SYNC} PARTITIONS | SYNC METADATA]`, as a gap. + /// `REPAIR PRIVILEGES ...`, kept as a gap; `[MSCK] REPAIR TABLE` is a documented form. pub(crate) fn repair_statement(&mut self) -> Parsing { let construct: &'static str = match self.kw("MSCK") { true => MSCK, @@ -303,25 +262,16 @@ impl Parser<'_> { self.checked_gap(construct, |parser| { if construct == MSCK { parser.expect_kw("REPAIR")?; - } else if parser.eat_kw("PRIVILEGES") { - return parser.skip_statement_rest(); - } - parser.expect_kw("TABLE")?; - parser.table_reference()?; - if parser.kw("SYNC") && parser.kw_at(1, "METADATA") { - parser.at += 2; - } else if construct == MSCK && parser.kw("PRIVILEGES") { - parser.at += 1; - } else if parser.kw_in(0, &["ADD", "DROP", "SYNC"]) { - parser.at += 1; - parser.expect_kw("PARTITIONS")?; + parser.expect_kw("TABLE")?; } - Ok(()) + parser.expect_kw("PRIVILEGES")?; + parser.skip_statement_rest() }) } /// `UNDROP {TABLE | MATERIALIZED VIEW | VOLUME} name`; `WITH ID 'id'` is a gap. pub(crate) fn undrop_statement(&mut self) -> Parsing { + let first: usize = self.at; self.expect_kw("UNDROP")?; let kind: &str = match self.word_at(0).as_deref() { Some("TABLE") => "TABLE", @@ -338,8 +288,13 @@ impl Parser<'_> { self.at += 1; let start: usize = self.offset(); if self.kw("WITH") && self.kw_at(1, "ID") { + let lead: usize = self.at - first; self.at += 2; self.string_lit()?; + if let Some(tree) = self.tree_within(first, self.at, lead, UNDROP_WITH_ID) { + self.treed("undrop_with_id", start); + return Ok(tree); + } self.gap("undrop_with_id", start); return Ok(null()); } diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/dml.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/dml.rs index 2bbe35326..446de7f71 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/dml.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/dml.rs @@ -2,15 +2,21 @@ use sqlquack_syntax::Expression; use sqlquack_syntax::expressions::names::models::{Identifier, TableRef}; -use sqlquack_syntax::expressions::queries::models::{Where, With}; -use sqlquack_syntax::expressions::statements::models::{Merge, When, Whens}; +use sqlquack_syntax::expressions::queries::models::{RowFormat, Where, With}; +use sqlquack_syntax::expressions::statements::models::{ + DirectoryInsert, Insert, Merge, When, Whens, +}; -use crate::parse::_helpers::tree::cursor::{Parser, Parsing}; +use crate::parse::_helpers::commands::alters::property_text; +use crate::parse::_helpers::tree::cursor::{ + Parser, Parsing, is_identifier, is_strict_identifier, is_word, +}; use crate::parse::_helpers::tree::nodes::{ - TableAlias, binary, boolean, call, column_from, delete, insert, joined, star, subquery, table, - tuple, update, var, + TableAlias, binary, boolean, call, column_from, default_value, delete, insert, joined, star, + subquery, table, tuple, update, var, }; -use crate::parse::constants::IDENTIFIER_CLAUSE; +use crate::parse::constants::{IDENTIFIER_CLAUSE, REPLACE_ON_QUERY_TAKERS}; +use crate::scan::models::{Token, TokenKind}; /// Which `WHEN` clauses a `MERGE` may still take: matched, then not matched, then by source. #[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] @@ -20,6 +26,45 @@ enum MergeStage { BySource, } +/// The insert's source: a bare `VALUES` list as its rows, any other query as its query. +fn with_source(mut node: Insert, query: Expression) -> Insert { + match query { + Expression::Values(rows) if rows.alias.is_none() && rows.bare_rows.is_empty() => { + node.values = rows + .expressions + .into_iter() + .map(|row| row.expressions.into_iter().map(default_value).collect()) + .collect(); + } + other => node.query = Some(other), + } + node +} + +/// The text of a string literal the parser read. +fn text(value: Option>) -> Option { + value.map(|value| property_text(&value)) +} + +/// A Hive directory's row format: a delimited one without escaping; none otherwise. +fn directory_row_format(row_format: Expression) -> Option { + match row_format { + Expression::RowFormatDelimitedProperty(row) + if row.escaped.is_none() && row.serde.is_none() => + { + Some(RowFormat { + delimited: true, + fields_terminated_by: text(row.fields), + collection_items_terminated_by: text(row.collection_items), + map_keys_terminated_by: text(row.map_keys), + lines_terminated_by: text(row.lines), + null_defined_as: text(row.null), + }) + } + _ => None, + } +} + fn with_alias(mut relation: TableRef, alias: Option) -> TableRef { if let Some(alias) = alias { relation.alias = Some(alias.name); @@ -43,12 +88,9 @@ impl Parser<'_> { Ok(table(self.multipart_identifier()?)) } - /// `WITH SCHEMA EVOLUTION` after `INSERT` or `MERGE`, as a gap. - fn schema_evolution(&mut self) { - let start: usize = self.offset(); - if self.eat_kws(&["WITH", "SCHEMA", "EVOLUTION"]) { - self.gap("schema_evolution", start); - } + /// Whether `WITH SCHEMA EVOLUTION` follows `INSERT` or `MERGE`. + fn schema_evolution(&mut self) -> bool { + self.eat_kws(&["WITH", "SCHEMA", "EVOLUTION"]) } /// `WITH (options)` after an `INSERT` target, as a gap. @@ -79,47 +121,55 @@ impl Parser<'_> { } /// `[LOCAL] DIRECTORY …` after `INSERT OVERWRITE`, in Spark's or Hive's form. - fn overwrite_directory(&mut self) -> Parsing<()> { + fn overwrite_directory(&mut self) -> Parsing { let start: usize = self.offset(); - self.eat_kw("LOCAL"); + let local: bool = self.eat_kw("LOCAL"); self.expect_kw("DIRECTORY")?; let path: bool = self.string_at(0); - if path { - self.string_lit()?; - } + let mut node: DirectoryInsert = DirectoryInsert { + local, + path: match path { + true => self.string_lit()?, + false => String::new(), + }, + row_format: None, + stored_as: None, + input_format: None, + output_format: None, + using: None, + using_quoted: false, + options: Vec::new(), + options_without_equals: Vec::new(), + }; if !self.kw("USING") && path { if self.kw("ROW") { - self.row_format()?; + let row: usize = self.offset(); + node.row_format = directory_row_format(self.read_row_format()?); + if node.row_format.is_none() { + self.gap("directory_row_format", row); + } } if self.kw("STORED") { - self.create_file_format()?; + return self.directory_file_format(node); } - return Ok(()); + return Ok(node); } self.expect_kw("USING")?; - self.multipart_identifier()?; - let mut path_option: bool = false; + let format: Identifier = joined(self.multipart_identifier()?); + node.using_quoted = format.quoted; + node.using = Some(format.name); if self.eat_kw("OPTIONS") { - let at: usize = self.offset(); - let options: Vec = self.property_list()?; - if options - .iter() - .any(|option| !matches!(option, Expression::Eq(_))) - { - return Err(self.error_with( - "Operation not allowed: Values must be specified for key(s)", - at, - true, - )); - } - path_option = options.iter().any(|option| match option { - Expression::Eq(pair) => { - crate::parse::_helpers::commands::alters::property_text(&pair.left) - .eq_ignore_ascii_case("path") - } - _ => false, - }); + let spelled: Vec<((Expression, Expression), bool)> = + self.spelled_valued_property_list()?; + node.options_without_equals = (0..spelled.len()) + .filter(|position| spelled[*position].1) + .collect(); + node.options = spelled.into_iter().map(|(pair, _)| pair).collect(); } + let path_option: bool = node + .options + .iter() + .any(|(key, _)| property_text(key).eq_ignore_ascii_case("path")); if path == path_option { return Err(self.error_with( "Directory path and 'path' in OPTIONS should be specified one, but not both", @@ -127,28 +177,49 @@ impl Parser<'_> { true, )); } - Ok(()) + Ok(node) + } + + /// Hive's `STORED AS` a format name or input and output classes; a storage handler is a gap. + fn directory_file_format(&mut self, mut node: DirectoryInsert) -> Parsing { + if !self.kw_at(1, "AS") { + let start: usize = self.offset(); + self.create_file_format()?; + self.gap("directory_storage_handler", start); + return Ok(node); + } + self.at += 2; + if self.eat_kw("INPUTFORMAT") { + node.input_format = Some(self.string_lit()?); + self.expect_kw("OUTPUTFORMAT")?; + node.output_format = Some(self.string_lit()?); + } else { + node.stored_as = Some(self.ident()?.name); + } + Ok(node) } /// `singleInsertQuery`: `insertInto` and its query, or `( query ) alias`. pub(crate) fn insert_statement(&mut self, with: Option) -> Parsing { self.expect_kw("INSERT")?; - self.schema_evolution(); + let schema_evolution: bool = self.schema_evolution(); let overwrite: bool = self.eat_kw("OVERWRITE"); if !overwrite { self.expect_kw("INTO")?; } if overwrite && (self.kw("DIRECTORY") || (self.kw("LOCAL") && self.kw_at(1, "DIRECTORY"))) { - let start: usize = self.offset(); - self.overwrite_directory()?; - self.query()?; - self.gap("insert_overwrite_directory", start); - return Ok(Expression::Null( - sqlquack_syntax::expressions::names::models::Null, - )); + let mut node = insert(TableRef::new(String::new())); + node.overwrite = true; + node.with = with; + node.schema_evolution = schema_evolution; + node.directory = Some(self.overwrite_directory()?); + let query: Expression = self.query()?; + return Ok(Expression::Insert(Box::new(with_source(node, query)))); } - self.eat_kw("TABLE"); + let table_keyword: bool = self.eat_kw("TABLE"); let mut node = insert(self.table_reference()?); + node.schema_evolution = schema_evolution; + node.table_keyword = table_keyword; node.overwrite = overwrite; node.with = with; let alias: Option = match overwrite { @@ -167,31 +238,28 @@ impl Parser<'_> { self.at += 2; node.by_name = true; } else if self.is_char('(') - && self.is_at(1, crate::parse::_helpers::tree::cursor::is_identifier) + && self.is_at(1, is_identifier) && (self.char_at(2, ',') || self.char_at(2, ')')) { node.columns = self.identifier_list()?; } - let alias: Option = match alias.is_none() - && !overwrite - && self.bare_alias_at(0, true) - && self.kw_at(1, "REPLACE") + let alias_before_replace: bool = + (self.kw("AS") && self.is_at(1, is_strict_identifier) && self.kw_at(2, "REPLACE")) + || (self.bare_alias_at(0, true) && self.kw_at(1, "REPLACE")); + let alias: Option = match alias.is_none() && !overwrite && alias_before_replace { true => self.table_alias()?, false => alias, }; if !overwrite && self.kw("REPLACE") { self.at += 1; - let start: usize = self.offset(); if self.eat_kw("WHERE") { node.replace_where = Some(Box::new(self.expression()?)); } else if self.eat_kw("ON") { - self.expression()?; - self.gap("insert_replace_on", start); + node.replace_on = Some(Box::new(self.replace_on_condition()?)); } else { self.expect_kw("USING")?; - self.identifier_list()?; - self.gap("insert_replace_using", start); + node.replace_using = self.identifier_list()?; } } else if alias.is_some() { return Err(self.error()); @@ -208,22 +276,55 @@ impl Parser<'_> { let alias: Option = self.table_alias()?; match alias { Some(alias) => subquery(query, Some(alias), false), + None if node.replace_on.is_some() => subquery(query, None, false), None => query, } } false => self.query()?, }; - match query { - Expression::Values(rows) if rows.alias.is_none() => { - node.values = rows - .expressions - .into_iter() - .map(|row| row.expressions) - .collect(); + Ok(Expression::Insert(Box::new(with_source(node, query)))) + } + + /// `REPLACE ON`'s condition, ended by a name before `( query`, which is the insert's query. + fn replace_on_condition(&mut self) -> Parsing { + let mut depth: usize = 0; + let mut end: Option = None; + for index in self.at..self.tokens.len() { + match self.tokens[index].kind { + TokenKind::Char('(') => { + let after_name: bool = index > self.at + && is_identifier(&self.tokens[index - 1]) + && !REPLACE_ON_QUERY_TAKERS + .iter() + .any(|word| is_word(&self.tokens[index - 1], word)); + if depth == 0 && after_name && self.starts_query_at(index + 1 - self.at) { + end = Some(index); + break; + } + depth += 1; + } + TokenKind::Char(')') if depth == 0 => break, + TokenKind::Char(')') => depth -= 1, + TokenKind::Char(';') if depth == 0 => break, + _ => {} + } + } + let Some(end) = end else { + return self.expression(); + }; + let rest: Vec = self.tokens.split_off(end); + let condition = self.attempt(|parser| { + let condition: Expression = parser.expression()?; + match parser.at == end { + true => Ok(condition), + false => Err(parser.error()), } - other => node.query = Some(other), + }); + self.tokens.extend(rest); + match condition { + Ok(condition) => Ok(condition), + Err(_) => self.expression(), } - Ok(Expression::Insert(Box::new(node))) } /// `assignmentList`: `key = value, ...`, each as an equality of a column and its value. @@ -231,14 +332,18 @@ impl Parser<'_> { self.comma_list(|parser| { let key: Expression = column_from(parser.multipart_identifier()?); parser.expect_char('=')?; - Ok(binary(Expression::Eq, key, parser.expression()?)) + Ok(binary( + Expression::Eq, + key, + default_value(parser.expression()?), + )) }) } /// `mergeIntoTable`. pub(crate) fn merge_statement(&mut self, with: Option) -> Parsing { self.expect_kw("MERGE")?; - self.schema_evolution(); + let schema_evolution: bool = self.schema_evolution(); self.expect_kw("INTO")?; let target_name: TableRef = self.table_reference()?; let target: TableRef = with_alias(target_name, self.table_alias()?); @@ -288,6 +393,7 @@ impl Parser<'_> { }, with_: with.map(|with| Box::new(Expression::With(Box::new(with)))), returning: None, + schema_evolution, }))) } @@ -344,7 +450,7 @@ impl Parser<'_> { .parenthesized(|parser| Ok(column_from(parser.multipart_identifier()?)))?; self.expect_kw("VALUES")?; let values: Vec = - self.parenthesized(|parser| parser.expression())?; + self.parenthesized(|parser| parser.expression().map(default_value))?; tuple(vec![var("INSERT"), tuple(columns), tuple(values)]) } } @@ -368,7 +474,7 @@ impl Parser<'_> { node.set = self.comma_list(|parser| { let key: Identifier = joined(parser.multipart_identifier()?); parser.expect_char('=')?; - Ok((key, parser.expression()?)) + Ok((key, default_value(parser.expression()?))) })?; if self.eat_kw("WHERE") { node.where_clause = Some(Where { diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/documented.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/documented.rs index edd93ed4e..4c7482e89 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/documented.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/documented.rs @@ -3,9 +3,11 @@ use sqlquack_syntax::Expression; use sqlquack_syntax::expressions::names::models::Identifier; +use crate::parse::_helpers::tree::clauses::Part; use crate::parse::_helpers::tree::cursor::{Parser, Parsing, is_word}; -use crate::parse::constants::{CREATE_STREAMING_TABLE, SYNC}; -use crate::scan::models::Token; +use crate::parse::_helpers::tree::nodes::{utility, var}; +use crate::parse::constants::{CREATE_STREAMING_TABLE, SYNC, TAG_FORMS, TAG_KINDS}; +use crate::scan::models::{Token, TokenKind}; /// Named parts the patterns share; a lower-case word in a pattern names one of these or a slot. pub(crate) const RULES: &[(&str, &str)] = &[ @@ -13,8 +15,8 @@ pub(crate) const RULES: &[(&str, &str)] = &[ ("rename", "RENAME TO name"), ("tags", "SET TAGS props | UNSET TAGS keys"), ( - "name_tags", - "SET TAGS ( { name = literal } ,... ) | UNSET TAGS ( name ,... )", + "string_tags", + "SET TAGS ( { str = literal } ,... ) | UNSET TAGS ( str ,... )", ), ("if_exists", "IF EXISTS"), ("if_not_exists", "IF NOT EXISTS"), @@ -26,6 +28,7 @@ pub(crate) const RULES: &[(&str, &str)] = &[ ("comment", "COMMENT str"), ("collation", "DEFAULT COLLATION id"), ("text", "str | id"), + ("catalog", "str | name"), ("argument", "literal | name"), ("principals", "id ,..."), ( @@ -80,7 +83,7 @@ pub(crate) const RULES: &[(&str, &str)] = &[ ), ( "share_partition", - "PARTITION ( { id [ = literal | LIKE str ] } ,... )", + "PARTITION ( { id { = literal | LIKE str } } ,... )", ), ("cluster_spec", "( name ,... ) | AUTO | NONE"), ( @@ -94,7 +97,7 @@ pub(crate) const RULES: &[(&str, &str)] = &[ ( "pipeline_clause", "USING id | PARTITIONED BY ( { id [ type ] } ,... ) | CLUSTER BY cluster_spec | comment \ - | DEFAULT COLLATION id | TBLPROPERTIES props | REFRESH POLICY id [ STRICT ] | schedule \ + | DEFAULT COLLATION id | TBLPROPERTIES props | REFRESH POLICY { AUTO | INCREMENTAL [ STRICT ] | FULL } | schedule \ | WITH row_filter", ), ("cdc_columns", "* EXCEPT columns | name ,..."), @@ -137,16 +140,21 @@ const FORMS: &[Form] = &[ construct: "alter_catalog", leads: &[&["ALTER", "CATALOG"]], patterns: &[ - "ALTER CATALOG [ name ] { collation | owner | name_tags | predictive \ - | OPTIONS props | SET MANAGED LOCATION str \ + "ALTER CATALOG [ name ] owner", + "ALTER CATALOG [ name ] string_tags", + "ALTER CATALOG [ name ] predictive", + "ALTER CATALOG catalog { collation | OPTIONS props | SET MANAGED LOCATION str \ | [ SET ] RETAIN DROPPED TO int time_unit }", - "ALTER CATALOG name DROP CONNECTION { RESTRICT | FORCE }", + "ALTER CATALOG catalog DROP CONNECTION [ RESTRICT | FORCE ]", ], }, Form { construct: "alter_connection", leads: &[&["ALTER", "CONNECTION"]], - patterns: &["ALTER CONNECTION name { owner | rename | OPTIONS props }"], + patterns: &[ + "ALTER CONNECTION [ name ] owner", + "ALTER CONNECTION name { rename | OPTIONS props }", + ], }, Form { construct: "alter_credential", @@ -160,7 +168,7 @@ const FORMS: &[Form] = &[ Form { construct: "alter_governed_tag", leads: &[&["ALTER", "GOVERNED"]], - patterns: &["ALTER GOVERNED TAG id { SET DESCRIPTION text | SET VALUES ( id ,... ) }"], + patterns: &["ALTER GOVERNED TAG id { SET DESCRIPTION text | SET VALUES ( [ str ,... ] ) }"], }, Form { construct: "alter_external_location", @@ -189,7 +197,7 @@ const FORMS: &[Form] = &[ construct: "alter_recipient", leads: &[&["ALTER", "RECIPIENT"]], patterns: &[ - "ALTER RECIPIENT name { rename | owner | SET PROPERTIES props \ + "ALTER RECIPIENT name { rename | owner | SET PROPERTIES { props | keys } \ | UNSET PROPERTIES keys }", ], }, @@ -197,7 +205,8 @@ const FORMS: &[Form] = &[ construct: "alter_share", leads: &[&["ALTER", "SHARE"]], patterns: &["ALTER SHARE name { { ALTER | ADD } share_object \ - | REMOVE { MATERIALIZED VIEW | TABLE | SCHEMA | VIEW | MODEL } name | rename | owner }"], + | REMOVE { MATERIALIZED VIEW name | { TABLE | SCHEMA | VIEW | MODEL } name | name } \ + | rename | owner }"], }, Form { construct: "alter_volume", @@ -208,9 +217,8 @@ const FORMS: &[Form] = &[ construct: "create_catalog", leads: &[&["CREATE", "CATALOG"]], patterns: &[ - "CREATE CATALOG [ if_not_exists ] name [ { USING SHARE id . id \ - | MANAGED LOCATION str | RETAIN DROPPED FOR int time_unit | comment | collation \ - | OPTIONS props } ... ]", + "CREATE CATALOG [ if_not_exists ] catalog [ { USING SHARE id . id \ + | MANAGED LOCATION str | RETAIN DROPPED FOR int time_unit | comment | collation } ... ]", ], }, Form { @@ -234,13 +242,13 @@ const FORMS: &[Form] = &[ Form { construct: "create_governed_tag", leads: &[&["CREATE", "GOVERNED"]], - patterns: &["CREATE GOVERNED TAG id [ DESCRIPTION text ] [ VALUES ( id ,... ) ]"], + patterns: &["CREATE GOVERNED TAG id [ DESCRIPTION text ] [ VALUES ( [ str ,... ] ) ]"], }, Form { construct: "create_external_location", leads: &[&["CREATE", "EXTERNAL", "LOCATION"]], patterns: &["CREATE EXTERNAL LOCATION [ if_not_exists ] name URL text \ - WITH ( STORAGE CREDENTIAL name ) [ comment ]"], + WITH ( [ STORAGE ] CREDENTIAL name ) [ comment ]"], }, Form { construct: "create_materialized_view", @@ -274,7 +282,7 @@ const FORMS: &[Form] = &[ &["CREATE", "POLICY"], &["CREATE", "OR", "REPLACE", "POLICY"], ], - patterns: &["CREATE [ OR REPLACE ] POLICY id ON policy_target [ comment ] policy_body"], + patterns: &["CREATE [ OR REPLACE ] POLICY id ON policy_on [ comment ] policy_body"], }, Form { construct: "create_procedure", @@ -283,13 +291,13 @@ const FORMS: &[Form] = &[ &["CREATE", "OR", "REPLACE", "PROCEDURE"], ], patterns: &["CREATE [ OR REPLACE ] PROCEDURE [ if_not_exists ] name \ - ( [ procedure_parameter ,... ] ) [ procedure_characteristic ... ] AS statement"], + ( [ procedure_parameter ,... ] ) [ procedure_characteristic ... ] { AS statement | compound }"], }, Form { construct: "create_recipient", leads: &[&["CREATE", "RECIPIENT"]], patterns: &[ - "CREATE RECIPIENT [ if_not_exists ] name [ USING ID id ] [ comment ] \ + "CREATE RECIPIENT [ if_not_exists ] name [ USING ID str ] [ comment ] \ [ PROPERTIES props ]", ], }, @@ -314,7 +322,7 @@ const FORMS: &[Form] = &[ Form { construct: "drop_catalog", leads: &[&["DROP", "CATALOG"]], - patterns: &["DROP CATALOG [ if_exists ] name [ RESTRICT | CASCADE ]"], + patterns: &["DROP CATALOG [ if_exists ] catalog [ RESTRICT | CASCADE ]"], }, Form { construct: "drop_connection", @@ -348,7 +356,7 @@ const FORMS: &[Form] = &[ Form { construct: "drop_policy", leads: &[&["DROP", "POLICY"]], - patterns: &["DROP POLICY [ if_exists ] id ON policy_target"], + patterns: &["DROP POLICY [ if_exists ] id ON policy_on"], }, Form { construct: "drop_procedure", @@ -405,7 +413,10 @@ const FORMS: &[Form] = &[ Form { construct: "set_tag", leads: &[&["SET", "TAG"]], - patterns: &["SET TAG ON tag_target id [ = tag_value ]"], + patterns: &[ + "SET TAG ON tag_target id [ = tag_value ]", + "SET TAG ON name id [ = tag_value ]", + ], }, Form { construct: "signal", @@ -438,15 +449,25 @@ const FORMS: &[Form] = &[ patterns: &[ "ANALYZE TABLE name [ partition ] COMPUTE { STATISTICS [ NOSCAN | columns_for ] \ | DELTA STATISTICS }", - "ANALYZE TABLE name COMPUTE STORAGE METRICS [ USING INVENTORY LOCATION str [ CONF str ] ]", + "ANALYZE TABLE name COMPUTE STORAGE METRICS [ USING INVENTORY LOCATION str CONF str ]", "ANALYZE TABLE name DROP [ ALL | AUTO | MANUAL ] STATISTICS", "ANALYZE TABLES [ { FROM | IN } name ] COMPUTE STATISTICS [ NOSCAN ]", ], }, + Form { + construct: "get", + leads: &[&["GET"]], + patterns: &["GET str TO str"], + }, + Form { + construct: "put", + leads: &[&["PUT"]], + patterns: &["PUT str INTO str [ OVERWRITE ]"], + }, Form { construct: "fsck", leads: &[&["FSCK"]], - patterns: &["FSCK REPAIR TABLE name [ DRY RUN ] [ METADATA ONLY ]"], + patterns: &["FSCK REPAIR TABLE name [ METADATA ONLY ] [ DRY RUN ]"], }, Form { construct: "generate", @@ -465,12 +486,13 @@ const FORMS: &[Form] = &[ construct: "reorg", leads: &[&["REORG"]], patterns: &["REORG [ TABLE ] name [ WHERE expr ] APPLY ( { PURGE \ - | UPGRADE UNIFORM ( ICEBERG_COMPAT_VERSION = int ) } )"], + | UPGRADE UNIFORM ( ICEBERG_COMPAT_VERSION = int ) | CHECKPOINT \ + | SET PARQUET ( FORMAT_VERSION = str ) } )"], }, Form { construct: "call", leads: &[&["CALL"]], - patterns: &["CALL name ( [ { id => expr | expr } ,... ] )"], + patterns: &["CALL table ( [ { id => expr | expr } ,... ] )"], }, Form { construct: "clear_cache", @@ -486,8 +508,7 @@ const FORMS: &[Form] = &[ construct: "execute_immediate", leads: &[&["EXECUTE"]], patterns: &[ - "EXECUTE IMMEDIATE expr [ INTO name ,... ] [ USING { ( { expr [ [ AS ] id ] } ,... ) \ - | { expr [ [ AS ] id ] } ,... } ]", + "EXECUTE IMMEDIATE expr [ INTO name ,... ] [ USING { ( using_arg ,... ) | using_arg ,... } ]", ], }, Form { @@ -592,7 +613,68 @@ const FORMS: &[Form] = &[ Form { construct: "unset_tag", leads: &[&["UNSET"]], - patterns: &["UNSET TAG ON tag_target id"], + patterns: &["UNSET TAG ON tag_target id", "UNSET TAG ON name id"], + }, + Form { + construct: "optimize", + leads: &[&["OPTIMIZE"]], + patterns: &["OPTIMIZE { str | table } [ FULL ] [ WHERE expr ] \ + [ ZORDER BY { ( name ,... ) | name ,... } ]"], + }, + Form { + construct: "vacuum", + leads: &[&["VACUUM"]], + patterns: &[ + "VACUUM { str | table } [ USING INVENTORY { ( query ) | name } ] \ + [ { RETAIN num HOURS | DRY RUN | FULL | LITE } ... ]", + ], + }, + Form { + construct: "repair", + leads: &[&["REPAIR", "TABLE"]], + patterns: &["REPAIR TABLE table [ { ADD | DROP | SYNC } PARTITIONS | SYNC METADATA ]"], + }, + Form { + construct: "msck", + leads: &[&["MSCK", "REPAIR", "TABLE"]], + patterns: &[ + "MSCK REPAIR TABLE table [ { ADD | DROP | SYNC } PARTITIONS | SYNC METADATA | PRIVILEGES ]", + ], + }, + Form { + construct: "commit", + leads: &[&["COMMIT"]], + patterns: &["COMMIT [ TRANSACTION | WORK ]"], + }, + Form { + construct: "rollback", + leads: &[&["ROLLBACK"]], + patterns: &["ROLLBACK [ TRANSACTION | WORK ]"], + }, + Form { + construct: "begin", + leads: &[&["BEGIN", "TRANSACTION"], &["BEGIN", "WORK"]], + patterns: &["BEGIN { TRANSACTION | WORK }"], + }, + Form { + construct: "create_group", + leads: &[&["CREATE", "GROUP"]], + patterns: &["CREATE GROUP id [ WITH { USER id ,... [ GROUP id ,... ] | GROUP id ,... } ]"], + }, + Form { + construct: "alter_group", + leads: &[&["ALTER", "GROUP"]], + patterns: &["ALTER GROUP id { ADD | DROP } { GROUP id ,... | USER id ,... }"], + }, + Form { + construct: "drop_group", + leads: &[&["DROP", "GROUP"]], + patterns: &["DROP GROUP id"], + }, + Form { + construct: "remove", + leads: &[&["REMOVE"]], + patterns: &["REMOVE str"], }, ]; @@ -619,19 +701,28 @@ fn phrase_starts(tokens: &[Token], at: usize, names: &[&str]) -> bool { } impl Parser<'_> { - /// The documented statement starting here, checked and kept as its gap, if one begins here. + /// The documented statement starting here, checked against its patterns, if one begins here. pub(crate) fn documented_statement(&mut self) -> Option> { let form: &Form = FORMS.iter().find(|form| self.begins_form(form))?; + let lead: usize = form + .leads + .iter() + .find(|lead| self.words_follow(lead)) + .map_or(0, |lead| lead.len()); let start: usize = self.offset(); let first: usize = self.at; - let statement: Expression = match self.checked_form(form.construct, start, form.patterns) { - Ok(statement) => statement, - Err(error) => return Some(Err(error)), - }; + let statement: Expression = + match self.checked_form(form.construct, start, lead, form.patterns) { + Ok(statement) => statement, + Err(error) => return Some(Err(error)), + }; let check: Parsing<()> = match form.construct { CREATE_STREAMING_TABLE => self.auto_cdc_check(first), SYNC => self.sync_check(first), - _ => Ok(()), + construct => match TAG_FORMS.iter().find(|(name, _)| *name == construct) { + Some((_, pattern)) => self.tag_check(first, pattern), + None => Ok(()), + }, }; Some(check.map(|()| statement)) } @@ -648,6 +739,26 @@ impl Parser<'_> { .all(|(offset, word)| self.kw_at(offset, word)) } + /// Refuses a tag statement that read a kind word after `ON`, not before `.`, as the name. + fn tag_check(&mut self, first: usize, pattern: &'static str) -> Parsing<()> { + let end: usize = self.at; + let kind_word: bool = TAG_KINDS.iter().any(|word| { + self.tokens + .get(first + 3) + .is_some_and(|token| is_word(token, word)) + }) && !self + .tokens + .get(first + 4) + .is_some_and(|token| token.kind == TokenKind::Char('.')); + if !kind_word { + return Ok(()); + } + self.at = first; + let read: Parsing> = self.form(pattern); + self.at = end; + read.map(|_| ()) + } + /// Refuses `SYNC TABLE target FROM source` whose source is named other than its target. fn sync_check(&mut self, first: usize) -> Parsing<()> { let end: usize = self.at; @@ -705,39 +816,39 @@ impl Parser<'_> { } } - /// Spark's `REFRESH (stringLit | .*?)`: a resource path, quoted or as written. + /// Spark's `REFRESH (stringLit | .*?)`: a resource path, quoted or as written, its one operand. pub(crate) fn refresh_resource(&mut self) -> Parsing { let start: usize = self.offset(); self.expect_kw("REFRESH")?; if self.string_at(0) && self.ends_at(1) { - self.string_lit()?; - } else { - let first: usize = self.at; - self.skip_statement_rest()?; - let path: &str = match self.at > first { - true => &self.sql[self.tokens[first].start..self.tokens[self.at - 1].end], - false => "", - }; - if path.is_empty() { - return Err(self.error_with( - "[INVALID_SQL_SYNTAX.EMPTY_RESOURCE_PATH] Resource paths cannot be empty in \ - REFRESH statements.", - start, - true, - )); - } - if path.contains([' ', '\n', '\r', '\t']) { - return Err(self.error_with( - "[INVALID_SQL_SYNTAX.INVALID_REFRESH_RESOURCE_PATH] REFRESH statements cannot \ - contain ' ', '\\n', '\\r', '\\t' inside unquoted resource paths.", - start, - true, - )); - } + let path: Expression = self.string_literal()?; + self.treed("refresh", start); + return Ok(utility("REFRESH".to_owned(), vec![path])); + } + let first: usize = self.at; + self.skip_statement_rest()?; + let path: &str = match self.at > first { + true => &self.sql[self.tokens[first].start..self.tokens[self.at - 1].end], + false => "", + }; + if path.is_empty() { + return Err(self.error_with( + "[INVALID_SQL_SYNTAX.EMPTY_RESOURCE_PATH] Resource paths cannot be empty in \ + REFRESH statements.", + start, + true, + )); + } + if path.contains([' ', '\n', '\r', '\t']) { + return Err(self.error_with( + "[INVALID_SQL_SYNTAX.INVALID_REFRESH_RESOURCE_PATH] REFRESH statements cannot \ + contain ' ', '\\n', '\\r', '\\t' inside unquoted resource paths.", + start, + true, + )); } - self.gap("refresh", start); - Ok(Expression::Null( - sqlquack_syntax::expressions::names::models::Null, - )) + let path: Expression = var(path); + self.treed("refresh", start); + Ok(utility("REFRESH".to_owned(), vec![path])) } } diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/from.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/from.rs index 421a2b76a..276526f2e 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/from.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/from.rs @@ -4,16 +4,17 @@ use sqlquack_syntax::Expression; use sqlquack_syntax::expressions::names::models::{Identifier, TableRef}; use sqlquack_syntax::expressions::operators::models::Alias; use sqlquack_syntax::expressions::queries::models::{ - From, Join, JoinKind, LateralView, Pivot, Sample, SampleMethod, Select, Stream, Unpivot, + From, Join, JoinKind, LateralView, NearestBy, Pivot, Sample, SampleMethod, Select, Stream, + Unpivot, Watermark, }; use sqlquack_syntax::expressions::statements::models::Version; use crate::parse::_helpers::tree::cursor::{Parser, Parsing, is_identifier, is_strict_identifier}; use crate::parse::_helpers::tree::nodes::{ JoinConstraint, TableAlias, alias, call, column_from, function, in_list, join, joined_table, - lateral, literal, null, subquery, table, tuple, values, + lateral, literal, null, paren, property_node, string, subquery, table, tuple, values, }; -use crate::parse::constants::IDENTIFIER_CLAUSE; +use crate::parse::constants::{AT_TIMESTAMP_DIGITS, IDENTIFIER_CLAUSE}; use crate::scan::models::{NumberKind, TokenKind}; /// `item` with `joins` after it, as one joined table when there are any. @@ -24,6 +25,17 @@ fn collapse(item: Expression, joins: Vec) -> Expression { } } +/// A relation written alone in parentheses, a table marked so that `( t )` and `t` differ. +fn parenthesized(item: Expression) -> Expression { + match item { + Expression::Table(mut relation) => { + relation.parenthesized = true; + Expression::Table(relation) + } + other => other, + } +} + /// `item` under `alias`: its column names rename it, as lineage reads an aliased FROM item. fn aliased(item: Expression, alias: Option) -> Expression { let Some(alias) = alias else { @@ -173,27 +185,43 @@ impl Parser<'_> { } else if self.eat_kw("USING") { JoinConstraint::Using(self.identifier_list()?) } else if self.kw_in(0, &["APPROX", "EXACT"]) && self.kw_at(1, "NEAREST") { - let start: usize = self.offset(); - self.at += 2; - if self - .peek() - .is_some_and(|token| token.kind == TokenKind::Number(NumberKind::Integer)) - { - self.at += 1; - } - self.expect_kw("BY")?; - if !(self.eat_kw("DISTANCE") || self.eat_kw("SIMILARITY")) { - return Err(self.error()); - } - self.expression()?; - self.gap("nearest_by", start); - JoinConstraint::None + let nearest: NearestBy = self.nearest_by()?; + let mut node: Join = join(right, kind, JoinConstraint::None, (inner, outer)); + node.nearest_by = Some(Box::new(nearest)); + return Ok(node); } else { JoinConstraint::None }; Ok(join(right, kind, constraint, (inner, outer))) } + /// `{APPROX | EXACT} NEAREST [num_results] BY {DISTANCE | SIMILARITY} expression`. + fn nearest_by(&mut self) -> Parsing { + let exact: bool = self.kw("EXACT"); + self.at += 2; + let results: Option = match self + .peek() + .is_some_and(|token| token.kind == TokenKind::Number(NumberKind::Integer)) + { + true => Some(self.primary_expression()?), + false => None, + }; + self.expect_kw("BY")?; + let similarity: bool = if self.eat_kw("DISTANCE") { + false + } else if self.eat_kw("SIMILARITY") { + true + } else { + return Err(self.error()); + }; + Ok(NearestBy { + exact, + results, + similarity, + by: self.expression()?, + }) + } + /// `tableAlias`: `[AS] strictIdentifier [(columns)]`, when present. pub(crate) fn table_alias(&mut self) -> Parsing> { let explicit: bool = self.eat_kw("AS"); @@ -219,6 +247,21 @@ impl Parser<'_> { Ok(self.spanned(first, node)) } + /// What `STREAM ( … )` reads: a table name, or a table function call, with no alias. + fn stream_source(&mut self) -> Parsing { + if self.kw("IDENTIFIER") && self.char_at(1, '(') { + self.at += 2; + let name: Expression = self.expression()?; + self.expect_char(')')?; + return Ok(call(IDENTIFIER_CLAUSE, vec![name])); + } + let name: Vec = self.multipart_identifier()?; + match self.is_char('(') { + true => self.function_call(name), + false => Ok(Expression::Table(Box::new(table(name)))), + } + } + fn relation_primary_inner(&mut self, is_lateral: bool) -> Parsing { let start: usize = self.offset(); if self.kw("STREAM") @@ -228,11 +271,25 @@ impl Parser<'_> { && !self.kw_at(1, "AS"))) { self.at += 1; + if self.eat_char('(') { + let inner: Expression = self.stream_source()?; + self.expect_char(')')?; + let watermark: Option> = self.watermark()?.map(Box::new); + let alias: Option = self.table_alias()?; + let stream: Expression = Expression::Stream(Box::new(Stream { + this: paren(inner), + on: None, + show_initial_rows: None, + watermark, + })); + return Ok(aliased(stream, alias)); + } let inner: Expression = self.deeper(|parser| parser.relation_primary_inner(false))?; return Ok(Expression::Stream(Box::new(Stream { this: inner, on: None, show_initial_rows: None, + watermark: None, }))); } if self.is_char('(') && self.kw_in(1, &["DESC", "DESCRIBE"]) { @@ -247,13 +304,16 @@ impl Parser<'_> { } if self.kw("VALUES") { self.at += 1; - let rows: Vec> = self - .comma_list(|parser| parser.expression())? - .into_iter() - .map(row) + let items: Vec = self.comma_list(|parser| parser.expression())?; + let bare_rows: Vec = items + .iter() + .enumerate() + .filter(|(_, item)| !matches!(item, Expression::Tuple(_) | Expression::Paren(_))) + .map(|(at, _)| at) .collect(); + let rows: Vec> = items.into_iter().map(row).collect(); let alias: Option = self.table_alias()?; - return Ok(values(rows, alias)); + return Ok(values(rows, bare_rows, alias)); } if self.kw("IDENTIFIER") && self.char_at(1, '(') { self.at += 2; @@ -276,7 +336,7 @@ impl Parser<'_> { self.ident()?; self.gap("identified_by", clause); } - self.watermark()?; + self.watermark_gap()?; let alias: Option = self.table_alias()?; return Ok(match is_lateral { true => lateral(call, alias), @@ -296,9 +356,18 @@ impl Parser<'_> { Ok(query) }); if let Ok(query) = attempt { - self.trailing_relation_clauses(start, "subquery_sample")?; + let table_sample: Option = match self.kw("TABLESAMPLE") { + true => Some(self.sample()?), + false => None, + }; + let watermark: Option = self.watermark()?; let alias: Option = self.table_alias()?; - return Ok(subquery(query, alias, is_lateral)); + let mut node: Expression = subquery(query, alias, is_lateral); + if let Expression::Subquery(ref mut derived) = node { + derived.table_sample = table_sample.map(Box::new); + derived.watermark = watermark.map(Box::new); + } + return Ok(node); } } self.at += 1; @@ -310,7 +379,8 @@ impl Parser<'_> { (false, Some(alias)) if alias.columns.is_empty() => { joined_table(item, joins, Some(alias.name)) } - (_, alias) => aliased(collapse(item, joins), alias), + (true, alias) => aliased(parenthesized(item), alias), + (false, alias) => aliased(collapse(item, joins), alias), }) } @@ -334,7 +404,7 @@ impl Parser<'_> { if self.kw("TABLESAMPLE") { relation.table_sample = Some(Box::new(self.sample()?)); } - self.watermark()?; + relation.watermark = self.watermark()?.map(Box::new); if let Some(alias) = self.table_alias()? { relation.alias = Some(alias.name); relation.alias_explicit_as = alias.explicit; @@ -349,37 +419,48 @@ impl Parser<'_> { self.sample()?; self.gap(construct, start); } - self.watermark() + self.watermark_gap() } - /// `watermarkClause`: `WATERMARK namedExpression DELAY OF interval`, as a gap. - fn watermark(&mut self) -> Parsing<()> { + /// A `watermarkClause` where the tree has no place for one, as a gap. + fn watermark_gap(&mut self) -> Parsing<()> { + let start: usize = self.offset(); + if self.watermark()?.is_some() { + self.gap("watermark", start); + } + Ok(()) + } + + /// `watermarkClause`: `WATERMARK namedExpression DELAY OF interval`, when written. + fn watermark(&mut self) -> Parsing> { if !self.kw("WATERMARK") || self.terminal_at(1) { - return Ok(()); + return Ok(None); } - let start: usize = self.offset(); self.at += 1; - self.expression()?; - if self.eat_kw("AS") { - match self.is_char('(') { - true => { - self.identifier_list()?; - } - false => { - self.ident()?; - } - } - } else if self.is(is_identifier) && !(self.kw("DELAY") && self.kw_at(1, "OF")) { - self.ident()?; - } + let this: Expression = self.expression()?; + let alias_explicit_as: bool = self.eat_kw("AS"); + let aliases_parenthesized: bool = alias_explicit_as && self.is_char('('); + let aliases: Vec = if aliases_parenthesized { + self.identifier_list()? + } else if alias_explicit_as + || (self.is(is_identifier) && !(self.kw("DELAY") && self.kw_at(1, "OF"))) + { + vec![self.ident()?] + } else { + Vec::new() + }; self.expect_kw("DELAY")?; self.expect_kw("OF")?; if !self.kw("INTERVAL") { return Err(self.error()); } - self.primary_expression()?; - self.gap("watermark", start); - Ok(()) + Ok(Some(Watermark { + this, + aliases, + alias_explicit_as, + aliases_parenthesized, + delay: self.primary_expression()?, + })) } /// The rest of a `changesClause` after `CHANGES FROM`. @@ -440,6 +521,41 @@ impl Parser<'_> { this: Box::new(Expression::Identifier(Identifier::new(kind))), kind: "AS OF".to_owned(), expression: Some(Box::new(value)), + for_keyword: offset == 1, + }))) + } + + /// Delta's `@v` or `@`, written against the table name before it. + pub(crate) fn at_version(&mut self) -> Parsing>> { + let touches: bool = self.at > 0 + && self.is_char('@') + && self.tokens[self.at - 1].end == self.tokens[self.at].start + && self.adjacent(0); + if !touches { + return Ok(None); + } + self.at += 1; + let token = self.advance()?; + let digits = + |text: &str| !text.is_empty() && text.bytes().all(|byte| byte.is_ascii_digit()); + let (kind, value): (&str, &str) = match token.kind { + TokenKind::Word + if token.value.len() > 1 + && token.value.starts_with(['v', 'V']) + && digits(&token.value[1..]) => + { + ("VERSION", &token.value[1..]) + } + TokenKind::Number(NumberKind::Integer) if token.value.len() == AT_TIMESTAMP_DIGITS => { + ("TIMESTAMP", token.value.as_str()) + } + _ => return Err(self.error_with("Syntax error at or near '@'", token.start, true)), + }; + Ok(Some(Box::new(Version { + this: Box::new(Expression::Identifier(Identifier::new(kind))), + kind: "@".to_owned(), + expression: Some(Box::new(string(value))), + for_keyword: false, }))) } @@ -539,7 +655,6 @@ impl Parser<'_> { if self.eat_kw("REPEATABLE") { self.expect_char('(')?; sample.seed = Some(self.primary_expression()?); - sample.use_seed_keyword = true; self.expect_char(')')?; } Ok(sample) @@ -557,13 +672,13 @@ impl Parser<'_> { } /// The alias after a pivot, unpivot or match recognition: `[AS] errorCapturingIdentifier`. - pub(crate) fn pivot_alias(&mut self) -> Parsing> { + pub(crate) fn pivot_alias(&mut self) -> Parsing<(Option, bool)> { if self.eat_kw("AS") { - return Ok(Some(self.ident()?)); + return Ok((Some(self.ident()?), true)); } match self.bare_alias_at(0, false) && !self.join_ahead() { - true => Ok(Some(self.ident()?)), - false => Ok(None), + true => Ok((Some(self.ident()?), false)), + false => Ok((None, false)), } } @@ -604,8 +719,9 @@ impl Parser<'_> { } })?; self.expect_char(')')?; - let name: Option = self.pivot_alias()?; + let (name, alias_explicit_as) = self.pivot_alias()?; Ok(Expression::Pivot(Box::new(Pivot { + alias_explicit_as, this: input, expressions: aggregates, fields: vec![in_list(column, pivoted, None, false)], @@ -663,9 +779,10 @@ impl Parser<'_> { false => parser.unpivot_column(), })?; self.expect_char(')')?; - let name: Option = self.pivot_alias()?; + let (name, alias_explicit_as) = self.pivot_alias()?; let value_column: Identifier = value_columns.remove(0); Ok(Expression::Unpivot(Box::new(Unpivot { + alias_explicit_as, this: input, value_column, name_column, @@ -691,9 +808,13 @@ impl Parser<'_> { false => self.comma_list(|parser| parser.expression())?, }; self.expect_char(')')?; - let table_alias: Identifier = self.ident()?; + let table_alias: Option = match self.kw("AS") { + true => None, + false => Some(self.ident()?), + }; let mut column_aliases: Vec = Vec::new(); - if self.eat_kw("AS") || self.bare_alias_at(0, false) { + let column_aliases_explicit_as: bool = self.eat_kw("AS"); + if column_aliases_explicit_as || self.bare_alias_at(0, false) { column_aliases.push(self.ident()?); while self.is_char(',') && self.bare_alias_at(1, false) { self.at += 1; @@ -702,8 +823,9 @@ impl Parser<'_> { } views.push(LateralView { this: Expression::Function(Box::new(function(name, args))), - table_alias: Some(table_alias), + table_alias, column_aliases, + column_aliases_explicit_as, outer, }); } @@ -712,11 +834,20 @@ impl Parser<'_> { /// `propertyList`: `( key [=] value, ... )`, as `key = value` pairs. pub(crate) fn property_list(&mut self) -> Parsing> { + Ok(self + .spelled_property_list()? + .into_iter() + .map(|(property, _)| property) + .collect()) + } + + /// `propertyList`, each property with whether its value followed the key without `=`. + pub(crate) fn spelled_property_list(&mut self) -> Parsing> { self.parenthesized(|parser| parser.property(false)) } - /// `property`, or with `expressions` an `expressionProperty`, whose value is any expression. - pub(crate) fn property(&mut self, expressions: bool) -> Parsing { + /// `property` (with `expressions`, `expressionProperty`) and whether its value lacks an `=`. + pub(crate) fn property(&mut self, expressions: bool) -> Parsing<(Expression, bool)> { let mut strings: usize = 0; while self.string_at(strings) { strings += 1; @@ -727,9 +858,7 @@ impl Parser<'_> { crate::parse::_helpers::tree::nodes::string(&token.value) } true => self.string_literal()?, - false => Expression::Identifier(crate::parse::_helpers::tree::nodes::joined( - self.multipart_identifier()?, - )), + false => crate::parse::_helpers::tree::nodes::qualified(self.multipart_identifier()?), }; let equals: bool = self.eat_char('='); let value: Option = if expressions && (equals || !self.terminal_at(0)) { @@ -740,8 +869,8 @@ impl Parser<'_> { None }; Ok(match value { - Some(value) => crate::parse::_helpers::tree::nodes::binary(Expression::Eq, key, value), - None => key, + Some(value) => (property_node(key, value, !equals), !equals), + None => (key, false), }) } diff --git a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/queries.rs b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/queries.rs index 447d19d39..c315f0999 100644 --- a/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/queries.rs +++ b/crates/sqlquack-syntax-databricks/src/parse/_helpers/commands/queries.rs @@ -2,7 +2,7 @@ use sqlquack_syntax::Expression; use sqlquack_syntax::expressions::names::models::Identifier; -use sqlquack_syntax::expressions::operators::models::Alias; +use sqlquack_syntax::expressions::operators::models::{Alias, GroupingSets}; use sqlquack_syntax::expressions::queries::models::{ ClusterBy, Cte, DistributeBy, From, GroupBy, Having, Hint, HintExpression, Limit, NamedWindow, OrderBy, Ordered, Qualify, Select, SortBy, Where, With, @@ -10,7 +10,7 @@ use sqlquack_syntax::expressions::queries::models::{ use crate::parse::_helpers::tree::cursor::{Parser, Parsing, is_identifier}; use crate::parse::_helpers::tree::nodes::{ - TableAlias, binary, call, cte, null, set_operation, star, subquery, tuple, + TableAlias, binary, call, cte, null, set_operation, star, subquery, tuple, var, }; use crate::parse::constants::{CUBE, GROUPING_SETS, ROLLUP}; use crate::scan::models::TokenKind; @@ -48,7 +48,7 @@ fn order_by(expressions: Vec) -> OrderBy { } } -fn limit(this: Expression) -> Limit { +pub(crate) fn limit(this: Expression) -> Limit { Limit { this, percent: false, @@ -267,11 +267,13 @@ impl Parser<'_> { token.kind == TokenKind::Number(crate::scan::models::NumberKind::Integer) })?; } - self.eat_kw("AS"); + let as_omitted: bool = !self.eat_kw("AS"); self.expect_char('(')?; let body: Expression = self.query()?; self.expect_char(')')?; - Ok(cte(name, columns, body)) + let mut node: Cte = cte(name, columns, body); + node.as_omitted = as_omitted; + Ok(node) } /// `queryTerm` of at least precedence `min`, every operator left-associative. @@ -283,8 +285,12 @@ impl Parser<'_> { if min > 1 { return Ok(left); } + let token: &str = match self.is_op("|>") { + true => "|>", + false => "|", + }; self.at += 1; - left = self.deeper(|parser| parser.pipe(left))?; + left = self.deeper(|parser| parser.pipe(left, token))?; continue; } let operator: String = match self.word_at(0) { @@ -332,6 +338,7 @@ impl Parser<'_> { select.from = Some(From { expressions: vec![item], }); + select.table_statement = true; Ok(Expression::Select(Box::new(select))) } Some("VALUES") => self.inline_table(), @@ -391,29 +398,39 @@ impl Parser<'_> { /// One or more `/*+ ... */` hints. fn hints(&mut self) -> Parsing { - let mut expressions: Vec = Vec::new(); + let mut hint: Hint = Hint { + source_dialect: None, + expressions: Vec::new(), + quoted_names: Vec::new(), + without_commas: Vec::new(), + }; while self.is_kind(TokenKind::HintStart) { self.at += 1; + let mut comma: bool = true; loop { let name: Identifier = self.name(is_identifier)?; - expressions.push(match self.is_char('(') { + let at: usize = hint.expressions.len(); + if name.quoted { + hint.quoted_names.push(at); + } + if !comma { + hint.without_commas.push(at); + } + hint.expressions.push(match self.is_char('(') { true => HintExpression::Function { name: name.name, args: self.parenthesized(|parser| parser.primary_expression())?, }, false => HintExpression::Identifier(name.name), }); - self.eat_char(','); + comma = self.eat_char(','); if self.is_kind(TokenKind::HintEnd) { break; } } self.at += 1; } - Ok(Hint { - source_dialect: None, - expressions, - }) + Ok(hint) } /// Whether the current token is of `kind`. @@ -472,19 +489,26 @@ impl Parser<'_> { all: Some(true), totals: false, comments: Vec::new(), + with_modifier: false, }); } let items: Vec = self.comma_list(|parser| parser.group_item())?; - let expressions: Vec = if self.kw("WITH") && self.kw_in(1, &[ROLLUP, CUBE]) { + let with_kind: bool = self.kw("WITH") && self.kw_in(1, &[ROLLUP, CUBE]); + let hive_sets: bool = self.kw("GROUPING") && self.kw_at(1, "SETS"); + let with_modifier: bool = with_kind || hive_sets; + let expressions: Vec = if with_kind { let name: String = self.word_at(1).unwrap_or_default(); self.at += 2; vec![call(&name, items)] - } else if self.kw("GROUPING") && self.kw_at(1, "SETS") { + } else if hive_sets { self.at += 2; - vec![call( - GROUPING_SETS, - self.parenthesized(|parser| parser.grouping_set())?, - )] + let sets: Vec = self.parenthesized(|parser| parser.grouping_set())?; + let mut kept: Vec = items; + kept.push(Expression::GroupingSets(Box::new(GroupingSets { + options: None, + expressions: sets, + }))); + kept } else { items }; @@ -493,6 +517,7 @@ impl Parser<'_> { all: None, totals: false, comments: Vec::new(), + with_modifier, }) } @@ -570,7 +595,7 @@ impl Parser<'_> { } if self.eat_kw("LIMIT") { organization.limit = Some(match self.eat_kw("ALL") { - true => null(), + true => var("ALL"), false => self.expression()?, }); } @@ -580,9 +605,10 @@ impl Parser<'_> { Ok(organization) } - /// `operatorPipeRightSide` after `|>`, applied to `left` as the select it amounts to. - fn pipe(&mut self, left: Expression) -> Parsing { + /// `operatorPipeRightSide` after the pipe `token`, applied to `left` as the select it amounts to. + fn pipe(&mut self, left: Expression, token: &str) -> Parsing { let word: String = self.word_at(0).unwrap_or_default(); + let mark = |operator: &str| format!("{token} {operator}"); let select: Select = match word.as_str() { "SELECT" => { let mut select: Select = self.select_clause(pipe_input(left, false))?; @@ -602,22 +628,7 @@ impl Parser<'_> { .extend(self.comma_list(|parser| parser.named_expression())?); select } - "SET" => { - self.at += 1; - let replace: Vec = self.comma_list(|parser| { - let name: Identifier = parser.ident()?; - parser.expect_char('=')?; - Ok(Alias::new(parser.expression()?, name)) - })?; - let mut select: Select = pipe_input(left, false); - select.expressions = vec![Expression::Star(Box::new( - sqlquack_syntax::expressions::names::models::Star { - replace: Some(replace), - ..star(None, None) - }, - ))]; - select - } + "SET" => self.pipe_set(left)?, "DROP" => { self.at += 1; let except: Vec = self.name_parts_list()?; @@ -625,66 +636,9 @@ impl Parser<'_> { select.expressions = vec![Expression::Star(Box::new(star(None, Some(except))))]; select } - "AS" => { - self.at += 1; - let name: Identifier = self.ident()?; - let alias = TableAlias { - name, - columns: Vec::new(), - explicit: true, - }; - let mut select: Select = Select::new(); - select.expressions = vec![Expression::Star(Box::new(star(None, None)))]; - select.from = Some(From { - expressions: vec![subquery(left, Some(alias), false)], - }); - select - } - "WHERE" => { - self.at += 1; - let condition: Expression = self.expression()?; - if self.kw("WINDOW") { - return Err(self.error_with( - "the WHERE pipe operator takes no WINDOW clause", - self.offset(), - false, - )); - } - let mut select: Select = pipe_input(left, false); - select.where_clause = Some(Where { - this: match select.where_clause.take() { - Some(earlier) => binary(Expression::And, earlier.this, condition), - None => condition, - }, - }); - select - } - "PIVOT" | "UNPIVOT" => { - let input: Expression = match pipe_input(left, true) { - select - if select.joins.is_empty() - && select.lateral_views.is_empty() - && select.where_clause.is_none() - && select - .from - .as_ref() - .is_some_and(|from| from.expressions.len() == 1) => - { - select - .from - .map(|mut from| from.expressions.remove(0)) - .unwrap_or_else(null) - } - select => subquery(Expression::Select(Box::new(select)), None, false), - }; - let pivoted: Expression = self.pivot_or_unpivot(input)?; - let mut select: Select = Select::new(); - select.expressions = vec![Expression::Star(Box::new(star(None, None)))]; - select.from = Some(From { - expressions: vec![pivoted], - }); - select - } + "AS" => self.pipe_as(left)?, + "WHERE" => self.pipe_where(left)?, + "PIVOT" | "UNPIVOT" => self.pipe_pivot(left)?, "TABLESAMPLE" => { let sample = self.sample()?; let mut select: Select = wrapped(left); @@ -696,47 +650,147 @@ impl Parser<'_> { let all: bool = self.eat_kw("ALL"); let distinct: bool = !all && self.eat_kw("DISTINCT"); let right: Expression = self.query_primary()?; - return Ok(set_operation(&word, left, right, (all, distinct))); + wrapped(set_operation(&word, left, right, (all, distinct))) } "ORDER" | "CLUSTER" | "DISTRIBUTE" | "SORT" | "WINDOW" | "LIMIT" | "OFFSET" => { let organization: Organization = self.organization()?; if organization.is_empty() { return Err(self.error()); } - return Ok(organized(left, organization)); + match organized(left, organization) { + Expression::Select(select) => *select, + other => wrapped(other), + } } - "AGGREGATE" => { - self.at += 1; - let mut select: Select = pipe_input(left, false); - let aggregates: Vec = - match self.terminal_at(0) || (self.kw("GROUP") && self.kw_at(1, "BY")) { - true => Vec::new(), - false => self.comma_list(|parser| parser.named_expression())?, - }; - let group: Option = match self.kw("GROUP") && self.kw_at(1, "BY") { - true => Some(self.group_by()?), - false => None, + "AGGREGATE" => self.pipe_aggregate(left)?, + _ if self.terminal_at(0) => { + let mut select: Select = match left { + Expression::Select(select) => *select, + other => wrapped(other), }; - let keys: Vec = group - .as_ref() - .map(|group| group.expressions.clone()) - .unwrap_or_default(); - select.expressions = keys.into_iter().chain(aggregates).collect(); - select.group_by = group; - select + select.pipe_operators.push(token.to_owned()); + return Ok(Expression::Select(Box::new(select))); } - _ if self.terminal_at(0) => return Ok(left), _ if self.at_join() => { let join = self.join_relation()?; let mut select: Select = pipe_input(left, true); select.joins.push(join); - select + select.pipe_operators.push(mark("JOIN")); + return Ok(Expression::Select(Box::new(select))); } _ => return Err(self.error()), }; + let mut select: Select = select; + select.pipe_operators.push(mark(&word)); Ok(Expression::Select(Box::new(select))) } + /// `|> SET c = e, ...`: the input with those columns replaced. + fn pipe_set(&mut self, left: Expression) -> Parsing { + self.at += 1; + let name: Identifier = self.ident()?; + let alias = TableAlias { + name, + columns: Vec::new(), + explicit: true, + }; + let mut select: Select = Select::new(); + select.expressions = vec![Expression::Star(Box::new(star(None, None)))]; + select.from = Some(From { + expressions: vec![subquery(left, Some(alias), false)], + }); + Ok(select) + } + + /// `|> WHERE condition`: the input filtered, joined to an earlier filter with AND. + fn pipe_where(&mut self, left: Expression) -> Parsing { + let input: Expression = match pipe_input(left, true) { + select + if select.joins.is_empty() + && select.lateral_views.is_empty() + && select.where_clause.is_none() + && select + .from + .as_ref() + .is_some_and(|from| from.expressions.len() == 1) => + { + select + .from + .map(|mut from| from.expressions.remove(0)) + .unwrap_or_else(null) + } + select => subquery(Expression::Select(Box::new(select)), None, false), + }; + let pivoted: Expression = self.pivot_or_unpivot(input)?; + let mut select: Select = Select::new(); + select.expressions = vec![Expression::Star(Box::new(star(None, None)))]; + select.from = Some(From { + expressions: vec![pivoted], + }); + Ok(select) + } + + /// `|> AGGREGATE ... [GROUP BY ...]`: the grouping keys, then the aggregates. + fn pipe_aggregate(&mut self, left: Expression) -> Parsing , metric => , is_test => [ , { dimensions => | aggregation => | min_support => } ] [ ... ] )"] +reason = "the page defines optional_param as { dimensions => | aggregation => | min_support => }, so each named optional argument is read in place of the placeholder" + +[[reading]] +form = "db.functions.date-add3" +grammar_sha256 = "ea53e600cee4c8a031086e709a441123740bd03649e53b267bad80356e8dacf4" +grammar = ["DATE_ADD ( { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } , , )"] +reason = "the page defines unit as the closed choice { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR }, so each documented unit is read in place of the placeholder" + +[[reading]] +form = "db.functions.date-diff" +grammar_sha256 = "5c5eb27f7ae3edba3e21ae33a678116b3a1a6c9b918dd143ff6fe945075b4ce7" +grammar = ["DATE_DIFF ( , )", "DATE_DIFF ( { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } , , )"] +reason = "the page defines unit as the closed choice { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR }, so each documented unit is read in place of the placeholder" + +[[reading]] +form = "db.functions.dateadd" +grammar_sha256 = "b86c444ab5072fd0c47e2d119dd66955d0d16244170da2a178f164a22a1b84bc" +grammar = ["DATEADD ( { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } , , )"] +reason = "the page defines unit as the closed choice { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR }, so each documented unit is read in place of the placeholder" + +[[reading]] +form = "db.functions.datediff3" +grammar_sha256 = "6d788d2f120986fd8f0e19bd78c64c5519c81230c00f2e7e66c0fc012556c37e" +grammar = ["DATEDIFF ( { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } , , )"] +reason = "the page defines unit as the closed choice { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR }, so each documented unit is read in place of the placeholder" + +[[reading]] +form = "db.functions.listagg" +grammar_sha256 = "addcd1cc43ac64b652e7bd2878887b8b1f3f414fa0878c53e19f79de26bf2014" +grammar = ["LISTAGG ( [ ALL | DISTINCT ] [ , ] ) [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ] [ FILTER ( WHERE ) ]"] +reason = "the page defines sort_direction as [ ASC | DESC ], so ASC and DESC are read in place of the placeholder; the page defines nulls_sort_order as [ NULLS FIRST | NULLS LAST ], so NULLS FIRST and NULLS LAST are read in place of the placeholder" + +[[reading]] +form = "db.functions.string-agg" +grammar_sha256 = "4f3b24e3bbd61c3e09d57c8226f55c2a9afc5522ccd772499bfd40c3e5061b3f" +grammar = ["STRING_AGG ( [ ALL | DISTINCT ] [ , ] ) [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ] [ FILTER ( WHERE ) ]"] +reason = "the page defines sort_direction as [ ASC | DESC ], so ASC and DESC are read in place of the placeholder; the page defines nulls_sort_order as [ NULLS FIRST | NULLS LAST ], so NULLS FIRST and NULLS LAST are read in place of the placeholder" + +[[reading]] +form = "db.functions.time-diff" +grammar_sha256 = "deec894fdf5ce8ea9366b7cdf30c10cae341fbf01056b6188b90369eba7c14b0" +grammar = ["TIME_DIFF ( { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR } , , )"] +reason = "the page defines unit as the closed choice { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR }, so each documented unit is read in place of the placeholder" + +[[reading]] +form = "db.functions.timediff" +grammar_sha256 = "034a56911aa442023333a36d4bbb4622d2311a38fede00e0135f847fcddbbdaa" +grammar = ["TIMEDIFF ( { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } , , )"] +reason = "the page defines unit as the closed choice { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR }, so each documented unit is read in place of the placeholder" + +[[reading]] +form = "db.functions.timestampadd" +grammar_sha256 = "a3f7d0bc05c913540fe26d53979f3b1046b150d9aefd28ea146b546c8568dd50" +grammar = ["TIMESTAMPADD ( { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } , , )"] +reason = "the page defines unit as the closed choice { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR }, so each documented unit is read in place of the placeholder" + +[[reading]] +form = "db.functions.timestampdiff" +grammar_sha256 = "0a85294d51e8f042cb8d6d8c353bc53152c2596224e96f86a620b477e387d68b" +grammar = ["TIMESTAMPDIFF ( { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } , , )"] +reason = "the page defines unit as the closed choice { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR }, so each documented unit is read in place of the placeholder" + +[[reading]] +form = "db.query.select-orderby" +grammar_sha256 = "6e9b187961cbe4e6bcea2f0944af0dff39e89a0e33591320827f3fdf1b89935d" +grammar = ["ORDER BY { { ALL [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } | { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] }"] +reason = "the page defines sort_direction as [ ASC | DESC ], so ASC and DESC are read in place of the placeholder; the page defines nulls_sort_order as [ NULLS FIRST | NULLS LAST ], so NULLS FIRST and NULLS LAST are read in place of the placeholder" + +[[reading]] +form = "db.query.select-sortby" +grammar_sha256 = "f1b1f497b438cae703b0b1df8e6f56db64a06d2d52f46b03377268ecb8b89d3b" +grammar = ["SORT BY { [ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] ] } [ , ... ]"] +reason = "the page defines sort_direction as [ ASC | DESC ], so ASC and DESC are read in place of the placeholder; the page defines nulls_sort_order as [ NULLS FIRST | NULLS LAST ], so NULLS FIRST and NULLS LAST are read in place of the placeholder" + +[[reading]] +form = "db.security_admin.deny" +grammar_sha256 = "e0d60f662a1b8c7ddc5bef13d03d894be5446d468d774ed67c4f11de06893ae9" +grammar = ["DENY { ALL PRIVILEGES | [ , ... ] } ON TO "] +reason = "the page defines privilege_types as { ALL PRIVLEGES | [ , ... ] }, so ALL PRIVILEGES and a privilege list are read in place of the placeholder; the page's Syntax prints ALL PRIVLEGES, and its Parameters heading spells it ALL PRIVILEGES, which is read" + +[[reading]] +form = "db.security_admin.grant" +grammar_sha256 = "d99416a55ca9e0564a6d11aedf298eae4f7198a204e873216908db0660d197cb" +grammar = ["GRANT { ALL PRIVILEGES | [ , ... ] } ON TO "] +reason = "the page defines privilege_types as { ALL PRIVILEGES | [ , ... ] }, so ALL PRIVILEGES and a privilege list are read in place of the placeholder" + +[[reading]] +form = "db.security_admin.revoke" +grammar_sha256 = "83a2f5398ff2af24748f9681a8199dc7d26277c895165de30479db6f0844606c" +grammar = ["REVOKE { ALL PRIVILEGES | [ , ... ] } ON FROM "] +reason = "the page defines privilege_types as { ALL PRIVILEGES | [ , ... ] }, so ALL PRIVILEGES and a privilege list are read in place of the placeholder" + +[[reading]] +form = "db.functions.decode" +grammar_sha256 = "ba7b01c37071fb99cd5e62f883718005c461dd44ad6343c69b7e97dd3c0b1fe4" +grammar = ["DECODE ( , , [ , , ... ] [ , ] )"] +reason = "the [ , ... ] continues the list with another key and value pair (keyN and valueN in the page's Arguments; its examples: decode(5, 6, 'Spark', 5, 'SQL', 4, 'rocks') and, with defValue, decode(7, 6, 'Spark', 5, 'SQL', 'rocks')); the renderer otherwise repeats only the value, which reads as defValue, so a case with defValue could not be told from one with a second pair" + +[[reading]] +form = "db.functions.ai-detect-anomalies" +grammar_sha256 = "1bcfde9916aed10c940071e3c4abc3863e6fa372375219c44cb90d1c465c7c6e" +grammar = ["AI_DETECT_ANOMALIES ( , , [ , group_col => ] [ , anomaly_threshold => ] [ , covariate_col => ] [ , holiday_region => ] [ , only_last_n => ] [ , smoothing => ] )"] +reason = "an optional argument after one left out can be passed only by name, and the page's examples pass every optional argument by name (covariate_col => 'temperature', holiday_region => 'US', only_last_n => 100), so each optional argument is read as a named argument, which may be written without the ones before it" + +[[reading]] +form = "db.functions.ai-forecast" +grammar_sha256 = "12827d2e459678a8707aa9f712a67ebce09aba5b70b1e7f3ce0101247447cd1e" +grammar = ["AI_FORECAST ( , , , [ , group_col => ] [ , covariate_col => ] [ , prediction_interval_width => ] [ , frequency => ] [ , holiday_region => ] [ , positive_only => ] [ , version => ] )", "AI_FORECAST ( , , , [ , group_col => ] [ , prediction_interval_width => ] [ , frequency => ] [ , seed => ] [ , parameters => ] [ , version => ] )"] +reason = "an optional argument after one left out can be passed only by name, and the page's examples pass every optional argument by name (covariate_col => 'promotion', holiday_region => 'US', version => '2'), so each optional argument is read as a named argument, which may be written without the ones before it" + +[[reading]] +form = "db.functions.pipesign.syntax" +grammar_sha256 = "00c0b9ceea4953097684c7f68bdde5215001af221d2569857b14a76eaf59b40d" +grammar = [" \\| "] +reason = "the page's Syntax is expr1 | expr2, the bitwise OR (its Arguments: expr1 and expr2 of an integral numeric type; its example: SELECT 3 | 5), so | is the operator, not a choice the catalogue split into this form" + +[[reading]] +form = "db.functions.pipesign.syntax.syntax" +grammar_sha256 = "47eea7d016147120943beff1d11900bfc95ed5431ee0febe06c8be8b7777f01e" +grammar = [" \\| "] +reason = "the page's Syntax is expr1 | expr2, the bitwise OR (its Arguments: expr1 and expr2 of an integral numeric type; its example: SELECT 3 | 5), so | is the operator, not a choice the catalogue split into this form" [[limit]] form = "db.query.select-hints" @@ -228,6 +360,36 @@ sql = "ALTER TABLE t1 DROP ( c2 )" context = "raw" expect = "observe" +[[limit]] +form = "db.ddl.alter-table-manage-column.alter-change-set-mask" +kind = "alternative" +target = " SET MASK" +note = "a nested field before SET MASK, which the warehouse refuses" +anchor = "doc.sql-ref-syntax-ddl-alter-table-manage-column / Syntax" +sql = "ALTER TABLE t1 ALTER c1.c1 SET MASK f1" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.alter-table-manage-column.alter-change-set-mask" +kind = "alternative" +target = " SET TAGS" +note = "a nested field before SET TAGS, which the warehouse refuses" +anchor = "doc.sql-ref-syntax-ddl-alter-table-manage-column / Syntax" +sql = "ALTER TABLE t1 ALTER COLUMN c1.c1 SET TAGS ( 'k' = 'v' )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.alter-table-manage-column.alter-change-set-mask" +kind = "alternative" +target = " UNSET TAGS" +note = "a nested field before UNSET TAGS, which the warehouse refuses" +anchor = "doc.sql-ref-syntax-ddl-alter-table-manage-column / Syntax" +sql = "ALTER TABLE t1 ALTER COLUMN c1.c1 UNSET TAGS ( 'k' )" +context = "raw" +expect = "observe" + [[limit]] form = "db.ddl.alter-table-manage-column.alter-change-set-mask" kind = "alternative" @@ -402,7 +564,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ COMMENT ]", "[ ROW FORMAT ]"] +pair = ["[ COMMENT ]", "{ ROW FORMAT [ STORED AS { |… → ROW FORMAT [ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]"] note = "ROW FORMAT before COMMENT, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) ROW FORMAT DELIMITED COMMENT 'x' STORED AS TEXTFILE" @@ -413,7 +575,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ COMMENT ]", "[ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]"] +pair = ["[ COMMENT ]", "{ ROW FORMAT [ STORED AS { |… → STORED AS { | INPUTFORMAT OUTPUTFORMAT }"] note = "STORED AS before COMMENT, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) STORED AS TEXTFILE COMMENT 'x'" @@ -446,7 +608,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ PARTITIONED BY { ( [ COMMENT ] , ... ) | ( , , ... ) }…", "[ ROW FORMAT ]"] +pair = ["[ PARTITIONED BY { ( [ COMMENT ] , ... ) | ( , , ... ) }…", "{ ROW FORMAT [ STORED AS { |… → ROW FORMAT [ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]"] note = "ROW FORMAT before PARTITIONED BY, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) ROW FORMAT DELIMITED PARTITIONED BY ( c3 INT ) STORED AS TEXTFILE" @@ -457,7 +619,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ PARTITIONED BY { ( [ COMMENT ] , ... ) | ( , , ... ) }…", "[ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]"] +pair = ["[ PARTITIONED BY { ( [ COMMENT ] , ... ) | ( , , ... ) }…", "{ ROW FORMAT [ STORED AS { |… → STORED AS { | INPUTFORMAT OUTPUTFORMAT }"] note = "STORED AS before PARTITIONED BY, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) STORED AS TEXTFILE PARTITIONED BY ( c3 INT )" @@ -490,7 +652,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ ROW FORMAT ]", "[ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]"] +pair = ["{ ROW FORMAT [ STORED AS { |… → ROW FORMAT [ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]", "[ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]"] note = "STORED AS before ROW FORMAT, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) STORED AS TEXTFILE ROW FORMAT DELIMITED" @@ -501,7 +663,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ ROW FORMAT ]", "[ LOCATION ]"] +pair = ["{ ROW FORMAT [ STORED AS { |… → ROW FORMAT [ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]", "[ LOCATION ]"] note = "LOCATION before ROW FORMAT, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) STORED AS TEXTFILE LOCATION '/tmp/x' ROW FORMAT DELIMITED" @@ -512,7 +674,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ ROW FORMAT ]", "[ TBLPROPERTIES ( = , = , ... ) ]"] +pair = ["{ ROW FORMAT [ STORED AS { |… → ROW FORMAT [ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]", "[ TBLPROPERTIES ( = , = , ... ) ]"] note = "TBLPROPERTIES before ROW FORMAT, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) STORED AS TEXTFILE TBLPROPERTIES ( 'k' = 'v' ) ROW FORMAT DELIMITED" @@ -523,7 +685,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]", "[ LOCATION ]"] +pair = ["{ ROW FORMAT [ STORED AS { |… → STORED AS { | INPUTFORMAT OUTPUTFORMAT }", "[ LOCATION ]"] note = "LOCATION before STORED AS, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) LOCATION '/tmp/x' STORED AS TEXTFILE" @@ -534,7 +696,7 @@ documented = true [[limit]] form = "db.ddl.create-table-hiveformat" kind = "interaction" -pair = ["[ STORED AS { | INPUTFORMAT OUTPUTFORMAT } ]", "[ TBLPROPERTIES ( = , = , ... ) ]"] +pair = ["{ ROW FORMAT [ STORED AS { |… → STORED AS { | INPUTFORMAT OUTPUTFORMAT }", "[ TBLPROPERTIES ( = , = , ... ) ]"] note = "TBLPROPERTIES before STORED AS, the reverse of the line's order: 'The clauses between the column definition clause and the AS SELECT clause can appear in any order'; observed, since the page applies to Databricks Runtime only" anchor = "doc.sql-ref-syntax-ddl-create-table-hiveformat / Syntax" sql = "CREATE TABLE t3 ( c1 INT , c2 INT ) TBLPROPERTIES ( 'k' = 'v' ) STORED AS TEXTFILE" @@ -1409,20 +1571,6 @@ target = "" note = "a string literal in place of " reason = "the class name is a string literal (SqlBaseParser #createFunction: AS className=stringLit; the page's examples quote it), so a string literal in its place is the documented operand, no negative" -[[suppress]] -form = "db.ddl.create-materialized-view-refresh-policy" -kind = "required_operand_missing" -target = "" -note = "omit " -reason = "REFRESH followed by any text parses as Spark's REFRESH resource or REFRESH TABLE (SqlBaseParser #refreshTable: REFRESH TABLE? identifierReference, #refreshResource: REFRESH .*?), so the text without the rest of the form parses; the resource is looked up when it runs" - -[[suppress]] -form = "db.ddl.create-materialized-view-refresh-policy" -kind = "negative_neighbour" -target = "" -note = "the form without its required POLICY" -reason = "REFRESH followed by any text parses as Spark's REFRESH resource or REFRESH TABLE (SqlBaseParser #refreshTable: REFRESH TABLE? identifierReference, #refreshResource: REFRESH .*?), so the text without the rest of the form parses; the resource is looked up when it runs" - [[suppress]] form = "db.ddl.create-materialized-view" kind = "negative_neighbour" @@ -1480,38 +1628,38 @@ note = "the form without its required { MATERIALIZED VIEW | [ STREAMING ] TABLE reason = "REFRESH followed by any text parses as Spark's REFRESH resource or REFRESH TABLE (SqlBaseParser #refreshTable: REFRESH TABLE? identifierReference, #refreshResource: REFRESH .*?), so the text without the rest of the form parses; the resource is looked up when it runs" [[suppress]] -form = "db.expressions.binary-type.x" -kind = "negative_neighbour" -target = "" -note = "the form without its required { 'num [ ... ] ' | \"num [ ... ] \" }" +form = "db.expressions.date-type.date" +kind = "required_operand_missing" +target = "" +note = "omit " reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" [[suppress]] -form = "db.expressions.decfloat-type" +form = "db.expressions.timestamp-ntz-type.timestamp-ntz.literals" kind = "required_operand_missing" -target = "

in [ (

) ]" -note = "omit

" -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" +target = "" +note = "omit " +reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" [[suppress]] -form = "db.expressions.decimal-type.bd" +form = "db.expressions.timestamp-type.timestamp-ltz.literals" kind = "required_operand_missing" -target = "" -note = "omit " +target = "" +note = "omit " reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" [[suppress]] -form = "db.expressions.decimal-type" +form = "db.expressions.timestamp-type.timestamp.literals" kind = "required_operand_missing" -target = "

in [ (

[ , ] ) ]" -note = "omit

" -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" +target = "" +note = "omit " +reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" [[suppress]] -form = "db.expressions.double-type.d" -kind = "required_operand_missing" -target = "" -note = "omit " +form = "db.expressions.binary-type.x" +kind = "negative_neighbour" +target = "" +note = "the form without its required { '1F' | \"1F\" }" reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" [[suppress]] @@ -1535,82 +1683,33 @@ target = "" note = "a string literal in place of " reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" -[[suppress]] -form = "db.expressions.expression" -kind = "required_operand_missing" -target = "" -note = "omit " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.expression" -kind = "required_operand_missing" -target = " #2" -note = "omit " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.expression" -kind = "required_operand_missing" -target = " #3" -note = "omit " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - [[suppress]] form = "db.expressions.file-type" kind = "negative_neighbour" target = "" note = "the form without its required FILE after " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" +reason = "without FILE the word MANAGED or EXTERNAL stands where the column's type is read, and the grammar reads any identifier there as a type name (SqlBaseParser primitiveType: unsupportedType=identifier), so the text is no certain syntax negative; the type is checked after the identifier is read" [[suppress]] form = "db.expressions.file-type" kind = "negative_neighbour" target = "" note = "the form without its required MANAGED" -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" +reason = "without MANAGED or EXTERNAL the column's type is FILE alone, which the grammar reads as a type name (SqlBaseParser primitiveType: unsupportedType=identifier) and the page refuses only as a column type ('You can't declare a table column as FILE without specifying either MANAGED or EXTERNAL'), so the text is no certain syntax negative" [[suppress]] form = "db.expressions.file-type" kind = "negative_neighbour" target = "" note = "the form without its required FILE after #2" -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" +reason = "without FILE the word MANAGED or EXTERNAL stands where the column's type is read, and the grammar reads any identifier there as a type name (SqlBaseParser primitiveType: unsupportedType=identifier), so the text is no certain syntax negative; the type is checked after the identifier is read" [[suppress]] form = "db.expressions.file-type" kind = "negative_neighbour" target = "" note = "the form without its required EXTERNAL" -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.float-type.f.literals" -kind = "required_operand_missing" -target = "" -note = "omit " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.float-type.f" -kind = "required_operand_missing" -target = "" -note = "omit " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.geography-type" -kind = "negative_neighbour" -target = "" -note = "the form without its required { | ANY }" -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" - -[[suppress]] -form = "db.expressions.geometry-type" -kind = "negative_neighbour" -target = "" -note = "the form without its required { | ANY }" -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" +reason = "without MANAGED or EXTERNAL the column's type is FILE alone, which the grammar reads as a type name (SqlBaseParser primitiveType: unsupportedType=identifier) and the page refuses only as a column type ('You can't declare a table column as FILE without specifying either MANAGED or EXTERNAL'), so the text is no certain syntax negative" [[suppress]] form = "db.expressions.identifiers.subscript-dot.syntax" @@ -1624,28 +1723,7 @@ form = "db.expressions.interval-type" kind = "negative_neighbour" target = "" note = "the form without its required { | }" -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.json-path-expression" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.identifier-2" -kind = "negative_neighbour" -target = " in [ . ]" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.identifier-2" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" +reason = "without a qualifier INTERVAL is a type the grammar admits (SqlBaseParser nonTrivialPrimitiveType: INTERVAL (fromYearMonth=(YEAR | MONTH) (TO to=MONTH)? | fromDayTime=(DAY | HOUR | MINUTE | SECOND) (TO to=(HOUR | MINUTE | SECOND))?)?), so the text is no certain syntax negative; the type is checked afterwards" [[suppress]] form = "db.expressions.names.identifier-2" @@ -1703,20 +1781,6 @@ target = "" note = "omit " reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" -[[suppress]] -form = "db.expressions.names.identifier-6" -kind = "negative_neighbour" -target = " in [ . ]" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.identifier-6" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - [[suppress]] form = "db.expressions.names.identifier-6" kind = "required_operand_missing" @@ -1724,20 +1788,6 @@ target = "" note = "omit " reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" -[[suppress]] -form = "db.expressions.names.identifier-7" -kind = "negative_neighbour" -target = " in [ . ]" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.identifier-7" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - [[suppress]] form = "db.expressions.names.identifier-7" kind = "required_operand_missing" @@ -1745,13 +1795,6 @@ target = "" note = "omit " reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" -[[suppress]] -form = "db.expressions.names.identifier-8" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - [[suppress]] form = "db.expressions.names.identifier-8" kind = "required_operand_missing" @@ -1759,20 +1802,6 @@ target = "" note = "omit " reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" -[[suppress]] -form = "db.expressions.names.identifier" -kind = "negative_neighbour" -target = " in [ . ]" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.identifier" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - [[suppress]] form = "db.expressions.names.identifier" kind = "required_operand_missing" @@ -1780,82 +1809,19 @@ target = "" note = "omit " reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" -[[suppress]] -form = "db.expressions.names.identifier.syntax" -kind = "negative_neighbour" -target = " in [ . ]" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.identifier.syntax" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - [[suppress]] form = "db.expressions.names.identifier.syntax" kind = "required_operand_missing" target = "" note = "omit " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.names.identifier.syntax" -kind = "required_operand_missing" -target = " #2" -note = "omit " -reason = "a backquoted blank is a valid quoted identifier (SqlBaseLexer BACKQUOTED_IDENTIFIER: '`' ( ~'`' | '``' )* '`'), so the text with a blank in place of the operand parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.names.identifier.syntax" -kind = "required_operand_missing" -target = "" -note = "omit " -reason = "a backquoted blank is a valid quoted identifier (SqlBaseLexer BACKQUOTED_IDENTIFIER: '`' ( ~'`' | '``' )* '`'), so the text with a blank in place of the operand parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.names.subscript-dot-2" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.subscript-dot-2" -kind = "required_operand_missing" -target = " in [ ( [ , ... ] ) ]" -note = "omit " -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" - -[[suppress]] -form = "db.expressions.names.subscript-dot-2" -kind = "negative_neighbour" -target = " in [ ( [ , ... ] ) ]" -note = "a string literal in place of " -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" +reason = "without its clause the word IDENTIFIER is read as a table name: Databricks formally disallows no literal as an identifier (reserved-words page), so the text parses; the table is looked up in analysis" [[suppress]] form = "db.expressions.names.subscript-dot-3" kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.subscript-dot-4" -kind = "negative_neighbour" -target = " in [ . ]" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.subscript-dot-4" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" +target = "" +note = "the form without its required (" +reason = "without its ( and ) a single column_identifier is the page's other column alias form, [AS] column_identifier, so the text parses" [[suppress]] form = "db.expressions.names.subscript-dot" @@ -1872,81 +1838,11 @@ note = "a string literal in place of " reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" [[suppress]] -form = "db.expressions.names.subscript-dot.syntax" +form = "db.functions.ai-parse-document" kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.subscript" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.syntax" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.names.syntax" -kind = "negative_neighbour" -target = "" -note = "a string literal in place of " -reason = "in the expression context every case is written in, a string literal is itself a valid expression, and a dot after it is a field dereference (SqlBaseParser primaryExpression #dereference), so the text parses; the field or type is checked in analysis" - -[[suppress]] -form = "db.expressions.smallint-type.s" -kind = "required_operand_missing" -target = "" -note = "omit " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.expressions.time-type.time.syntax" -kind = "required_operand_missing" -target = "

" -note = "omit

" -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" - -[[suppress]] -form = "db.expressions.timestamp-ntz-type.timestamp-ntz" -kind = "required_operand_missing" -target = "

in [ (

) ]" -note = "omit

" -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" - -[[suppress]] -form = "db.expressions.timestamp-type.timestamp-ltz" -kind = "required_operand_missing" -target = "

in [ (

) ]" -note = "omit

" -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" - -[[suppress]] -form = "db.expressions.timestamp-type.timestamp" -kind = "required_operand_missing" -target = "

in [ (

) ]" -note = "omit

" -reason = "a name followed by a parenthesised argument list parses as a function call (SqlBaseParser functionCall), so the type name with empty parentheses parses in an expression; the routine is resolved in analysis" - -[[suppress]] -form = "db.expressions.tinyint-type.y" -kind = "required_operand_missing" -target = "" -note = "omit " -reason = "in an expression a lone word is a column reference: Databricks formally disallows no literal as an identifier (reserved-words page), so the keyword left without its operand reads as a column name and the text parses; the name is resolved in analysis" - -[[suppress]] -form = "db.functions.ai-parse-document" -kind = "negative_neighbour" -target = "" -note = "the form without its required MAP" -reason = "without MAP the argument is a parenthesised list of two values, itself a valid expression (SqlBaseParser #rowConstructor: LEFT_PAREN namedExpression (COMMA namedExpression)+ RIGHT_PAREN), so the text parses; the argument's type is checked in analysis" +target = "" +note = "the form without its required MAP" +reason = "without MAP the argument is a parenthesised list of two values, itself a valid expression (SqlBaseParser #rowConstructor: LEFT_PAREN namedExpression (COMMA namedExpression)+ RIGHT_PAREN), so the text parses; the argument's type is checked in analysis" [[suppress]] form = "db.functions.ai-predict-class" @@ -2165,6 +2061,13 @@ target = "" note = "omit " reason = "Spark's generic configuration SET takes any text after SET (SqlBaseParser #setConfiguration: SET configKey (EQ .*?)?, and SET .*?), so the text without the operand parses as a configuration SET" +[[suppress]] +form = "db.transaction_session.collation" +kind = "negative_neighbour" +target = "" +note = "the form without its required COLLATION" +reason = "Spark's generic configuration SET takes any text after SET (SqlBaseParser #setConfiguration: SET configKey (EQ .*?)?, and SET .*?), so the text without the keyword parses as a configuration SET" + [[suppress]] form = "db.transaction_session.conf-mgmt-set-collation" kind = "required_operand_missing" @@ -2476,7 +2379,7 @@ reason = "SHOW FUNCTIONS takes an optional function name or a string pattern (Sq [[suppress]] form = "db.utility.show-functions" kind = "negative_neighbour" -target = " in [ [ LIKE ] { | } ]" +target = " in [ [ LIKE ] { | } ]" note = "a string literal in place of " reason = "SHOW FUNCTIONS takes an optional function name or a string pattern (SqlBaseParser #showFunctions: SHOW identifier? FUNCTIONS ((FROM | IN) ns)? (LIKE? (legacy=multipartIdentifier | pattern=stringLit))?), so a string literal is the documented pattern and a lone FROM reads as a function name; the text parses" @@ -2709,3 +2612,4926 @@ sql = "SELECT 1 `ANTI`" context = "raw" expect = "accept" +[[reading]] +form = "db.ddl.alter-catalog" +grammar_sha256 = "8b746a22f99180f16aab69edb0ab3e02114a41bc826e44165648adce7295fc39" +grammar = ["ALTER CATALOG [ ] { [ SET ] OWNER TO | SET TAGS ( { = } [ , ... ] ) | UNSET TAGS ( [ , ... ] ) | { ENABLE | DISABLE | INHERIT } PREDICTIVE OPTIMIZATION }", "ALTER CATALOG { DEFAULT COLLATION | OPTIONS (

) ]" +note = "TIMESTAMP ( 6 ) WITHOUT TIME ZONE in CAST; p is 'An optional precision from 6 through 9'" +anchor = "doc.data-types.timestamp-ntz-type / Syntax" +sql = "SELECT CAST ( NULL AS TIMESTAMP ( 6 ) WITHOUT TIME ZONE )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.scripting.compound-stmt" +kind = "option_present" +target = "[

" +note = "a string where the page documents an integer" +anchor = "doc.data-types.decimal-type / Syntax" +sql = "SELECT CAST ( NULL AS DECIMAL ( 'x' ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.decimal-type" +kind = "operand_type_class" +target = "" +note = "a string where the page documents an integer" +anchor = "doc.data-types.decimal-type / Syntax" +sql = "SELECT CAST ( NULL AS DECIMAL ( 10 , 'x' ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.decfloat-type" +kind = "operand_type_class" +target = "

" +note = "a string where the page documents an integer" +anchor = "doc.data-types.decfloat-type / Syntax" +sql = "SELECT CAST ( NULL AS DECFLOAT ( 'x' ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.time-type.time.syntax" +kind = "operand_type_class" +target = "

" +note = "a string where the page documents an integer" +anchor = "doc.data-types.time-type / Syntax" +sql = "SELECT CAST ( NULL AS TIME ( 'x' ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.timestamp-ntz-type.timestamp-ntz" +kind = "operand_type_class" +target = "

" +note = "a string where the page documents an integer" +anchor = "doc.data-types.timestamp-ntz-type / Syntax" +sql = "SELECT CAST ( NULL AS TIMESTAMP_NTZ ( 'x' ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.timediff" +kind = "operand_type_class" +target = "" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" +anchor = "doc.functions.timediff / Syntax" +sql = "SELECT ( TIMEDIFF ( 'MICROSECOND' , 1 , 1 ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.timestampadd" +kind = "operand_type_class" +target = "" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" +anchor = "doc.functions.timestampadd / Syntax" +sql = "SELECT ( TIMESTAMPADD ( 'MICROSECOND' , 1 , 1 ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.timestampdiff" +kind = "operand_type_class" +target = "" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" +anchor = "doc.functions.timestampdiff / Syntax" +sql = "SELECT ( TIMESTAMPDIFF ( 'MICROSECOND' , 1 , 1 ) )" +context = "raw" +expect = "observe" + +[[reading]] +form = "db.functions.named-struct" +grammar_sha256 = "90e85323181b08c217b3a61a5d7510912d25af5085cc552d3930290b632ac0d9" +grammar = ["NAMED_STRUCT ( , [ , , ... ] )"] +reason = "the [ , ... ] continues the list with another name and value pair (nameN and valN in the page's Arguments, nameN a STRING literal); the renderer otherwise repeats only the value, an odd argument count the page's pairs rule out, as the MAP and DECODE readings record" + +[[limit]] +form = "db.query.select-lateral-view" +kind = "option_absent" +target = "AS" +note = "the column alias written without AS" +anchor = "doc.sql-ref-syntax-qry-select-lateral-view / Syntax" +sql = "SELECT * FROM t1 LATERAL VIEW explode ( array ( 1 ) ) a3 x1" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.query.select-match-recognize" +kind = "alternative" +target = "" +note = "ALL ROWS PER MATCH" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize / Syntax" +sql = "SELECT * FROM t1 MATCH_RECOGNIZE ( ORDER BY c1 ALL ROWS PER MATCH PATTERN ( A ) DEFINE A AS TRUE )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.query.select-match-recognize" +kind = "alternative" +target = "" +note = "ALL ROWS PER MATCH SHOW EMPTY MATCHES" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize / Syntax" +sql = "SELECT * FROM t1 MATCH_RECOGNIZE ( ORDER BY c1 ALL ROWS PER MATCH SHOW EMPTY MATCHES PATTERN ( A ) DEFINE A AS TRUE )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.query.select-match-recognize-pattern" +kind = "alternative" +target = "" +note = "quantified pattern variables" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize-pattern / Syntax" +sql = "SELECT * FROM t1 MATCH_RECOGNIZE ( ORDER BY c1 PATTERN ( A+ B* ) DEFINE A AS TRUE , B AS TRUE )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.query.select-match-recognize-pattern" +kind = "alternative" +target = "" +note = "an alternation of pattern variables" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize-pattern / Syntax" +sql = "SELECT * FROM t1 MATCH_RECOGNIZE ( ORDER BY c1 PATTERN ( A | B ) DEFINE A AS TRUE , B AS TRUE )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.query.select-match-recognize-pattern" +kind = "alternative" +target = "" +note = "PERMUTE of pattern variables" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize-pattern / Syntax" +sql = "SELECT * FROM t1 MATCH_RECOGNIZE ( ORDER BY c1 PATTERN ( PERMUTE ( A , B ) ) DEFINE A AS TRUE , B AS TRUE )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.query.select-match-recognize-pattern" +kind = "alternative" +target = "" +note = "anchors and a bounded quantifier" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize-pattern / Syntax" +sql = "SELECT * FROM t1 MATCH_RECOGNIZE ( ORDER BY c1 PATTERN ( ^ A {2,} $ ) DEFINE A AS TRUE )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.sum" +kind = "required_operand_missing" +target = "" +note = "the call with its only argument left out" +anchor = "doc.functions.sum / Syntax" +sql = "SELECT ( SUM ( ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.split" +kind = "required_operand_missing" +target = "" +note = "the call without its required regex" +anchor = "doc.functions.split / Syntax" +sql = "SELECT ( SPLIT ( v1 , ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.regexp-extract" +kind = "required_operand_missing" +target = "" +note = "the call with its required regexp left out entirely" +anchor = "doc.functions.regexp_extract / Syntax" +sql = "SELECT ( REGEXP_EXTRACT ( v1 ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.time-diff" +kind = "operand_type_class" +target = "" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" +anchor = "doc.functions.time_diff / Syntax" +sql = "SELECT ( TIME_DIFF ( 'v1' , 1 , 1 ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.time-diff" +kind = "operand_type_class" +target = "" +note = "a unit keyword the page does not list for this function" +anchor = "doc.functions.time_diff / Syntax" +sql = "SELECT ( TIME_DIFF ( DAY , 1 , 1 ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.remote-query" +kind = "operand_type_class" +target = "" +note = "a string literal written where the option key goes" +anchor = "doc.functions.remote_query / Syntax" +sql = "SELECT * FROM REMOTE_QUERY ( 'c1' , 'v1' => 1 )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.remote-query" +kind = "identifier_class" +target = "" +note = "the option key as a backtick-quoted identifier" +anchor = "doc.functions.remote_query / Syntax" +sql = "SELECT * FROM REMOTE_QUERY ( 'c1' , `k 1` => 1 )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.read-kafka" +kind = "option_absent" +target = "[ , ... ]" +note = "one option pair with the list not continued" +anchor = "doc.functions.read_kafka / Syntax" +sql = "SELECT * FROM READ_KAFKA ( k1 => 'v' )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.read-kafka" +kind = "identifier_class" +target = "" +note = "an option key containing dots as a backtick-quoted identifier, as the page requires" +anchor = "doc.functions.read_kafka / Syntax" +sql = "SELECT * FROM READ_KAFKA ( `kafka.sasl.mechanism` => 'v' )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.read-kafka" +kind = "operand_type_class" +target = "" +note = "a string literal written where the option key goes" +anchor = "doc.functions.read_kafka / Syntax" +sql = "SELECT * FROM READ_KAFKA ( 'k1' => 'v' )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.localtimestamp" +kind = "option_absent" +target = "the parentheses" +note = "LOCALTIMESTAMP without parentheses, which the page says is allowed when precision is omitted: the warehouse parses it but resolves it as a column (UNRESOLVED_COLUMN), not as the function, so the form keeps its written parentheses and the bare word is observed" +anchor = "doc.functions.localtimestamp / Syntax" +sql = "SELECT ( LOCALTIMESTAMP )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.null-type" +kind = "positive" +target = "the NULL literal" +note = "NULL written as an expression, the literal the page's Literals section names, not the type" +anchor = "doc.data-types.null-type / Literals" +sql = "SELECT ( NULL )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.null-type" +kind = "negative_neighbour" +target = "VOID as an expression" +note = "VOID written as an expression, which the warehouse parses as a column name, not a value of the type" +anchor = "doc.data-types.null-type / Syntax" +sql = "SELECT ( VOID )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.null-type" +kind = "alternative" +target = "NULL" +note = "the NULL spelling in type position" +anchor = "doc.data-types.null-type / Syntax" +sql = "SELECT CAST ( NULL AS NULL )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.query.query" +kind = "option_present" +target = "DISTRIBUTE BY" +note = "the DISTRIBUTE BY and SORT BY branch taken" +anchor = "doc.sql-ref-syntax-qry-query / Syntax" +sql = "SELECT c1 FROM t1 DISTRIBUTE BY c1 SORT BY c1" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.create-table-using" +kind = "option_present" +target = "OPTIONS" +note = "OPTIONS on a temporary table with a column list, recorded to settle whether the temporary line takes it" +anchor = "doc.sql-ref-syntax-ddl-create-table-using / Syntax" +sql = "CREATE TEMP TABLE t3 ( c1 INT ) OPTIONS ( 'k' = 'v' )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.create-table-using" +kind = "option_present" +target = "OPTIONS" +note = "OPTIONS on a replaced temporary table" +anchor = "doc.sql-ref-syntax-ddl-create-table-using / Syntax" +sql = "CREATE OR REPLACE TEMP TABLE t3 ( c1 INT , c2 INT ) OPTIONS ( 'k' = 'v' )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.create-table-using" +kind = "option_present" +target = "OPTIONS" +note = "OPTIONS on a temporary table created from a query" +anchor = "doc.sql-ref-syntax-ddl-create-table-using / Syntax" +sql = "CREATE TEMP TABLE t3 OPTIONS ( 'k' = 'v' ) AS SELECT 1" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.create-table-constraint.references" +kind = "option_present" +target = "FOREIGN KEY" +note = "the optional FOREIGN KEY written alone, beside the case without it" +anchor = "doc.sql-ref-syntax-ddl-create-table-constraint / Syntax" +sql = "CREATE TABLE t3 ( c1 INT NOT NULL CONSTRAINT n1 FOREIGN KEY REFERENCES t2 )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.dml.insert-into.values-default" +kind = "identifier_class" +target = "DEFAULT" +note = "DEFAULT backtick-quoted in the query, a column name rather than the keyword" +anchor = "doc.sql-ref-syntax-dml-insert-into / Syntax" +sql = "INSERT INTO t1 SELECT `DEFAULT` , 1" +context = "raw" +expect = "observe" + +[[reading]] +form = "db.ddl.create-function" +grammar_sha256 = "5ba5c6dc302b94dcb2fa3e48e56b0a0fa553018d9b5b6fae4ecf11f2dfdab547" +grammar = ["CREATE { OR REPLACE [ TEMPORARY ] FUNCTION | TEMPORARY FUNCTION | FUNCTION [ IF NOT EXISTS ] } AS [ ]"] +reason = "OR REPLACE and IF NOT EXISTS cannot be written together, and a temporary function takes no IF NOT EXISTS: Spark's parse-tree builder refuses both combinations (the warehouse returns syntax_error for TEMPORARY with IF NOT EXISTS on the SQL function form), so the three openings are alternatives" + +[[limit]] +form = "db.expressions.identifiers.subscript-dot" +kind = "alternative" +target = "'_'" +note = "an identifier containing an underscore, the character the page lists" +anchor = "doc.sql-ref-identifiers / Syntax" +sql = "SELECT ( v_1 )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.create-materialized-view-refresh-policy" +kind = "negative_neighbour" +target = "POLICY" +note = "REFRESH followed by a policy word without POLICY" +anchor = "doc.sql-ref-syntax-ddl-create-materialized-view-refresh-policy / Syntax" +sql = "CREATE MATERIALIZED VIEW mv1 REFRESH AUTO AS SELECT 1" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.clone.clone-source-temporal" +kind = "alternative" +target = "@" +note = "the source table at a version written with @V, as the names page allows" +anchor = "doc.delta-clone / Syntax" +sql = "CREATE TABLE t3 CLONE t1@v1" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.ddl.clone.clone-source-temporal" +kind = "alternative" +target = "@" +note = "the source table at a timestamp written with @, as the names page allows" +anchor = "doc.delta-clone / Syntax" +sql = "CREATE TABLE t3 CLONE t1@20261101000000000" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.security_admin.alter-group" +kind = "negative_neighbour" +target = "GROUP" +note = "the form without GROUP or USER written after DROP, beside the case written after ADD" +anchor = "doc.security-alter-group / Syntax" +sql = "ALTER GROUP v1 DROP v1" +context = "raw" +expect = "reject" + +[[limit]] +form = "db.security_admin.alter-group" +kind = "option_present" +target = "[ ... ]" +note = "the ADD or DROP group repeated as a whole" +anchor = "doc.security-alter-group / Syntax" +sql = "ALTER GROUP v1 ADD USER v1 DROP GROUP v1" +context = "raw" +expect = "observe" + +[[reading]] +form = "db.transaction_session.set-variable.set-default" +grammar_sha256 = "81a98c043ed8a250c4bf58fd6a5883b4099b81d0bc8c50b8d9710e586685885f" +grammar = ["SET { VAR | VARIABLE } { = { | DEFAULT } } [ , ... ]"] +reason = "the page's note: 'Outside of a compound statement the keywords VAR or VARIABLE are mandatory to disambiguate from a SET config statement.' The cases run outside a compound statement, where SET v1 = 1 is a configuration SET (the page's example: SET var = 5 fails with UNSUPPORTED_FEATURE.SET_VARIABLE_USING_SET), so VAR or VARIABLE is read as required, as the sibling form's reading records" + +[[limit]] +form = "db.transaction_session.timezone" +kind = "alternative" +target = "" +note = "a zone offset, as the page's examples write it" +anchor = "doc.parameters.timezone / Syntax" +sql = "SET TIMEZONE = +08:00" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.transaction_session.timezone" +kind = "alternative" +target = "" +note = "the UTC zone" +anchor = "doc.parameters.timezone / Syntax" +sql = "SET TIMEZONE = UTC" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.transaction_session.conf-mgmt-set-path" +kind = "alternative" +target = "" +note = "the DEFAULT_PATH element" +anchor = "doc.sql-ref-syntax-aux-conf-mgmt-set-path / Syntax" +sql = "SET PATH = DEFAULT_PATH" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.transaction_session.conf-mgmt-set-query-tags.query-tags" +kind = "alternative" +target = "" +note = "UNSET as the tag value, which the Parameters section names" +anchor = "doc.sql-ref-syntax-aux-conf-mgmt-set-query-tags / Syntax" +sql = "SET QUERY_TAGS [ 'k' ] = UNSET" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.transaction_session.declare-variable" +kind = "option_present" +target = "VARIABLE" +note = "the optional VARIABLE alone, beside the form without it" +anchor = "doc.sql-ref-syntax-ddl-declare-variable / Syntax" +sql = "DECLARE VARIABLE v1 INT" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.utility.cache-refresh-table" +kind = "identifier_class" +target = "" +note = "a backtick-quoted name after the TABLE spelling" +anchor = "doc.sql-ref-syntax-aux-cache-refresh-table / Syntax" +sql = "REFRESH TABLE `t1 Q`" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.transaction_session.set-variable.set-default" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "SET VAR = 1 is a configuration SET of the key VAR: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T190107.177192Z) answers CONFIG_NOT_AVAILABLE, an analysis failure, not a syntax error" + +[[suppress]] +form = "db.transaction_session.set-variable.set-default" +kind = "negative_neighbour" +target = "" +note = "the form without its required { = { | DEFAULT } }" +reason = "SET VAR is a configuration SET that reads the key VAR: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T190107.177192Z) answers CONFIG_NOT_AVAILABLE, an analysis failure, not a syntax error" + +[[suppress]] +form = "db.expressions.names.subscript-dot-4" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "without a name DESCRIBE VOLUME reads VOLUME as a table name (DESCRIBE [TABLE] table_name): the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T185801.409372Z) answers TABLE_OR_VIEW_NOT_FOUND for `VOLUME`" + +[[suppress]] +form = "db.expressions.names.subscript-dot-4" +kind = "required_operand_missing" +target = " in [ . ]" +note = "omit " +reason = "DESCRIBE VOLUME . v1 reads VOLUME . v1 as a qualified table name: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T185801.409372Z) answers TABLE_OR_VIEW_NOT_FOUND for `VOLUME`.`v1`" + +[[suppress]] +form = "db.utility.optimize" +kind = "negative_neighbour" +target = "" +note = "the form without its required ( in [ ZORDER BY ( [ , ... ] ) ]" +reason = "ZORDER BY takes a single column without parentheses: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T170554.366271Z) accepts OPTIMIZE t1 ZORDER BY c1" + +[[limit]] +form = "db.utility.describe-table" +kind = "alternative" +target = "[ PARTITION ]" +note = "the PARTITION clause alone" +anchor = "doc.sql-ref-syntax-aux-describe-table / Syntax" +sql = "DESC t1 PARTITION ( c1 = 1 )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.utility.describe-table" +kind = "alternative" +target = "FORMATTED" +note = "FORMATTED, which the page names a synonym of EXTENDED" +anchor = "doc.sql-ref-syntax-aux-describe-table / Syntax" +sql = "DESC FORMATTED t1" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.utility.show-functions" +kind = "option_present" +target = "LIKE" +note = "LIKE before an unquoted function name" +anchor = "doc.sql-ref-syntax-aux-show-functions / Syntax" +sql = "SHOW FUNCTIONS LIKE abs" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.utility.show-functions" +kind = "option_present" +target = "LIKE" +note = "LIKE before a quoted pattern" +anchor = "doc.sql-ref-syntax-aux-show-functions / Syntax" +sql = "SHOW FUNCTIONS LIKE 'a*'" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.create-table-hiveformat" +kind = "negative_neighbour" +target = "" +note = "the form without its required AS after " +reason = "AS before a CTAS query is optional (SqlBaseParser createTable: (AS? query)?): the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T193029.100477Z) parses CREATE TABLE t3 ROW FORMAT DELIMITED SELECT 1 AS c1 , 2 AS c2 , 3 AS c3 and answers UNSUPPORTED_DATA_SOURCE_WRITE, not a syntax error" + +[[reading]] +form = "db.functions.vector-search.query-num-results" +grammar_sha256 = "d078a76374307963108eaf3f54c2e9737eba2ca0436346b6e1bf18fe7c7184cf" +grammar = ["SELECT * FROM VECTOR_SEARCH ( index => , query => , num_results => )"] +reason = "the page's Syntax writes vector_search( index, query, num_results) and its Arguments say all arguments must be passed by name and that query is a STRING, so each argument is written with its name and =>, and the query placeholder is query_str, a string" + +[[reading]] +form = "db.functions.vector-search.query-text-query-vector" +grammar_sha256 = "100608088b093479839aa1d52cb76782f4cb28419d59cf5957aeae4516d3afc0" +grammar = ["SELECT * FROM VECTOR_SEARCH ( index => , { query_text => | query_vector => } [ , num_results => ] )"] +reason = "the page's Syntax writes vector_search( index, { query_text | query_vector }, [ num_results ]) and its Arguments say all arguments must be passed by name, so each argument is written with its name and =>, and the comma before the optional num_results moves inside its brackets" + +[[suppress]] +form = "db.security_admin.deny" +kind = "negative_neighbour" +target = "" +note = "the form without its required ALL after DENY" +reason = "a privilege type is an identifier, so PRIVILEGES alone reads as one: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T170535.934117Z) parses DENY PRIVILEGES ON TABLE t1 TO v1 and answers UC_COMMAND_NOT_SUPPORTED, as it does for DENY SELECT, not a syntax error" + +[[suppress]] +form = "db.security_admin.deny" +kind = "negative_neighbour" +target = "" +note = "the form without its required PRIVILEGES" +reason = "a privilege type is an identifier, so ALL alone reads as one: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T170535.934117Z) parses DENY ALL ON TABLE t1 TO v1 and answers UC_COMMAND_NOT_SUPPORTED, as it does for DENY SELECT, not a syntax error" + +[[reading]] +form = "db.utility.show-functions" +grammar_sha256 = "25df368e34d49b5a85ce6357886273d03818255b7739116f16e46e0e4c49131d" +grammar = ["SHOW [ ] FUNCTIONS [ { FROM | IN } ] [ [ LIKE ] { | } ]"] +reason = "the warehouse refuses an unquoted function name after FROM or IN (DBSQL 2026.45, run databricks-2026.45-20261116T090736.200251Z: SHOW USER FUNCTIONS FROM s1 LIKE abs answers INVALID_SQL_SYNTAX.SHOW_FUNCTIONS_INVALID_PATTERN), so the pattern is read as the first alternative and the form with every option takes a pattern" + +[[suppress]] +form = "db.utility.show-functions" +kind = "operand_type_class" +target = " in [ [ LIKE ] { | } ]" +note = "a valid identifier" +reason = "the derived case puts the function name after FROM s1, which the warehouse refuses (DBSQL 2026.45, run databricks-2026.45-20261116T090736.200251Z: INVALID_SQL_SYNTAX.SHOW_FUNCTIONS_INVALID_PATTERN); a valid function name is the alternative case SHOW FUNCTIONS abs and the [[limit]] SHOW FUNCTIONS LIKE abs" + +[[suppress]] +form = "db.ddl.create-procedure" +kind = "negative_neighbour" +target = "" +note = "the form without its required AS" +reason = "AS before a compound body is optional in the warehouse's parser: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T095943.990438Z) accepts CREATE OR REPLACE PROCEDURE v1 ( ) LANGUAGE SQL SQL SECURITY INVOKER BEGIN SELECT 1 ; END" + +[[suppress]] +form = "db.ddl.create-location" +kind = "negative_neighbour" +target = "" +note = "the form without its required STORAGE" +reason = "STORAGE before CREDENTIAL is optional in the warehouse's parser: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T112320.575489Z) parses CREATE EXTERNAL LOCATION v1 URL 's3://b1/p1' WITH ( CREDENTIAL v1 ) and answers NO_SUCH_STORAGE_CREDENTIAL_EXCEPTION, not a syntax error" + +[[suppress]] +form = "db.ddl.create-policy" +kind = "negative_neighbour" +target = "" +note = "the form without its required TABLE after ON" +reason = "a policy target may be a bare name: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T112320.575489Z) parses CREATE POLICY v1 ON t1 ROW FILTER f1 TO `u1` FOR TABLES and answers PRINCIPAL_DOES_NOT_EXIST, not a syntax error" + +[[suppress]] +form = "db.ddl.create-policy" +kind = "negative_neighbour" +target = "" +note = "the form without its required CATALOG after ON" +reason = "a policy target may be a bare name: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T112320.575489Z) parses CREATE POLICY v1 ON v1 ROW FILTER f1 TO `u1` FOR TABLES and answers PRINCIPAL_DOES_NOT_EXIST, not a syntax error" + +[[suppress]] +form = "db.ddl.create-policy" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "TABLE alone reads as the name of the policy target: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T112320.575489Z) parses CREATE POLICY v1 ON TABLE ROW FILTER f1 TO `u1` FOR TABLES and answers PRINCIPAL_DOES_NOT_EXIST, not a syntax error" + +[[suppress]] +form = "db.ddl.create-policy" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "SCHEMA alone reads as the name of the policy target: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T112320.575489Z) parses CREATE POLICY v1 ON SCHEMA ROW FILTER f1 TO `u1` FOR TABLES and answers PRINCIPAL_DOES_NOT_EXIST, not a syntax error" + +[[suppress]] +form = "db.functions.event-log" +kind = "negative_neighbour" +target = "" +note = "the form without its required (" +reason = "without ( the name reads as a table with the alias TABLE and a column list: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T165300.561941Z) parses SELECT * FROM EVENT_LOG TABLE ( t1 ) and answers TABLE_OR_VIEW_NOT_FOUND, not a syntax error" + +[[suppress]] +form = "db.functions.cloud-files-state" +kind = "negative_neighbour" +target = "" +note = "the form without its required (" +reason = "without ( the name reads as a table with the alias TABLE and a column list: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T165300.561941Z) parses SELECT * FROM CLOUD_FILES_STATE TABLE ( t1 ) and answers TABLE_OR_VIEW_NOT_FOUND, not a syntax error" + +[[suppress]] +form = "db.functions.data-skipping-summary" +kind = "negative_neighbour" +target = "" +note = "the form without its required (" +reason = "without ( the name reads as a table with the alias TABLE and a column list: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T165300.561941Z) parses SELECT * FROM DATA_SKIPPING_SUMMARY TABLE ( t1 ) and answers TABLE_OR_VIEW_NOT_FOUND, not a syntax error" + +[[suppress]] +form = "db.ddl.refresh-full" +kind = "required_operand_missing" +target = " #2" +note = "omit " +reason = "REFRESH followed by one word reads as a resource refresh: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T095943.990438Z) parses REFRESH TABLE and answers UC_COMMAND_NOT_SUPPORTED for resource operations, not a syntax error" + +[[suppress]] +form = "db.ddl.alter-streaming-table.streaming-table-add-alter" +kind = "negative_neighbour" +target = "" +note = "the form without its required STREAMING" +reason = "ALTER TABLE takes a schedule clause in the warehouse's parser: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T095943.990438Z) parses ALTER TABLE t1 ADD SCHEDULE EVERY 1 HOUR and answers ALTER_SCHEDULE_INVALID_ENTITY, not a syntax error" + +[[suppress]] +form = "db.ddl.create-policy" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "the warehouse parses ON CATALOG without the catalog name: it (DBSQL 2026.45, run databricks-2026.45-20261116T112320.575489Z) parses CREATE POLICY v1 ON CATALOG ROW FILTER f1 TO `u1` FOR TABLES and answers UC_CATALOG_NAME_NOT_PROVIDED, not a syntax error" + +[[suppress]] +form = "db.ddl.create-policy" +kind = "negative_neighbour" +target = "" +note = "the form without its required SCHEMA after ON" +reason = "a policy target may be a bare name: the warehouse (DBSQL 2026.45, run databricks-2026.45-20261116T112320.575489Z) parses CREATE POLICY v1 ON s1 ROW FILTER f1 TO `u1` FOR TABLES and answers PRINCIPAL_DOES_NOT_EXIST, not a syntax error" + +[[reading]] +form = "db.expressions.decfloat-type" +grammar_sha256 = "7897c1dde5bbdf7bb0e9585803e96e12eff47ede0aaaeb5ba473e4813279aad6" +grammar = [] +reason = "documented but rejected at DBSQL 2026.45: the page applies to Databricks SQL but marks DECFLOAT Beta ('A workspace admin must enable DECFLOAT data type in Previews'), and the warehouse (run databricks-2026.45-20261116T170422.040934Z) refuses both documented spellings with UNSUPPORTED_DATATYPE, so the form is not derived and its spellings are observed [[limit]] rows that do not count as verified; the receipts come from a warehouse without the preview, so they stay observed until a warehouse with the preview enabled answers them" + +[[limit]] +form = "db.expressions.decfloat-type" +kind = "positive" +target = "" +note = "documented but rejected at DBSQL 2026.45 (Beta, not enabled): DECFLOAT without a precision" +anchor = "doc.data-types.decfloat-type / Syntax" +sql = "SELECT CAST ( NULL AS DECFLOAT )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.decfloat-type" +kind = "option_present" +target = "[ (

) ]" +note = "documented but rejected at DBSQL 2026.45 (Beta, not enabled): DECFLOAT with the page's default precision 34" +anchor = "doc.data-types.decfloat-type / Syntax" +sql = "SELECT CAST ( NULL AS DECFLOAT ( 34 ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.expressions.decfloat-type" +kind = "required_operand_missing" +target = "

in [ (

) ]" +note = "omit

" +anchor = "doc.data-types.decfloat-type / Syntax" +sql = "SELECT CAST ( NULL AS DECFLOAT ( ) )" +context = "raw" +expect = "reject" + +[[limit]] +form = "db.expressions.decfloat-type" +kind = "negative_neighbour" +target = "" +note = "the form without its required ) in [ (

) ]" +anchor = "doc.data-types.decfloat-type / Syntax" +sql = "SELECT CAST ( NULL AS DECFLOAT ( 34 )" +context = "raw" +expect = "reject" + +[[suppress]] +form = "db.ddl.alter-materialized-view.materialized-view-add-alter" +kind = "negative_neighbour" +target = "" +note = "the form without its required COLUMN" +reason = "COLUMN after ALTER is optional in the column action (Spark's ALTER ... ALTER COLUMN? column), so the text parses; the warehouse answers INVALID_TARGET_FOR_ALTER_COMMAND (42809) after parsing; it is kept as the observed [[limit]] \"ALTER MATERIALIZED VIEW v1 ALTER c1 COMMENT 'x'\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.alter-materialized-view.materialized-view-add-alter" +kind = "negative_neighbour" +target = "the form without its required COLUMN" +note = "the form without its required COLUMN; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-alter-materialized-view / Syntax" +sql = "ALTER MATERIALIZED VIEW v1 ALTER c1 COMMENT 'x'" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.alter-recipient" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of " +reason = "a property key is a dotted identifier or a string (Spark's propertyKey: identifier ( . identifier )* | stringLit), so an unquoted name parses; the warehouse answers RECIPIENT_DOES_NOT_EXIST (42704) after parsing; it is kept as the observed [[limit]] \"ALTER RECIPIENT v1 SET PROPERTIES ( m1 'v' )\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.alter-recipient" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-alter-recipient / Syntax" +sql = "ALTER RECIPIENT v1 SET PROPERTIES ( m1 'v' )" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.alter-recipient" +kind = "negative_neighbour" +target = " #2" +note = "an unquoted identifier in place of " +reason = "a property key is a dotted identifier or a string (Spark's propertyKey: identifier ( . identifier )* | stringLit), so an unquoted name parses; the warehouse answers RECIPIENT_DOES_NOT_EXIST (42704) after parsing; it is kept as the observed [[limit]] 'ALTER RECIPIENT v1 UNSET PROPERTIES ( m1 )', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.alter-recipient" +kind = "negative_neighbour" +target = " #2" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-alter-recipient / Syntax" +sql = "ALTER RECIPIENT v1 UNSET PROPERTIES ( m1 )" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.alter-streaming-table.streaming-table-add-alter" +kind = "negative_neighbour" +target = "" +note = "the form without its required COLUMN" +reason = "COLUMN after ALTER is optional in the column action (Spark's ALTER ... ALTER COLUMN? column), so the text parses; the warehouse answers INVALID_TARGET_FOR_ALTER_COMMAND (42809) after parsing; it is kept as the observed [[limit]] \"ALTER STREAMING TABLE t1 ALTER c1 COMMENT 'x'\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.alter-streaming-table.streaming-table-add-alter" +kind = "negative_neighbour" +target = "the form without its required COLUMN" +note = "the form without its required COLUMN; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-alter-streaming-table / Syntax" +sql = "ALTER STREAMING TABLE t1 ALTER c1 COMMENT 'x'" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.column-mask" +kind = "negative_neighbour" +target = " in [ USING COLUMNS ( { | } [ , ... ] ) ]" +note = "a string literal in place of " +reason = "the same list's other alternative is , and a string literal is a constant literal, so the text is valid by the documented grammar; the warehouse answers ROUTINE_NOT_FOUND (42883) after parsing; it is kept as the observed [[limit]] \"CREATE TABLE t3 ( c1 INT MASK v1 USING COLUMNS ( 'v1' ) )\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.column-mask" +kind = "negative_neighbour" +target = " in [ USING COLUMNS ( { | } [ , ... ] ) ]" +note = "a string literal in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-column-mask / Syntax" +sql = "CREATE TABLE t3 ( c1 INT MASK v1 USING COLUMNS ( 'v1' ) )" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.create-recipient" +kind = "negative_neighbour" +target = " in [ PROPERTIES ( { [ . ... ] | } [ = ]…" +note = "an unquoted identifier in place of " +reason = "a property key is a dotted identifier or a string (Spark's propertyKey: identifier ( . identifier )* | stringLit), so an unquoted name parses; the warehouse answers PERMISSION_DENIED (42501) after parsing; it is kept as the observed [[limit]] \"CREATE RECIPIENT v1 PROPERTIES ( m1 'v' )\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.create-recipient" +kind = "negative_neighbour" +target = " in [ PROPERTIES ( { [ . ... ] | } [ = ]…" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-create-recipient / Syntax" +sql = "CREATE RECIPIENT v1 PROPERTIES ( m1 'v' )" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.create-sql-function" +kind = "negative_neighbour" +target = " #2" +note = "a bare literal in place of " +reason = "RETURN takes an expression or a query while parsing, and that a table function's body must be a query is checked afterwards: the warehouse answers USER_DEFINED_FUNCTIONS.SQL_TABLE_UDF_BODY_MUST_BE_A_QUERY; it is kept as the observed [[limit]] 'CREATE OR REPLACE FUNCTION abs ( ) RETURNS TABLE RETURN 1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.create-sql-function" +kind = "negative_neighbour" +target = " #2" +note = "a bare literal in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-create-sql-function / Syntax" +sql = "CREATE OR REPLACE FUNCTION abs ( ) RETURNS TABLE RETURN 1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.create-streaming-table-auto-cdc" +kind = "negative_neighbour" +target = " #2" +note = "a string literal in place of " +reason = "SEQUENCE BY takes an expression while parsing, and a string literal is an expression; that it names a column is checked afterwards: the warehouse answers UNRESOLVED_COLUMN (42703); it is kept as the observed [[limit]] \"CREATE OR REFRESH STREAMING TABLE st1 FLOW AUTO CDC FROM v1 KEYS ( v1 ) SEQUENCE BY 'v1' COLUMNS TO UPDATE c1\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.create-streaming-table-auto-cdc" +kind = "negative_neighbour" +target = " #2" +note = "a string literal in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-create-streaming-table-auto-cdc / Syntax" +sql = "CREATE OR REFRESH STREAMING TABLE st1 FLOW AUTO CDC FROM v1 KEYS ( v1 ) SEQUENCE BY 'v1' COLUMNS TO UPDATE c1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.create-streaming-table-auto-cdc" +kind = "negative_neighbour" +target = " #3" +note = "a string literal in place of " +reason = "SEQUENCE BY takes an expression while parsing, and a string literal is an expression; that it names a column is checked afterwards: the warehouse answers UNRESOLVED_COLUMN (42703); it is kept as the observed [[limit]] \"CREATE OR REFRESH STREAMING TABLE st1 FLOW AUTO CDC FROM v1 KEYS ( v1 ) SEQUENCE BY 'v1' SYSTEM SEQUENCE BY v1 STORED AS BITEMPORAL\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.create-streaming-table-auto-cdc" +kind = "negative_neighbour" +target = " #3" +note = "a string literal in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-create-streaming-table-auto-cdc / Syntax" +sql = "CREATE OR REFRESH STREAMING TABLE st1 FLOW AUTO CDC FROM v1 KEYS ( v1 ) SEQUENCE BY 'v1' SYSTEM SEQUENCE BY v1 STORED AS BITEMPORAL" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.ddl.create-streaming-table-auto-cdc" +kind = "negative_neighbour" +target = "" +note = "a string literal in place of " +reason = "SYSTEM SEQUENCE BY takes an expression while parsing, and a string literal is an expression; that it names a column is checked afterwards: the warehouse answers UNRESOLVED_COLUMN (42703); it is kept as the observed [[limit]] \"CREATE OR REFRESH STREAMING TABLE st1 FLOW AUTO CDC FROM v1 KEYS ( v1 ) SEQUENCE BY v1 SYSTEM SEQUENCE BY 'v1' STORED AS BITEMPORAL\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.ddl.create-streaming-table-auto-cdc" +kind = "negative_neighbour" +target = "" +note = "a string literal in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-create-streaming-table-auto-cdc / Syntax" +sql = "CREATE OR REFRESH STREAMING TABLE st1 FLOW AUTO CDC FROM v1 KEYS ( v1 ) SEQUENCE BY v1 SYSTEM SEQUENCE BY 'v1' STORED AS BITEMPORAL" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.expressions.names.identifier-2" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "FROM is not reserved, so a trailing FROM parses as the alias of the select list: the warehouse answers INVALID_USAGE_OF_STAR_OR_REGEX for '*' in expression `alias`; it is kept as the observed [[limit]] 'SELECT * FROM', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.expressions.names.identifier-2" +kind = "required_operand_missing" +target = "" +note = "omit ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-names / Syntax" +sql = "SELECT * FROM" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.expressions.names.identifier.syntax" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "FROM is not reserved, so a trailing FROM parses as the alias of the select list: the warehouse answers INVALID_USAGE_OF_STAR_OR_REGEX for '*' in expression `alias`; it is kept as the observed [[limit]] 'SELECT * FROM', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.expressions.names.identifier.syntax" +kind = "required_operand_missing" +target = "" +note = "omit ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-names / Syntax" +sql = "SELECT * FROM" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.query.select-hints.join-hint-alias" +kind = "negative_neighbour" +target = "" +note = "the form without its required (" +reason = "a hint is written inside a /*+ */ comment, and the warehouse drops a hint it cannot read rather than refusing the statement: it accepts the text; it is kept as the observed [[limit]] 'SELECT /*+ BROADCASTJOIN t1 */ c1 FROM t1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.query.select-hints.join-hint-alias" +kind = "negative_neighbour" +target = "the form without its required (" +note = "the form without its required (; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-qry-select-hints / Syntax" +sql = "SELECT /*+ BROADCASTJOIN t1 */ c1 FROM t1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.scripting.execute-immediate" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of " +reason = "the statement text may be a string or a variable that holds it, so an unquoted name parses and is resolved afterwards: the warehouse answers UNRESOLVED_COLUMN (42703); it is kept as the observed [[limit]] 'EXECUTE IMMEDIATE m1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.scripting.execute-immediate" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-execute-immediate / Syntax" +sql = "EXECUTE IMMEDIATE m1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.scripting.signal-stmt" +kind = "negative_neighbour" +target = " in [ SET { MESSAGE_ARGUMENTS = | MESSAGE_TEXT = } ]" +note = "an unquoted identifier in place of " +reason = "the message may be a string or a variable that holds it, so an unquoted name parses and is resolved afterwards: the warehouse answers CONDITION_NOT_FOUND (42K0Q) for the condition first; it is kept as the observed [[limit]] 'BEGIN SIGNAL v1 SET MESSAGE_TEXT = m1 ; END', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.scripting.signal-stmt" +kind = "negative_neighbour" +target = " in [ SET { MESSAGE_ARGUMENTS = | MESSAGE_TEXT = } ]" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.control-flow.signal-stmt / Syntax" +sql = "BEGIN SIGNAL v1 SET MESSAGE_TEXT = m1 ; END" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.scripting.signal-stmt" +kind = "negative_neighbour" +target = " in [ SET MESSAGE_TEXT = ]" +note = "an unquoted identifier in place of " +reason = "the message may be a string or a variable that holds it, so an unquoted name parses and is resolved afterwards: the warehouse answers UNRESOLVED_COLUMN (42703); it is kept as the observed [[limit]] \"BEGIN SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = m1 ; END\", whose 2026.45 receipt settles it" + +[[limit]] +form = "db.scripting.signal-stmt" +kind = "negative_neighbour" +target = " in [ SET MESSAGE_TEXT = ]" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.control-flow.signal-stmt / Syntax" +sql = "BEGIN SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = m1 ; END" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.security_admin.grant" +kind = "negative_neighbour" +target = "" +note = "the form without its required ALL after GRANT" +reason = "privileges are parsed as names, so PRIVILEGES alone parses as a privilege; the warehouse answers PRINCIPAL_DOES_NOT_EXIST (42704) after parsing; it is kept as the observed [[limit]] 'GRANT PRIVILEGES ON TABLE t1 TO v1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.security_admin.grant" +kind = "negative_neighbour" +target = "the form without its required ALL after GRANT" +note = "the form without its required ALL after GRANT; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.security-grant / Syntax" +sql = "GRANT PRIVILEGES ON TABLE t1 TO v1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.security_admin.grant" +kind = "negative_neighbour" +target = "" +note = "the form without its required PRIVILEGES" +reason = "ALL without PRIVILEGES parses as the same privilege set; the warehouse answers PRINCIPAL_DOES_NOT_EXIST (42704) after parsing; it is kept as the observed [[limit]] 'GRANT ALL ON TABLE t1 TO v1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.security_admin.grant" +kind = "negative_neighbour" +target = "the form without its required PRIVILEGES" +note = "the form without its required PRIVILEGES; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.security-grant / Syntax" +sql = "GRANT ALL ON TABLE t1 TO v1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.security_admin.revoke" +kind = "negative_neighbour" +target = "" +note = "the form without its required ALL after REVOKE" +reason = "privileges are parsed as names, so PRIVILEGES alone parses as a privilege; the warehouse answers PRINCIPAL_DOES_NOT_EXIST (42704) after parsing; it is kept as the observed [[limit]] 'REVOKE PRIVILEGES ON TABLE t1 FROM v1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.security_admin.revoke" +kind = "negative_neighbour" +target = "the form without its required ALL after REVOKE" +note = "the form without its required ALL after REVOKE; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.security-revoke / Syntax" +sql = "REVOKE PRIVILEGES ON TABLE t1 FROM v1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.security_admin.revoke" +kind = "negative_neighbour" +target = "" +note = "the form without its required PRIVILEGES" +reason = "ALL without PRIVILEGES parses as the same privilege set; the warehouse answers PRINCIPAL_DOES_NOT_EXIST (42704) after parsing; it is kept as the observed [[limit]] 'REVOKE ALL ON TABLE t1 FROM v1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.security_admin.revoke" +kind = "negative_neighbour" +target = "the form without its required PRIVILEGES" +note = "the form without its required PRIVILEGES; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.security-revoke / Syntax" +sql = "REVOKE ALL ON TABLE t1 FROM v1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.cache-refresh" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of " +reason = "REFRESH followed by any text parses as the resource refresh (Spark's #refreshResource: REFRESH ( stringLit | .*? )); the warehouse answers UC_COMMAND_NOT_SUPPORTED (0AKUC) after parsing; it is kept as the observed [[limit]] 'REFRESH m1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.cache-refresh" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-cache-refresh / Syntax" +sql = "REFRESH m1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.resource-mgmt-add-archive" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "ADD and LIST of a resource take any text after the resource word, none included (Spark's #manageResource: ( ADD | LIST ) identifier .*?); the warehouse answers NOT_SUPPORTED_WITH_DB_SQL (0A000) after parsing; it is kept as the observed [[limit]] 'ADD ARCHIVE', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.resource-mgmt-add-archive" +kind = "required_operand_missing" +target = "" +note = "omit ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-resource-mgmt-add-archive / Syntax" +sql = "ADD ARCHIVE" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.resource-mgmt-add-archive" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of " +reason = "ADD and LIST of a resource take any text after the resource word (Spark's #manageResource: ( ADD | LIST ) identifier .*?); the warehouse answers NOT_SUPPORTED_WITH_DB_SQL (0A000) after parsing; it is kept as the observed [[limit]] 'ADD ARCHIVE m1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.resource-mgmt-add-archive" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-resource-mgmt-add-archive / Syntax" +sql = "ADD ARCHIVE m1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.resource-mgmt-add-file" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "ADD and LIST of a resource take any text after the resource word, none included (Spark's #manageResource: ( ADD | LIST ) identifier .*?); the warehouse answers NOT_SUPPORTED_WITH_DB_SQL (0A000) after parsing; it is kept as the observed [[limit]] 'ADD FILE', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.resource-mgmt-add-file" +kind = "required_operand_missing" +target = "" +note = "omit ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-resource-mgmt-add-file / Syntax" +sql = "ADD FILE" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.resource-mgmt-add-jar" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "ADD and LIST of a resource take any text after the resource word, none included (Spark's #manageResource: ( ADD | LIST ) identifier .*?); the warehouse answers NOT_SUPPORTED_WITH_DB_SQL (0A000) after parsing; it is kept as the observed [[limit]] 'ADD JAR', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.resource-mgmt-add-jar" +kind = "required_operand_missing" +target = "" +note = "omit ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-resource-mgmt-add-jar / Syntax" +sql = "ADD JAR" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.resource-mgmt-add-jar" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of " +reason = "ADD and LIST of a resource take any text after the resource word (Spark's #manageResource: ( ADD | LIST ) identifier .*?); the warehouse answers NOT_SUPPORTED_WITH_DB_SQL (0A000) after parsing; it is kept as the observed [[limit]] 'ADD JAR m1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.resource-mgmt-add-jar" +kind = "negative_neighbour" +target = "" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-resource-mgmt-add-jar / Syntax" +sql = "ADD JAR m1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.resource-mgmt-list-archive" +kind = "negative_neighbour" +target = " in [ [ ... ] ]" +note = "an unquoted identifier in place of " +reason = "ADD and LIST of a resource take any text after the resource word (Spark's #manageResource: ( ADD | LIST ) identifier .*?); the warehouse answers UC_COMMAND_NOT_SUPPORTED (0AKUC) after parsing; it is kept as the observed [[limit]] 'LIST ARCHIVE m1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.resource-mgmt-list-archive" +kind = "negative_neighbour" +target = " in [ [ ... ] ]" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-resource-mgmt-list-archive / Syntax" +sql = "LIST ARCHIVE m1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.resource-mgmt-list-jar" +kind = "negative_neighbour" +target = " in [ [ ... ] ]" +note = "an unquoted identifier in place of " +reason = "ADD and LIST of a resource take any text after the resource word (Spark's #manageResource: ( ADD | LIST ) identifier .*?); the warehouse answers NOT_SUPPORTED_WITH_DB_SQL (0A000) after parsing; it is kept as the observed [[limit]] 'LIST JAR m1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.resource-mgmt-list-jar" +kind = "negative_neighbour" +target = " in [ [ ... ] ]" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-resource-mgmt-list-jar / Syntax" +sql = "LIST JAR m1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.show-functions" +kind = "negative_neighbour" +target = " in [ [ LIKE ] { | } ]" +note = "an unquoted identifier in place of " +reason = "SHOW FUNCTIONS takes a function name as well as a pattern (Spark's SHOW FUNCTIONS ... LIKE? ( multipartIdentifier | stringLit )), so an unquoted name parses; the warehouse accepts the text; it is kept as the observed [[limit]] 'SHOW FUNCTIONS m1', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.show-functions" +kind = "negative_neighbour" +target = " in [ [ LIKE ] { | } ]" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-show-functions / Syntax" +sql = "SHOW FUNCTIONS m1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.utility.show-tblproperties" +kind = "negative_neighbour" +target = " in [ ( { | } ) ]" +note = "an unquoted identifier in place of " +reason = "the key is a property key, a dotted identifier or a string (Spark's propertyKey: identifier ( . identifier )* | stringLit), so an unquoted name parses; the warehouse accepts the text; it is kept as the observed [[limit]] 'SHOW TBLPROPERTIES t1 ( m1 )', whose 2026.45 receipt settles it" + +[[limit]] +form = "db.utility.show-tblproperties" +kind = "negative_neighbour" +target = " in [ ( { | } ) ]" +note = "an unquoted identifier in place of ; the warehouse parses the text, so its answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-aux-show-tblproperties / Syntax" +sql = "SHOW TBLPROPERTIES t1 ( m1 )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.utility.analyze-compute-storage-metrics" +kind = "negative_neighbour" +target = "CONF in [ USING INVENTORY LOCATION CONF ]" +note = "an inventory location of one string with no CONF: the derived negative drops only CONF, and the warehouse joins its two adjacent strings into one path, so this text shows CONF is required without relying on that join" +anchor = "doc.sql-ref-syntax-aux-analyze-compute-storage-metrics / Syntax" +sql = "ANALYZE TABLE t1 COMPUTE STORAGE METRICS USING INVENTORY LOCATION 'm'" +context = "raw" +expect = "reject" + +[[limit]] +form = "db.ddl.alter-catalog" +kind = "negative_neighbour" +target = " in [ ] with SET TAGS" +note = "a string literal in place of before SET TAGS: the derived negative ALTER CATALOG 'v1' OWNER TO v1 is refused at OWNER, so it does not show which part the warehouse refuses; this one is refused in the tag clause (PARSE_SYNTAX_ERROR at TAGS), which takes no string literal as the catalog name" +anchor = "doc.sql-ref-syntax-ddl-alter-catalog / Syntax" +sql = "ALTER CATALOG 'v1' SET TAGS ( 'k' = 'v' )" +context = "raw" +expect = "reject" + +[[limit]] +form = "db.ddl.alter-catalog" +kind = "negative_neighbour" +target = " in [ ] with UNSET TAGS" +note = "a string literal in place of before UNSET TAGS: the warehouse refuses it (PARSE_SYNTAX_ERROR at UNSET, pos 19), as it does before SET TAGS" +anchor = "doc.sql-ref-syntax-ddl-alter-catalog / Syntax" +sql = "ALTER CATALOG 'v1' UNSET TAGS ( 'k' )" +context = "raw" +expect = "reject" + +[[limit]] +form = "db.ddl.alter-catalog" +kind = "negative_neighbour" +target = " in [ ] with ENABLE PREDICTIVE OPTIMIZATION" +note = "a string literal in place of before a predictive optimization clause: the warehouse refuses it (PARSE_SYNTAX_ERROR at ENABLE, pos 19)" +anchor = "doc.sql-ref-syntax-ddl-alter-catalog / Syntax" +sql = "ALTER CATALOG 'v1' ENABLE PREDICTIVE OPTIMIZATION" +context = "raw" +expect = "reject" + +[[limit]] +form = "db.security_admin.alter-group" +kind = "negative_neighbour" +target = "{ ADD | DROP } repeated" +note = "an ADD followed by a DROP in one statement: the page's trailing [ ... ] reads as a repeat, but the warehouse refuses the second clause (PARSE_SYNTAX_ERROR at DROP)" +anchor = "doc.security-alter-group / Syntax" +sql = "ALTER GROUP v1 ADD USER v1 DROP GROUP v1" +context = "raw" +expect = "reject" + +[[limit]] +form = "db.functions.ai-predict-class" +kind = "negative_neighbour" +target = "TABLE ( ) with its ) restored after the named arguments" +note = "the o016 negative (the form without its required )) with the ) put back at the end instead: the warehouse reads TABLE ( v1 , target_col => v1 , feature_cols => v1 ) as a call of a function named TABLE (semantic_error UNRESOLVED_ROUTINE TABLE), so it parses; this shows the o016 refusal is the missing ), at end of input. Observed, so its receipt settles it" +anchor = "doc.functions.ai_predict_class / Syntax" +sql = "SELECT * FROM AI_PREDICT_CLASS ( input => TABLE ( v1 , target_col => v1 , feature_cols => v1 ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.functions.ai-predict-value" +kind = "negative_neighbour" +target = "TABLE ( ) with its ) restored after the named arguments" +note = "the o016 negative (the form without its required )) with the ) put back at the end instead: the warehouse reads TABLE ( v1 , target_col => v1 , feature_cols => v1 ) as a call of a function named TABLE (semantic_error UNRESOLVED_ROUTINE TABLE), so it parses; this shows the o016 refusal is the missing ), at end of input. Observed, so its receipt settles it" +anchor = "doc.functions.ai_predict_value / Syntax" +sql = "SELECT * FROM AI_PREDICT_VALUE ( input => TABLE ( v1 , target_col => v1 , feature_cols => v1 ) )" +context = "raw" +expect = "observe" + +[[limit]] +form = "db.transaction_session.use-catalog" +kind = "alternative" +target = "{ USE | SET } → SET with " +note = "SET CATALOG with a catalog name: the derived SET case writes the string spelling, and the warehouse reads SET CATALOG alone as a configuration key (CONFIG_NOT_AVAILABLE CATALOG, recorded), so SET with a name is observed on its own" +anchor = "doc.sql-ref-syntax-ddl-use-catalog / Syntax" +sql = "SET CATALOG v1" +context = "raw" +expect = "accept" + +[[suppress]] +form = "db.transaction_session.use-catalog" +kind = "negative_neighbour" +target = "" +note = "the form without its required CATALOG" +reason = "without CATALOG the text is USE of a schema (the use-schema page's USE [ SCHEMA ] schema_name), so 'USE v1' parses: the warehouse answers SCHEMA_NOT_FOUND for workspace.v1 (recorded); it is kept as an observed [[limit]] whose receipt settles it" + +[[limit]] +form = "db.transaction_session.use-catalog" +kind = "negative_neighbour" +target = "USE without CATALOG" +note = "the form without CATALOG, which reads as USE of a schema; the warehouse answers SCHEMA_NOT_FOUND, so the answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-use-catalog / Syntax" +sql = "USE v1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.transaction_session.use-catalog" +kind = "negative_neighbour" +target = "" +note = "the form without its required { | ' catalog_name ' }" +reason = "without the name, CATALOG is itself read as a schema name: 'USE CATALOG' is USE of a schema named catalog (SCHEMA_NOT_FOUND workspace.catalog, recorded); it is kept as an observed [[limit]] whose receipt settles it" + +[[limit]] +form = "db.transaction_session.use-catalog" +kind = "negative_neighbour" +target = "USE CATALOG without a name" +note = "the form without its catalog name, which reads as USE of a schema named catalog; the warehouse answers SCHEMA_NOT_FOUND, so the answer is recorded rather than expected" +anchor = "doc.sql-ref-syntax-ddl-use-catalog / Syntax" +sql = "USE CATALOG" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.security_admin.show-grant-on-share" +kind = "negative_neighbour" +target = "" +note = "the form without its required SHARE" +reason = "without SHARE the name is a table or view (the show-grant page's SHOW GRANTS ON securable_object), so 'SHOW GRANTS ON v1' runs on the view v1 (accepted, recorded); it is kept as an observed [[limit]] whose receipt settles it" + +[[limit]] +form = "db.security_admin.show-grant-on-share" +kind = "negative_neighbour" +target = "SHOW GRANTS ON without SHARE" +note = "the form without SHARE, which reads as SHOW GRANTS on a table or view; the warehouse accepts it, so the answer is recorded rather than expected" +anchor = "doc.security-show-grant-on-share / Syntax" +sql = "SHOW GRANTS ON v1" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.security_admin.show-grant-on-share" +kind = "required_operand_missing" +target = "" +note = "omit " +reason = "without the share name, SHARE is itself read as a table name: 'SHOW GRANTS ON SHARE' answers TABLE_DOES_NOT_EXIST for a table named share (recorded); it is kept as an observed [[limit]] whose receipt settles it" + +[[limit]] +form = "db.security_admin.show-grant-on-share" +kind = "required_operand_missing" +target = "SHOW GRANTS ON SHARE without a name" +note = "the form without its share name, which reads as SHOW GRANTS on a table named share; the warehouse answers TABLE_DOES_NOT_EXIST, so the answer is recorded rather than expected" +anchor = "doc.security-show-grant-on-share / Syntax" +sql = "SHOW GRANTS ON SHARE" +context = "raw" +expect = "observe" + +[[suppress]] +form = "db.scripting.iterate-stmt" +kind = "positive" +target = "" +reason = "ITERATE inside the shared LOOP context with no LEAVE never ends: the warehouse runs it to the 300 s deadline, so no phase can be observed. The positive and the valid-label case are written instead as a loop that counts to 2 and leaves, which the warehouse runs and accepts (recorded on 17 Nov 2026); the label's negatives keep the shared context, since each is refused or resolved before the loop runs" + +[[suppress]] +form = "db.scripting.iterate-stmt" +kind = "operand_type_class" +target = "

" +anchor = "doc.data-types.decfloat-type / Syntax" +note = "a string where the page documents an integer" [[obligation]] -id = "db.expressions.decfloat-type.o002" -kind = "option_present" +id = "db.expressions.decfloat-type.o009" +kind = "positive" required = true -target = "[ (

) ]" +anchor = "doc.data-types.decfloat-type / Syntax" +note = "documented but rejected at DBSQL 2026.45 (Beta, not enabled): DECFLOAT without a precision" [[obligation]] -id = "db.expressions.decfloat-type.o003" -kind = "option_absent" +id = "db.expressions.decfloat-type.o010" +kind = "option_present" required = true target = "[ (

) ]" +anchor = "doc.data-types.decfloat-type / Syntax" +note = "documented but rejected at DBSQL 2026.45 (Beta, not enabled): DECFLOAT with the page's default precision 34" [[obligation]] -id = "db.expressions.decfloat-type.o005" -kind = "operand_type_class" +id = "db.expressions.decfloat-type.o007" +kind = "required_operand_missing" required = true target = "

in [ (

) ]" -note = "a valid operand" +anchor = "doc.data-types.decfloat-type / Syntax" +note = "omit

" [[obligation]] id = "db.expressions.decfloat-type.o006" kind = "negative_neighbour" required = true +anchor = "doc.data-types.decfloat-type / Syntax" note = "the form without its required ) in [ (

) ]" [[obligation]] @@ -511,6 +413,13 @@ kind = "option_absent" required = true target = "[ (

[ , ] ) ]" +[[obligation]] +id = "db.expressions.decimal-type.o014" +kind = "required_operand_missing" +required = true +target = "

in [ (

[ , ] ) ]" +note = "omit

" + [[obligation]] id = "db.expressions.decimal-type.o008" kind = "operand_type_class" @@ -551,92 +460,82 @@ required = true note = "the form without its required ) in [ (

[ , ] ) ]" [[obligation]] -id = "db.expressions.decimal-type.bd.o001" -kind = "positive" +id = "db.expressions.decimal-type.o015" +kind = "operand_type_class" required = true -note = "the documented form with every required part and no optional part" +target = "

" +anchor = "doc.data-types.decimal-type / Syntax" +note = "a string where the page documents an integer" [[obligation]] -id = "db.expressions.decimal-type.bd.o003" +id = "db.expressions.decimal-type.o016" kind = "operand_type_class" required = true -target = "" -note = "a valid operand" +target = "" +anchor = "doc.data-types.decimal-type / Syntax" +note = "a string where the page documents an integer" [[obligation]] -id = "db.expressions.decimal-type.bd.o004" -kind = "option_present" +id = "db.expressions.decimal-type.bd.o007" +kind = "positive" required = true -target = "[ ]" +anchor = "doc.data-types.decimal-type / Literals" +note = "digits with the BD postfix" [[obligation]] -id = "db.expressions.decimal-type.bd.o005" -kind = "option_absent" +id = "db.expressions.decimal-type.bd.o008" +kind = "option_present" required = true target = "[ ]" +anchor = "doc.data-types.decimal-type / Literals" +note = "digits with an exponent and the BD postfix" [[obligation]] -id = "db.expressions.decimal-type.bd.o006" -kind = "operand_type_class" +id = "db.expressions.decimal-type.bd.o009" +kind = "option_present" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ + | - ] in " +anchor = "doc.data-types.decimal-type / Literals" +note = "an exponent with a sign" [[obligation]] -id = "db.expressions.decimal-type.subscript.o001" +id = "db.expressions.decimal-type.subscript.o010" kind = "positive" required = true -note = "the documented form with every required part and no optional part" +anchor = "doc.data-types.decimal-type / Literals" +note = "decimal_digits alone" [[obligation]] -id = "db.expressions.decimal-type.subscript.o002" -kind = "operand_type_class" -required = true -target = "" -note = "a valid operand" - -[[obligation]] -id = "db.expressions.decimal-type.subscript.o003" +id = "db.expressions.decimal-type.subscript.o011" kind = "alternative" required = true target = "{ [ BD ] | [ BD ] } → [ BD ]" +anchor = "doc.data-types.decimal-type / Literals" +note = "decimal_digits with the BD postfix" [[obligation]] -id = "db.expressions.decimal-type.subscript.o004" +id = "db.expressions.decimal-type.subscript.o012" kind = "alternative" required = true target = "{ [ BD ] | [ BD ] } → [ BD ]" +anchor = "doc.data-types.decimal-type / Literals" +note = "decimal_digits with an exponent and the BD postfix" [[obligation]] -id = "db.expressions.decimal-type.subscript.o005" -kind = "option_present" -required = true -target = "[ BD ]" - -[[obligation]] -id = "db.expressions.decimal-type.subscript.o006" -kind = "option_absent" +id = "db.expressions.decimal-type.subscript.o013" +kind = "alternative" required = true -target = "[ BD ]" +target = " → . digit [ ... ]" +anchor = "doc.data-types.decimal-type / Literals" +note = "decimal_digits with no digit before the point" [[obligation]] -id = "db.expressions.decimal-type.subscript.o007" +id = "db.expressions.decimal-type.subscript.o014" kind = "option_present" required = true -target = "[ BD ]" - -[[obligation]] -id = "db.expressions.decimal-type.subscript.o008" -kind = "option_absent" -required = true -target = "[ BD ]" - -[[obligation]] -id = "db.expressions.decimal-type.subscript.o009" -kind = "operand_type_class" -required = true -target = " in [ BD ]" -note = "a valid operand" +target = "[ + | - ] in " +anchor = "doc.data-types.decimal-type / Literals" +note = "decimal_digits with a sign" [[obligation]] id = "db.expressions.double-type.o001" @@ -645,111 +544,74 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.expressions.double-type.d.o001" +id = "db.expressions.double-type.d.o009" kind = "positive" required = true -note = "the documented form with every required part and no optional part" - -[[obligation]] -id = "db.expressions.double-type.d.o003" -kind = "operand_type_class" -required = true -target = "" -note = "a valid operand" - -[[obligation]] -id = "db.expressions.double-type.d.o004" -kind = "alternative" -required = true -target = "{ D | [ D ] } → D" +anchor = "doc.data-types.double-type / Literals" +note = "decimal_digits with the D postfix" [[obligation]] -id = "db.expressions.double-type.d.o005" +id = "db.expressions.double-type.d.o010" kind = "alternative" required = true -target = "{ D | [ D ] } → [ D ]" - -[[obligation]] -id = "db.expressions.double-type.d.o006" -kind = "operand_type_class" -required = true -target = "" -note = "a valid operand" +target = "{ D | [ D ] } → " +anchor = "doc.data-types.double-type / Literals" +note = "decimal_digits with an exponent and no postfix" [[obligation]] -id = "db.expressions.double-type.d.o007" +id = "db.expressions.double-type.d.o011" kind = "option_present" required = true -target = "[ D ]" - -[[obligation]] -id = "db.expressions.double-type.d.o008" -kind = "option_absent" -required = true -target = "[ D ]" - -[[obligation]] -id = "db.expressions.double-type.d.literals.o001" -kind = "positive" -required = true -note = "the documented form with every required part and no optional part" +target = "[ D ] after " +anchor = "doc.data-types.double-type / Literals" +note = "decimal_digits with an exponent and the D postfix" [[obligation]] -id = "db.expressions.double-type.d.literals.o002" -kind = "operand_type_class" -required = true -target = "" -note = "a valid operand" - -[[obligation]] -id = "db.expressions.double-type.d.literals.o003" -kind = "alternative" +id = "db.expressions.double-type.d.o012" +kind = "option_present" required = true -target = "{ [ D ] | [ ] D } → [ D ]" +target = "[ + | - ] in " +anchor = "doc.data-types.double-type / Literals" +note = "an exponent with a sign" [[obligation]] -id = "db.expressions.double-type.d.literals.o004" +id = "db.expressions.double-type.d.o013" kind = "alternative" required = true -target = "{ [ D ] | [ ] D } → [ ] D" +target = " → . digit [ ... ]" +anchor = "doc.data-types.double-type / Literals" +note = "decimal_digits with no digit before the point" [[obligation]] -id = "db.expressions.double-type.d.literals.o005" -kind = "operand_type_class" -required = true -target = "" -note = "a valid operand" - -[[obligation]] -id = "db.expressions.double-type.d.literals.o006" +id = "db.expressions.double-type.d.o014" kind = "option_present" required = true -target = "[ D ]" +target = "[ + | - ] in " +anchor = "doc.data-types.double-type / Literals" +note = "decimal_digits with a sign" [[obligation]] -id = "db.expressions.double-type.d.literals.o007" -kind = "option_absent" +id = "db.expressions.double-type.d.literals.o011" +kind = "positive" required = true -target = "[ D ]" +anchor = "doc.data-types.double-type / Literals" +note = "digits with an exponent and no postfix" [[obligation]] -id = "db.expressions.double-type.d.literals.o008" +id = "db.expressions.double-type.d.literals.o012" kind = "option_present" required = true -target = "[ ]" - -[[obligation]] -id = "db.expressions.double-type.d.literals.o009" -kind = "option_absent" -required = true -target = "[ ]" +target = "[ D ] after " +anchor = "doc.data-types.double-type / Literals" +note = "digits with an exponent and the D postfix" [[obligation]] -id = "db.expressions.double-type.d.literals.o010" -kind = "operand_type_class" +id = "db.expressions.double-type.d.literals.o013" +kind = "alternative" required = true -target = " in [ ]" -note = "a valid operand" +target = "{ [ D ] | [ ] D } → [ ] D" +anchor = "doc.data-types.double-type / Literals" +note = "digits with the D postfix and no exponent" [[obligation]] id = "db.expressions.expression.o001" @@ -794,22 +656,22 @@ required = true target = "{ | | | |… → " [[obligation]] -id = "db.expressions.expression.o008" +id = "db.expressions.expression.o063" kind = "alternative" required = true -target = "{ | | | |… → CAST " +target = "{ | | | |… → " [[obligation]] -id = "db.expressions.expression.o009" +id = "db.expressions.expression.o064" kind = "alternative" required = true -target = "{ | | | |… → CASE " +target = "{ | | | |… → " [[obligation]] -id = "db.expressions.expression.o010" +id = "db.expressions.expression.o065" kind = "alternative" required = true -target = "{ | | | |… → COLLATE " +target = "{ | | | |… → " [[obligation]] id = "db.expressions.expression.o011" @@ -861,18 +723,18 @@ target = "" note = "a valid operand" [[obligation]] -id = "db.expressions.expression.o019" +id = "db.expressions.expression.o074" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid operand" [[obligation]] -id = "db.expressions.expression.o021" +id = "db.expressions.expression.o075" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid operand" [[obligation]] id = "db.expressions.expression.o023" @@ -896,24 +758,24 @@ target = "" note = "a valid operand" [[obligation]] -id = "db.expressions.expression.o028" +id = "db.expressions.expression.o066" kind = "operand_type_class" required = true -target = "" +target = "" note = "a valid expression" [[obligation]] -id = "db.expressions.expression.o030" +id = "db.expressions.expression.o067" kind = "operand_type_class" required = true -target = " #2" +target = "" note = "a valid expression" [[obligation]] -id = "db.expressions.expression.o032" +id = "db.expressions.expression.o068" kind = "operand_type_class" required = true -target = " #3" +target = "" note = "a valid expression" [[obligation]] @@ -923,6 +785,13 @@ required = true target = "" note = "a valid expression" +[[obligation]] +id = "db.expressions.expression.o069" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.expression.o034" kind = "operand_type_class" @@ -951,6 +820,13 @@ required = true target = " #2" note = "a valid operand" +[[obligation]] +id = "db.expressions.expression.o070" +kind = "required_operand_missing" +required = true +target = " #3" +note = "omit " + [[obligation]] id = "db.expressions.expression.o038" kind = "operand_type_class" @@ -959,29 +835,31 @@ target = " #3" note = "a valid expression" [[obligation]] -id = "db.expressions.expression.o039" -kind = "operand_type_class" +id = "db.expressions.expression.o071" +kind = "required_operand_missing" required = true target = " #4" -note = "a valid expression" +note = "omit " [[obligation]] -id = "db.expressions.expression.o040" -kind = "option_present" +id = "db.expressions.expression.o039" +kind = "operand_type_class" required = true -target = "[ ]" +target = " #4" +note = "a valid expression" [[obligation]] -id = "db.expressions.expression.o041" -kind = "option_absent" +id = "db.expressions.expression.o044" +kind = "required_operand_missing" required = true -target = "[ ]" +target = " #5" +note = "omit " [[obligation]] -id = "db.expressions.expression.o042" +id = "db.expressions.expression.o045" kind = "operand_type_class" required = true -target = " in [ ]" +target = " #5" note = "a valid expression" [[obligation]] @@ -992,38 +870,38 @@ target = "" note = "a valid operand" [[obligation]] -id = "db.expressions.expression.o044" +id = "db.expressions.expression.o046" kind = "required_operand_missing" required = true -target = " #5" +target = " #6" note = "omit " [[obligation]] -id = "db.expressions.expression.o045" +id = "db.expressions.expression.o047" kind = "operand_type_class" required = true -target = " #5" +target = " #6" note = "a valid expression" [[obligation]] -id = "db.expressions.expression.o046" +id = "db.expressions.expression.o072" kind = "required_operand_missing" required = true -target = " #6" +target = " #7" note = "omit " [[obligation]] -id = "db.expressions.expression.o047" +id = "db.expressions.expression.o048" kind = "operand_type_class" required = true -target = " #6" +target = " #7" note = "a valid expression" [[obligation]] -id = "db.expressions.expression.o048" +id = "db.expressions.expression.o073" kind = "operand_type_class" required = true -target = " #7" +target = " #8" note = "a valid expression" [[obligation]] @@ -1052,38 +930,6 @@ kind = "negative_neighbour" required = true note = "the form without its required )" -[[obligation]] -id = "db.expressions.expression.o053" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.expression.o060" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - -[[obligation]] -id = "db.expressions.expression.o055" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.expression.o061" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.expressions.expression.o057" kind = "identifier_class" @@ -1147,221 +993,262 @@ required = true target = "{ FLOAT | REAL } → REAL" [[obligation]] -id = "db.expressions.float-type.f.o001" +id = "db.expressions.float-type.f.o007" kind = "positive" required = true -note = "the documented form with every required part and no optional part" +anchor = "doc.data-types.float-type / Literals" +note = "decimal_digits with the F postfix" [[obligation]] -id = "db.expressions.float-type.f.o003" -kind = "operand_type_class" +id = "db.expressions.float-type.f.o008" +kind = "option_present" required = true -target = "" -note = "a valid operand" +target = "[ ]" +anchor = "doc.data-types.float-type / Literals" +note = "decimal_digits with an exponent and the F postfix" + +[[obligation]] +id = "db.expressions.float-type.f.o009" +kind = "alternative" +required = true +target = " → . digit [ ... ]" +anchor = "doc.data-types.float-type / Literals" +note = "decimal_digits with no digit before the point" + +[[obligation]] +id = "db.expressions.float-type.f.o010" +kind = "option_present" +required = true +target = "[ + | - ] in " +anchor = "doc.data-types.float-type / Literals" +note = "decimal_digits with a sign" + +[[obligation]] +id = "db.expressions.float-type.f.literals.o012" +kind = "positive" +required = true +anchor = "doc.data-types.float-type / Literals" +note = "digits with the F postfix" [[obligation]] -id = "db.expressions.float-type.f.o004" +id = "db.expressions.float-type.f.literals.o013" kind = "option_present" required = true target = "[ ]" +anchor = "doc.data-types.float-type / Literals" +note = "digits with an exponent and the F postfix" [[obligation]] -id = "db.expressions.float-type.f.o005" -kind = "option_absent" +id = "db.expressions.float-type.f.literals.o014" +kind = "alternative" +required = true +target = "[ + | - ] → +" +anchor = "doc.data-types.float-type / Literals" +note = "a plus sign before the literal" + +[[obligation]] +id = "db.expressions.float-type.f.literals.o015" +kind = "alternative" +required = true +target = "[ + | - ] → -" +anchor = "doc.data-types.float-type / Literals" +note = "a minus sign before the literal" + +[[obligation]] +id = "db.expressions.function-invocation.o001" +kind = "positive" +required = true +note = "the documented form with every required part and no optional part" + +[[obligation]] +id = "db.expressions.function-invocation.o002" +kind = "required_operand_missing" required = true -target = "[ ]" +target = "" +note = "omit " [[obligation]] -id = "db.expressions.float-type.f.o006" +id = "db.expressions.function-invocation.o003" kind = "operand_type_class" required = true -target = " in [ ]" -note = "a valid operand" +target = "" +note = "a valid identifier" [[obligation]] -id = "db.expressions.float-type.f.literals.o001" -kind = "positive" +id = "db.expressions.function-invocation.o004" +kind = "negative_neighbour" required = true -note = "the documented form with every required part and no optional part" +target = "" +note = "a string literal in place of " [[obligation]] -id = "db.expressions.float-type.f.literals.o002" +id = "db.expressions.function-invocation.o036" kind = "option_present" required = true -target = "[ + | - ]" +target = "[ { | | } [ , ... ] ]" [[obligation]] -id = "db.expressions.float-type.f.literals.o003" +id = "db.expressions.function-invocation.o037" kind = "option_absent" required = true -target = "[ + | - ]" +target = "[ { | | } [ , ... ] ]" [[obligation]] -id = "db.expressions.float-type.f.literals.o004" +id = "db.expressions.function-invocation.o038" kind = "alternative" required = true -target = "[ + | - ] → +" +target = "{ | | } → " [[obligation]] -id = "db.expressions.float-type.f.literals.o005" +id = "db.expressions.function-invocation.o039" kind = "alternative" required = true -target = "[ + | - ] → -" +target = "{ | | } → " [[obligation]] -id = "db.expressions.float-type.f.literals.o007" -kind = "operand_type_class" +id = "db.expressions.function-invocation.o040" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ | | } → " [[obligation]] -id = "db.expressions.float-type.f.literals.o008" -kind = "option_present" +id = "db.expressions.function-invocation.o041" +kind = "operand_type_class" required = true -target = "[ ]" +target = " in [ { | | } [ , ... ] ]" +note = "a valid expression" [[obligation]] -id = "db.expressions.float-type.f.literals.o009" -kind = "option_absent" +id = "db.expressions.function-invocation.o042" +kind = "operand_type_class" required = true -target = "[ ]" +target = " in [ { | | } [ , ... ] ]" +note = "a valid operand" [[obligation]] -id = "db.expressions.float-type.f.literals.o010" +id = "db.expressions.function-invocation.o043" kind = "operand_type_class" required = true -target = " in [ ]" +target = " in [ { | | } [ , ... ] ]" note = "a valid operand" [[obligation]] -id = "db.expressions.float-type.f.literals.o011" -kind = "interaction_all_options" +id = "db.expressions.function-invocation.o013" +kind = "option_present" required = true -note = "every independent option of one production together" +target = "[ , ... ]" +note = "the list continued at least once" [[obligation]] -id = "db.expressions.function-invocation.o001" -kind = "positive" +id = "db.expressions.function-invocation.o014" +kind = "option_absent" required = true -note = "the documented form with every required part and no optional part" +target = "[ , ... ]" [[obligation]] -id = "db.expressions.function-invocation.o002" +id = "db.expressions.function-invocation.o044" kind = "required_operand_missing" required = true -target = "" +target = " #2" note = "omit " [[obligation]] -id = "db.expressions.function-invocation.o003" +id = "db.expressions.function-invocation.o045" kind = "operand_type_class" required = true -target = "" +target = " #2" note = "a valid identifier" [[obligation]] -id = "db.expressions.function-invocation.o004" +id = "db.expressions.function-invocation.o046" kind = "negative_neighbour" required = true -target = "" +target = " #2" note = "a string literal in place of " [[obligation]] -id = "db.expressions.function-invocation.o005" +id = "db.expressions.function-invocation.o047" kind = "option_present" required = true -target = "[ | | ]" +target = "[ { | | } [ , ... ] , ]" [[obligation]] -id = "db.expressions.function-invocation.o006" +id = "db.expressions.function-invocation.o048" kind = "option_absent" required = true -target = "[ | | ]" +target = "[ { | | } [ , ... ] , ]" [[obligation]] -id = "db.expressions.function-invocation.o007" +id = "db.expressions.function-invocation.o049" kind = "alternative" required = true -target = "[ | | ] → " +target = "{ | | } → #2" [[obligation]] -id = "db.expressions.function-invocation.o008" +id = "db.expressions.function-invocation.o050" kind = "alternative" required = true -target = "[ | | ] → " +target = "{ | | } → #2" [[obligation]] -id = "db.expressions.function-invocation.o009" +id = "db.expressions.function-invocation.o051" kind = "alternative" required = true -target = "[ | | ] → " +target = "{ | | } → #2" [[obligation]] -id = "db.expressions.function-invocation.o010" +id = "db.expressions.function-invocation.o052" kind = "operand_type_class" required = true -target = " in [ | | ]" +target = " in [ { | | } [ , ... ] , ]" note = "a valid expression" [[obligation]] -id = "db.expressions.function-invocation.o011" +id = "db.expressions.function-invocation.o053" kind = "operand_type_class" required = true -target = " in [ | | ]" +target = " in [ { | | } [ , ... ] , ]" note = "a valid operand" [[obligation]] -id = "db.expressions.function-invocation.o012" +id = "db.expressions.function-invocation.o054" kind = "operand_type_class" required = true -target = " in [ | | ]" +target = " in [ { | | } [ , ... ] , ]" note = "a valid operand" [[obligation]] -id = "db.expressions.function-invocation.o013" +id = "db.expressions.function-invocation.o024" kind = "option_present" required = true -target = "[ , ... ]" +target = "[ , ... ] #2" note = "the list continued at least once" [[obligation]] -id = "db.expressions.function-invocation.o014" -kind = "option_absent" -required = true -target = "[ , ... ]" - -[[obligation]] -id = "db.expressions.function-invocation.o015" -kind = "option_present" -required = true -target = "[ => { | } [ , ... ] ]" - -[[obligation]] -id = "db.expressions.function-invocation.o016" +id = "db.expressions.function-invocation.o025" kind = "option_absent" required = true -target = "[ => { | } [ , ... ] ]" +target = "[ , ... ] #2" [[obligation]] -id = "db.expressions.function-invocation.o017" +id = "db.expressions.function-invocation.o055" kind = "required_operand_missing" required = true -target = " in [ => { | } [ , ... ] ]" +target = "" note = "omit " [[obligation]] -id = "db.expressions.function-invocation.o018" +id = "db.expressions.function-invocation.o056" kind = "operand_type_class" required = true -target = " in [ => { | } [ , ... ] ]" +target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.function-invocation.o019" +id = "db.expressions.function-invocation.o057" kind = "negative_neighbour" required = true -target = " in [ => { | } [ , ... ] ]" +target = "" note = "a string literal in place of " [[obligation]] @@ -1377,49 +1264,43 @@ required = true target = "{ | } → " [[obligation]] -id = "db.expressions.function-invocation.o022" +id = "db.expressions.function-invocation.o058" kind = "operand_type_class" required = true -target = " in [ => { | } [ , ... ] ]" +target = "" note = "a valid expression" [[obligation]] -id = "db.expressions.function-invocation.o023" +id = "db.expressions.function-invocation.o059" kind = "operand_type_class" required = true -target = " in [ => { | } [ , ... ] ]" +target = "" note = "a valid operand" [[obligation]] -id = "db.expressions.function-invocation.o024" +id = "db.expressions.function-invocation.o060" kind = "option_present" required = true -target = "[ , ... ] #2" +target = "[ , ... ] #3" note = "the list continued at least once" [[obligation]] -id = "db.expressions.function-invocation.o025" +id = "db.expressions.function-invocation.o061" kind = "option_absent" required = true -target = "[ , ... ] #2" - -[[obligation]] -id = "db.expressions.function-invocation.o026" -kind = "negative_neighbour" -required = true -note = "the form without its required (" +target = "[ , ... ] #3" [[obligation]] -id = "db.expressions.function-invocation.o027" +id = "db.expressions.function-invocation.o028" kind = "negative_neighbour" required = true -note = "the form without its required { | } in [ => { | } [ , ... ] ]" +note = "the form without its required )" [[obligation]] -id = "db.expressions.function-invocation.o028" +id = "db.expressions.function-invocation.o062" kind = "negative_neighbour" required = true -note = "the form without its required )" +note = "the form without its required { | }" [[obligation]] id = "db.expressions.function-invocation.o029" @@ -1490,12 +1371,34 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.expressions.geography-type.o008" +kind = "negative_neighbour" +required = true +note = "the form without its required { | ANY }" + [[obligation]] id = "db.expressions.geography-type.o007" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.expressions.geography-type.o009" +kind = "required_operand_missing" +required = true +target = "" +anchor = "doc.data-types.geography-type / Syntax" +note = "the type without its srid, recorded to compare with the ( ANY ) spelling" + +[[obligation]] +id = "db.expressions.geography-type.o010" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.data-types.geography-type / Syntax" +note = "a string where the page documents an integer srid" + [[obligation]] id = "db.expressions.geometry-type.o001" kind = "positive" @@ -1527,12 +1430,34 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.expressions.geometry-type.o008" +kind = "negative_neighbour" +required = true +note = "the form without its required { | ANY }" + [[obligation]] id = "db.expressions.geometry-type.o007" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.expressions.geometry-type.o009" +kind = "required_operand_missing" +required = true +target = "" +anchor = "doc.data-types.geometry-type / Syntax" +note = "the type without its srid, recorded to compare with the ( ANY ) spelling" + +[[obligation]] +id = "db.expressions.geometry-type.o010" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.data-types.geometry-type / Syntax" +note = "a string where the page documents an integer srid" + [[obligation]] id = "db.expressions.identifiers.subscript-dot.o001" kind = "positive" @@ -1571,6 +1496,14 @@ required = true target = "" note = "a valid operand" +[[obligation]] +id = "db.expressions.identifiers.subscript-dot.o007" +kind = "alternative" +required = true +target = "'_'" +anchor = "doc.sql-ref-identifiers / Syntax" +note = "an identifier containing an underscore, the character the page lists" + [[obligation]] id = "db.expressions.identifiers.subscript-dot.syntax.o001" kind = "positive" @@ -1603,41 +1536,27 @@ required = true target = "{ INT | INTEGER } → INTEGER" [[obligation]] -id = "db.expressions.int-type.subscript-dot.o001" +id = "db.expressions.int-type.subscript-dot.o007" kind = "positive" required = true -note = "the documented form with every required part and no optional part" - -[[obligation]] -id = "db.expressions.int-type.subscript-dot.o002" -kind = "option_present" -required = true -target = "[ + | - ]" - -[[obligation]] -id = "db.expressions.int-type.subscript-dot.o003" -kind = "option_absent" -required = true -target = "[ + | - ]" +anchor = "doc.data-types.int-type / Literals" +note = "digits" [[obligation]] -id = "db.expressions.int-type.subscript-dot.o004" +id = "db.expressions.int-type.subscript-dot.o008" kind = "alternative" required = true target = "[ + | - ] → +" +anchor = "doc.data-types.int-type / Literals" +note = "a plus sign before the literal" [[obligation]] -id = "db.expressions.int-type.subscript-dot.o005" +id = "db.expressions.int-type.subscript-dot.o009" kind = "alternative" required = true target = "[ + | - ] → -" - -[[obligation]] -id = "db.expressions.int-type.subscript-dot.o006" -kind = "operand_type_class" -required = true -target = "" -note = "a valid operand" +anchor = "doc.data-types.int-type / Literals" +note = "a minus sign before the literal" [[obligation]] id = "db.expressions.interval-type.o001" @@ -1701,6 +1620,13 @@ kind = "alternative" required = true target = "[ + | - ] → -" +[[obligation]] +id = "db.expressions.interval-type.interval.o010" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.interval-type.interval.o006" kind = "operand_type_class" @@ -1759,6 +1685,13 @@ kind = "alternative" required = true target = "[ + | - ] → -" +[[obligation]] +id = "db.expressions.interval-type.interval.literals.o010" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.interval-type.interval.literals.o006" kind = "operand_type_class" @@ -1793,12 +1726,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.expressions.json-path-expression.o002" -kind = "alternative" -required = true -target = "{ { | [ ] | [ * ] | [ ] } [ .… → { | [ ] | [ * ] | [ ] } [ . | [ ] | [ * ] | [ ] ] [ ... ]" - [[obligation]] id = "db.expressions.json-path-expression.o003" kind = "alternative" @@ -1831,160 +1758,123 @@ target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.json-path-expression.o009" -kind = "option_present" +id = "db.expressions.json-path-expression.o037" +kind = "negative_neighbour" required = true -target = "[ ]" +target = "" +note = "a string literal in place of " [[obligation]] -id = "db.expressions.json-path-expression.o010" -kind = "option_absent" +id = "db.expressions.json-path-expression.o038" +kind = "required_operand_missing" required = true -target = "[ ]" +target = "" +note = "omit " [[obligation]] -id = "db.expressions.json-path-expression.o011" +id = "db.expressions.json-path-expression.o039" kind = "operand_type_class" required = true -target = " in [ ]" +target = "" note = "a valid operand" [[obligation]] -id = "db.expressions.json-path-expression.o012" -kind = "option_present" -required = true -target = "[ * ]" - -[[obligation]] -id = "db.expressions.json-path-expression.o013" -kind = "option_absent" -required = true -target = "[ * ]" - -[[obligation]] -id = "db.expressions.json-path-expression.o014" -kind = "option_present" -required = true -target = "[ ]" - -[[obligation]] -id = "db.expressions.json-path-expression.o015" -kind = "option_absent" +id = "db.expressions.json-path-expression.o040" +kind = "required_operand_missing" required = true -target = "[ ]" +target = "" +note = "omit " [[obligation]] -id = "db.expressions.json-path-expression.o016" +id = "db.expressions.json-path-expression.o041" kind = "operand_type_class" required = true -target = " in [ ]" +target = "" note = "a valid operand" [[obligation]] -id = "db.expressions.json-path-expression.o017" +id = "db.expressions.json-path-expression.o042" kind = "option_present" required = true -target = "[ . | [ ] | [ * ] | [ ] ]" +target = "[ { . | [ ] | [ * ] | [ ] } [ ... ] ]" [[obligation]] -id = "db.expressions.json-path-expression.o018" +id = "db.expressions.json-path-expression.o043" kind = "option_absent" required = true -target = "[ . | [ ] | [ * ] | [ ] ]" +target = "[ { . | [ ] | [ * ] | [ ] } [ ... ] ]" [[obligation]] -id = "db.expressions.json-path-expression.o019" +id = "db.expressions.json-path-expression.o044" kind = "alternative" required = true -target = "[ . | [ ] | [ * ] | [ ] ] → . " +target = "{ . | [ ] | [ * ] | [ ] } → . " [[obligation]] -id = "db.expressions.json-path-expression.o020" +id = "db.expressions.json-path-expression.o045" kind = "alternative" required = true -target = "[ . | [ ] | [ * ] | [ ] ] → [ ]" +target = "{ . | [ ] | [ * ] | [ ] } → [ ]" [[obligation]] -id = "db.expressions.json-path-expression.o021" +id = "db.expressions.json-path-expression.o046" kind = "alternative" required = true -target = "[ . | [ ] | [ * ] | [ ] ] → [ * ]" +target = "{ . | [ ] | [ * ] | [ ] } → [ * ]" [[obligation]] -id = "db.expressions.json-path-expression.o022" +id = "db.expressions.json-path-expression.o047" kind = "alternative" required = true -target = "[ . | [ ] | [ * ] | [ ] ] → [ ]" +target = "{ . | [ ] | [ * ] | [ ] } → [ ]" [[obligation]] -id = "db.expressions.json-path-expression.o023" +id = "db.expressions.json-path-expression.o048" kind = "required_operand_missing" required = true -target = " in [ . | [ ] | [ * ] | [ ] ]" +target = " in [ { . | [ ] | [ * ] | [ ] } [ ... ] ]" note = "omit " [[obligation]] -id = "db.expressions.json-path-expression.o024" +id = "db.expressions.json-path-expression.o049" kind = "operand_type_class" required = true -target = " in [ . | [ ] | [ * ] | [ ] ]" +target = " in [ { . | [ ] | [ * ] | [ ] } [ ... ] ]" note = "a valid identifier" [[obligation]] -id = "db.expressions.json-path-expression.o025" +id = "db.expressions.json-path-expression.o050" kind = "negative_neighbour" required = true -target = " in [ . | [ ] | [ * ] | [ ] ]" +target = " in [ { . | [ ] | [ * ] | [ ] } [ ... ] ]" note = "a string literal in place of " [[obligation]] -id = "db.expressions.json-path-expression.o026" -kind = "option_present" -required = true -target = "[ ] #2" - -[[obligation]] -id = "db.expressions.json-path-expression.o027" -kind = "option_absent" +id = "db.expressions.json-path-expression.o051" +kind = "required_operand_missing" required = true -target = "[ ] #2" +target = " in [ { . | [ ] | [ * ] | [ ] } [ ... ] ]" +note = "omit " [[obligation]] -id = "db.expressions.json-path-expression.o028" +id = "db.expressions.json-path-expression.o052" kind = "operand_type_class" required = true -target = " in [ ] #2" +target = " in [ { . | [ ] | [ * ] | [ ] } [ ... ] ]" note = "a valid operand" [[obligation]] -id = "db.expressions.json-path-expression.o029" -kind = "option_present" -required = true -target = "[ * ] #2" - -[[obligation]] -id = "db.expressions.json-path-expression.o030" -kind = "option_absent" -required = true -target = "[ * ] #2" - -[[obligation]] -id = "db.expressions.json-path-expression.o031" -kind = "option_present" -required = true -target = "[ ] #2" - -[[obligation]] -id = "db.expressions.json-path-expression.o032" -kind = "option_absent" +id = "db.expressions.json-path-expression.o053" +kind = "required_operand_missing" required = true -target = "[ ] #2" +target = " in [ { . | [ ] | [ * ] | [ ] } [ ... ] ]" +note = "omit " [[obligation]] -id = "db.expressions.json-path-expression.o033" +id = "db.expressions.json-path-expression.o054" kind = "operand_type_class" required = true -target = " in [ ] #2" +target = " in [ { . | [ ] | [ * ] | [ ] } [ ... ] ]" note = "a valid operand" [[obligation]] @@ -2010,16 +1900,16 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.expressions.lambda-functions.o002" +id = "db.expressions.lambda-functions.o016" kind = "alternative" required = true -target = "{ -> | ( [ , ... ] ) -> } → -> " +target = "{ -> | ( , [ , ... ] ) -> } → -> " [[obligation]] -id = "db.expressions.lambda-functions.o003" +id = "db.expressions.lambda-functions.o017" kind = "alternative" required = true -target = "{ -> | ( [ , ... ] ) -> } → ( [ , ... ] ) -> " +target = "{ -> | ( , [ , ... ] ) -> } → ( , [ , ... ] ) -> " [[obligation]] id = "db.expressions.lambda-functions.o004" @@ -2063,6 +1953,13 @@ required = true target = "" note = "a valid operand" +[[obligation]] +id = "db.expressions.lambda-functions.o018" +kind = "operand_type_class" +required = true +target = "" +note = "a valid operand" + [[obligation]] id = "db.expressions.lambda-functions.o010" kind = "option_present" @@ -2090,6 +1987,12 @@ required = true target = " #2" note = "a valid expression" +[[obligation]] +id = "db.expressions.lambda-functions.o019" +kind = "negative_neighbour" +required = true +note = "the form without its required ->" + [[obligation]] id = "db.expressions.lambda-functions.o014" kind = "negative_neighbour" @@ -2102,6 +2005,14 @@ kind = "negative_neighbour" required = true note = "the form without its required -> after )" +[[obligation]] +id = "db.expressions.lambda-functions.o020" +kind = "alternative" +required = true +target = "( ) -> " +anchor = "doc.sql-ref-lambda-functions / Syntax" +note = "one parameter in parentheses, as the page's line allows, which the warehouse refuses" + [[obligation]] id = "db.expressions.map-type.o001" kind = "positive" @@ -2258,6 +2169,20 @@ required = true target = " in [ . ]" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.identifier.o025" +kind = "negative_neighbour" +required = true +target = " in [ . ]" +note = "a string literal in place of " + +[[obligation]] +id = "db.expressions.names.identifier.o023" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.names.identifier.o009" kind = "operand_type_class" @@ -2266,18 +2191,24 @@ target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier.o012" +id = "db.expressions.names.identifier.o026" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + +[[obligation]] +id = "db.expressions.names.identifier.o024" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid operand" [[obligation]] -id = "db.expressions.names.identifier.o013" +id = "db.expressions.names.identifier.o027" kind = "negative_neighbour" required = true -target = "" -note = "a string literal in place of " +note = "the form without its required IDENTIFIER after " [[obligation]] id = "db.expressions.names.identifier.o014" @@ -2311,22 +2242,6 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" -[[obligation]] -id = "db.expressions.names.identifier.o018" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.names.identifier.o022" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.expressions.names.identifier-2.o001" kind = "positive" @@ -2371,6 +2286,13 @@ required = true target = " in [ . ]" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.identifier-2.o025" +kind = "negative_neighbour" +required = true +target = " in [ . ]" +note = "a string literal in place of " + [[obligation]] id = "db.expressions.names.identifier-2.o009" kind = "operand_type_class" @@ -2379,18 +2301,24 @@ target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier-2.o012" +id = "db.expressions.names.identifier-2.o026" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + +[[obligation]] +id = "db.expressions.names.identifier-2.o024" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid operand" [[obligation]] -id = "db.expressions.names.identifier-2.o013" +id = "db.expressions.names.identifier-2.o027" kind = "negative_neighbour" required = true -target = "" -note = "a string literal in place of " +note = "the form without its required IDENTIFIER after " [[obligation]] id = "db.expressions.names.identifier-2.o014" @@ -2412,34 +2340,26 @@ note = "keyword: the SQL keyword SELECT, which the reserved-words page does not id = "db.expressions.names.identifier-2.o016" kind = "identifier_class" required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.names.identifier-2.o021" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - -[[obligation]] -id = "db.expressions.names.identifier-2.o018" -kind = "identifier_class" -required = true -target = "" +target = "" anchor = "doc.identifiers-syntax" note = "quoted: a double-quoted identifier with blanks and mixed case" [[obligation]] -id = "db.expressions.names.identifier-2.o022" +id = "db.expressions.names.identifier-2.o021" kind = "identifier_class" required = true -target = "" +target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.expressions.names.identifier-2.o028" +kind = "required_operand_missing" +required = true +target = "" +anchor = "doc.sql-ref-names / Syntax" +note = "omit ; the warehouse parses the text, so its answer is recorded rather than expected" + [[obligation]] id = "db.expressions.names.identifier-3.o001" kind = "positive" @@ -2485,25 +2405,25 @@ target = " in [ . ]" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier-3.o009" -kind = "operand_type_class" +id = "db.expressions.names.identifier-3.o023" +kind = "required_operand_missing" required = true target = "" -note = "a valid identifier" +note = "omit " [[obligation]] -id = "db.expressions.names.identifier-3.o012" +id = "db.expressions.names.identifier-3.o009" kind = "operand_type_class" required = true -target = "" +target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier-3.o013" -kind = "negative_neighbour" +id = "db.expressions.names.identifier-3.o024" +kind = "operand_type_class" required = true target = "" -note = "a string literal in place of " +note = "a valid operand" [[obligation]] id = "db.expressions.names.identifier-3.o014" @@ -2537,22 +2457,6 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" -[[obligation]] -id = "db.expressions.names.identifier-3.o018" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.names.identifier-3.o022" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.expressions.names.identifier-4.o001" kind = "positive" @@ -2560,16 +2464,16 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.expressions.names.identifier-4.o002" +id = "db.expressions.names.identifier-4.o021" kind = "alternative" required = true -target = "{ { . [ . ... ] } | IDENTIFIER… → { . [ . ... ] }" +target = "{ . [ . ... ] |… → . [ . ... ]" [[obligation]] -id = "db.expressions.names.identifier-4.o003" +id = "db.expressions.names.identifier-4.o022" kind = "alternative" required = true -target = "{ { . [ . ... ] } | IDENTIFIER } → IDENTIFIER " +target = "{ . [ . ... ] | IDENTIFIER… → IDENTIFIER " [[obligation]] id = "db.expressions.names.identifier-4.o004" @@ -2585,12 +2489,6 @@ required = true target = "" note = "a valid expression" -[[obligation]] -id = "db.expressions.names.identifier-4.o006" -kind = "alternative" -required = true -target = "{ . [ . ... ] } → . [ . ... ]" - [[obligation]] id = "db.expressions.names.identifier-4.o007" kind = "required_operand_missing" @@ -2613,31 +2511,24 @@ target = "" note = "a string literal in place of " [[obligation]] -id = "db.expressions.names.identifier-4.o010" +id = "db.expressions.names.identifier-4.o023" kind = "option_present" required = true -target = "[ . ... ]" +target = "[ . ... ]" note = "the list continued at least once" [[obligation]] -id = "db.expressions.names.identifier-4.o011" +id = "db.expressions.names.identifier-4.o024" kind = "option_absent" required = true -target = "[ . ... ]" +target = "[ . ... ]" [[obligation]] -id = "db.expressions.names.identifier-4.o013" +id = "db.expressions.names.identifier-4.o025" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" - -[[obligation]] -id = "db.expressions.names.identifier-4.o014" -kind = "negative_neighbour" -required = true -target = "" -note = "a string literal in place of " +note = "a valid operand" [[obligation]] id = "db.expressions.names.identifier-4.o015" @@ -2655,22 +2546,6 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" -[[obligation]] -id = "db.expressions.names.identifier-4.o017" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.names.identifier-4.o020" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.expressions.names.identifier-5.o001" kind = "positive" @@ -2716,25 +2591,25 @@ target = " in [ . ]" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier-5.o009" -kind = "operand_type_class" +id = "db.expressions.names.identifier-5.o023" +kind = "required_operand_missing" required = true target = "" -note = "a valid identifier" +note = "omit " [[obligation]] -id = "db.expressions.names.identifier-5.o012" +id = "db.expressions.names.identifier-5.o009" kind = "operand_type_class" required = true -target = "" +target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier-5.o013" -kind = "negative_neighbour" +id = "db.expressions.names.identifier-5.o024" +kind = "operand_type_class" required = true target = "" -note = "a string literal in place of " +note = "a valid operand" [[obligation]] id = "db.expressions.names.identifier-5.o014" @@ -2768,22 +2643,6 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" -[[obligation]] -id = "db.expressions.names.identifier-5.o018" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.names.identifier-5.o022" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.expressions.names.identifier-6.o001" kind = "positive" @@ -2828,6 +2687,20 @@ required = true target = " in [ . ]" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.identifier-6.o025" +kind = "negative_neighbour" +required = true +target = " in [ . ]" +note = "a string literal in place of " + +[[obligation]] +id = "db.expressions.names.identifier-6.o023" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.names.identifier-6.o009" kind = "operand_type_class" @@ -2836,18 +2709,24 @@ target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier-6.o012" +id = "db.expressions.names.identifier-6.o026" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + +[[obligation]] +id = "db.expressions.names.identifier-6.o024" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid operand" [[obligation]] -id = "db.expressions.names.identifier-6.o013" +id = "db.expressions.names.identifier-6.o027" kind = "negative_neighbour" required = true -target = "" -note = "a string literal in place of " +note = "the form without its required IDENTIFIER after " [[obligation]] id = "db.expressions.names.identifier-6.o014" @@ -2881,22 +2760,6 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" -[[obligation]] -id = "db.expressions.names.identifier-6.o018" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.names.identifier-6.o022" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.expressions.names.identifier-7.o001" kind = "positive" @@ -2941,6 +2804,20 @@ required = true target = " in [ . ]" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.identifier-7.o025" +kind = "negative_neighbour" +required = true +target = " in [ . ]" +note = "a string literal in place of " + +[[obligation]] +id = "db.expressions.names.identifier-7.o023" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.names.identifier-7.o009" kind = "operand_type_class" @@ -2949,18 +2826,24 @@ target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier-7.o012" +id = "db.expressions.names.identifier-7.o026" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + +[[obligation]] +id = "db.expressions.names.identifier-7.o024" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid operand" [[obligation]] -id = "db.expressions.names.identifier-7.o013" +id = "db.expressions.names.identifier-7.o027" kind = "negative_neighbour" required = true -target = "" -note = "a string literal in place of " +note = "the form without its required IDENTIFIER after " [[obligation]] id = "db.expressions.names.identifier-7.o014" @@ -2994,22 +2877,6 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" -[[obligation]] -id = "db.expressions.names.identifier-7.o018" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.names.identifier-7.o022" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.expressions.names.identifier-8.o001" kind = "positive" @@ -3036,18 +2903,24 @@ target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier-8.o007" +id = "db.expressions.names.identifier-8.o016" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + +[[obligation]] +id = "db.expressions.names.identifier-8.o015" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid operand" [[obligation]] -id = "db.expressions.names.identifier-8.o008" +id = "db.expressions.names.identifier-8.o017" kind = "negative_neighbour" required = true -target = "" -note = "a string literal in place of " +note = "the form without its required IDENTIFIER after " [[obligation]] id = "db.expressions.names.identifier-8.o009" @@ -3065,22 +2938,6 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" -[[obligation]] -id = "db.expressions.names.identifier-8.o011" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.names.identifier-8.o014" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.expressions.names.identifier.syntax.o001" kind = "positive" @@ -3088,22 +2945,22 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.expressions.names.identifier.syntax.o002" +id = "db.expressions.names.identifier.syntax.o038" kind = "alternative" required = true -target = "{ [ . ] | IDENTIFIER | {… → [ . ] " +target = "{ [ . ] | IDENTIFIER |… → [ . ] " [[obligation]] -id = "db.expressions.names.identifier.syntax.o003" +id = "db.expressions.names.identifier.syntax.o039" kind = "alternative" required = true -target = "{ [ . ] | IDENTIFIER | {… → IDENTIFIER " +target = "{ [ . ] | IDENTIFIER |… → IDENTIFIER " [[obligation]] -id = "db.expressions.names.identifier.syntax.o004" +id = "db.expressions.names.identifier.syntax.o040" kind = "alternative" required = true -target = "{ [ . ] | IDENTIFIER… → { | ` ` } . ` `" +target = "{ [ . ] | IDENTIFIER |… → . " [[obligation]] id = "db.expressions.names.identifier.syntax.o005" @@ -3132,37 +2989,39 @@ target = " in [ . ]" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier.syntax.o010" -kind = "operand_type_class" +id = "db.expressions.names.identifier.syntax.o041" +kind = "negative_neighbour" required = true -target = "" -note = "a valid identifier" +target = " in [ . ]" +note = "a string literal in place of " [[obligation]] -id = "db.expressions.names.identifier.syntax.o013" +id = "db.expressions.names.identifier.syntax.o010" kind = "operand_type_class" required = true -target = "" +target = "" note = "a valid identifier" [[obligation]] -id = "db.expressions.names.identifier.syntax.o014" +id = "db.expressions.names.identifier.syntax.o043" kind = "negative_neighbour" required = true -target = "" -note = "a string literal in place of " +target = "" +note = "a string literal in place of " [[obligation]] -id = "db.expressions.names.identifier.syntax.o015" -kind = "alternative" +id = "db.expressions.names.identifier.syntax.o044" +kind = "operand_type_class" required = true -target = "{ | ` ` } → " +target = "" +note = "a valid operand" [[obligation]] -id = "db.expressions.names.identifier.syntax.o016" -kind = "alternative" +id = "db.expressions.names.identifier.syntax.o045" +kind = "required_operand_missing" required = true -target = "{ | ` ` } → ` `" +target = "" +note = "omit " [[obligation]] id = "db.expressions.names.identifier.syntax.o017" @@ -3172,11 +3031,11 @@ target = "" note = "a valid operand" [[obligation]] -id = "db.expressions.names.identifier.syntax.o019" -kind = "operand_type_class" +id = "db.expressions.names.identifier.syntax.o046" +kind = "required_operand_missing" required = true -target = " #2" -note = "a valid operand" +target = "" +note = "omit " [[obligation]] id = "db.expressions.names.identifier.syntax.o021" @@ -3223,6 +3082,12 @@ required = true target = " in [ ]" note = "a valid operand" +[[obligation]] +id = "db.expressions.names.identifier.syntax.o047" +kind = "negative_neighbour" +required = true +note = "the form without its required IDENTIFIER after " + [[obligation]] id = "db.expressions.names.identifier.syntax.o028" kind = "interaction_all_options" @@ -3262,20 +3127,20 @@ anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" [[obligation]] -id = "db.expressions.names.identifier.syntax.o033" -kind = "identifier_class" +id = "db.expressions.names.identifier.syntax.o048" +kind = "alternative" required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" +target = "` ` . ` `" +anchor = "doc.sql-ref-names / Table name" +note = "a back-quoted file format before a back-quoted path, as the page's example `csv`.`spreadsheets/data.csv` writes it" [[obligation]] -id = "db.expressions.names.identifier.syntax.o037" -kind = "identifier_class" +id = "db.expressions.names.identifier.syntax.o049" +kind = "required_operand_missing" required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +target = "" +anchor = "doc.sql-ref-names / Syntax" +note = "omit ; the warehouse parses the text, so its answer is recorded rather than expected" [[obligation]] id = "db.expressions.names.subscript.o001" @@ -3302,6 +3167,13 @@ required = true target = "" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.subscript.o009" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + [[obligation]] id = "db.expressions.names.subscript.o006" kind = "identifier_class" @@ -3350,6 +3222,13 @@ required = true target = " in [ . ]" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.subscript-dot.o015" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.names.subscript-dot.o007" kind = "operand_type_class" @@ -3414,6 +3293,13 @@ required = true target = "" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.subscript-dot-2.o021" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + [[obligation]] id = "db.expressions.names.subscript-dot-2.o006" kind = "option_present" @@ -3426,6 +3312,13 @@ kind = "option_absent" required = true target = "[ ( [ , ... ] ) ]" +[[obligation]] +id = "db.expressions.names.subscript-dot-2.o022" +kind = "required_operand_missing" +required = true +target = " in [ ( [ , ... ] ) ]" +note = "omit " + [[obligation]] id = "db.expressions.names.subscript-dot-2.o009" kind = "operand_type_class" @@ -3433,6 +3326,13 @@ required = true target = " in [ ( [ , ... ] ) ]" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.subscript-dot-2.o023" +kind = "negative_neighbour" +required = true +target = " in [ ( [ , ... ] ) ]" +note = "a string literal in place of " + [[obligation]] id = "db.expressions.names.subscript-dot-2.o011" kind = "option_present" @@ -3522,6 +3422,13 @@ required = true target = "" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.subscript-dot-3.o015" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + [[obligation]] id = "db.expressions.names.subscript-dot-3.o007" kind = "option_present" @@ -3535,12 +3442,6 @@ kind = "option_absent" required = true target = "[ , ... ]" -[[obligation]] -id = "db.expressions.names.subscript-dot-3.o009" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.expressions.names.subscript-dot-3.o010" kind = "negative_neighbour" @@ -3588,25 +3489,32 @@ required = true target = "[ . ]" [[obligation]] -id = "db.expressions.names.subscript-dot-4.o004" -kind = "required_operand_missing" +id = "db.expressions.names.subscript-dot-4.o005" +kind = "operand_type_class" required = true target = " in [ . ]" -note = "omit " +note = "a valid identifier" [[obligation]] -id = "db.expressions.names.subscript-dot-4.o005" -kind = "operand_type_class" +id = "db.expressions.names.subscript-dot-4.o016" +kind = "negative_neighbour" required = true target = " in [ . ]" -note = "a valid identifier" +note = "a string literal in place of " [[obligation]] id = "db.expressions.names.subscript-dot-4.o007" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid identifier" + +[[obligation]] +id = "db.expressions.names.subscript-dot-4.o017" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " [[obligation]] id = "db.expressions.names.subscript-dot-4.o009" @@ -3646,6 +3554,13 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" +[[obligation]] +id = "db.expressions.names.subscript-dot.syntax.o012" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.names.subscript-dot.syntax.o002" kind = "operand_type_class" @@ -3653,6 +3568,13 @@ required = true target = "" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.subscript-dot.syntax.o013" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + [[obligation]] id = "db.expressions.names.subscript-dot.syntax.o004" kind = "option_present" @@ -3727,6 +3649,13 @@ required = true target = "" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.syntax.o014" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + [[obligation]] id = "db.expressions.names.syntax.o006" kind = "operand_type_class" @@ -3734,6 +3663,13 @@ required = true target = "" note = "a valid identifier" +[[obligation]] +id = "db.expressions.names.syntax.o015" +kind = "negative_neighbour" +required = true +target = "" +note = "a string literal in place of " + [[obligation]] id = "db.expressions.names.syntax.o008" kind = "identifier_class" @@ -3773,123 +3709,51 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.expressions.null-type.o002" -kind = "alternative" -required = true -target = "{ NULL | VOID } → NULL" - -[[obligation]] -id = "db.expressions.null-type.o003" -kind = "alternative" -required = true -target = "{ NULL | VOID } → VOID" - -[[obligation]] -id = "db.expressions.object-type.o001" +id = "db.expressions.null-type.o006" kind = "positive" required = true -note = "the documented form with every required part and no optional part" - -[[obligation]] -id = "db.expressions.object-type.o002" -kind = "option_present" -required = true -target = "[ [ : ] [ , ... ] ]" - -[[obligation]] -id = "db.expressions.object-type.o003" -kind = "option_absent" -required = true -target = "[ [ : ] [ , ... ] ]" - -[[obligation]] -id = "db.expressions.object-type.o004" -kind = "required_operand_missing" -required = true -target = " in [ [ : ] [ , ... ] ]" -note = "omit " +target = "the NULL literal" +anchor = "doc.data-types.null-type / Literals" +note = "NULL written as an expression, the literal the page's Literals section names, not the type" [[obligation]] -id = "db.expressions.object-type.o005" -kind = "operand_type_class" -required = true -target = " in [ [ : ] [ , ... ] ]" -note = "a valid identifier" - -[[obligation]] -id = "db.expressions.object-type.o006" +id = "db.expressions.null-type.o007" kind = "negative_neighbour" required = true -target = " in [ [ : ] [ , ... ] ]" -note = "a string literal in place of " - -[[obligation]] -id = "db.expressions.object-type.o007" -kind = "option_present" -required = true -target = "[ : ]" - -[[obligation]] -id = "db.expressions.object-type.o008" -kind = "option_absent" -required = true -target = "[ : ]" - -[[obligation]] -id = "db.expressions.object-type.o009" -kind = "required_operand_missing" -required = true -target = " in [ [ : ] [ , ... ] ]" -note = "omit " +target = "VOID as an expression" +anchor = "doc.data-types.null-type / Syntax" +note = "VOID written as an expression, which the warehouse parses as a column name, not a value of the type" [[obligation]] -id = "db.expressions.object-type.o010" -kind = "operand_type_class" +id = "db.expressions.null-type.o005" +kind = "alternative" required = true -target = " in [ [ : ] [ , ... ] ]" -note = "a valid data_type" +target = "NULL" +anchor = "doc.data-types.null-type / Syntax" +note = "the NULL spelling in type position" [[obligation]] -id = "db.expressions.object-type.o011" -kind = "negative_neighbour" +id = "db.expressions.object-type.o018" +kind = "positive" required = true -target = " in [ [ : ] [ , ... ] ]" -note = "a string literal in place of " +anchor = "doc.data-types.object-type / Syntax" +note = "an OBJECT with no field, in CAST" [[obligation]] -id = "db.expressions.object-type.o012" +id = "db.expressions.object-type.o019" kind = "option_present" required = true -target = "[ , ... ]" -note = "the list continued at least once" +target = "[ [ : ] [ , ... ] ]" +anchor = "doc.data-types.object-type / Syntax" +note = "an OBJECT with two fields, each name and type separated by a colon, in CAST" [[obligation]] -id = "db.expressions.object-type.o013" +id = "db.expressions.object-type.o020" kind = "option_absent" required = true -target = "[ , ... ]" - -[[obligation]] -id = "db.expressions.object-type.o014" -kind = "interaction_all_options" -required = true -note = "every independent option of one production together" - -[[obligation]] -id = "db.expressions.object-type.o015" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.expressions.object-type.o017" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +target = "[ : ]" +anchor = "doc.data-types.object-type / Syntax" +note = "an OBJECT field without the colon, in CAST" [[obligation]] id = "db.expressions.parameter-marker.colon.o001" @@ -3959,41 +3823,27 @@ required = true target = "{ SMALLINT | SHORT } → SHORT" [[obligation]] -id = "db.expressions.smallint-type.s.o001" +id = "db.expressions.smallint-type.s.o008" kind = "positive" required = true -note = "the documented form with every required part and no optional part" - -[[obligation]] -id = "db.expressions.smallint-type.s.o002" -kind = "option_present" -required = true -target = "[ + | - ]" - -[[obligation]] -id = "db.expressions.smallint-type.s.o003" -kind = "option_absent" -required = true -target = "[ + | - ]" +anchor = "doc.data-types.smallint-type / Literals" +note = "digits with the S postfix" [[obligation]] -id = "db.expressions.smallint-type.s.o004" +id = "db.expressions.smallint-type.s.o009" kind = "alternative" required = true target = "[ + | - ] → +" +anchor = "doc.data-types.smallint-type / Literals" +note = "a plus sign before the literal" [[obligation]] -id = "db.expressions.smallint-type.s.o005" +id = "db.expressions.smallint-type.s.o010" kind = "alternative" required = true target = "[ + | - ] → -" - -[[obligation]] -id = "db.expressions.smallint-type.s.o007" -kind = "operand_type_class" -required = true -target = "" -note = "a valid operand" +anchor = "doc.data-types.smallint-type / Literals" +note = "a minus sign before the literal" [[obligation]] id = "db.expressions.string-type.o001" @@ -4002,41 +3852,35 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.expressions.string-type.subscript-dot.o001" +id = "db.expressions.string-type.subscript-dot.o007" kind = "positive" required = true -note = "the documented form with every required part and no optional part" - -[[obligation]] -id = "db.expressions.string-type.subscript-dot.o002" -kind = "option_present" -required = true -target = "[ | R ]" - -[[obligation]] -id = "db.expressions.string-type.subscript-dot.o003" -kind = "option_absent" -required = true -target = "[ | R ]" +anchor = "doc.data-types.string-type / Literals" +note = "a string literal of the page's characters" [[obligation]] -id = "db.expressions.string-type.subscript-dot.o004" +id = "db.expressions.string-type.subscript-dot.o008" kind = "alternative" required = true -target = "[ | R ] → " +target = "[ r | R ] → r" +anchor = "doc.data-types.string-type / Literals" +note = "a raw literal with the lower-case prefix" [[obligation]] -id = "db.expressions.string-type.subscript-dot.o005" +id = "db.expressions.string-type.subscript-dot.o009" kind = "alternative" required = true -target = "[ | R ] → R" +target = "[ r | R ] → R" +anchor = "doc.data-types.string-type / Literals" +note = "a raw literal with the upper-case prefix" [[obligation]] -id = "db.expressions.string-type.subscript-dot.o006" -kind = "operand_type_class" +id = "db.expressions.string-type.subscript-dot.o010" +kind = "option_present" required = true -target = " in [ | R ]" -note = "a valid operand" +target = "[ ... ] after the literal" +anchor = "doc.data-types.string-type / Chaining literals" +note = "two chained literals; the page's Chaining literals section carries the banner 'Applies to: Databricks Runtime 18.0 and later', which leaves out Databricks SQL, so the text is observed" [[obligation]] id = "db.expressions.struct-type.o001" @@ -4045,36 +3889,36 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.expressions.struct-type.o002" +id = "db.expressions.struct-type.o033" kind = "option_present" required = true -target = "[ [ : ] [ NOT NULL ] [ COLLATE ] [ COMMENT ] [ , ... ] ]" +target = "[ [ : ] [ COLLATE ] [ NOT NULL ] [ COMMENT ] [ , [ : ]…" [[obligation]] -id = "db.expressions.struct-type.o003" +id = "db.expressions.struct-type.o034" kind = "option_absent" required = true -target = "[ [ : ] [ NOT NULL ] [ COLLATE ] [ COMMENT ] [ , ... ] ]" +target = "[ [ : ] [ COLLATE ] [ NOT NULL ] [ COMMENT ] [ , [ : ]…" [[obligation]] -id = "db.expressions.struct-type.o004" +id = "db.expressions.struct-type.o035" kind = "required_operand_missing" required = true -target = " in [ [ : ] [ NOT NULL ] [ COLLATE ] [ COMMENT ] [ , ... ]…" +target = " in [ [ : ] [ COLLATE ] [ NOT NULL ] [ COMMENT ] [ ,…" note = "omit " [[obligation]] -id = "db.expressions.struct-type.o005" +id = "db.expressions.struct-type.o036" kind = "operand_type_class" required = true -target = " in [ [ : ] [ NOT NULL ] [ COLLATE ] [ COMMENT ] [ , ... ]…" +target = " in [ [ : ] [ COLLATE ] [ NOT NULL ] [ COMMENT ] [ ,…" note = "a valid identifier" [[obligation]] -id = "db.expressions.struct-type.o006" +id = "db.expressions.struct-type.o037" kind = "negative_neighbour" required = true -target = " in [ [ : ] [ NOT NULL ] [ COLLATE ] [ COMMENT ] [ , ... ]…" +target = " in [ [ : ] [ COLLATE ] [ NOT NULL ] [ COMMENT ] [ ,…" note = "a string literal in place of " [[obligation]] @@ -4090,38 +3934,26 @@ required = true target = "[ : ]" [[obligation]] -id = "db.expressions.struct-type.o009" +id = "db.expressions.struct-type.o038" kind = "required_operand_missing" required = true -target = " in [ [ : ] [ NOT NULL ] [ COLLATE ] [ COMMENT ] [ , ... ]…" +target = " in [ [ : ] [ COLLATE ] [ NOT NULL ] [ COMMENT ] [ ,…" note = "omit " [[obligation]] -id = "db.expressions.struct-type.o010" +id = "db.expressions.struct-type.o039" kind = "operand_type_class" required = true -target = " in [ [ : ] [ NOT NULL ] [ COLLATE ] [ COMMENT ] [ , ... ]…" +target = " in [ [ : ] [ COLLATE ] [ NOT NULL ] [ COMMENT ] [ ,…" note = "a valid data_type" [[obligation]] -id = "db.expressions.struct-type.o011" +id = "db.expressions.struct-type.o040" kind = "negative_neighbour" required = true -target = " in [ [ : ] [ NOT NULL ] [ COLLATE ] [ COMMENT ] [ , ... ]…" +target = " in [ [ : ] [ COLLATE ] [ NOT NULL ] [ COMMENT ] [ ,…" note = "a string literal in place of " -[[obligation]] -id = "db.expressions.struct-type.o012" -kind = "option_present" -required = true -target = "[ NOT NULL ]" - -[[obligation]] -id = "db.expressions.struct-type.o013" -kind = "option_absent" -required = true -target = "[ NOT NULL ]" - [[obligation]] id = "db.expressions.struct-type.o014" kind = "option_present" @@ -4155,6 +3987,18 @@ required = true target = " in [ COLLATE ]" note = "a string literal in place of " +[[obligation]] +id = "db.expressions.struct-type.o012" +kind = "option_present" +required = true +target = "[ NOT NULL ]" + +[[obligation]] +id = "db.expressions.struct-type.o013" +kind = "option_absent" +required = true +target = "[ NOT NULL ]" + [[obligation]] id = "db.expressions.struct-type.o019" kind = "option_present" @@ -4182,17 +4026,17 @@ target = " in [ COMMENT ]" note = "a valid operand" [[obligation]] -id = "db.expressions.struct-type.o023" +id = "db.expressions.struct-type.o041" kind = "option_present" required = true -target = "[ , ... ]" +target = "[ , [ : ] ... ]" note = "the list continued at least once" [[obligation]] -id = "db.expressions.struct-type.o024" +id = "db.expressions.struct-type.o042" kind = "option_absent" required = true -target = "[ , ... ]" +target = "[ , [ : ] ... ]" [[obligation]] id = "db.expressions.struct-type.o025" @@ -4238,6 +4082,14 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.expressions.struct-type.o043" +kind = "option_present" +required = true +target = "[ COLLATE ] after [ NOT NULL ]" +anchor = "doc.data-types.struct-type / Syntax" +note = "COLLATE after NOT NULL, as the page's Syntax line orders them, which Spark's grammar does not parse" + [[obligation]] id = "db.expressions.time-type.time.o001" kind = "positive" @@ -4270,6 +4122,13 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" +[[obligation]] +id = "db.expressions.time-type.time.syntax.o006" +kind = "required_operand_missing" +required = true +target = "

" +note = "omit

" + [[obligation]] id = "db.expressions.time-type.time.syntax.o003" kind = "operand_type_class" @@ -4289,6 +4148,14 @@ kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.expressions.time-type.time.syntax.o007" +kind = "operand_type_class" +required = true +target = "

" +anchor = "doc.data-types.time-type / Syntax" +note = "a string where the page documents an integer" + [[obligation]] id = "db.expressions.timestamp-ntz-type.timestamp-ntz.o001" kind = "positive" @@ -4307,6 +4174,13 @@ kind = "option_absent" required = true target = "[ (

) ]" +[[obligation]] +id = "db.expressions.timestamp-ntz-type.timestamp-ntz.o007" +kind = "required_operand_missing" +required = true +target = "

in [ (

) ]" +note = "omit

" + [[obligation]] id = "db.expressions.timestamp-ntz-type.timestamp-ntz.o005" kind = "operand_type_class" @@ -4320,6 +4194,14 @@ kind = "negative_neighbour" required = true note = "the form without its required ) in [ (

) ]" +[[obligation]] +id = "db.expressions.timestamp-ntz-type.timestamp-ntz.o008" +kind = "operand_type_class" +required = true +target = "

" +anchor = "doc.data-types.timestamp-ntz-type / Syntax" +note = "a string where the page documents an integer" + [[obligation]] id = "db.expressions.timestamp-ntz-type.timestamp-ntz.literals.o001" kind = "positive" @@ -4341,60 +4223,19 @@ target = "" note = "an unquoted identifier in place of " [[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o001" +id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o010" kind = "positive" required = true -note = "the documented form with every required part and no optional part" +anchor = "doc.data-types.timestamp-ntz-type / Syntax" +note = "TIMESTAMP WITHOUT TIME ZONE in CAST" [[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o002" +id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o011" kind = "option_present" required = true target = "[ (

) ]" - -[[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o003" -kind = "option_absent" -required = true -target = "[ (

) ]" - -[[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o004" -kind = "required_operand_missing" -required = true -target = "

in [ (

) ]" -note = "omit

" - -[[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o005" -kind = "operand_type_class" -required = true -target = "

in [ (

) ]" -note = "a valid operand" - -[[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o006" -kind = "negative_neighbour" -required = true -note = "the form without its required ) in [ (

) ]" - -[[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o007" -kind = "negative_neighbour" -required = true -note = "the form without its required WITHOUT" - -[[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o008" -kind = "negative_neighbour" -required = true -note = "the form without its required TIME" - -[[obligation]] -id = "db.expressions.timestamp-ntz-type.timestamp-without-time-zone.o009" -kind = "negative_neighbour" -required = true -note = "the form without its required ZONE" +anchor = "doc.data-types.timestamp-ntz-type / Syntax" +note = "TIMESTAMP ( 6 ) WITHOUT TIME ZONE in CAST; p is 'An optional precision from 6 through 9'" [[obligation]] id = "db.expressions.timestamp-type.timestamp.o001" @@ -4414,6 +4255,13 @@ kind = "option_absent" required = true target = "[ (

) ]" +[[obligation]] +id = "db.expressions.timestamp-type.timestamp.o007" +kind = "required_operand_missing" +required = true +target = "

in [ (

) ]" +note = "omit

" + [[obligation]] id = "db.expressions.timestamp-type.timestamp.o005" kind = "operand_type_class" @@ -4445,6 +4293,13 @@ kind = "option_absent" required = true target = "[ (

) ]" +[[obligation]] +id = "db.expressions.timestamp-type.timestamp-ltz.o007" +kind = "required_operand_missing" +required = true +target = "

in [ (

) ]" +note = "omit

" + [[obligation]] id = "db.expressions.timestamp-type.timestamp-ltz.o005" kind = "operand_type_class" @@ -4517,41 +4372,27 @@ required = true target = "{ TINYINT | BYTE } → BYTE" [[obligation]] -id = "db.expressions.tinyint-type.y.o001" +id = "db.expressions.tinyint-type.y.o008" kind = "positive" required = true -note = "the documented form with every required part and no optional part" - -[[obligation]] -id = "db.expressions.tinyint-type.y.o002" -kind = "option_present" -required = true -target = "[ + | - ]" - -[[obligation]] -id = "db.expressions.tinyint-type.y.o003" -kind = "option_absent" -required = true -target = "[ + | - ]" +anchor = "doc.data-types.tinyint-type / Literals" +note = "digits with the Y postfix" [[obligation]] -id = "db.expressions.tinyint-type.y.o004" +id = "db.expressions.tinyint-type.y.o009" kind = "alternative" required = true target = "[ + | - ] → +" +anchor = "doc.data-types.tinyint-type / Literals" +note = "a plus sign before the literal" [[obligation]] -id = "db.expressions.tinyint-type.y.o005" +id = "db.expressions.tinyint-type.y.o010" kind = "alternative" required = true target = "[ + | - ] → -" - -[[obligation]] -id = "db.expressions.tinyint-type.y.o007" -kind = "operand_type_class" -required = true -target = "" -note = "a valid operand" +anchor = "doc.data-types.tinyint-type / Literals" +note = "a minus sign before the literal" [[obligation]] id = "db.expressions.variant-type.o001" @@ -4684,6 +4525,13 @@ kind = "alternative" required = true target = "{ | BETWEEN … → BETWEEN AND " +[[obligation]] +id = "db.expressions.window-functions-frame.o014" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.window-functions-frame.o004" kind = "operand_type_class" @@ -4691,6 +4539,13 @@ required = true target = "" note = "a valid operand" +[[obligation]] +id = "db.expressions.window-functions-frame.o015" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + [[obligation]] id = "db.expressions.window-functions-frame.o005" kind = "operand_type_class" diff --git a/coverage/syntax-databricks/obligations/functions.toml b/coverage/syntax-databricks/obligations/functions.toml index 8d11a2fe9..f916e3ff4 100644 --- a/coverage/syntax-databricks/obligations/functions.toml +++ b/coverage/syntax-databricks/obligations/functions.toml @@ -759,124 +759,159 @@ target = "" note = "a valid expression" [[obligation]] -id = "db.functions.ai-detect-anomalies.o007" +id = "db.functions.ai-detect-anomalies.o038" kind = "option_present" required = true -target = "[ , ]" +target = "[ , group_col => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o008" +id = "db.functions.ai-detect-anomalies.o039" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , group_col => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o009" +id = "db.functions.ai-detect-anomalies.o040" +kind = "required_operand_missing" +required = true +target = " in [ , group_col => ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o041" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , group_col => ]" note = "a valid identifier" [[obligation]] -id = "db.functions.ai-detect-anomalies.o010" +id = "db.functions.ai-detect-anomalies.o042" kind = "option_present" required = true -target = "[ , ]" +target = "[ , anomaly_threshold => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o011" +id = "db.functions.ai-detect-anomalies.o043" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , anomaly_threshold => ]" + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o044" +kind = "required_operand_missing" +required = true +target = " in [ , anomaly_threshold => ]" +note = "omit " [[obligation]] -id = "db.functions.ai-detect-anomalies.o012" +id = "db.functions.ai-detect-anomalies.o045" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , anomaly_threshold => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-detect-anomalies.o013" +id = "db.functions.ai-detect-anomalies.o046" kind = "option_present" required = true -target = "[ , ]" +target = "[ , covariate_col => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o014" +id = "db.functions.ai-detect-anomalies.o047" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , covariate_col => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o015" +id = "db.functions.ai-detect-anomalies.o048" +kind = "required_operand_missing" +required = true +target = " in [ , covariate_col => ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o049" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , covariate_col => ]" note = "a valid identifier" [[obligation]] -id = "db.functions.ai-detect-anomalies.o016" +id = "db.functions.ai-detect-anomalies.o050" kind = "option_present" required = true -target = "[ , ]" +target = "[ , holiday_region => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o017" +id = "db.functions.ai-detect-anomalies.o051" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , holiday_region => ]" + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o052" +kind = "required_operand_missing" +required = true +target = " in [ , holiday_region => ]" +note = "omit " [[obligation]] -id = "db.functions.ai-detect-anomalies.o018" +id = "db.functions.ai-detect-anomalies.o053" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , holiday_region => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-detect-anomalies.o019" +id = "db.functions.ai-detect-anomalies.o054" kind = "option_present" required = true -target = "[ , ]" +target = "[ , only_last_n => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o020" +id = "db.functions.ai-detect-anomalies.o055" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , only_last_n => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o021" +id = "db.functions.ai-detect-anomalies.o056" +kind = "required_operand_missing" +required = true +target = " in [ , only_last_n => ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o057" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , only_last_n => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-detect-anomalies.o022" +id = "db.functions.ai-detect-anomalies.o058" kind = "option_present" required = true -target = "[ , ]" +target = "[ , smoothing => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o023" +id = "db.functions.ai-detect-anomalies.o059" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , smoothing => ]" [[obligation]] -id = "db.functions.ai-detect-anomalies.o024" +id = "db.functions.ai-detect-anomalies.o060" kind = "required_operand_missing" required = true -target = " in [ , ]" +target = " in [ , smoothing => ]" note = "omit " [[obligation]] -id = "db.functions.ai-detect-anomalies.o025" +id = "db.functions.ai-detect-anomalies.o061" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , smoothing => ]" note = "a valid operand" [[obligation]] @@ -885,6 +920,42 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.ai-detect-anomalies.o062" +kind = "negative_neighbour" +required = true +note = "the form without its required group_col in [ , group_col => ]" + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o063" +kind = "negative_neighbour" +required = true +note = "the form without its required anomaly_threshold in [ , anomaly_threshold => ]" + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o064" +kind = "negative_neighbour" +required = true +note = "the form without its required covariate_col in [ , covariate_col => ]" + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o065" +kind = "negative_neighbour" +required = true +note = "the form without its required holiday_region in [ , holiday_region => ]" + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o066" +kind = "negative_neighbour" +required = true +note = "the form without its required only_last_n in [ , only_last_n => ]" + +[[obligation]] +id = "db.functions.ai-detect-anomalies.o067" +kind = "negative_neighbour" +required = true +note = "the form without its required smoothing in [ , smoothing => ]" + [[obligation]] id = "db.functions.ai-detect-anomalies.o027" kind = "negative_neighbour" @@ -1244,143 +1315,185 @@ target = "" note = "a valid expression" [[obligation]] -id = "db.functions.ai-forecast.o009" +id = "db.functions.ai-forecast.o069" kind = "option_present" required = true -target = "[ , ]" +target = "[ , group_col => ]" [[obligation]] -id = "db.functions.ai-forecast.o010" +id = "db.functions.ai-forecast.o070" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , group_col => ]" [[obligation]] -id = "db.functions.ai-forecast.o011" +id = "db.functions.ai-forecast.o071" +kind = "required_operand_missing" +required = true +target = " in [ , group_col => ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-forecast.o072" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , group_col => ]" note = "a valid identifier" [[obligation]] -id = "db.functions.ai-forecast.o012" +id = "db.functions.ai-forecast.o073" kind = "option_present" required = true -target = "[ , ]" +target = "[ , covariate_col => ]" [[obligation]] -id = "db.functions.ai-forecast.o013" +id = "db.functions.ai-forecast.o074" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , covariate_col => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o075" +kind = "required_operand_missing" +required = true +target = " in [ , covariate_col => ]" +note = "omit " [[obligation]] -id = "db.functions.ai-forecast.o014" +id = "db.functions.ai-forecast.o076" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , covariate_col => ]" note = "a valid identifier" [[obligation]] -id = "db.functions.ai-forecast.o015" +id = "db.functions.ai-forecast.o077" kind = "option_present" required = true -target = "[ , ]" +target = "[ , prediction_interval_width => ]" [[obligation]] -id = "db.functions.ai-forecast.o016" +id = "db.functions.ai-forecast.o078" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , prediction_interval_width => ]" [[obligation]] -id = "db.functions.ai-forecast.o017" +id = "db.functions.ai-forecast.o079" +kind = "required_operand_missing" +required = true +target = " in [ , prediction_interval_width => ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-forecast.o080" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , prediction_interval_width => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-forecast.o018" +id = "db.functions.ai-forecast.o081" kind = "option_present" required = true -target = "[ , ]" +target = "[ , frequency => ]" [[obligation]] -id = "db.functions.ai-forecast.o019" +id = "db.functions.ai-forecast.o082" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , frequency => ]" [[obligation]] -id = "db.functions.ai-forecast.o020" +id = "db.functions.ai-forecast.o083" +kind = "required_operand_missing" +required = true +target = " in [ , frequency => ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-forecast.o084" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , frequency => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-forecast.o021" +id = "db.functions.ai-forecast.o085" kind = "option_present" required = true -target = "[ , ]" +target = "[ , holiday_region => ]" [[obligation]] -id = "db.functions.ai-forecast.o022" +id = "db.functions.ai-forecast.o086" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , holiday_region => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o087" +kind = "required_operand_missing" +required = true +target = " in [ , holiday_region => ]" +note = "omit " [[obligation]] -id = "db.functions.ai-forecast.o023" +id = "db.functions.ai-forecast.o088" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , holiday_region => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-forecast.o024" +id = "db.functions.ai-forecast.o089" kind = "option_present" required = true -target = "[ , ]" +target = "[ , positive_only => ]" [[obligation]] -id = "db.functions.ai-forecast.o025" +id = "db.functions.ai-forecast.o090" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , positive_only => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o091" +kind = "required_operand_missing" +required = true +target = " in [ , positive_only => ]" +note = "omit " [[obligation]] -id = "db.functions.ai-forecast.o026" +id = "db.functions.ai-forecast.o092" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , positive_only => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-forecast.o027" +id = "db.functions.ai-forecast.o093" kind = "option_present" required = true -target = "[ , ]" +target = "[ , version => ]" [[obligation]] -id = "db.functions.ai-forecast.o028" +id = "db.functions.ai-forecast.o094" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , version => ]" [[obligation]] -id = "db.functions.ai-forecast.o029" +id = "db.functions.ai-forecast.o095" kind = "required_operand_missing" required = true -target = " in [ , ]" +target = " in [ , version => ]" note = "omit " [[obligation]] -id = "db.functions.ai-forecast.o030" +id = "db.functions.ai-forecast.o096" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , version => ]" note = "a valid operand" [[obligation]] @@ -1433,124 +1546,159 @@ target = " #2" note = "a valid expression" [[obligation]] -id = "db.functions.ai-forecast.o038" +id = "db.functions.ai-forecast.o097" kind = "option_present" required = true -target = "[ , ] #2" +target = "[ , group_col => ] #2" [[obligation]] -id = "db.functions.ai-forecast.o039" +id = "db.functions.ai-forecast.o098" kind = "option_absent" required = true -target = "[ , ] #2" +target = "[ , group_col => ] #2" + +[[obligation]] +id = "db.functions.ai-forecast.o099" +kind = "required_operand_missing" +required = true +target = " in [ , group_col => ] #2" +note = "omit " [[obligation]] -id = "db.functions.ai-forecast.o040" +id = "db.functions.ai-forecast.o100" kind = "operand_type_class" required = true -target = " in [ , ] #2" +target = " in [ , group_col => ] #2" note = "a valid identifier" [[obligation]] -id = "db.functions.ai-forecast.o041" +id = "db.functions.ai-forecast.o101" kind = "option_present" required = true -target = "[ , ] #2" +target = "[ , prediction_interval_width => ] #2" [[obligation]] -id = "db.functions.ai-forecast.o042" +id = "db.functions.ai-forecast.o102" kind = "option_absent" required = true -target = "[ , ] #2" +target = "[ , prediction_interval_width => ] #2" [[obligation]] -id = "db.functions.ai-forecast.o043" +id = "db.functions.ai-forecast.o103" +kind = "required_operand_missing" +required = true +target = " in [ , prediction_interval_width => ] #2" +note = "omit " + +[[obligation]] +id = "db.functions.ai-forecast.o104" kind = "operand_type_class" required = true -target = " in [ , ] #2" +target = " in [ , prediction_interval_width => ] #2" note = "a valid operand" [[obligation]] -id = "db.functions.ai-forecast.o044" +id = "db.functions.ai-forecast.o105" kind = "option_present" required = true -target = "[ , ] #2" +target = "[ , frequency => ] #2" [[obligation]] -id = "db.functions.ai-forecast.o045" +id = "db.functions.ai-forecast.o106" kind = "option_absent" required = true -target = "[ , ] #2" +target = "[ , frequency => ] #2" + +[[obligation]] +id = "db.functions.ai-forecast.o107" +kind = "required_operand_missing" +required = true +target = " in [ , frequency => ] #2" +note = "omit " [[obligation]] -id = "db.functions.ai-forecast.o046" +id = "db.functions.ai-forecast.o108" kind = "operand_type_class" required = true -target = " in [ , ] #2" +target = " in [ , frequency => ] #2" note = "a valid operand" [[obligation]] -id = "db.functions.ai-forecast.o047" +id = "db.functions.ai-forecast.o109" kind = "option_present" required = true -target = "[ , ]" +target = "[ , seed => ]" [[obligation]] -id = "db.functions.ai-forecast.o048" +id = "db.functions.ai-forecast.o110" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , seed => ]" [[obligation]] -id = "db.functions.ai-forecast.o049" +id = "db.functions.ai-forecast.o111" +kind = "required_operand_missing" +required = true +target = " in [ , seed => ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-forecast.o112" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , seed => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-forecast.o050" +id = "db.functions.ai-forecast.o113" kind = "option_present" required = true -target = "[ , ]" +target = "[ , parameters => ]" [[obligation]] -id = "db.functions.ai-forecast.o051" +id = "db.functions.ai-forecast.o114" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , parameters => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o115" +kind = "required_operand_missing" +required = true +target = " in [ , parameters => ]" +note = "omit " [[obligation]] -id = "db.functions.ai-forecast.o052" +id = "db.functions.ai-forecast.o116" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , parameters => ]" note = "a valid operand" [[obligation]] -id = "db.functions.ai-forecast.o053" +id = "db.functions.ai-forecast.o117" kind = "option_present" required = true -target = "[ , ] #2" +target = "[ , version => ] #2" [[obligation]] -id = "db.functions.ai-forecast.o054" +id = "db.functions.ai-forecast.o118" kind = "option_absent" required = true -target = "[ , ] #2" +target = "[ , version => ] #2" [[obligation]] -id = "db.functions.ai-forecast.o055" +id = "db.functions.ai-forecast.o119" kind = "required_operand_missing" required = true -target = " in [ , ] #2" +target = " in [ , version => ] #2" note = "omit " [[obligation]] -id = "db.functions.ai-forecast.o056" +id = "db.functions.ai-forecast.o120" kind = "operand_type_class" required = true -target = " in [ , ] #2" +target = " in [ , version => ] #2" note = "a valid operand" [[obligation]] @@ -1559,12 +1707,90 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.ai-forecast.o121" +kind = "negative_neighbour" +required = true +note = "the form without its required group_col in [ , group_col => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o122" +kind = "negative_neighbour" +required = true +note = "the form without its required covariate_col in [ , covariate_col => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o123" +kind = "negative_neighbour" +required = true +note = "the form without its required prediction_interval_width in [ , prediction_interval_width => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o124" +kind = "negative_neighbour" +required = true +note = "the form without its required frequency in [ , frequency => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o125" +kind = "negative_neighbour" +required = true +note = "the form without its required holiday_region in [ , holiday_region => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o126" +kind = "negative_neighbour" +required = true +note = "the form without its required positive_only in [ , positive_only => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o127" +kind = "negative_neighbour" +required = true +note = "the form without its required version in [ , version => ]" + [[obligation]] id = "db.functions.ai-forecast.o058" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.ai-forecast.o128" +kind = "negative_neighbour" +required = true +note = "the form without its required group_col in [ , group_col => ] #2" + +[[obligation]] +id = "db.functions.ai-forecast.o129" +kind = "negative_neighbour" +required = true +note = "the form without its required prediction_interval_width in [ , prediction_interval_width => ] #2" + +[[obligation]] +id = "db.functions.ai-forecast.o130" +kind = "negative_neighbour" +required = true +note = "the form without its required frequency in [ , frequency => ] #2" + +[[obligation]] +id = "db.functions.ai-forecast.o131" +kind = "negative_neighbour" +required = true +note = "the form without its required seed in [ , seed => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o132" +kind = "negative_neighbour" +required = true +note = "the form without its required parameters in [ , parameters => ]" + +[[obligation]] +id = "db.functions.ai-forecast.o133" +kind = "negative_neighbour" +required = true +note = "the form without its required version in [ , version => ] #2" + [[obligation]] id = "db.functions.ai-forecast.o059" kind = "interaction_all_options" @@ -1992,6 +2218,14 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.functions.ai-predict-class.o027" +kind = "negative_neighbour" +required = true +target = "TABLE ( ) with its ) restored after the named arguments" +anchor = "doc.functions.ai_predict_class / Syntax" +note = "the o016 negative (the form without its required )) with the ) put back at the end instead: the warehouse reads TABLE ( v1 , target_col => v1 , feature_cols => v1 ) as a call of a function named TABLE (semantic_error UNRESOLVED_ROUTINE TABLE), so it parses; this shows the o016 refusal is the missing ), at end of input. Observed, so its receipt settles it" + [[obligation]] id = "db.functions.ai-predict-value.o001" kind = "positive" @@ -2139,6 +2373,14 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.functions.ai-predict-value.o027" +kind = "negative_neighbour" +required = true +target = "TABLE ( ) with its ) restored after the named arguments" +anchor = "doc.functions.ai_predict_value / Syntax" +note = "the o016 negative (the form without its required )) with the ) put back at the end instead: the warehouse reads TABLE ( v1 , target_col => v1 , feature_cols => v1 ) as a call of a function named TABLE (semantic_error UNRESOLVED_ROUTINE TABLE), so it parses; this shows the o016 refusal is the missing ), at end of input. Observed, so its receipt settles it" + [[obligation]] id = "db.functions.ai-prep-search.o001" kind = "positive" @@ -2528,22 +2770,75 @@ target = "" note = "a valid operand" [[obligation]] -id = "db.functions.ai-top-drivers.o008" +id = "db.functions.ai-top-drivers.o016" kind = "option_present" required = true -target = "[ , ]" +target = "[ , { dimensions => | aggregation => | min_support => } ]" [[obligation]] -id = "db.functions.ai-top-drivers.o009" +id = "db.functions.ai-top-drivers.o017" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , { dimensions => | aggregation => | min_support => } ]" + +[[obligation]] +id = "db.functions.ai-top-drivers.o018" +kind = "alternative" +required = true +target = "{ dimensions => | aggregation => | min_support => … → dimensions => " + +[[obligation]] +id = "db.functions.ai-top-drivers.o019" +kind = "alternative" +required = true +target = "{ dimensions => | aggregation => | min_support =>… → aggregation => " + +[[obligation]] +id = "db.functions.ai-top-drivers.o020" +kind = "alternative" +required = true +target = "{ dimensions => | aggregation => | min_support =>… → min_support => " + +[[obligation]] +id = "db.functions.ai-top-drivers.o021" +kind = "required_operand_missing" +required = true +target = " in [ , { dimensions => | aggregation => | min_support => } ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-top-drivers.o022" +kind = "operand_type_class" +required = true +target = " in [ , { dimensions => | aggregation => | min_support => } ]" +note = "a valid operand" + +[[obligation]] +id = "db.functions.ai-top-drivers.o023" +kind = "required_operand_missing" +required = true +target = " in [ , { dimensions => | aggregation => | min_support => } ]" +note = "omit " + +[[obligation]] +id = "db.functions.ai-top-drivers.o024" +kind = "operand_type_class" +required = true +target = " in [ , { dimensions => | aggregation => | min_support => } ]" +note = "a valid operand" + +[[obligation]] +id = "db.functions.ai-top-drivers.o025" +kind = "required_operand_missing" +required = true +target = " in [ , { dimensions => | aggregation => | min_support => } ]" +note = "omit " [[obligation]] -id = "db.functions.ai-top-drivers.o010" +id = "db.functions.ai-top-drivers.o026" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , { dimensions => | aggregation => | min_support => } ]" note = "a valid operand" [[obligation]] @@ -2570,6 +2865,24 @@ kind = "negative_neighbour" required = true note = "the form without its required is_test" +[[obligation]] +id = "db.functions.ai-top-drivers.o027" +kind = "negative_neighbour" +required = true +note = "the form without its required dimensions after , in [ , { dimensions => | aggregation => | min_support => } ]" + +[[obligation]] +id = "db.functions.ai-top-drivers.o028" +kind = "negative_neighbour" +required = true +note = "the form without its required aggregation after , in [ , { dimensions => | aggregation => | min_support => } ]" + +[[obligation]] +id = "db.functions.ai-top-drivers.o029" +kind = "negative_neighbour" +required = true +note = "the form without its required min_support after , in [ , { dimensions => | aggregation => | min_support => } ]" + [[obligation]] id = "db.functions.ai-top-drivers.o015" kind = "negative_neighbour" @@ -6494,12 +6807,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.classifier.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.classifier.o003" kind = "negative_neighbour" @@ -6538,12 +6845,6 @@ required = true target = "" note = "a valid operand" -[[obligation]] -id = "db.functions.cloud-files-state.o007" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.cloud-files-state.o009" kind = "negative_neighbour" @@ -6698,12 +6999,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.collations.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.collations.o003" kind = "negative_neighbour" @@ -6940,18 +7235,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.colonsign.o005" +id = "db.functions.colonsign.o007" kind = "operand_type_class" required = true target = "" -note = "a valid string_literal" - -[[obligation]] -id = "db.functions.colonsign.o006" -kind = "negative_neighbour" -required = true -target = "" -note = "an unquoted identifier in place of " +note = "a valid operand" [[obligation]] id = "db.functions.concat.o001" @@ -8534,12 +8822,6 @@ required = true target = "" note = "a valid operand" -[[obligation]] -id = "db.functions.cume-dist.o004" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.cume-dist.o005" kind = "negative_neighbour" @@ -8552,12 +8834,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.curdate.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.curdate.o003" kind = "negative_neighbour" @@ -8570,12 +8846,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.current-catalog.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.current-catalog.o003" kind = "negative_neighbour" @@ -8588,12 +8858,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.current-database.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.current-database.o003" kind = "negative_neighbour" @@ -8607,16 +8871,22 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.current-date.o002" -kind = "negative_neighbour" +id = "db.functions.current-date.o004" +kind = "option_present" required = true -note = "the form without its required (" +target = "[ ( ) ]" [[obligation]] -id = "db.functions.current-date.o003" +id = "db.functions.current-date.o005" +kind = "option_absent" +required = true +target = "[ ( ) ]" + +[[obligation]] +id = "db.functions.current-date.o006" kind = "negative_neighbour" required = true -note = "the form without its required )" +note = "the form without its required ) in [ ( ) ]" [[obligation]] id = "db.functions.current-metastore.o001" @@ -8624,12 +8894,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.current-metastore.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.current-metastore.o003" kind = "negative_neighbour" @@ -8642,12 +8906,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.current-oauth-custom-identity-claim.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.current-oauth-custom-identity-claim.o003" kind = "negative_neighbour" @@ -8661,16 +8919,22 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.current-path.o002" -kind = "negative_neighbour" +id = "db.functions.current-path.o004" +kind = "option_present" required = true -note = "the form without its required (" +target = "[ ( ) ]" [[obligation]] -id = "db.functions.current-path.o003" +id = "db.functions.current-path.o005" +kind = "option_absent" +required = true +target = "[ ( ) ]" + +[[obligation]] +id = "db.functions.current-path.o006" kind = "negative_neighbour" required = true -note = "the form without its required )" +note = "the form without its required ) in [ ( ) ]" [[obligation]] id = "db.functions.current-recipient.o001" @@ -8703,12 +8967,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.current-schema.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.current-schema.o003" kind = "negative_neighbour" @@ -8721,12 +8979,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.current-snapshot-version.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.current-snapshot-version.o003" kind = "negative_neighbour" @@ -8739,6 +8991,18 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" +[[obligation]] +id = "db.functions.current-time.o007" +kind = "option_present" +required = true +target = "[ ( [ ] ) ]" + +[[obligation]] +id = "db.functions.current-time.o008" +kind = "option_absent" +required = true +target = "[ ( [ ] ) ]" + [[obligation]] id = "db.functions.current-time.o002" kind = "option_present" @@ -8759,16 +9023,10 @@ target = " in [ ]" note = "a valid operand" [[obligation]] -id = "db.functions.current-time.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - -[[obligation]] -id = "db.functions.current-time.o006" +id = "db.functions.current-time.o009" kind = "negative_neighbour" required = true -note = "the form without its required )" +note = "the form without its required ) in [ ( [ ] ) ]" [[obligation]] id = "db.functions.current-timestamp.o001" @@ -8776,6 +9034,18 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" +[[obligation]] +id = "db.functions.current-timestamp.o007" +kind = "option_present" +required = true +target = "[ ( [ ] ) ]" + +[[obligation]] +id = "db.functions.current-timestamp.o008" +kind = "option_absent" +required = true +target = "[ ( [ ] ) ]" + [[obligation]] id = "db.functions.current-timestamp.o002" kind = "option_present" @@ -8796,16 +9066,18 @@ target = " in [ ]" note = "a valid operand" [[obligation]] -id = "db.functions.current-timestamp.o005" +id = "db.functions.current-timestamp.o009" kind = "negative_neighbour" required = true -note = "the form without its required (" +note = "the form without its required ) in [ ( [ ] ) ]" [[obligation]] -id = "db.functions.current-timestamp.o006" -kind = "negative_neighbour" +id = "db.functions.current-timestamp.o010" +kind = "operand_type_class" required = true -note = "the form without its required )" +target = "" +anchor = "doc.functions.current_timestamp / Syntax" +note = "a string where the page documents an INTEGER literal precision" [[obligation]] id = "db.functions.current-timezone.o001" @@ -8813,12 +9085,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.current-timezone.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.current-timezone.o003" kind = "negative_neighbour" @@ -8832,16 +9098,22 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.current-user.o002" -kind = "negative_neighbour" +id = "db.functions.current-user.o004" +kind = "option_present" required = true -note = "the form without its required (" +target = "[ ( ) ]" [[obligation]] -id = "db.functions.current-user.o003" +id = "db.functions.current-user.o005" +kind = "option_absent" +required = true +target = "[ ( ) ]" + +[[obligation]] +id = "db.functions.current-user.o006" kind = "negative_neighbour" required = true -note = "the form without its required )" +note = "the form without its required ) in [ ( ) ]" [[obligation]] id = "db.functions.current-version.o001" @@ -8849,12 +9121,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.current-version.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.current-version.o003" kind = "negative_neighbour" @@ -8874,12 +9140,6 @@ required = true target = "" note = "a valid identifier" -[[obligation]] -id = "db.functions.data-skipping-summary.o004" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.data-skipping-summary.o006" kind = "negative_neighbour" @@ -8992,18 +9252,70 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.date-add3.o002" -kind = "required_operand_missing" +id = "db.functions.date-add3.o010" +kind = "alternative" required = true -target = "" -note = "omit " +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MICROSECOND" [[obligation]] -id = "db.functions.date-add3.o003" -kind = "operand_type_class" +id = "db.functions.date-add3.o011" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MILLISECOND" + +[[obligation]] +id = "db.functions.date-add3.o012" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → SECOND" + +[[obligation]] +id = "db.functions.date-add3.o013" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MINUTE" + +[[obligation]] +id = "db.functions.date-add3.o014" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → HOUR" + +[[obligation]] +id = "db.functions.date-add3.o015" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → DAY" + +[[obligation]] +id = "db.functions.date-add3.o016" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → DAYOFYEAR" + +[[obligation]] +id = "db.functions.date-add3.o017" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → WEEK" + +[[obligation]] +id = "db.functions.date-add3.o018" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MONTH" + +[[obligation]] +id = "db.functions.date-add3.o019" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → QUARTER" + +[[obligation]] +id = "db.functions.date-add3.o020" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → YEAR" [[obligation]] id = "db.functions.date-add3.o004" @@ -9039,12 +9351,26 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.date-add3.o021" +kind = "negative_neighbour" +required = true +note = "the form without its required { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR }" + [[obligation]] id = "db.functions.date-add3.o009" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.date-add3.o022" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.date_add3 / Syntax" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" + [[obligation]] id = "db.functions.date-diff.o001" kind = "positive" @@ -9080,18 +9406,64 @@ target = "" note = "a valid expression" [[obligation]] -id = "db.functions.date-diff.o006" -kind = "required_operand_missing" +id = "db.functions.date-diff.o014" +kind = "alternative" required = true -target = "" -note = "omit " +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MICROSECOND" [[obligation]] -id = "db.functions.date-diff.o007" -kind = "operand_type_class" +id = "db.functions.date-diff.o015" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MILLISECOND" + +[[obligation]] +id = "db.functions.date-diff.o016" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → SECOND" + +[[obligation]] +id = "db.functions.date-diff.o017" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MINUTE" + +[[obligation]] +id = "db.functions.date-diff.o018" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → HOUR" + +[[obligation]] +id = "db.functions.date-diff.o019" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → DAY" + +[[obligation]] +id = "db.functions.date-diff.o020" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → WEEK" + +[[obligation]] +id = "db.functions.date-diff.o021" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MONTH" + +[[obligation]] +id = "db.functions.date-diff.o022" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → QUARTER" + +[[obligation]] +id = "db.functions.date-diff.o023" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → YEAR" [[obligation]] id = "db.functions.date-diff.o008" @@ -9133,6 +9505,20 @@ kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.date-diff.o024" +kind = "negative_neighbour" +required = true +note = "the form without its required { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR }" + +[[obligation]] +id = "db.functions.date-diff.o025" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.date_diff / Syntax" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" + [[obligation]] id = "db.functions.date-format.o001" kind = "positive" @@ -9349,18 +9735,70 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.dateadd.o002" -kind = "required_operand_missing" +id = "db.functions.dateadd.o010" +kind = "alternative" required = true -target = "" -note = "omit " +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MICROSECOND" [[obligation]] -id = "db.functions.dateadd.o003" -kind = "operand_type_class" +id = "db.functions.dateadd.o011" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MILLISECOND" + +[[obligation]] +id = "db.functions.dateadd.o012" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → SECOND" + +[[obligation]] +id = "db.functions.dateadd.o013" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MINUTE" + +[[obligation]] +id = "db.functions.dateadd.o014" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → HOUR" + +[[obligation]] +id = "db.functions.dateadd.o015" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → DAY" + +[[obligation]] +id = "db.functions.dateadd.o016" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → DAYOFYEAR" + +[[obligation]] +id = "db.functions.dateadd.o017" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → WEEK" + +[[obligation]] +id = "db.functions.dateadd.o018" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MONTH" + +[[obligation]] +id = "db.functions.dateadd.o019" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → QUARTER" + +[[obligation]] +id = "db.functions.dateadd.o020" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → YEAR" [[obligation]] id = "db.functions.dateadd.o004" @@ -9396,12 +9834,26 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.dateadd.o021" +kind = "negative_neighbour" +required = true +note = "the form without its required { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR }" + [[obligation]] id = "db.functions.dateadd.o009" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.dateadd.o022" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.dateadd / Syntax" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" + [[obligation]] id = "db.functions.dateadd2.o001" kind = "positive" @@ -9501,18 +9953,64 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.datediff3.o002" -kind = "required_operand_missing" +id = "db.functions.datediff3.o010" +kind = "alternative" required = true -target = "" -note = "omit " +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MICROSECOND" [[obligation]] -id = "db.functions.datediff3.o003" -kind = "operand_type_class" +id = "db.functions.datediff3.o011" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MILLISECOND" + +[[obligation]] +id = "db.functions.datediff3.o012" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → SECOND" + +[[obligation]] +id = "db.functions.datediff3.o013" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MINUTE" + +[[obligation]] +id = "db.functions.datediff3.o014" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → HOUR" + +[[obligation]] +id = "db.functions.datediff3.o015" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → DAY" + +[[obligation]] +id = "db.functions.datediff3.o016" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → WEEK" + +[[obligation]] +id = "db.functions.datediff3.o017" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MONTH" + +[[obligation]] +id = "db.functions.datediff3.o018" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → QUARTER" + +[[obligation]] +id = "db.functions.datediff3.o019" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → YEAR" [[obligation]] id = "db.functions.datediff3.o004" @@ -9548,12 +10046,26 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.datediff3.o020" +kind = "negative_neighbour" +required = true +note = "the form without its required { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR }" + [[obligation]] id = "db.functions.datediff3.o009" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.datediff3.o021" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.datediff3 / Syntax" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" + [[obligation]] id = "db.functions.day.o001" kind = "positive" @@ -9724,12 +10236,6 @@ required = true target = "" note = "a valid expression" -[[obligation]] -id = "db.functions.decode.o004" -kind = "alternative" -required = true -target = "{ , } → , " - [[obligation]] id = "db.functions.decode.o005" kind = "required_operand_missing" @@ -9752,17 +10258,17 @@ target = "" note = "a valid expression" [[obligation]] -id = "db.functions.decode.o008" +id = "db.functions.decode.o017" kind = "option_present" required = true -target = "[ , ... ]" +target = "[ , , ... ]" note = "the list continued at least once" [[obligation]] -id = "db.functions.decode.o009" +id = "db.functions.decode.o018" kind = "option_absent" required = true -target = "[ , ... ]" +target = "[ , , ... ]" [[obligation]] id = "db.functions.decode.o010" @@ -9885,12 +10391,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.dense-rank.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.dense-rank.o003" kind = "negative_neighbour" @@ -10082,12 +10582,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.e.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.e.o003" kind = "negative_neighbour" @@ -10458,12 +10952,6 @@ required = true target = "" note = "a valid operand" -[[obligation]] -id = "db.functions.event-log.o007" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.event-log.o009" kind = "negative_neighbour" @@ -10802,6 +11290,14 @@ kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.extract.o009" +kind = "negative_neighbour" +required = true +target = "(" +anchor = "doc.functions.extract / Syntax" +note = "the call without its required ( keeping its documented keyword operand, beside the case that writes 1 there" + [[obligation]] id = "db.functions.factorial.o001" kind = "positive" @@ -12142,12 +12638,6 @@ required = true target = " in [ ]" note = "a valid operand" -[[obligation]] -id = "db.functions.getdate.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.getdate.o006" kind = "negative_neighbour" @@ -12285,12 +12775,6 @@ kind = "option_absent" required = true target = "[ , ... ]" -[[obligation]] -id = "db.functions.grouping-id.o007" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.grouping-id.o008" kind = "negative_neighbour" @@ -14472,11 +14956,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.http-request.o009" +id = "db.functions.http-request.o035" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid string_literal" [[obligation]] id = "db.functions.http-request.o010" @@ -14610,20 +15094,12 @@ required = true note = "the form without its required )" [[obligation]] -id = "db.functions.http-request.o030" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.functions.http-request.o032" -kind = "identifier_class" +id = "db.functions.http-request.o036" +kind = "option_present" required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +target = "[ , ... ]" +anchor = "doc.functions.http_request / Syntax" +note = "two different named parameters; the page says a parameter given more than once is an error" [[obligation]] id = "db.functions.hypot.o001" @@ -14895,12 +15371,6 @@ required = true target = " in [ ESCAPE ]" note = "a valid operand" -[[obligation]] -id = "db.functions.ilike.ilike.o012" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.ilike.ilike.o013" kind = "negative_neighbour" @@ -14913,6 +15383,14 @@ kind = "interaction_all_options" required = true note = "every independent option of one production together" +[[obligation]] +id = "db.functions.ilike.ilike.o015" +kind = "option_present" +required = true +target = "[ ESCAPE ] inside the parentheses" +anchor = "doc.functions.ilike / Syntax" +note = "ESCAPE inside the parentheses, as the page's Syntax line writes it, which the warehouse refuses" + [[obligation]] id = "db.functions.ilike.ilike-any-some-all.o001" kind = "positive" @@ -15261,12 +15739,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.input-file-block-length.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.input-file-block-length.o003" kind = "negative_neighbour" @@ -15279,12 +15751,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.input-file-block-start.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.input-file-block-start.o003" kind = "negative_neighbour" @@ -15297,12 +15763,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.input-file-name.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.input-file-name.o003" kind = "negative_neighbour" @@ -17607,12 +18067,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.last-snapshot-version.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.last-snapshot-version.o003" kind = "negative_neighbour" @@ -18191,12 +18645,6 @@ required = true target = " in [ ESCAPE ]" note = "a valid operand" -[[obligation]] -id = "db.functions.like.like.o012" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.like.like.o013" kind = "negative_neighbour" @@ -18209,6 +18657,14 @@ kind = "interaction_all_options" required = true note = "every independent option of one production together" +[[obligation]] +id = "db.functions.like.like.o015" +kind = "option_present" +required = true +target = "[ ESCAPE ] inside the parentheses" +anchor = "doc.functions.like / Syntax" +note = "ESCAPE inside the parentheses, as the page's Syntax line writes it, which the warehouse refuses" + [[obligation]] id = "db.functions.like.like-any-some-all.o001" kind = "positive" @@ -18430,12 +18886,6 @@ required = true target = " in [ ]" note = "a valid operand" -[[obligation]] -id = "db.functions.list-secrets.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.list-secrets.o006" kind = "negative_neighbour" @@ -18506,74 +18956,84 @@ target = " in [ , ]" note = "a valid operand" [[obligation]] -id = "db.functions.listagg.o011" +id = "db.functions.listagg.o040" kind = "option_present" required = true -target = "[ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +target = "[ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.listagg.o012" +id = "db.functions.listagg.o041" kind = "option_absent" required = true -target = "[ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +target = "[ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.listagg.o013" +id = "db.functions.listagg.o042" kind = "alternative" required = true -target = "{ [ ] [ ] } → [ ] [ ]" +target = "{ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } → [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.listagg.o014" +id = "db.functions.listagg.o043" kind = "required_operand_missing" required = true -target = " in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +target = " in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" note = "omit " [[obligation]] -id = "db.functions.listagg.o015" +id = "db.functions.listagg.o044" kind = "operand_type_class" required = true -target = " in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +target = " in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" note = "a valid operand" [[obligation]] -id = "db.functions.listagg.o016" +id = "db.functions.listagg.o045" kind = "option_present" required = true -target = "[ ]" +target = "[ ASC | DESC ]" [[obligation]] -id = "db.functions.listagg.o017" +id = "db.functions.listagg.o046" kind = "option_absent" required = true -target = "[ ]" +target = "[ ASC | DESC ]" [[obligation]] -id = "db.functions.listagg.o018" -kind = "operand_type_class" +id = "db.functions.listagg.o047" +kind = "alternative" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ ASC | DESC ] → ASC" [[obligation]] -id = "db.functions.listagg.o019" +id = "db.functions.listagg.o048" +kind = "alternative" +required = true +target = "[ ASC | DESC ] → DESC" + +[[obligation]] +id = "db.functions.listagg.o049" kind = "option_present" required = true -target = "[ ]" +target = "[ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.listagg.o020" +id = "db.functions.listagg.o050" kind = "option_absent" required = true -target = "[ ]" +target = "[ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.listagg.o021" -kind = "operand_type_class" +id = "db.functions.listagg.o051" +kind = "alternative" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ NULLS FIRST | NULLS LAST ] → NULLS FIRST" + +[[obligation]] +id = "db.functions.listagg.o052" +kind = "alternative" +required = true +target = "[ NULLS FIRST | NULLS LAST ] → NULLS LAST" [[obligation]] id = "db.functions.listagg.o022" @@ -18627,40 +19087,52 @@ required = true note = "the form without its required )" [[obligation]] -id = "db.functions.listagg.o030" +id = "db.functions.listagg.o053" +kind = "negative_neighbour" +required = true +note = "the form without its required GROUP in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" + +[[obligation]] +id = "db.functions.listagg.o054" +kind = "negative_neighbour" +required = true +note = "the form without its required ( in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" + +[[obligation]] +id = "db.functions.listagg.o055" kind = "negative_neighbour" required = true -note = "the form without its required GROUP in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required ORDER in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.listagg.o031" +id = "db.functions.listagg.o056" kind = "negative_neighbour" required = true -note = "the form without its required ( in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required BY in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.listagg.o032" +id = "db.functions.listagg.o057" kind = "negative_neighbour" required = true -note = "the form without its required ORDER in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required FIRST in [ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.listagg.o033" +id = "db.functions.listagg.o058" kind = "negative_neighbour" required = true -note = "the form without its required BY in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required LAST in [ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.listagg.o034" +id = "db.functions.listagg.o059" kind = "negative_neighbour" required = true -note = "the form without its required { [ ] [ ] } in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.listagg.o035" +id = "db.functions.listagg.o060" kind = "negative_neighbour" required = true -note = "the form without its required ) in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required ) in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] id = "db.functions.listagg.o036" @@ -18717,6 +19189,18 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" +[[obligation]] +id = "db.functions.localtime.o007" +kind = "option_present" +required = true +target = "[ ( [ ] ) ]" + +[[obligation]] +id = "db.functions.localtime.o008" +kind = "option_absent" +required = true +target = "[ ( [ ] ) ]" + [[obligation]] id = "db.functions.localtime.o002" kind = "option_present" @@ -18737,16 +19221,10 @@ target = " in [ ]" note = "a valid operand" [[obligation]] -id = "db.functions.localtime.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - -[[obligation]] -id = "db.functions.localtime.o006" +id = "db.functions.localtime.o009" kind = "negative_neighbour" required = true -note = "the form without its required )" +note = "the form without its required ) in [ ( [ ] ) ]" [[obligation]] id = "db.functions.localtimestamp.o001" @@ -18774,16 +19252,18 @@ target = " in [ ]" note = "a valid operand" [[obligation]] -id = "db.functions.localtimestamp.o005" +id = "db.functions.localtimestamp.o010" kind = "negative_neighbour" required = true -note = "the form without its required (" +note = "the form without its required )" [[obligation]] -id = "db.functions.localtimestamp.o006" -kind = "negative_neighbour" +id = "db.functions.localtimestamp.o011" +kind = "option_absent" required = true -note = "the form without its required )" +target = "the parentheses" +anchor = "doc.functions.localtimestamp / Syntax" +note = "LOCALTIMESTAMP without parentheses, which the page says is allowed when precision is omitted: the warehouse parses it but resolves it as a column (UNRESOLVED_COLUMN), not as the function, so the form keeps its written parentheses and the bare word is observed" [[obligation]] id = "db.functions.locate.o001" @@ -19294,11 +19774,11 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.luhn-check.o002" +id = "db.functions.luhn-check.o005" kind = "operand_type_class" required = true target = "" -note = "a valid integer_literal" +note = "a valid expression" [[obligation]] id = "db.functions.luhn-check.o003" @@ -19475,12 +19955,6 @@ required = true target = " in [ , ]" note = "a valid operand" -[[obligation]] -id = "db.functions.make-dt-interval.o017" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.make-dt-interval.o018" kind = "negative_neighbour" @@ -19668,12 +20142,6 @@ required = true target = " in [ , ]" note = "a valid operand" -[[obligation]] -id = "db.functions.make-interval.o029" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.make-interval.o030" kind = "negative_neighbour" @@ -20294,12 +20762,6 @@ required = true target = " in [ , ]" note = "a valid operand" -[[obligation]] -id = "db.functions.make-ym-interval.o009" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.make-ym-interval.o010" kind = "negative_neighbour" @@ -20313,56 +20775,57 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.map.o002" +id = "db.functions.map.o012" kind = "option_present" required = true -target = "[ , ]" +target = "[ , [ , , ... ] ]" [[obligation]] -id = "db.functions.map.o003" +id = "db.functions.map.o013" kind = "option_absent" required = true -target = "[ , ]" +target = "[ , [ , , ... ] ]" [[obligation]] -id = "db.functions.map.o004" +id = "db.functions.map.o014" kind = "required_operand_missing" required = true -target = " in [ , ]" +target = " in [ , [ , , ... ] ]" note = "omit " [[obligation]] -id = "db.functions.map.o005" +id = "db.functions.map.o015" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , [ , , ... ] ]" note = "a valid operand" [[obligation]] -id = "db.functions.map.o006" +id = "db.functions.map.o016" +kind = "required_operand_missing" +required = true +target = " in [ , [ , , ... ] ]" +note = "omit " + +[[obligation]] +id = "db.functions.map.o017" kind = "operand_type_class" required = true -target = " in [ , ]" +target = " in [ , [ , , ... ] ]" note = "a valid expression" [[obligation]] -id = "db.functions.map.o007" +id = "db.functions.map.o018" kind = "option_present" required = true -target = "[ , ... ]" +target = "[ , , ... ]" note = "the list continued at least once" [[obligation]] -id = "db.functions.map.o008" +id = "db.functions.map.o019" kind = "option_absent" required = true -target = "[ , ... ]" - -[[obligation]] -id = "db.functions.map.o009" -kind = "negative_neighbour" -required = true -note = "the form without its required (" +target = "[ , , ... ]" [[obligation]] id = "db.functions.map.o010" @@ -20370,12 +20833,6 @@ kind = "negative_neighbour" required = true note = "the form without its required )" -[[obligation]] -id = "db.functions.map.o011" -kind = "interaction_all_options" -required = true -note = "every independent option of one production together" - [[obligation]] id = "db.functions.map-concat.o001" kind = "positive" @@ -20414,12 +20871,6 @@ kind = "option_absent" required = true target = "[ , ... ]" -[[obligation]] -id = "db.functions.map-concat.o007" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.map-concat.o008" kind = "negative_neighbour" @@ -20859,12 +21310,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.match-number.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.match-number.o003" kind = "negative_neighbour" @@ -20904,11 +21349,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.match-recognize-first.o006" +id = "db.functions.match-recognize-first.o019" kind = "operand_type_class" required = true target = "" -note = "a valid string_literal" +note = "a valid identifier" [[obligation]] id = "db.functions.match-recognize-first.o007" @@ -20985,6 +21430,22 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.functions.match-recognize-first.o020" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "quoted: a double-quoted identifier with blanks and mixed case" + +[[obligation]] +id = "db.functions.match-recognize-first.o021" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" + [[obligation]] id = "db.functions.match-recognize-last.o001" kind = "positive" @@ -21018,11 +21479,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.match-recognize-last.o006" +id = "db.functions.match-recognize-last.o019" kind = "operand_type_class" required = true target = "" -note = "a valid string_literal" +note = "a valid identifier" [[obligation]] id = "db.functions.match-recognize-last.o007" @@ -21099,6 +21560,22 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.functions.match-recognize-last.o020" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "quoted: a double-quoted identifier with blanks and mixed case" + +[[obligation]] +id = "db.functions.match-recognize-last.o021" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" + [[obligation]] id = "db.functions.match-recognize-next.o001" kind = "positive" @@ -21132,11 +21609,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.match-recognize-next.o006" +id = "db.functions.match-recognize-next.o019" kind = "operand_type_class" required = true target = "" -note = "a valid string_literal" +note = "a valid identifier" [[obligation]] id = "db.functions.match-recognize-next.o007" @@ -21213,6 +21690,22 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.functions.match-recognize-next.o020" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "quoted: a double-quoted identifier with blanks and mixed case" + +[[obligation]] +id = "db.functions.match-recognize-next.o021" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" + [[obligation]] id = "db.functions.match-recognize-prev.o001" kind = "positive" @@ -21246,11 +21739,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.match-recognize-prev.o006" +id = "db.functions.match-recognize-prev.o019" kind = "operand_type_class" required = true target = "" -note = "a valid string_literal" +note = "a valid identifier" [[obligation]] id = "db.functions.match-recognize-prev.o007" @@ -21327,6 +21820,22 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.functions.match-recognize-prev.o020" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "quoted: a double-quoted identifier with blanks and mixed case" + +[[obligation]] +id = "db.functions.match-recognize-prev.o021" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" + [[obligation]] id = "db.functions.max.o001" kind = "positive" @@ -22386,12 +22895,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.monotonically-increasing-id.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.monotonically-increasing-id.o003" kind = "negative_neighbour" @@ -22519,12 +23022,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.named-struct.o002" -kind = "alternative" -required = true -target = "{ , } → , " - [[obligation]] id = "db.functions.named-struct.o003" kind = "required_operand_missing" @@ -22533,11 +23030,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.named-struct.o004" +id = "db.functions.named-struct.o013" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid string_literal" [[obligation]] id = "db.functions.named-struct.o005" @@ -22547,17 +23044,17 @@ target = "" note = "a valid operand" [[obligation]] -id = "db.functions.named-struct.o006" +id = "db.functions.named-struct.o014" kind = "option_present" required = true -target = "[ , ... ]" +target = "[ , , ... ]" note = "the list continued at least once" [[obligation]] -id = "db.functions.named-struct.o007" +id = "db.functions.named-struct.o015" kind = "option_absent" required = true -target = "[ , ... ]" +target = "[ , , ... ]" [[obligation]] id = "db.functions.named-struct.o008" @@ -22571,22 +23068,6 @@ kind = "negative_neighbour" required = true note = "the form without its required )" -[[obligation]] -id = "db.functions.named-struct.o010" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" - -[[obligation]] -id = "db.functions.named-struct.o012" -kind = "identifier_class" -required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" - [[obligation]] id = "db.functions.nanvl.o001" kind = "positive" @@ -22742,12 +23223,6 @@ required = true target = " in [ ]" note = "a valid operand" -[[obligation]] -id = "db.functions.now.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.now.o006" kind = "negative_neighbour" @@ -22881,12 +23356,6 @@ required = true target = " in [ ]" note = "a valid integer_literal" -[[obligation]] -id = "db.functions.ntile.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.ntile.o006" kind = "negative_neighbour" @@ -23464,12 +23933,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.percent-rank.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.percent-rank.o003" kind = "negative_neighbour" @@ -23978,12 +24441,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.pi.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.pi.o003" kind = "negative_neighbour" @@ -24044,12 +24501,40 @@ required = true target = "" note = "a valid expression" +[[obligation]] +id = "db.functions.pipesign.syntax.o004" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + +[[obligation]] +id = "db.functions.pipesign.syntax.o005" +kind = "operand_type_class" +required = true +target = "" +note = "a valid expression" + [[obligation]] id = "db.functions.pipesign.syntax.syntax.o001" kind = "positive" required = true note = "the documented form with every required part and no optional part" +[[obligation]] +id = "db.functions.pipesign.syntax.syntax.o004" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + +[[obligation]] +id = "db.functions.pipesign.syntax.syntax.o005" +kind = "operand_type_class" +required = true +target = "" +note = "a valid expression" + [[obligation]] id = "db.functions.pipesign.syntax.syntax.o002" kind = "required_operand_missing" @@ -24645,12 +25130,6 @@ required = true target = " in [ ]" note = "a valid operand" -[[obligation]] -id = "db.functions.rand.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.rand.o006" kind = "negative_neighbour" @@ -24682,12 +25161,6 @@ required = true target = " in [ ]" note = "a valid operand" -[[obligation]] -id = "db.functions.randn.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.randn.o006" kind = "negative_neighbour" @@ -24719,12 +25192,6 @@ required = true target = " in [ ]" note = "a valid operand" -[[obligation]] -id = "db.functions.random.o005" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.random.o006" kind = "negative_neighbour" @@ -24886,12 +25353,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.rank.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.rank.o003" kind = "negative_neighbour" @@ -25022,12 +25483,6 @@ kind = "option_absent" required = true target = "[ , ... ]" -[[obligation]] -id = "db.functions.read-kafka.o008" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.read-kafka.o009" kind = "negative_neighbour" @@ -25040,6 +25495,30 @@ kind = "interaction_all_options" required = true note = "every independent option of one production together" +[[obligation]] +id = "db.functions.read-kafka.o017" +kind = "option_absent" +required = true +target = "[ , ... ]" +anchor = "doc.functions.read_kafka / Syntax" +note = "one option pair with the list not continued" + +[[obligation]] +id = "db.functions.read-kafka.o018" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.functions.read_kafka / Syntax" +note = "an option key containing dots as a backtick-quoted identifier, as the page requires" + +[[obligation]] +id = "db.functions.read-kafka.o019" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.read_kafka / Syntax" +note = "a string literal written where the option key goes" + [[obligation]] id = "db.functions.read-kinesis.o001" kind = "positive" @@ -25644,6 +26123,14 @@ kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.regexp-extract.o011" +kind = "required_operand_missing" +required = true +target = "" +anchor = "doc.functions.regexp_extract / Syntax" +note = "the call with its required regexp left out entirely" + [[obligation]] id = "db.functions.regexp-extract-all.o001" kind = "positive" @@ -26950,36 +27437,50 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.remote-query.o002" +id = "db.functions.remote-query.o013" kind = "operand_type_class" required = true target = "" -note = "a valid identifier" +note = "a valid string_literal" [[obligation]] -id = "db.functions.remote-query.o003" +id = "db.functions.remote-query.o016" kind = "option_present" required = true -target = "[ , connectorOptionKey => ]" +target = "[ , => ]" [[obligation]] -id = "db.functions.remote-query.o004" +id = "db.functions.remote-query.o017" kind = "option_absent" required = true -target = "[ , connectorOptionKey => ]" +target = "[ , => ]" [[obligation]] -id = "db.functions.remote-query.o005" +id = "db.functions.remote-query.o018" kind = "required_operand_missing" required = true -target = " in [ , connectorOptionKey => ]" +target = " in [ , => ]" +note = "omit " + +[[obligation]] +id = "db.functions.remote-query.o019" +kind = "operand_type_class" +required = true +target = " in [ , => ]" +note = "a valid operand" + +[[obligation]] +id = "db.functions.remote-query.o020" +kind = "required_operand_missing" +required = true +target = " in [ , => ]" note = "omit " [[obligation]] -id = "db.functions.remote-query.o006" +id = "db.functions.remote-query.o021" kind = "operand_type_class" required = true -target = " in [ , connectorOptionKey => ]" +target = " in [ , => ]" note = "a valid expression" [[obligation]] @@ -26988,12 +27489,6 @@ kind = "negative_neighbour" required = true note = "the form without its required (" -[[obligation]] -id = "db.functions.remote-query.o008" -kind = "negative_neighbour" -required = true -note = "the form without its required connectorOptionKey in [ , connectorOptionKey => ]" - [[obligation]] id = "db.functions.remote-query.o009" kind = "negative_neighbour" @@ -27001,20 +27496,20 @@ required = true note = "the form without its required )" [[obligation]] -id = "db.functions.remote-query.o010" -kind = "identifier_class" +id = "db.functions.remote-query.o022" +kind = "operand_type_class" required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "quoted: a double-quoted identifier with blanks and mixed case" +target = "" +anchor = "doc.functions.remote_query / Syntax" +note = "a string literal written where the option key goes" [[obligation]] -id = "db.functions.remote-query.o012" +id = "db.functions.remote-query.o023" kind = "identifier_class" required = true -target = "" -anchor = "doc.identifiers-syntax" -note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +target = "" +anchor = "doc.functions.remote_query / Syntax" +note = "the option key as a backtick-quoted identifier" [[obligation]] id = "db.functions.repeat.o001" @@ -27332,12 +27827,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.row-number.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.row-number.o003" kind = "negative_neighbour" @@ -28175,16 +28664,22 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.session-user.o002" -kind = "negative_neighbour" +id = "db.functions.session-user.o004" +kind = "option_present" required = true -note = "the form without its required (" +target = "[ ( ) ]" + +[[obligation]] +id = "db.functions.session-user.o005" +kind = "option_absent" +required = true +target = "[ ( ) ]" [[obligation]] -id = "db.functions.session-user.o003" +id = "db.functions.session-user.o006" kind = "negative_neighbour" required = true -note = "the form without its required )" +note = "the form without its required ) in [ ( ) ]" [[obligation]] id = "db.functions.session-window.o001" @@ -29010,12 +29505,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.spark-partition.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.spark-partition.o003" kind = "negative_neighbour" @@ -29087,6 +29576,14 @@ kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.split.o011" +kind = "required_operand_missing" +required = true +target = "" +anchor = "doc.functions.split / Syntax" +note = "the call without its required regex" + [[obligation]] id = "db.functions.split-part.o001" kind = "positive" @@ -29153,12 +29650,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.sql-keywords.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.sql-keywords.o003" kind = "negative_neighbour" @@ -33432,74 +33923,84 @@ target = " in [ , ]" note = "a valid operand" [[obligation]] -id = "db.functions.string-agg.o011" +id = "db.functions.string-agg.o040" kind = "option_present" required = true -target = "[ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +target = "[ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.string-agg.o012" +id = "db.functions.string-agg.o041" kind = "option_absent" required = true -target = "[ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +target = "[ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.string-agg.o013" +id = "db.functions.string-agg.o042" kind = "alternative" required = true -target = "{ [ ] [ ] } → [ ] [ ]" +target = "{ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } → [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.string-agg.o014" +id = "db.functions.string-agg.o043" kind = "required_operand_missing" required = true -target = " in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +target = " in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" note = "omit " [[obligation]] -id = "db.functions.string-agg.o015" +id = "db.functions.string-agg.o044" kind = "operand_type_class" required = true -target = " in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +target = " in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" note = "a valid operand" [[obligation]] -id = "db.functions.string-agg.o016" +id = "db.functions.string-agg.o045" kind = "option_present" required = true -target = "[ ]" +target = "[ ASC | DESC ]" [[obligation]] -id = "db.functions.string-agg.o017" +id = "db.functions.string-agg.o046" kind = "option_absent" required = true -target = "[ ]" +target = "[ ASC | DESC ]" [[obligation]] -id = "db.functions.string-agg.o018" -kind = "operand_type_class" +id = "db.functions.string-agg.o047" +kind = "alternative" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ ASC | DESC ] → ASC" [[obligation]] -id = "db.functions.string-agg.o019" +id = "db.functions.string-agg.o048" +kind = "alternative" +required = true +target = "[ ASC | DESC ] → DESC" + +[[obligation]] +id = "db.functions.string-agg.o049" kind = "option_present" required = true -target = "[ ]" +target = "[ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.string-agg.o020" +id = "db.functions.string-agg.o050" kind = "option_absent" required = true -target = "[ ]" +target = "[ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.string-agg.o021" -kind = "operand_type_class" +id = "db.functions.string-agg.o051" +kind = "alternative" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ NULLS FIRST | NULLS LAST ] → NULLS FIRST" + +[[obligation]] +id = "db.functions.string-agg.o052" +kind = "alternative" +required = true +target = "[ NULLS FIRST | NULLS LAST ] → NULLS LAST" [[obligation]] id = "db.functions.string-agg.o022" @@ -33553,40 +34054,52 @@ required = true note = "the form without its required )" [[obligation]] -id = "db.functions.string-agg.o030" +id = "db.functions.string-agg.o053" +kind = "negative_neighbour" +required = true +note = "the form without its required GROUP in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" + +[[obligation]] +id = "db.functions.string-agg.o054" +kind = "negative_neighbour" +required = true +note = "the form without its required ( in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" + +[[obligation]] +id = "db.functions.string-agg.o055" kind = "negative_neighbour" required = true -note = "the form without its required GROUP in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required ORDER in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.string-agg.o031" +id = "db.functions.string-agg.o056" kind = "negative_neighbour" required = true -note = "the form without its required ( in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required BY in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.string-agg.o032" +id = "db.functions.string-agg.o057" kind = "negative_neighbour" required = true -note = "the form without its required ORDER in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required FIRST in [ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.string-agg.o033" +id = "db.functions.string-agg.o058" kind = "negative_neighbour" required = true -note = "the form without its required BY in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required LAST in [ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.functions.string-agg.o034" +id = "db.functions.string-agg.o059" kind = "negative_neighbour" required = true -note = "the form without its required { [ ] [ ] } in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] -id = "db.functions.string-agg.o035" +id = "db.functions.string-agg.o060" kind = "negative_neighbour" required = true -note = "the form without its required ) in [ WITHIN GROUP ( ORDER BY { [ ] [ ] } [ , ... ] ) ]" +note = "the form without its required ) in [ WITHIN GROUP ( ORDER BY { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] ) ]" [[obligation]] id = "db.functions.string-agg.o036" @@ -34155,6 +34668,14 @@ kind = "interaction_all_options" required = true note = "every independent option of one production together" +[[obligation]] +id = "db.functions.sum.o017" +kind = "required_operand_missing" +required = true +target = "" +anchor = "doc.functions.sum / Syntax" +note = "the call with its only argument left out" + [[obligation]] id = "db.functions.table-changes.o001" kind = "positive" @@ -34696,18 +35217,34 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.time-diff.o002" -kind = "required_operand_missing" +id = "db.functions.time-diff.o010" +kind = "alternative" required = true -target = "" -note = "omit " +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR } → MICROSECOND" [[obligation]] -id = "db.functions.time-diff.o003" -kind = "operand_type_class" +id = "db.functions.time-diff.o011" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR } → MILLISECOND" + +[[obligation]] +id = "db.functions.time-diff.o012" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR } → SECOND" + +[[obligation]] +id = "db.functions.time-diff.o013" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR } → MINUTE" + +[[obligation]] +id = "db.functions.time-diff.o014" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR } → HOUR" [[obligation]] id = "db.functions.time-diff.o004" @@ -34743,12 +35280,34 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.time-diff.o015" +kind = "negative_neighbour" +required = true +note = "the form without its required { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR }" + [[obligation]] id = "db.functions.time-diff.o009" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.time-diff.o016" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.time_diff / Syntax" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" + +[[obligation]] +id = "db.functions.time-diff.o017" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.time_diff / Syntax" +note = "a unit keyword the page does not list for this function" + [[obligation]] id = "db.functions.time-from-micros.o001" kind = "positive" @@ -34952,18 +35511,64 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.timediff.o002" -kind = "required_operand_missing" +id = "db.functions.timediff.o010" +kind = "alternative" required = true -target = "" -note = "omit " +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MICROSECOND" [[obligation]] -id = "db.functions.timediff.o003" -kind = "operand_type_class" +id = "db.functions.timediff.o011" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MILLISECOND" + +[[obligation]] +id = "db.functions.timediff.o012" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → SECOND" + +[[obligation]] +id = "db.functions.timediff.o013" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MINUTE" + +[[obligation]] +id = "db.functions.timediff.o014" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → HOUR" + +[[obligation]] +id = "db.functions.timediff.o015" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → DAY" + +[[obligation]] +id = "db.functions.timediff.o016" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → WEEK" + +[[obligation]] +id = "db.functions.timediff.o017" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MONTH" + +[[obligation]] +id = "db.functions.timediff.o018" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → QUARTER" + +[[obligation]] +id = "db.functions.timediff.o019" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → YEAR" [[obligation]] id = "db.functions.timediff.o004" @@ -34999,12 +35604,26 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.timediff.o020" +kind = "negative_neighbour" +required = true +note = "the form without its required { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR }" + [[obligation]] id = "db.functions.timediff.o009" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.timediff.o021" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.timediff / Syntax" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" + [[obligation]] id = "db.functions.timestamp.o001" kind = "positive" @@ -35137,18 +35756,70 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.timestampadd.o002" -kind = "required_operand_missing" +id = "db.functions.timestampadd.o010" +kind = "alternative" required = true -target = "" -note = "omit " +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MICROSECOND" [[obligation]] -id = "db.functions.timestampadd.o003" -kind = "operand_type_class" +id = "db.functions.timestampadd.o011" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MILLISECOND" + +[[obligation]] +id = "db.functions.timestampadd.o012" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → SECOND" + +[[obligation]] +id = "db.functions.timestampadd.o013" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MINUTE" + +[[obligation]] +id = "db.functions.timestampadd.o014" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → HOUR" + +[[obligation]] +id = "db.functions.timestampadd.o015" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → DAY" + +[[obligation]] +id = "db.functions.timestampadd.o016" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → DAYOFYEAR" + +[[obligation]] +id = "db.functions.timestampadd.o017" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → WEEK" + +[[obligation]] +id = "db.functions.timestampadd.o018" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → MONTH" + +[[obligation]] +id = "db.functions.timestampadd.o019" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → QUARTER" + +[[obligation]] +id = "db.functions.timestampadd.o020" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR } → YEAR" [[obligation]] id = "db.functions.timestampadd.o004" @@ -35184,12 +35855,26 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.timestampadd.o021" +kind = "negative_neighbour" +required = true +note = "the form without its required { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | DAYOFYEAR | WEEK | MONTH | QUARTER | YEAR }" + [[obligation]] id = "db.functions.timestampadd.o009" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.timestampadd.o022" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.timestampadd / Syntax" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" + [[obligation]] id = "db.functions.timestampdiff.o001" kind = "positive" @@ -35197,18 +35882,64 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.timestampdiff.o002" -kind = "required_operand_missing" +id = "db.functions.timestampdiff.o010" +kind = "alternative" required = true -target = "" -note = "omit " +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MICROSECOND" [[obligation]] -id = "db.functions.timestampdiff.o003" -kind = "operand_type_class" +id = "db.functions.timestampdiff.o011" +kind = "alternative" required = true -target = "" -note = "a valid operand" +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MILLISECOND" + +[[obligation]] +id = "db.functions.timestampdiff.o012" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → SECOND" + +[[obligation]] +id = "db.functions.timestampdiff.o013" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MINUTE" + +[[obligation]] +id = "db.functions.timestampdiff.o014" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → HOUR" + +[[obligation]] +id = "db.functions.timestampdiff.o015" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → DAY" + +[[obligation]] +id = "db.functions.timestampdiff.o016" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → WEEK" + +[[obligation]] +id = "db.functions.timestampdiff.o017" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → MONTH" + +[[obligation]] +id = "db.functions.timestampdiff.o018" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → QUARTER" + +[[obligation]] +id = "db.functions.timestampdiff.o019" +kind = "alternative" +required = true +target = "{ MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR } → YEAR" [[obligation]] id = "db.functions.timestampdiff.o004" @@ -35244,12 +35975,26 @@ kind = "negative_neighbour" required = true note = "the form without its required (" +[[obligation]] +id = "db.functions.timestampdiff.o020" +kind = "negative_neighbour" +required = true +note = "the form without its required { MICROSECOND | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR }" + [[obligation]] id = "db.functions.timestampdiff.o009" kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.functions.timestampdiff.o021" +kind = "operand_type_class" +required = true +target = "" +anchor = "doc.functions.timestampdiff / Syntax" +note = "the unit written as a quoted string rather than its keyword, recorded to show how the warehouse reads it" + [[obligation]] id = "db.functions.tinyint.o001" kind = "positive" @@ -35416,18 +36161,18 @@ required = true target = "{ | | } → " [[obligation]] -id = "db.functions.to-char.o007" +id = "db.functions.to-char.o013" kind = "operand_type_class" required = true target = "" -note = "a valid integer_literal" +note = "a valid string_literal" [[obligation]] -id = "db.functions.to-char.o008" +id = "db.functions.to-char.o014" kind = "operand_type_class" required = true target = "" -note = "a valid operand" +note = "a valid string_literal" [[obligation]] id = "db.functions.to-char.o009" @@ -36217,18 +36962,18 @@ required = true target = "{ | | } → " [[obligation]] -id = "db.functions.to-varchar.o007" +id = "db.functions.to-varchar.o013" kind = "operand_type_class" required = true target = "" -note = "a valid integer_literal" +note = "a valid string_literal" [[obligation]] -id = "db.functions.to-varchar.o008" +id = "db.functions.to-varchar.o014" kind = "operand_type_class" required = true target = "" -note = "a valid operand" +note = "a valid string_literal" [[obligation]] id = "db.functions.to-varchar.o009" @@ -39067,11 +39812,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.try-variant-get.o007" +id = "db.functions.try-variant-get.o010" kind = "operand_type_class" required = true target = "" -note = "a valid data_type" +note = "a valid string_literal" [[obligation]] id = "db.functions.try-variant-get.o008" @@ -40899,12 +41644,6 @@ required = true target = " in [ , ]" note = "a valid operand" -[[obligation]] -id = "db.functions.unix-timestamp.o009" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.unix-timestamp.o010" kind = "negative_neighbour" @@ -40993,16 +41732,22 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.user.o002" -kind = "negative_neighbour" +id = "db.functions.user.o004" +kind = "option_present" required = true -note = "the form without its required (" +target = "[ ( ) ]" [[obligation]] -id = "db.functions.user.o003" +id = "db.functions.user.o005" +kind = "option_absent" +required = true +target = "[ ( ) ]" + +[[obligation]] +id = "db.functions.user.o006" kind = "negative_neighbour" required = true -note = "the form without its required )" +note = "the form without its required ) in [ ( ) ]" [[obligation]] id = "db.functions.uuid.o001" @@ -41010,12 +41755,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.uuid.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.uuid.o003" kind = "negative_neighbour" @@ -41436,11 +42175,11 @@ target = "" note = "omit " [[obligation]] -id = "db.functions.variant-get.o007" +id = "db.functions.variant-get.o010" kind = "operand_type_class" required = true target = "" -note = "a valid data_type" +note = "a valid string_literal" [[obligation]] id = "db.functions.variant-get.o008" @@ -41764,168 +42503,225 @@ required = true note = "the form without its required )" [[obligation]] -id = "db.functions.vector-search.vector-search.o001" +id = "db.functions.vector-search.query-num-results.o001" kind = "positive" required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.vector-search.vector-search.o002" +id = "db.functions.vector-search.query-num-results.o002" kind = "required_operand_missing" required = true target = "" note = "omit " [[obligation]] -id = "db.functions.vector-search.vector-search.o003" +id = "db.functions.vector-search.query-num-results.o003" kind = "operand_type_class" required = true target = "" -note = "a valid operand" - -[[obligation]] -id = "db.functions.vector-search.vector-search.o004" -kind = "alternative" -required = true -target = "{ | } → " +note = "a valid string_literal" [[obligation]] -id = "db.functions.vector-search.vector-search.o005" -kind = "alternative" +id = "db.functions.vector-search.query-num-results.o004" +kind = "required_operand_missing" required = true -target = "{ | } → " +target = "" +note = "omit " [[obligation]] -id = "db.functions.vector-search.vector-search.o006" +id = "db.functions.vector-search.query-num-results.o005" kind = "operand_type_class" required = true -target = "" +target = "" note = "a valid operand" [[obligation]] -id = "db.functions.vector-search.vector-search.o007" -kind = "operand_type_class" +id = "db.functions.vector-search.query-num-results.o006" +kind = "required_operand_missing" required = true -target = "" -note = "a valid operand" +target = "" +note = "omit " [[obligation]] -id = "db.functions.vector-search.vector-search.o008" -kind = "option_present" +id = "db.functions.vector-search.query-num-results.o007" +kind = "operand_type_class" required = true -target = "[ ]" +target = "" +note = "a valid integer_literal" [[obligation]] -id = "db.functions.vector-search.vector-search.o009" -kind = "option_absent" +id = "db.functions.vector-search.query-num-results.o008" +kind = "negative_neighbour" required = true -target = "[ ]" +note = "the form without its required FROM" [[obligation]] -id = "db.functions.vector-search.vector-search.o010" -kind = "operand_type_class" +id = "db.functions.vector-search.query-num-results.o009" +kind = "negative_neighbour" required = true -target = " in [ ]" -note = "a valid integer_literal" +note = "the form without its required VECTOR_SEARCH" [[obligation]] -id = "db.functions.vector-search.vector-search.o011" +id = "db.functions.vector-search.query-num-results.o010" kind = "negative_neighbour" required = true -note = "the form without its required FROM" +note = "the form without its required (" [[obligation]] -id = "db.functions.vector-search.vector-search.o012" +id = "db.functions.vector-search.query-num-results.o011" kind = "negative_neighbour" required = true -note = "the form without its required VECTOR_SEARCH" +note = "the form without its required index" [[obligation]] -id = "db.functions.vector-search.vector-search.o013" +id = "db.functions.vector-search.query-num-results.o012" kind = "negative_neighbour" required = true -note = "the form without its required (" +note = "the form without its required query" [[obligation]] -id = "db.functions.vector-search.vector-search.o014" +id = "db.functions.vector-search.query-num-results.o013" kind = "negative_neighbour" required = true -note = "the form without its required { | }" +note = "the form without its required num_results" [[obligation]] -id = "db.functions.vector-search.vector-search.o015" +id = "db.functions.vector-search.query-num-results.o014" kind = "negative_neighbour" required = true note = "the form without its required )" [[obligation]] -id = "db.functions.vector-search.vector-search-2.o001" +id = "db.functions.vector-search.query-text-query-vector.o001" kind = "positive" required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.functions.vector-search.vector-search-2.o002" +id = "db.functions.vector-search.query-text-query-vector.o002" kind = "required_operand_missing" required = true target = "" note = "omit " [[obligation]] -id = "db.functions.vector-search.vector-search-2.o003" +id = "db.functions.vector-search.query-text-query-vector.o003" kind = "operand_type_class" required = true target = "" +note = "a valid string_literal" + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o004" +kind = "alternative" +required = true +target = "{ query_text => | query_vector => } → query_text => " + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o005" +kind = "alternative" +required = true +target = "{ query_text => | query_vector => } → query_vector => " + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o006" +kind = "required_operand_missing" +required = true +target = "" +note = "omit " + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o007" +kind = "operand_type_class" +required = true +target = "" note = "a valid operand" [[obligation]] -id = "db.functions.vector-search.vector-search-2.o004" +id = "db.functions.vector-search.query-text-query-vector.o008" kind = "required_operand_missing" required = true -target = "" -note = "omit " +target = "" +note = "omit " [[obligation]] -id = "db.functions.vector-search.vector-search-2.o005" +id = "db.functions.vector-search.query-text-query-vector.o009" kind = "operand_type_class" required = true -target = "" +target = "" note = "a valid operand" [[obligation]] -id = "db.functions.vector-search.vector-search-2.o006" +id = "db.functions.vector-search.query-text-query-vector.o010" +kind = "option_present" +required = true +target = "[ , num_results => ]" + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o011" +kind = "option_absent" +required = true +target = "[ , num_results => ]" + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o012" kind = "required_operand_missing" required = true -target = "" +target = " in [ , num_results => ]" note = "omit " [[obligation]] -id = "db.functions.vector-search.vector-search-2.o007" +id = "db.functions.vector-search.query-text-query-vector.o013" kind = "operand_type_class" required = true -target = "" +target = " in [ , num_results => ]" note = "a valid integer_literal" [[obligation]] -id = "db.functions.vector-search.vector-search-2.o008" +id = "db.functions.vector-search.query-text-query-vector.o014" kind = "negative_neighbour" required = true note = "the form without its required FROM" [[obligation]] -id = "db.functions.vector-search.vector-search-2.o009" +id = "db.functions.vector-search.query-text-query-vector.o015" kind = "negative_neighbour" required = true note = "the form without its required VECTOR_SEARCH" [[obligation]] -id = "db.functions.vector-search.vector-search-2.o010" +id = "db.functions.vector-search.query-text-query-vector.o016" kind = "negative_neighbour" required = true note = "the form without its required (" [[obligation]] -id = "db.functions.vector-search.vector-search-2.o011" +id = "db.functions.vector-search.query-text-query-vector.o017" +kind = "negative_neighbour" +required = true +note = "the form without its required index" + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o018" +kind = "negative_neighbour" +required = true +note = "the form without its required query_text after ," + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o019" +kind = "negative_neighbour" +required = true +note = "the form without its required query_vector after ," + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o020" +kind = "negative_neighbour" +required = true +note = "the form without its required num_results in [ , num_results => ]" + +[[obligation]] +id = "db.functions.vector-search.query-text-query-vector.o021" kind = "negative_neighbour" required = true note = "the form without its required )" @@ -42005,12 +42801,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.functions.version.o002" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.functions.version.o003" kind = "negative_neighbour" diff --git a/coverage/syntax-databricks/obligations/query.toml b/coverage/syntax-databricks/obligations/query.toml index f0602ab9d..f37a8b614 100644 --- a/coverage/syntax-databricks/obligations/query.toml +++ b/coverage/syntax-databricks/obligations/query.toml @@ -479,6 +479,14 @@ target = "|> after ORDER BY" anchor = "doc.sql-ref-syntax-qry-query / Syntax" note = "a pipe operation after ORDER BY, in the page's order, which the warehouse refuses" +[[obligation]] +id = "db.query.query.o056" +kind = "option_present" +required = true +target = "DISTRIBUTE BY" +anchor = "doc.sql-ref-syntax-qry-query / Syntax" +note = "the DISTRIBUTE BY and SORT BY branch taken" + [[obligation]] id = "db.query.select.o001" kind = "positive" @@ -1522,12 +1530,6 @@ kind = "negative_neighbour" required = true note = "the form without its required { BROADCASTJOIN | MAPJOIN | SHUFFLE_MERGE | MERGEJOIN }" -[[obligation]] -id = "db.query.select-hints.join-hint-alias.o009" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.query.select-hints.join-hint-alias.o010" kind = "negative_neighbour" @@ -1550,6 +1552,14 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.query.select-hints.join-hint-alias.o013" +kind = "negative_neighbour" +required = true +target = "the form without its required (" +anchor = "doc.sql-ref-syntax-qry-select-hints / Syntax" +note = "the form without its required (; the warehouse parses the text, so its answer is recorded rather than expected" + [[obligation]] id = "db.query.select-join.o001" kind = "positive" @@ -1854,6 +1864,14 @@ target = "" anchor = "doc.identifiers-syntax" note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" +[[obligation]] +id = "db.query.select-lateral-view.o032" +kind = "option_absent" +required = true +target = "AS" +anchor = "doc.sql-ref-syntax-qry-select-lateral-view / Syntax" +note = "the column alias written without AS" + [[obligation]] id = "db.query.select-limit.o001" kind = "positive" @@ -1989,18 +2007,18 @@ required = true target = "[ ]" [[obligation]] -id = "db.query.select-match-recognize.o018" +id = "db.query.select-match-recognize.o041" kind = "operand_type_class" required = true target = " in [ ]" -note = "a valid string_literal" +note = "a valid word" [[obligation]] -id = "db.query.select-match-recognize.o019" +id = "db.query.select-match-recognize.o042" kind = "negative_neighbour" required = true target = " in [ ]" -note = "an unquoted identifier in place of " +note = "a string literal in place of " [[obligation]] id = "db.query.select-match-recognize.o020" @@ -2022,18 +2040,18 @@ target = " in [ AFTER MATCH ]" note = "omit " [[obligation]] -id = "db.query.select-match-recognize.o023" +id = "db.query.select-match-recognize.o043" kind = "operand_type_class" required = true target = " in [ AFTER MATCH ]" -note = "a valid string_literal" +note = "a valid word" [[obligation]] -id = "db.query.select-match-recognize.o024" +id = "db.query.select-match-recognize.o044" kind = "negative_neighbour" required = true target = " in [ AFTER MATCH ]" -note = "an unquoted identifier in place of " +note = "a string literal in place of " [[obligation]] id = "db.query.select-match-recognize.o025" @@ -2043,18 +2061,18 @@ target = "" note = "omit " [[obligation]] -id = "db.query.select-match-recognize.o026" +id = "db.query.select-match-recognize.o045" kind = "operand_type_class" required = true target = "" -note = "a valid string_literal" +note = "a valid word" [[obligation]] -id = "db.query.select-match-recognize.o027" +id = "db.query.select-match-recognize.o046" kind = "negative_neighbour" required = true target = "" -note = "an unquoted identifier in place of " +note = "a string literal in place of " [[obligation]] id = "db.query.select-match-recognize.o028" @@ -2137,6 +2155,22 @@ kind = "interaction_all_options" required = true note = "every independent option of one production together" +[[obligation]] +id = "db.query.select-match-recognize.o047" +kind = "alternative" +required = true +target = "" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize / Syntax" +note = "ALL ROWS PER MATCH" + +[[obligation]] +id = "db.query.select-match-recognize.o048" +kind = "alternative" +required = true +target = "" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize / Syntax" +note = "ALL ROWS PER MATCH SHOW EMPTY MATCHES" + [[obligation]] id = "db.query.select-match-recognize-define.o001" kind = "positive" @@ -2157,18 +2191,18 @@ target = "" note = "omit " [[obligation]] -id = "db.query.select-match-recognize-define.o004" +id = "db.query.select-match-recognize-define.o012" kind = "operand_type_class" required = true target = "" -note = "a valid string_literal" +note = "a valid identifier" [[obligation]] -id = "db.query.select-match-recognize-define.o005" +id = "db.query.select-match-recognize-define.o013" kind = "negative_neighbour" required = true target = "" -note = "an unquoted identifier in place of " +note = "a string literal in place of " [[obligation]] id = "db.query.select-match-recognize-define.o006" @@ -2209,6 +2243,22 @@ kind = "negative_neighbour" required = true note = "the form without its required { AS }" +[[obligation]] +id = "db.query.select-match-recognize-define.o014" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "quoted: a double-quoted identifier with blanks and mixed case" + +[[obligation]] +id = "db.query.select-match-recognize-define.o015" +kind = "identifier_class" +required = true +target = "" +anchor = "doc.identifiers-syntax" +note = "keyword: the SQL keyword SELECT, which the reserved-words page does not disallow as an identifier, unquoted and in backticks (both expected acceptance)" + [[obligation]] id = "db.query.select-match-recognize-measures.o001" kind = "positive" @@ -2288,18 +2338,18 @@ target = "" note = "omit " [[obligation]] -id = "db.query.select-match-recognize-pattern.o003" +id = "db.query.select-match-recognize-pattern.o007" kind = "operand_type_class" required = true target = "" -note = "a valid string_literal" +note = "a valid word" [[obligation]] -id = "db.query.select-match-recognize-pattern.o004" +id = "db.query.select-match-recognize-pattern.o008" kind = "negative_neighbour" required = true target = "" -note = "an unquoted identifier in place of " +note = "a string literal in place of " [[obligation]] id = "db.query.select-match-recognize-pattern.o005" @@ -2313,6 +2363,38 @@ kind = "negative_neighbour" required = true note = "the form without its required )" +[[obligation]] +id = "db.query.select-match-recognize-pattern.o009" +kind = "alternative" +required = true +target = "" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize-pattern / Syntax" +note = "quantified pattern variables" + +[[obligation]] +id = "db.query.select-match-recognize-pattern.o010" +kind = "alternative" +required = true +target = "" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize-pattern / Syntax" +note = "an alternation of pattern variables" + +[[obligation]] +id = "db.query.select-match-recognize-pattern.o011" +kind = "alternative" +required = true +target = "" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize-pattern / Syntax" +note = "PERMUTE of pattern variables" + +[[obligation]] +id = "db.query.select-match-recognize-pattern.o012" +kind = "alternative" +required = true +target = "" +anchor = "doc.sql-ref-syntax-qry-select-match-recognize-pattern / Syntax" +note = "anchors and a bounded quantifier" + [[obligation]] id = "db.query.select-named-window.o001" kind = "positive" @@ -2571,66 +2653,76 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.query.select-orderby.o002" +id = "db.query.select-orderby.o026" kind = "alternative" required = true -target = "{ { ALL [ ] [ ] } | {… → { ALL [ ] [ ] }" +target = "{ { ALL [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } | {… → { ALL [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] }" [[obligation]] -id = "db.query.select-orderby.o003" +id = "db.query.select-orderby.o027" kind = "alternative" required = true -target = "{ { ALL [ ] [ ] } | {… → { [ ] [ ] } [ , ... ]" +target = "{ { ALL [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } | {… → { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ]" [[obligation]] -id = "db.query.select-orderby.o004" +id = "db.query.select-orderby.o028" kind = "alternative" required = true -target = "{ ALL [ ] [ ] } → ALL [ ] [ ]" +target = "{ ALL [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } → ALL [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.query.select-orderby.o005" +id = "db.query.select-orderby.o029" kind = "option_present" required = true -target = "[ ]" +target = "[ ASC | DESC ]" [[obligation]] -id = "db.query.select-orderby.o006" +id = "db.query.select-orderby.o030" kind = "option_absent" required = true -target = "[ ]" +target = "[ ASC | DESC ]" [[obligation]] -id = "db.query.select-orderby.o007" -kind = "operand_type_class" +id = "db.query.select-orderby.o031" +kind = "alternative" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ ASC | DESC ] → ASC" [[obligation]] -id = "db.query.select-orderby.o008" +id = "db.query.select-orderby.o032" +kind = "alternative" +required = true +target = "[ ASC | DESC ] → DESC" + +[[obligation]] +id = "db.query.select-orderby.o033" kind = "option_present" required = true -target = "[ ]" +target = "[ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.query.select-orderby.o009" +id = "db.query.select-orderby.o034" kind = "option_absent" required = true -target = "[ ]" +target = "[ NULLS FIRST | NULLS LAST ]" [[obligation]] -id = "db.query.select-orderby.o010" -kind = "operand_type_class" +id = "db.query.select-orderby.o035" +kind = "alternative" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ NULLS FIRST | NULLS LAST ] → NULLS FIRST" + +[[obligation]] +id = "db.query.select-orderby.o036" +kind = "alternative" +required = true +target = "[ NULLS FIRST | NULLS LAST ] → NULLS LAST" [[obligation]] -id = "db.query.select-orderby.o011" +id = "db.query.select-orderby.o037" kind = "alternative" required = true -target = "{ [ ] [ ] } → [ ] [ ]" +target = "{ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } → [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ]" [[obligation]] id = "db.query.select-orderby.o012" @@ -2647,42 +2739,52 @@ target = "" note = "a valid expression" [[obligation]] -id = "db.query.select-orderby.o014" +id = "db.query.select-orderby.o038" kind = "option_present" required = true -target = "[ ] #2" +target = "[ ASC | DESC ] #2" [[obligation]] -id = "db.query.select-orderby.o015" +id = "db.query.select-orderby.o039" kind = "option_absent" required = true -target = "[ ] #2" +target = "[ ASC | DESC ] #2" [[obligation]] -id = "db.query.select-orderby.o016" -kind = "operand_type_class" +id = "db.query.select-orderby.o040" +kind = "alternative" required = true -target = " in [ ] #2" -note = "a valid operand" +target = "[ ASC | DESC ] → ASC #2" + +[[obligation]] +id = "db.query.select-orderby.o041" +kind = "alternative" +required = true +target = "[ ASC | DESC ] → DESC #2" [[obligation]] -id = "db.query.select-orderby.o017" +id = "db.query.select-orderby.o042" kind = "option_present" required = true -target = "[ ] #2" +target = "[ NULLS FIRST | NULLS LAST ] #2" [[obligation]] -id = "db.query.select-orderby.o018" +id = "db.query.select-orderby.o043" kind = "option_absent" required = true -target = "[ ] #2" +target = "[ NULLS FIRST | NULLS LAST ] #2" [[obligation]] -id = "db.query.select-orderby.o019" -kind = "operand_type_class" +id = "db.query.select-orderby.o044" +kind = "alternative" required = true -target = " in [ ] #2" -note = "a valid operand" +target = "[ NULLS FIRST | NULLS LAST ] → NULLS FIRST #2" + +[[obligation]] +id = "db.query.select-orderby.o045" +kind = "alternative" +required = true +target = "[ NULLS FIRST | NULLS LAST ] → NULLS LAST #2" [[obligation]] id = "db.query.select-orderby.o020" @@ -2710,10 +2812,34 @@ required = true note = "the form without its required ALL after BY" [[obligation]] -id = "db.query.select-orderby.o024" +id = "db.query.select-orderby.o046" +kind = "negative_neighbour" +required = true +note = "the form without its required FIRST in [ NULLS FIRST | NULLS LAST ]" + +[[obligation]] +id = "db.query.select-orderby.o047" +kind = "negative_neighbour" +required = true +note = "the form without its required LAST in [ NULLS FIRST | NULLS LAST ]" + +[[obligation]] +id = "db.query.select-orderby.o048" +kind = "negative_neighbour" +required = true +note = "the form without its required FIRST in [ NULLS FIRST | NULLS LAST ] #2" + +[[obligation]] +id = "db.query.select-orderby.o049" +kind = "negative_neighbour" +required = true +note = "the form without its required LAST in [ NULLS FIRST | NULLS LAST ] #2" + +[[obligation]] +id = "db.query.select-orderby.o050" kind = "negative_neighbour" required = true -note = "the form without its required { { ALL [ ] [ ] } | { [ ] [ ] } [ , ... ] }" +note = "the form without its required { { ALL [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } | { [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] } [ , ... ] }" [[obligation]] id = "db.query.select-orderby.o025" @@ -3928,10 +4054,10 @@ required = true note = "the documented form with every required part and no optional part" [[obligation]] -id = "db.query.select-sortby.o002" +id = "db.query.select-sortby.o015" kind = "alternative" required = true -target = "{ [ ] } → [ ]" +target = "{ [ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST… → [ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] ]" [[obligation]] id = "db.query.select-sortby.o003" @@ -3948,30 +4074,64 @@ target = "" note = "a valid expression" [[obligation]] -id = "db.query.select-sortby.o005" +id = "db.query.select-sortby.o016" kind = "option_present" required = true -target = "[ ]" +target = "[ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] ]" [[obligation]] -id = "db.query.select-sortby.o006" +id = "db.query.select-sortby.o017" kind = "option_absent" required = true -target = "[ ]" +target = "[ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] ]" [[obligation]] -id = "db.query.select-sortby.o008" -kind = "operand_type_class" +id = "db.query.select-sortby.o018" +kind = "option_present" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ ASC | DESC ]" [[obligation]] -id = "db.query.select-sortby.o010" -kind = "operand_type_class" +id = "db.query.select-sortby.o019" +kind = "option_absent" required = true -target = " in [ ]" -note = "a valid operand" +target = "[ ASC | DESC ]" + +[[obligation]] +id = "db.query.select-sortby.o020" +kind = "alternative" +required = true +target = "[ ASC | DESC ] → ASC" + +[[obligation]] +id = "db.query.select-sortby.o021" +kind = "alternative" +required = true +target = "[ ASC | DESC ] → DESC" + +[[obligation]] +id = "db.query.select-sortby.o022" +kind = "option_present" +required = true +target = "[ NULLS FIRST | NULLS LAST ]" + +[[obligation]] +id = "db.query.select-sortby.o023" +kind = "option_absent" +required = true +target = "[ NULLS FIRST | NULLS LAST ]" + +[[obligation]] +id = "db.query.select-sortby.o024" +kind = "alternative" +required = true +target = "[ NULLS FIRST | NULLS LAST ] → NULLS FIRST" + +[[obligation]] +id = "db.query.select-sortby.o025" +kind = "alternative" +required = true +target = "[ NULLS FIRST | NULLS LAST ] → NULLS LAST" [[obligation]] id = "db.query.select-sortby.o011" @@ -3993,10 +4153,28 @@ required = true note = "the form without its required BY" [[obligation]] -id = "db.query.select-sortby.o014" +id = "db.query.select-sortby.o026" +kind = "negative_neighbour" +required = true +note = "the form without its required FIRST in [ NULLS FIRST | NULLS LAST ]" + +[[obligation]] +id = "db.query.select-sortby.o027" +kind = "negative_neighbour" +required = true +note = "the form without its required LAST in [ NULLS FIRST | NULLS LAST ]" + +[[obligation]] +id = "db.query.select-sortby.o028" kind = "negative_neighbour" required = true -note = "the form without its required { [ ] }" +note = "the form without its required { [ [ ASC | DESC ] [ NULLS FIRST | NULLS LAST ] ] }" + +[[obligation]] +id = "db.query.select-sortby.o029" +kind = "interaction_all_options" +required = true +note = "every independent option of one production together" [[obligation]] id = "db.query.select-table-reference.o001" @@ -4554,12 +4732,6 @@ required = true target = " in [ ] #7" note = "a string literal in place of " -[[obligation]] -id = "db.query.select-table-reference.o099" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.query.select-table-reference.o100" kind = "negative_neighbour" @@ -4791,12 +4963,6 @@ required = true target = " in [ ]" note = "a string literal in place of " -[[obligation]] -id = "db.query.select-tvf.o014" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.query.select-tvf.o015" kind = "negative_neighbour" @@ -5191,12 +5357,6 @@ required = true target = " in [ ] #2" note = "a string literal in place of " -[[obligation]] -id = "db.query.select-values.values.o030" -kind = "negative_neighbour" -required = true -note = "the form without its required (" - [[obligation]] id = "db.query.select-values.values.o015" kind = "negative_neighbour" diff --git a/coverage/syntax-databricks/obligations/scripting.toml b/coverage/syntax-databricks/obligations/scripting.toml index db8bafb43..91e6bf2f6 100644 --- a/coverage/syntax-databricks/obligations/scripting.toml +++ b/coverage/syntax-databricks/obligations/scripting.toml @@ -297,51 +297,6 @@ kind = "positive" required = true note = "the documented form with every required part and no optional part" -[[obligation]] -id = "db.scripting.compound-stmt.o002" -kind = "option_present" -required = true -target = "[