From 3a8612fe1608586561a1c4f145d83dd91f7f8d38 Mon Sep 17 00:00:00 2001 From: Ovidiu Platon Date: Mon, 6 Jan 2025 14:10:31 -0800 Subject: [PATCH] Unify Snowflake object name handling in the Snowpark AST (#2789) 1. Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR. Fixes SNOW-1621205 2. Fill out the following pre-review checklist: - [ ] I am adding a new automated test(s) to verify correctness of my new code - [ ] If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing - [ ] I am adding new logging messages - [ ] I am adding a new telemetry message - [ ] I am adding new credentials - [ ] I am adding a new dependency - [ ] If this is a new feature/behavior, I'm adding the Local Testing parity changes. - [x] I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: [Thread-safe Developer Guidelines](https://github.com/snowflakedb/snowpark-python/blob/main/CONTRIBUTING.md#thread-safe-development) 3. Please describe how your code solves the related issue. This is the client-side change corresponding to https://github.com/snowflakedb/snowflake/pull/240557 Unify Snowflake object name handling in the Snowpark AST. Remove `FnName` and `SpTableName`. They both had `Flat` and `Structured` variants, but ultimately designate Snowflake object names. Introduce `data SpName` and `entity SpNameRef` for referring to Snowflake objects by relative or fully qualified name. Update `FnNameRefExpr`. Use `SpNameRef` in a few places that used to use `List[String]`. --- src/snowflake/snowpark/_internal/ast/utils.py | 54 +- .../snowpark/_internal/proto/ast.proto | 151 +- src/snowflake/snowpark/dataframe.py | 22 +- src/snowflake/snowpark/dataframe_writer.py | 6 +- src/snowflake/snowpark/session.py | 22 +- src/snowflake/snowpark/table.py | 3 +- tests/ast/data/DataFrame.agg.test | 114 +- tests/ast/data/DataFrame.collect.test | 30 +- tests/ast/data/DataFrame.count.test | 18 +- tests/ast/data/DataFrame.count2.test | 12 - .../ast/data/DataFrame.create_or_replace.test | 138 +- .../data/DataFrame.cross_join.lsuffix.test | 27 +- .../data/DataFrame.cross_join.rsuffix.test | 27 +- .../ast/data/DataFrame.cross_join.suffix.test | 27 +- tests/ast/data/DataFrame.describe.test | 27 +- tests/ast/data/DataFrame.flatten.test | 30 +- tests/ast/data/DataFrame.indexers.test | 27 +- .../ast/data/DataFrame.join.inner.column.test | 39 +- .../DataFrame.join.inner.column_list.test | 33 +- ...rame.join.inner.column_list_predicate.test | 57 +- .../data/DataFrame.join.inner.predicate.test | 48 +- ...ataFrame.join.inner.predicate_rsuffix.test | 48 +- .../DataFrame.join.left_outer.column.test | 33 +- .../DataFrame.join.right_outer.predicate.test | 36 +- tests/ast/data/DataFrame.natural_join.test | 27 +- tests/ast/data/DataFrame.pivot.test | 147 - tests/ast/data/DataFrame.select_expr.test | 21 +- tests/ast/data/DataFrame.stat.test | 225 +- tests/ast/data/DataFrame.to_df.test | 15 +- .../ast/data/DataFrame.to_local_iterator.test | 45 +- tests/ast/data/DataFrame.to_pandas.test | 21 +- tests/ast/data/DataFrame.to_pandas_batch.test | 21 +- tests/ast/data/DataFrame.unpivot.test | 42 - tests/ast/data/DataFrame.write.test | 156 +- tests/ast/data/Dataframe.cube.test | 99 +- tests/ast/data/Dataframe.distinct.test | 12 +- tests/ast/data/Dataframe.drop_duplicates.test | 24 +- tests/ast/data/Dataframe.filter.test | 84 +- tests/ast/data/Dataframe.getitem.test | 51 +- tests/ast/data/Dataframe.group_by.test | 99 +- .../Dataframe.group_by_grouping_sets.test | 285 +- tests/ast/data/Dataframe.join.asof.test | 149 +- tests/ast/data/Dataframe.join.prefix.test | 180 +- tests/ast/data/Dataframe.rollup.test | 99 +- tests/ast/data/Dataframe.with_col_fns.test | 231 +- tests/ast/data/DataframeNaFunctions.test | 96 +- .../data/RelationalGroupedDataFrame.agg.test | 327 +- .../ast/data/RelationalGroupedDataFrame.test | 303 +- tests/ast/data/Session.call.test | 111 +- tests/ast/data/Session.create_dataframe.test | 198 - tests/ast/data/Session.flatten.test | 39 +- tests/ast/data/Session.table_function.test | 152 +- tests/ast/data/Table.delete.test | 96 +- tests/ast/data/Table.drop_table.test | 12 +- tests/ast/data/Table.init.test | 36 +- tests/ast/data/Table.merge.test | 276 +- tests/ast/data/Table.sample.test | 18 +- tests/ast/data/Table.update.test | 102 +- tests/ast/data/case_when.test | 564 +- tests/ast/data/col_alias.test | 87 +- tests/ast/data/col_asc.test | 63 +- tests/ast/data/col_between.test | 42 +- tests/ast/data/col_binops.test | 429 +- tests/ast/data/col_bitops.test | 99 +- tests/ast/data/col_cast.test | 495 +- tests/ast/data/col_cast_coll.test | 153 +- tests/ast/data/col_desc.test | 63 +- tests/ast/data/col_getitem.test | 42 +- tests/ast/data/col_in_.test | 75 +- tests/ast/data/col_literal.test | 855 +- tests/ast/data/col_null_nan.test | 93 +- tests/ast/data/col_rbinops.test | 177 +- tests/ast/data/col_star.test | 15 +- tests/ast/data/col_string.test | 177 +- tests/ast/data/col_try_cast.test | 495 +- tests/ast/data/col_udf.test | 171 +- tests/ast/data/col_unary_ops.test | 45 +- tests/ast/data/df_alias.test | 12 +- tests/ast/data/df_analytics_functions.test | 123 +- tests/ast/data/df_col.test | 21 +- tests/ast/data/df_drop.test | 24 +- tests/ast/data/df_except.test | 21 +- tests/ast/data/df_first.test | 24 +- tests/ast/data/df_intersect.test | 21 +- tests/ast/data/df_limit.test | 27 +- tests/ast/data/df_random_split.test | 108 +- tests/ast/data/df_sample.test | 15 +- tests/ast/data/df_sort.test | 147 +- tests/ast/data/df_union.test | 48 +- tests/ast/data/functions.test | 45302 ---------------- tests/ast/data/functions1.test | 18852 +++++++ tests/ast/data/functions2.test | 21275 ++++++++ tests/ast/data/interval.test | 201 +- tests/ast/data/select.test | 36 +- tests/ast/data/session.read.test | 96 +- tests/ast/data/session.sql.test | 21 - tests/ast/data/session_generator.test | 147 +- tests/ast/data/session_range.test | 15 - tests/ast/data/session_table_dq_abs_l.test | 28 +- tests/ast/data/session_table_dq_abs_s.test | 24 +- tests/ast/data/session_table_dq_rs_l.test | 26 +- tests/ast/data/session_table_dq_rs_s.test | 24 +- tests/ast/data/session_table_dq_rt_l.test | 24 +- tests/ast/data/session_table_dq_rt_s.test | 24 +- .../session_table_temp_table_cleanup.test | 18 +- tests/ast/data/session_table_uq_abs_l.test | 28 +- tests/ast/data/session_table_uq_abs_s.test | 24 +- tests/ast/data/session_table_uq_rs_l.test | 26 +- tests/ast/data/session_table_uq_rs_s.test | 24 +- tests/ast/data/session_table_uq_rt_l.test | 24 +- tests/ast/data/session_table_uq_rt_s.test | 24 +- tests/ast/data/session_write_pandas.test | 37 +- tests/ast/data/shadowed_local_name.test | 33 +- tests/ast/data/sproc.test | 338 +- tests/ast/data/udaf.test | 108 +- tests/ast/data/udtf.test | 309 +- tests/ast/data/windows.test | 699 +- tests/unit/ast/test_utils.py | 42 +- 118 files changed, 42605 insertions(+), 54783 deletions(-) delete mode 100644 tests/ast/data/functions.test create mode 100644 tests/ast/data/functions1.test create mode 100644 tests/ast/data/functions2.test diff --git a/src/snowflake/snowpark/_internal/ast/utils.py b/src/snowflake/snowpark/_internal/ast/utils.py index 01fcfa26d31..49948d1c2a0 100644 --- a/src/snowflake/snowpark/_internal/ast/utils.py +++ b/src/snowflake/snowpark/_internal/ast/utils.py @@ -345,6 +345,17 @@ def build_proto_from_struct_type( ast_field.nullable = field.nullable +def build_sp_name(name: Union[str, Iterable[str]], expr: proto.SpName) -> None: + if isinstance(name, str): + expr.sp_name_flat.name = name + elif isinstance(name, Iterable): + expr.sp_name_structured.name.extend(name) + else: + raise ValueError( + f"Invalid object name: {name}. The object name must be a string or an iterable of strings." + ) + + # TODO(SNOW-1491199) - This method is not covered by tests until the end of phase 0. Drop the pragma when it is covered. def _set_fn_name( name: Union[str, Iterable[str]], fn: proto.FnNameRefExpr @@ -358,26 +369,27 @@ def _set_fn_name( Raises: ValueError: Raised if the function name is not a string or an iterable of strings. """ - if isinstance(name, str): - fn.name.fn_name_flat.name = name # type: ignore[attr-defined] # TODO(SNOW-1491199) # "FnNameRefExpr" has no attribute "name" - elif isinstance(name, Iterable): - fn.name.fn_name_structured.name.extend(name) # type: ignore[attr-defined] # TODO(SNOW-1491199) # "FnNameRefExpr" has no attribute "name" - else: - raise ValueError( - f"Invalid function name: {name}. The function name must be a string or an iterable of strings." - ) + try: + build_sp_name(name, fn.name.name) + except ValueError as e: + raise ValueError("Invalid function name") from e # TODO(SNOW-1491199) - This method is not covered by tests until the end of phase 0. Drop the pragma when it is covered. -def build_sp_table_name( # type: ignore[no-untyped-def] # TODO(SNOW-1491199) # Function is missing a return type annotation - expr_builder: proto.SpTableName, name: Union[str, Iterable[str]] -): # pragma: no cover - if isinstance(name, str): - expr_builder.sp_table_name_flat.name = name - elif isinstance(name, Iterable): - expr_builder.sp_table_name_structured.name.extend(name) - else: - raise ValueError(f"Invalid name type {type(name)} for SpTableName entity.") +def build_sp_table_name( + expr_builder: proto.SpNameRef, name: Union[str, Iterable[str]] +) -> None: # pragma: no cover + try: + build_sp_name(name, expr_builder.name) + except ValueError as e: + raise ValueError("Invalid table name") from e + + +def build_sp_view_name(expr: proto.SpNameRef, name: Union[str, Iterable[str]]) -> None: + try: + build_sp_name(name, expr.name) + except ValueError as e: + raise ValueError("Invalid view name") from e def build_function_expr( @@ -1108,7 +1120,7 @@ def build_udf( # type: ignore[no-untyped-def] # TODO(SNOW-1491199) # Function i ast.stage_location = stage_location if imports is not None and len(imports) != 0: for import_ in imports: - import_expr = proto.SpTableName() + import_expr = proto.SpNameRef() build_sp_table_name(import_expr, import_) ast.imports.append(import_expr) if packages is not None and len(packages) != 0: @@ -1197,7 +1209,7 @@ def build_udaf( # type: ignore[no-untyped-def] # TODO(SNOW-1491199) # Function ast.stage_location.value = stage_location if imports is not None and len(imports) != 0: for import_ in imports: - import_expr = proto.SpTableName() + import_expr = proto.SpNameRef() build_sp_table_name(import_expr, import_) ast.imports.append(import_expr) if packages is not None and len(packages) != 0: @@ -1294,7 +1306,7 @@ def build_udtf( # type: ignore[no-untyped-def] # TODO(SNOW-1491199) # Function ast.stage_location = stage_location if imports is not None and len(imports) != 0: for import_ in imports: - import_expr = proto.SpTableName() + import_expr = proto.SpNameRef() build_sp_table_name(import_expr, import_) ast.imports.append(import_expr) if packages is not None and len(packages) != 0: @@ -1406,7 +1418,7 @@ def build_sproc( # type: ignore[no-untyped-def] # TODO(SNOW-1491199) # Function ast.stage_location = stage_location if imports is not None and len(imports) != 0: for import_ in imports: - import_expr = proto.SpTableName() + import_expr = proto.SpNameRef() build_sp_table_name(import_expr, import_) ast.imports.append(import_expr) if packages is not None and len(packages) != 0: diff --git a/src/snowflake/snowpark/_internal/proto/ast.proto b/src/snowflake/snowpark/_internal/proto/ast.proto index 09e5aebfd96..14db39288d5 100644 --- a/src/snowflake/snowpark/_internal/proto/ast.proto +++ b/src/snowflake/snowpark/_internal/proto/ast.proto @@ -59,24 +59,6 @@ message Tuple_String_String { string _2 = 2; } -// expr-fn.ir:15 -message FnName { - oneof sealed_value { - FnNameFlat fn_name_flat = 1; - FnNameStructured fn_name_structured = 2; - } -} - -// expr-fn.ir:16 -message FnNameFlat { - string name = 1; -} - -// expr-fn.ir:17 -message FnNameStructured { - repeated string name = 1; -} - // ast.ir:15 message Language { oneof sealed_value { @@ -107,11 +89,11 @@ message PythonTimeZone { int64 offset_seconds = 2; } -// sp-type.ir:76 +// sp-type.ir:70 message SpCallable { int64 id = 1; string name = 2; - SpTableName object_name = 3; + SpNameRef object_name = 3; } // sp-col-expr.ir:39 @@ -218,7 +200,7 @@ message SpPandasDataFrameType { repeated SpDataType col_types = 2; } -// sp-type.ir:65 +// sp-type.ir:59 message SpDataframeData { oneof sealed_value { SpDataframeData_List sp_dataframe_data__list = 1; @@ -227,22 +209,22 @@ message SpDataframeData { } } -// sp-type.ir:66 +// sp-type.ir:60 message SpDataframeData_List { repeated Expr vs = 1; } -// sp-type.ir:67 +// sp-type.ir:61 message SpDataframeData_Tuple { repeated Expr vs = 1; } -// sp-type.ir:68 +// sp-type.ir:62 message SpDataframeData_Pandas { StagedPandasDataframe v = 1; } -// sp-type.ir:71 +// sp-type.ir:65 message SpDataframeSchema { oneof sealed_value { SpDataframeSchema_List sp_dataframe_schema__list = 1; @@ -250,12 +232,12 @@ message SpDataframeSchema { } } -// sp-type.ir:72 +// sp-type.ir:66 message SpDataframeSchema_List { repeated string vs = 1; } -// sp-type.ir:73 +// sp-type.ir:67 message SpDataframeSchema_Struct { SpStructType v = 1; } @@ -283,6 +265,24 @@ message SpJoinType { } } +// sp-name.ir:1 +message SpName { + oneof sealed_value { + SpNameFlat sp_name_flat = 1; + SpNameStructured sp_name_structured = 2; + } +} + +// sp-name.ir:2 +message SpNameFlat { + string name = 1; +} + +// sp-name.ir:3 +message SpNameStructured { + repeated string name = 1; +} + // sp-col-expr.ir:70 message SpNullOrder { oneof variant { @@ -292,7 +292,7 @@ message SpNullOrder { } } -// sp-type.ir:88 +// sp-type.ir:82 message SpPivotValue { oneof sealed_value { SpPivotValue_Dataframe sp_pivot_value__dataframe = 1; @@ -300,12 +300,12 @@ message SpPivotValue { } } -// sp-type.ir:89 +// sp-type.ir:83 message SpPivotValue_Expr { Expr v = 1; } -// sp-type.ir:90 +// sp-type.ir:84 message SpPivotValue_Dataframe { SpDataframeRef v = 1; } @@ -321,24 +321,6 @@ message SpSaveMode { } } -// sp-type.ir:56 -message SpTableName { - oneof sealed_value { - SpTableNameFlat sp_table_name_flat = 1; - SpTableNameStructured sp_table_name_structured = 2; - } -} - -// sp-type.ir:57 -message SpTableNameFlat { - string name = 1; -} - -// sp-type.ir:58 -message SpTableNameStructured { - repeated string name = 1; -} - // sp-df-expr.ir:94 message SpTableVariant { oneof variant { @@ -381,12 +363,12 @@ message SrcPosition { int64 start_line = 5; } -// sp-type.ir:61 +// sp-type.ir:55 message StagedPandasDataframe { - SpTableName temp_table = 1; + SpNameRef temp_table = 1; } -// expr-fn.ir:89 +// expr-fn.ir:81 message UdtfSchema { oneof sealed_value { UdtfSchema_Names udtf_schema__names = 1; @@ -394,12 +376,12 @@ message UdtfSchema { } } -// expr-fn.ir:90 +// expr-fn.ir:82 message UdtfSchema_Type { SpDataType return_type = 1; } -// expr-fn.ir:91 +// expr-fn.ir:83 message UdtfSchema_Names { repeated string schema = 1; } @@ -516,15 +498,15 @@ message BoolVal { bool v = 2; } -// expr-fn.ir:37 +// expr-fn.ir:29 message BuiltinFn { - FnName name = 1; + SpNameRef name = 1; SrcPosition src = 2; } -// expr-fn.ir:148 +// expr-fn.ir:140 message CallTableFunctionExpr { - FnName name = 1; + SpNameRef name = 1; SrcPosition src = 2; } @@ -1107,15 +1089,15 @@ message HasSrcPosition { } } -// expr-fn.ir:144 +// expr-fn.ir:136 message IndirectTableFnIdRef { VarId id = 1; SrcPosition src = 2; } -// expr-fn.ir:139 +// expr-fn.ir:131 message IndirectTableFnNameRef { - FnName name = 1; + SpNameRef name = 1; SrcPosition src = 2; } @@ -1638,7 +1620,7 @@ message SpDataframeCopyIntoTable { google.protobuf.StringValue pattern = 6; SrcPosition src = 7; repeated Tuple_String_String statement_params = 8; - repeated string table_name = 9; + SpNameRef table_name = 9; repeated string target_columns = 10; repeated Expr transformations = 11; google.protobuf.StringValue validation_mode = 12; @@ -1663,7 +1645,7 @@ message SpDataframeCreateOrReplaceDynamicTable { string lag = 7; google.protobuf.Int64Value max_data_extension_time = 8; SpSaveMode mode = 9; - repeated string name = 10; + SpNameRef name = 10; google.protobuf.StringValue refresh_mode = 11; SrcPosition src = 12; repeated Tuple_String_String statement_params = 13; @@ -1675,7 +1657,7 @@ message SpDataframeCreateOrReplaceView { google.protobuf.StringValue comment = 1; SpDataframeExpr df = 2; bool is_temp = 3; - repeated string name = 4; + SpNameRef name = 4; SrcPosition src = 5; repeated Tuple_String_String statement_params = 6; } @@ -2297,7 +2279,7 @@ message SpFlatten { SrcPosition src = 6; } -// expr-fn.ir:33 +// expr-fn.ir:25 message SpFnRef { VarId id = 1; SrcPosition src = 2; @@ -2353,6 +2335,11 @@ message SpMergeUpdateWhenMatchedClause { Map_Expr_Expr update_assignments = 3; } +// sp-name.ir:6 +message SpNameRef { + SpName name = 1; +} + // sp-df-expr.ir:83 message SpRange { google.protobuf.Int64Value end = 1; @@ -2398,7 +2385,7 @@ message SpReadParquet { // sp-df-io.ir:33 message SpReadTable { - SpTableName name = 1; + SpNameRef name = 1; SpDataframeReader reader = 2; SrcPosition src = 3; } @@ -2487,7 +2474,7 @@ message SpSql { // sp-df-expr.ir:96 message SpTable { bool is_temp_table_for_cleanup = 1; - SpTableName name = 2; + SpNameRef name = 2; SrcPosition src = 3; SpTableVariant variant = 4; } @@ -2508,14 +2495,14 @@ message SpTableDropTable { SrcPosition src = 2; } -// expr-fn.ir:164 +// expr-fn.ir:156 message SpTableFnCallAlias { ExprArgList aliases = 1; Expr lhs = 2; SrcPosition src = 3; } -// expr-fn.ir:158 +// expr-fn.ir:150 message SpTableFnCallOver { Expr lhs = 1; repeated Expr order_by = 2; @@ -2685,7 +2672,7 @@ message SpWritePandas { int64 parallel = 9; bool quote_identifiers = 10; SrcPosition src = 11; - SpTableName table_name = 12; + SpNameRef table_name = 12; string table_type = 13; } @@ -2719,7 +2706,7 @@ message SpWriteTable { SpSaveMode mode = 13; SrcPosition src = 14; repeated Tuple_String_String statement_params = 15; - SpTableName table_name = 16; + SpNameRef table_name = 16; string table_type = 17; } @@ -2730,19 +2717,19 @@ message Stmt { } } -// expr-fn.ir:40 +// expr-fn.ir:32 message StoredProcedure { google.protobuf.StringValue comment = 1; string execute_as = 2; repeated string external_access_integrations = 3; SpCallable func = 4; bool if_not_exists = 5; - repeated SpTableName imports = 6; + repeated SpNameRef imports = 6; List_SpDataType input_types = 7; bool is_permanent = 8; repeated Tuple_String_Expr kwargs = 9; google.protobuf.BoolValue log_on_exception = 10; - FnName name = 11; + SpNameRef name = 11; repeated string packages = 12; int64 parallel = 13; bool replace = 14; @@ -2786,18 +2773,18 @@ message TupleVal { repeated Expr vs = 2; } -// expr-fn.ir:118 +// expr-fn.ir:110 message Udaf { google.protobuf.StringValue comment = 1; repeated string external_access_integrations = 2; SpCallable handler = 3; bool if_not_exists = 4; bool immutable = 5; - repeated SpTableName imports = 6; + repeated SpNameRef imports = 6; List_SpDataType input_types = 7; bool is_permanent = 8; repeated Tuple_String_Expr kwargs = 9; - FnName name = 10; + SpNameRef name = 10; repeated string packages = 11; int64 parallel = 12; bool replace = 13; @@ -2808,19 +2795,19 @@ message Udaf { repeated Tuple_String_String statement_params = 18; } -// expr-fn.ir:64 +// expr-fn.ir:56 message Udf { google.protobuf.StringValue comment = 1; repeated string external_access_integrations = 2; SpCallable func = 3; bool if_not_exists = 4; bool immutable = 5; - repeated SpTableName imports = 6; + repeated SpNameRef imports = 6; List_SpDataType input_types = 7; bool is_permanent = 8; repeated Tuple_String_Expr kwargs = 9; google.protobuf.Int64Value max_batch_size = 10; - FnName name = 11; + SpNameRef name = 11; repeated string packages = 12; int64 parallel = 13; bool replace = 14; @@ -2834,18 +2821,18 @@ message Udf { bool strict = 22; } -// expr-fn.ir:95 +// expr-fn.ir:87 message Udtf { google.protobuf.StringValue comment = 1; repeated string external_access_integrations = 2; SpCallable handler = 3; bool if_not_exists = 4; bool immutable = 5; - repeated SpTableName imports = 6; + repeated SpNameRef imports = 6; List_SpDataType input_types = 7; bool is_permanent = 8; repeated Tuple_String_Expr kwargs = 9; - FnName name = 10; + SpNameRef name = 10; UdtfSchema output_schema = 11; repeated string packages = 12; int64 parallel = 13; diff --git a/src/snowflake/snowpark/dataframe.py b/src/snowflake/snowpark/dataframe.py index b05cdd66a3b..21c36fb2200 100644 --- a/src/snowflake/snowpark/dataframe.py +++ b/src/snowflake/snowpark/dataframe.py @@ -112,6 +112,8 @@ fill_sp_save_mode, with_src_position, DATAFRAME_AST_PARAMETER, + build_sp_view_name, + build_sp_table_name, ) from snowflake.snowpark._internal.error_message import SnowparkClientExceptionMessages from snowflake.snowpark._internal.open_telemetry import open_telemetry_context_manager @@ -4050,10 +4052,7 @@ def copy_into_table( stmt = self._session._ast_batch.assign() expr = with_src_position(stmt.expr.sp_dataframe_copy_into_table, stmt) - if isinstance(table_name, str): - expr.table_name.append(table_name) - else: - expr.table_name.extend(table_name) + build_sp_table_name(expr.table_name, table_name) if files is not None: expr.files.extend(files) if pattern is not None: @@ -4512,10 +4511,7 @@ def create_or_replace_view( ) expr.is_temp = False self._set_ast_ref(expr.df) - if isinstance(name, str): - expr.name.append(name) - else: - expr.name.extend(name) + build_sp_view_name(expr.name, name) if comment is not None: expr.comment.value = comment if statement_params is not None: @@ -4622,10 +4618,7 @@ def create_or_replace_dynamic_table( stmt.expr.sp_dataframe_create_or_replace_dynamic_table, stmt ) self._set_ast_ref(expr.df) - if isinstance(name, str): - expr.name.append(name) - else: - expr.name.extend(name) + build_sp_table_name(expr.name, name) expr.warehouse = warehouse expr.lag = lag if comment is not None: @@ -4723,10 +4716,7 @@ def create_or_replace_temp_view( ) expr.is_temp = True self._set_ast_ref(expr.df) - if isinstance(name, str): - expr.name.append(name) - else: - expr.name.extend(name) + build_sp_view_name(expr.name, name) if comment is not None: expr.comment.value = comment if statement_params is not None: diff --git a/src/snowflake/snowpark/dataframe_writer.py b/src/snowflake/snowpark/dataframe_writer.py index 5e7adf2a7f5..5da2bdb56a7 100644 --- a/src/snowflake/snowpark/dataframe_writer.py +++ b/src/snowflake/snowpark/dataframe_writer.py @@ -21,6 +21,7 @@ fill_sp_write_file, with_src_position, DATAFRAME_AST_PARAMETER, + build_sp_table_name, ) from snowflake.snowpark._internal.open_telemetry import open_telemetry_context_manager from snowflake.snowpark._internal.telemetry import ( @@ -318,10 +319,7 @@ def save_as_table( # copy_grants: bool = False, # iceberg_config: Optional[dict] = None, - if isinstance(table_name, str): - expr.table_name.sp_table_name_flat.name = table_name - elif isinstance(table_name, Iterable): - expr.table_name.sp_table_name_structured.name.extend(table_name) + build_sp_table_name(expr.table_name, table_name) if mode is not None: fill_sp_save_mode(expr.mode, mode) diff --git a/src/snowflake/snowpark/session.py b/src/snowflake/snowpark/session.py index 88d2a4a32d0..ac842e9629f 100644 --- a/src/snowflake/snowpark/session.py +++ b/src/snowflake/snowpark/session.py @@ -2302,10 +2302,7 @@ def table( if _emit_ast: stmt = self._ast_batch.assign() ast = with_src_position(stmt.expr.sp_table, stmt) - if isinstance(name, str): - ast.name.sp_table_name_flat.name = name - elif isinstance(name, Iterable): - ast.name.sp_table_name_structured.name.extend(name) + build_sp_table_name(ast.name, name) ast.variant.sp_session_table = True ast.is_temp_table_for_cleanup = is_temp_table_for_cleanup else: @@ -3002,8 +2999,8 @@ def write_pandas( ast.compression = compression ast.create_temp_table = create_temp_table if isinstance(df, pandas.DataFrame): - ast.df.sp_dataframe_data__pandas.v.temp_table.sp_table_name_flat.name = ( - table.table_name + build_sp_table_name( + ast.df.sp_dataframe_data__pandas.v.temp_table, table.table_name ) else: raise NotImplementedError( @@ -3157,12 +3154,10 @@ def create_dataframe( if _emit_ast: stmt = self._ast_batch.assign() ast = with_src_position(stmt.expr.sp_create_dataframe, stmt) - # Save temp table and schema of it in AST (dataframe). - ast.data.sp_dataframe_data__pandas.v.temp_table.sp_table_name_flat.name = ( - temp_table_name + build_sp_table_name( + ast.data.sp_dataframe_data__pandas.v.temp_table, temp_table_name ) - build_proto_from_struct_type( table.schema, ast.schema.sp_dataframe_schema__struct.v ) @@ -3405,10 +3400,9 @@ def convert_row_to_list( ast = with_src_position(stmt.expr.sp_create_dataframe, stmt) # Save temp table and schema of it in AST (dataframe). - ast.data.sp_dataframe_data__pandas.v.temp_table.sp_table_name_flat.name = ( - temp_table_name + build_sp_table_name( + ast.data.sp_dataframe_data__pandas.v.temp_table, temp_table_name ) - build_proto_from_struct_type( table.schema, ast.schema.sp_dataframe_schema__struct.v ) @@ -3872,7 +3866,7 @@ def _call( if _emit_ast: stmt = self._ast_batch.assign() expr = with_src_position(stmt.expr.apply_expr, stmt) - expr.fn.stored_procedure.name.fn_name_flat.name = sproc_name + expr.fn.stored_procedure.name.name.sp_name_flat.name = sproc_name for arg in args: build_expr_from_python_val(expr.pos_args.add(), arg) if statement_params is not None: diff --git a/src/snowflake/snowpark/table.py b/src/snowflake/snowpark/table.py index 6d07f23febe..51e65f94248 100644 --- a/src/snowflake/snowpark/table.py +++ b/src/snowflake/snowpark/table.py @@ -27,6 +27,7 @@ debug_check_missing_ast, with_src_position, DATAFRAME_AST_PARAMETER, + build_sp_table_name, ) from snowflake.snowpark._internal.error_message import SnowparkClientExceptionMessages from snowflake.snowpark._internal.telemetry import add_api_call, set_api_call_source @@ -292,7 +293,7 @@ def __init__( if _ast_stmt is None and session is not None and _emit_ast: _ast_stmt = session._ast_batch.assign() ast = with_src_position(_ast_stmt.expr.sp_table, _ast_stmt) - ast.name.sp_table_name_flat.name = table_name + build_sp_table_name(ast.name, table_name) ast.variant.sp_table_init = True ast.is_temp_table_for_cleanup = is_temp_table_for_cleanup diff --git a/tests/ast/data/DataFrame.agg.test b/tests/ast/data/DataFrame.agg.test index 1d0b94f4b75..f954e65300f 100644 --- a/tests/ast/data/DataFrame.agg.test +++ b/tests/ast/data/DataFrame.agg.test @@ -31,19 +31,13 @@ body { vs { list_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } vs { int64_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } v: 1 @@ -52,10 +46,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } v: 2 @@ -66,19 +57,13 @@ body { vs { list_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } vs { int64_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } v: 3 @@ -87,10 +72,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } v: 4 @@ -101,19 +83,13 @@ body { vs { list_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } vs { int64_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } v: 1 @@ -122,10 +98,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } v: 4 @@ -142,10 +115,7 @@ body { } } src { - end_column: 82 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } } @@ -176,8 +146,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "stddev" + name { + sp_name_flat { + name: "stddev" + } } } } @@ -187,8 +159,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -196,29 +170,20 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } v: "a" } } src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } } src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 29 } } @@ -228,8 +193,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "stddev_pop" + name { + sp_name_flat { + name: "stddev_pop" + } } } } @@ -239,8 +206,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -248,29 +217,20 @@ body { pos_args { string_val { src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 50 start_line: 29 } v: "a" } } src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 50 start_line: 29 } } } src { - end_column: 59 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 29 } } @@ -278,10 +238,7 @@ body { variadic: true } src { - end_column: 60 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -310,19 +267,13 @@ body { args { tuple_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } vs { string_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "a" @@ -331,10 +282,7 @@ body { vs { string_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "min" @@ -345,19 +293,13 @@ body { args { tuple_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } vs { string_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "b" @@ -366,10 +308,7 @@ body { vs { string_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "max" @@ -380,10 +319,7 @@ body { variadic: true } src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -415,10 +351,7 @@ body { vs { string_val { src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "a" @@ -427,10 +360,7 @@ body { vs { string_val { src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "count" @@ -441,10 +371,7 @@ body { vs { string_val { src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "b" @@ -453,10 +380,7 @@ body { vs { string_val { src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "sum" @@ -464,10 +388,7 @@ body { } } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -475,10 +396,7 @@ body { variadic: true } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } diff --git a/tests/ast/data/DataFrame.collect.test b/tests/ast/data/DataFrame.collect.test index e3d816e10b3..06e3739bcc5 100644 --- a/tests/ast/data/DataFrame.collect.test +++ b/tests/ast/data/DataFrame.collect.test @@ -41,15 +41,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -76,10 +75,7 @@ body { bitfield1: 1 } src { - end_column: 20 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -109,10 +105,7 @@ body { bitfield1: 1 } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -143,10 +136,7 @@ body { bitfield1: 1 } src { - end_column: 67 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } statement_params { @@ -180,10 +170,7 @@ body { } log_on_exception: true src { - end_column: 125 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } statement_params { @@ -218,10 +205,7 @@ body { } no_wait: true src { - end_column: 27 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 35 } } @@ -252,10 +236,7 @@ body { } no_wait: true src { - end_column: 74 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 37 } statement_params { @@ -290,10 +271,7 @@ body { log_on_exception: true no_wait: true src { - end_column: 119 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } statement_params { diff --git a/tests/ast/data/DataFrame.count.test b/tests/ast/data/DataFrame.count.test index 9812983c459..a577188aa70 100644 --- a/tests/ast/data/DataFrame.count.test +++ b/tests/ast/data/DataFrame.count.test @@ -25,15 +25,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -59,10 +58,7 @@ body { bitfield1: 1 } src { - end_column: 18 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -91,10 +87,7 @@ body { bitfield1: 1 } src { - end_column: 29 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -123,10 +116,7 @@ body { bitfield1: 1 } src { - end_column: 78 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } statement_params { diff --git a/tests/ast/data/DataFrame.count2.test b/tests/ast/data/DataFrame.count2.test index 1dbdcfe5b7a..cbba823aecc 100644 --- a/tests/ast/data/DataFrame.count2.test +++ b/tests/ast/data/DataFrame.count2.test @@ -62,10 +62,7 @@ body { } } src { - end_column: 111 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 28 } } @@ -88,10 +85,7 @@ body { bitfield1: 1 } src { - end_column: 18 - end_line: 30 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 30 } } @@ -120,10 +114,7 @@ body { bitfield1: 1 } src { - end_column: 29 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 32 } } @@ -152,10 +143,7 @@ body { bitfield1: 1 } src { - end_column: 78 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 34 } statement_params { diff --git a/tests/ast/data/DataFrame.create_or_replace.test b/tests/ast/data/DataFrame.create_or_replace.test index 57fae63d20c..17de19b2fc0 100644 --- a/tests/ast/data/DataFrame.create_or_replace.test +++ b/tests/ast/data/DataFrame.create_or_replace.test @@ -63,15 +63,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -102,14 +101,17 @@ body { } } } - name: "test_db" - name: "test_schema" - name: "test_view" + name { + name { + sp_name_structured { + name: "test_db" + name: "test_schema" + name: "test_view" + } + } + } src { - end_column: 89 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -133,12 +135,15 @@ body { } } } - name: "test_view" + name { + name { + sp_name_flat { + name: "test_view" + } + } + } src { - end_column: 79 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } statement_params { @@ -170,14 +175,17 @@ body { } } is_temp: true - name: "test_db" - name: "test_schema" - name: "test_view" + name { + name { + sp_name_structured { + name: "test_db" + name: "test_schema" + name: "test_view" + } + } + } src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } } @@ -202,12 +210,15 @@ body { } } is_temp: true - name: "test_view" + name { + name { + sp_name_flat { + name: "test_view" + } + } + } src { - end_column: 84 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } statement_params { @@ -233,10 +244,7 @@ body { _2 { bool_val { src { - end_column: 9 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } v: true @@ -257,10 +265,7 @@ body { _2 { string_val { src { - end_column: 9 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } v: "GZIP" @@ -272,10 +277,7 @@ body { _2 { string_val { src { - end_column: 9 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } v: "|" @@ -286,19 +288,22 @@ body { value: "[A-Z]+" } src { - end_column: 9 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } statement_params { _1: "foo" _2: "bar" } - table_name: "test_db" - table_name: "test_schema" - table_name: "table2" + table_name { + name { + sp_name_structured { + name: "test_db" + name: "test_schema" + name: "table2" + } + } + } target_columns: "n" target_columns: "str" transformations { @@ -308,8 +313,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -317,20 +324,14 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 45 } v: "n" } } src { - end_column: 37 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 45 } } @@ -338,20 +339,14 @@ body { rhs { int64_val { src { - end_column: 42 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 45 } v: 10 } } src { - end_column: 42 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 45 } } @@ -361,8 +356,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -370,20 +367,14 @@ body { pos_args { string_val { src { - end_column: 54 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 44 start_line: 45 } v: "str" } } src { - end_column: 54 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 44 start_line: 45 } } @@ -421,10 +412,7 @@ body { } } src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 51 } } @@ -450,10 +438,7 @@ body { } } src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 51 } } @@ -479,10 +464,7 @@ body { } } src { - end_column: 62 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 53 } statement_params { @@ -512,10 +494,7 @@ body { } } src { - end_column: 62 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 53 } } @@ -547,12 +526,15 @@ body { mode { sp_save_mode_overwrite: true } - name: "test_dyn_table" + name { + name { + sp_name_flat { + name: "test_dyn_table" + } + } + } src { - end_column: 110 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } warehouse: "test_wh" diff --git a/tests/ast/data/DataFrame.cross_join.lsuffix.test b/tests/ast/data/DataFrame.cross_join.lsuffix.test index 4fab953ca41..7eafc17bbcd 100644 --- a/tests/ast/data/DataFrame.cross_join.lsuffix.test +++ b/tests/ast/data/DataFrame.cross_join.lsuffix.test @@ -21,15 +21,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -51,15 +50,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -98,10 +96,7 @@ body { } } src { - end_column: 42 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -122,10 +117,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 54 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -138,10 +130,7 @@ body { } } src { - end_column: 54 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.cross_join.rsuffix.test b/tests/ast/data/DataFrame.cross_join.rsuffix.test index 255c341f868..e84a7ac380b 100644 --- a/tests/ast/data/DataFrame.cross_join.rsuffix.test +++ b/tests/ast/data/DataFrame.cross_join.rsuffix.test @@ -21,15 +21,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -51,15 +50,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -98,10 +96,7 @@ body { value: "_t2" } src { - end_column: 42 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -122,10 +117,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 54 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -138,10 +130,7 @@ body { } } src { - end_column: 54 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.cross_join.suffix.test b/tests/ast/data/DataFrame.cross_join.suffix.test index 6d481cf9aec..3a65f8192ef 100644 --- a/tests/ast/data/DataFrame.cross_join.suffix.test +++ b/tests/ast/data/DataFrame.cross_join.suffix.test @@ -21,15 +21,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -51,15 +50,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -101,10 +99,7 @@ body { value: "_t2" } src { - end_column: 57 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -125,10 +120,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 69 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -141,10 +133,7 @@ body { } } src { - end_column: 69 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.describe.test b/tests/ast/data/DataFrame.describe.test index da7e0c955ab..786aaf6351d 100644 --- a/tests/ast/data/DataFrame.describe.test +++ b/tests/ast/data/DataFrame.describe.test @@ -25,15 +25,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -65,10 +64,7 @@ body { } } src { - end_column: 27 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -90,10 +86,7 @@ body { args { string_val { src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "num" @@ -109,10 +102,7 @@ body { } } src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -134,10 +124,7 @@ body { args { string_val { src { - end_column: 39 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "STR" @@ -146,10 +133,7 @@ body { args { string_val { src { - end_column: 39 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "num" @@ -165,10 +149,7 @@ body { } } src { - end_column: 39 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } diff --git a/tests/ast/data/DataFrame.flatten.test b/tests/ast/data/DataFrame.flatten.test index 365228d6d6e..471a0ee2f2c 100644 --- a/tests/ast/data/DataFrame.flatten.test +++ b/tests/ast/data/DataFrame.flatten.test @@ -21,15 +21,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -60,10 +59,7 @@ body { input { string_val { src { - end_column: 52 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: "STR" @@ -77,10 +73,7 @@ body { value: "path" } src { - end_column: 52 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -110,8 +103,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -119,20 +114,14 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } v: "NUM" } } src { - end_column: 35 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } } @@ -142,10 +131,7 @@ body { } recursive: true src { - end_column: 66 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } diff --git a/tests/ast/data/DataFrame.indexers.test b/tests/ast/data/DataFrame.indexers.test index 924bce6432d..4684dcf4afb 100644 --- a/tests/ast/data/DataFrame.indexers.test +++ b/tests/ast/data/DataFrame.indexers.test @@ -25,15 +25,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -65,10 +64,7 @@ body { } } src { - end_column: 37 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 27 } } @@ -81,10 +77,7 @@ body { } } src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 27 } variadic: true @@ -114,10 +107,7 @@ body { } } src { - end_column: 34 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } @@ -130,10 +120,7 @@ body { } } src { - end_column: 35 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 29 } variadic: true @@ -163,10 +150,7 @@ body { } } src { - end_column: 37 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 31 } } @@ -179,10 +163,7 @@ body { } } src { - end_column: 38 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } variadic: true diff --git a/tests/ast/data/DataFrame.join.inner.column.test b/tests/ast/data/DataFrame.join.inner.column.test index a85150c0607..e8c02c50822 100644 --- a/tests/ast/data/DataFrame.join.inner.column.test +++ b/tests/ast/data/DataFrame.join.inner.column.test @@ -23,15 +23,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -53,15 +52,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -85,10 +83,7 @@ body { join_expr { string_val { src { - end_column: 34 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "num" @@ -112,10 +107,7 @@ body { } } src { - end_column: 34 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -146,10 +138,7 @@ body { } } src { - end_column: 49 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 29 } } @@ -159,10 +148,7 @@ body { } name: "n1" src { - end_column: 61 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 29 } } @@ -178,10 +164,7 @@ body { } } src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 63 start_line: 29 } } @@ -197,10 +180,7 @@ body { } } src { - end_column: 79 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 72 start_line: 29 } } @@ -213,10 +193,7 @@ body { } } src { - end_column: 80 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.join.inner.column_list.test b/tests/ast/data/DataFrame.join.inner.column_list.test index 1881dae875d..f0586bf4a91 100644 --- a/tests/ast/data/DataFrame.join.inner.column_list.test +++ b/tests/ast/data/DataFrame.join.inner.column_list.test @@ -23,15 +23,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -53,15 +52,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -87,10 +85,7 @@ body { vs { string_val { src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "num" @@ -99,10 +94,7 @@ body { vs { string_val { src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "str" @@ -128,10 +120,7 @@ body { } } src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -153,10 +142,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 55 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -169,10 +155,7 @@ body { } } src { - end_column: 55 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.join.inner.column_list_predicate.test b/tests/ast/data/DataFrame.join.inner.column_list_predicate.test index 65d689c2a27..1e6a3e26eff 100644 --- a/tests/ast/data/DataFrame.join.inner.column_list_predicate.test +++ b/tests/ast/data/DataFrame.join.inner.column_list_predicate.test @@ -23,15 +23,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -53,15 +52,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -97,10 +95,7 @@ body { } } src { - end_column: 39 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 29 } } @@ -116,19 +111,13 @@ body { } } src { - end_column: 49 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 29 } } } src { - end_column: 49 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 29 } } @@ -146,10 +135,7 @@ body { } } src { - end_column: 64 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 54 start_line: 29 } } @@ -165,28 +151,19 @@ body { } } src { - end_column: 78 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 68 start_line: 29 } } } src { - end_column: 78 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 54 start_line: 29 } } } src { - end_column: 79 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } @@ -209,10 +186,7 @@ body { } } src { - end_column: 80 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -243,10 +217,7 @@ body { } } src { - end_column: 98 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 88 start_line: 29 } } @@ -256,10 +227,7 @@ body { } name: "num_1" src { - end_column: 111 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 88 start_line: 29 } } @@ -277,10 +245,7 @@ body { } } src { - end_column: 123 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 113 start_line: 29 } } @@ -290,10 +255,7 @@ body { } name: "str_1" src { - end_column: 136 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 113 start_line: 29 } } @@ -306,10 +268,7 @@ body { } } src { - end_column: 137 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.join.inner.predicate.test b/tests/ast/data/DataFrame.join.inner.predicate.test index 525de3be9b2..1caaf4a434e 100644 --- a/tests/ast/data/DataFrame.join.inner.predicate.test +++ b/tests/ast/data/DataFrame.join.inner.predicate.test @@ -23,15 +23,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -53,15 +52,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -95,10 +93,7 @@ body { } } src { - end_column: 35 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } @@ -114,19 +109,13 @@ body { } } src { - end_column: 46 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 29 } } } src { - end_column: 46 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } @@ -149,10 +138,7 @@ body { } } src { - end_column: 47 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -183,10 +169,7 @@ body { } } src { - end_column: 62 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 29 } } @@ -196,10 +179,7 @@ body { } name: "num1" src { - end_column: 76 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 29 } } @@ -217,10 +197,7 @@ body { } } src { - end_column: 85 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 78 start_line: 29 } } @@ -230,10 +207,7 @@ body { } name: "num2" src { - end_column: 99 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 78 start_line: 29 } } @@ -249,10 +223,7 @@ body { } } src { - end_column: 108 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 101 start_line: 29 } } @@ -265,10 +236,7 @@ body { } } src { - end_column: 109 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.join.inner.predicate_rsuffix.test b/tests/ast/data/DataFrame.join.inner.predicate_rsuffix.test index 3990fe7c878..b05e9dab8b3 100644 --- a/tests/ast/data/DataFrame.join.inner.predicate_rsuffix.test +++ b/tests/ast/data/DataFrame.join.inner.predicate_rsuffix.test @@ -23,15 +23,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -53,15 +52,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -97,10 +95,7 @@ body { } } src { - end_column: 39 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 29 } } @@ -116,19 +111,13 @@ body { } } src { - end_column: 52 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 29 } } } src { - end_column: 52 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 29 } } @@ -146,10 +135,7 @@ body { } } src { - end_column: 67 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 57 start_line: 29 } } @@ -165,28 +151,19 @@ body { } } src { - end_column: 81 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 71 start_line: 29 } } } src { - end_column: 81 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 57 start_line: 29 } } } src { - end_column: 82 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } @@ -212,10 +189,7 @@ body { value: "_2" } src { - end_column: 97 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -237,10 +211,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 109 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -253,10 +224,7 @@ body { } } src { - end_column: 109 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.join.left_outer.column.test b/tests/ast/data/DataFrame.join.left_outer.column.test index 3c03971e737..4add96b5f9e 100644 --- a/tests/ast/data/DataFrame.join.left_outer.column.test +++ b/tests/ast/data/DataFrame.join.left_outer.column.test @@ -23,15 +23,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -53,15 +52,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -87,10 +85,7 @@ body { vs { string_val { src { - end_column: 51 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "num" @@ -99,10 +94,7 @@ body { vs { string_val { src { - end_column: 51 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "str" @@ -128,10 +120,7 @@ body { } } src { - end_column: 51 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -153,10 +142,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 63 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -169,10 +155,7 @@ body { } } src { - end_column: 63 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.join.right_outer.predicate.test b/tests/ast/data/DataFrame.join.right_outer.predicate.test index 808d634419c..9b8e1967ccd 100644 --- a/tests/ast/data/DataFrame.join.right_outer.predicate.test +++ b/tests/ast/data/DataFrame.join.right_outer.predicate.test @@ -23,15 +23,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -53,15 +52,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -95,10 +93,7 @@ body { } } src { - end_column: 38 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } @@ -114,19 +109,13 @@ body { } } src { - end_column: 51 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } } } src { - end_column: 51 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } @@ -149,10 +138,7 @@ body { } } src { - end_column: 61 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -174,10 +160,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 73 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -190,10 +173,7 @@ body { } } src { - end_column: 73 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.natural_join.test b/tests/ast/data/DataFrame.natural_join.test index 898e8b4c068..a2df7fd2a23 100644 --- a/tests/ast/data/DataFrame.natural_join.test +++ b/tests/ast/data/DataFrame.natural_join.test @@ -21,15 +21,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -51,15 +50,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -98,10 +96,7 @@ body { } } src { - end_column: 29 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -122,10 +117,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 41 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -138,10 +130,7 @@ body { } } src { - end_column: 41 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } variadic: true diff --git a/tests/ast/data/DataFrame.pivot.test b/tests/ast/data/DataFrame.pivot.test index cfa22419b30..8be87c03976 100644 --- a/tests/ast/data/DataFrame.pivot.test +++ b/tests/ast/data/DataFrame.pivot.test @@ -44,19 +44,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -65,10 +59,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 10000 @@ -77,10 +68,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "JAN" @@ -91,19 +79,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -112,10 +94,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 400 @@ -124,10 +103,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "JAN" @@ -138,19 +114,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -159,10 +129,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 4500 @@ -171,10 +138,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "JAN" @@ -185,19 +149,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -206,10 +164,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 35000 @@ -218,10 +173,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "JAN" @@ -232,19 +184,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -253,10 +199,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 5000 @@ -265,10 +208,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "FEB" @@ -279,19 +219,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -300,10 +234,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 3000 @@ -312,10 +243,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "FEB" @@ -326,19 +254,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -347,10 +269,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 200 @@ -359,10 +278,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "FEB" @@ -380,10 +296,7 @@ body { } } src { - end_column: 9 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } } @@ -404,10 +317,7 @@ body { default_on_null { null_val { src { - end_column: 44 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } } @@ -422,20 +332,14 @@ body { pivot_col { string_val { src { - end_column: 44 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } v: "mo" } } src { - end_column: 44 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } values { @@ -443,19 +347,13 @@ body { v { list_val { src { - end_column: 44 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } vs { string_val { src { - end_column: 44 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } v: "JAN" @@ -464,10 +362,7 @@ body { vs { string_val { src { - end_column: 44 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } v: "FEB" @@ -497,10 +392,7 @@ body { args { string_val { src { - end_column: 53 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } v: "t" @@ -516,10 +408,7 @@ body { } } src { - end_column: 53 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } } @@ -540,10 +429,7 @@ body { cols { string_val { src { - end_column: 63 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } v: "k" @@ -558,10 +444,7 @@ body { } } src { - end_column: 63 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } } @@ -582,10 +465,7 @@ body { default_on_null { string_val { src { - end_column: 78 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } v: "Nothing" @@ -601,20 +481,14 @@ body { pivot_col { string_val { src { - end_column: 78 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } v: "mo" } } src { - end_column: 78 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } values { @@ -622,19 +496,13 @@ body { v { list_val { src { - end_column: 78 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } vs { string_val { src { - end_column: 78 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } v: "JAN" @@ -643,10 +511,7 @@ body { vs { string_val { src { - end_column: 78 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } v: "FEB" @@ -676,10 +541,7 @@ body { args { string_val { src { - end_column: 87 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } v: "t" @@ -695,10 +557,7 @@ body { } } src { - end_column: 87 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } } @@ -719,10 +578,7 @@ body { cols { string_val { src { - end_column: 97 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } v: "k" @@ -737,10 +593,7 @@ body { } } src { - end_column: 97 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } } diff --git a/tests/ast/data/DataFrame.select_expr.test b/tests/ast/data/DataFrame.select_expr.test index 8d1bb735b89..f0e16ceec91 100644 --- a/tests/ast/data/DataFrame.select_expr.test +++ b/tests/ast/data/DataFrame.select_expr.test @@ -30,15 +30,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -68,10 +67,7 @@ body { } exprs: "$1" src { - end_column: 33 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -99,10 +95,7 @@ body { } exprs: "$1" src { - end_column: 35 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } } @@ -134,10 +127,7 @@ body { exprs: "MAX $5" exprs: "COUNT DISTINCT $6" src { - end_column: 100 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -170,10 +160,7 @@ body { exprs: "MAX $5" exprs: "COUNT DISTINCT $6" src { - end_column: 102 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } } diff --git a/tests/ast/data/DataFrame.stat.test b/tests/ast/data/DataFrame.stat.test index b4b8fd80020..d2659f556c4 100644 --- a/tests/ast/data/DataFrame.stat.test +++ b/tests/ast/data/DataFrame.stat.test @@ -75,15 +75,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -107,10 +106,7 @@ body { cols { string_val { src { - end_column: 51 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: "NUM" @@ -121,10 +117,7 @@ body { } percentile: 0.5 src { - end_column: 51 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -153,10 +146,7 @@ body { cols { string_val { src { - end_column: 96 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "NUM" @@ -165,10 +155,7 @@ body { cols { string_val { src { - end_column: 96 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "NUM" @@ -181,10 +168,7 @@ body { percentile: 0.2 percentile: 0.4 src { - end_column: 96 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } statement_params { @@ -219,19 +203,13 @@ body { vs { list_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } vs { float64_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 0.1 @@ -240,10 +218,7 @@ body { vs { float64_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 0.5 @@ -254,19 +229,13 @@ body { vs { list_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } vs { float64_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 0.2 @@ -275,10 +244,7 @@ body { vs { float64_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 0.6 @@ -289,19 +255,13 @@ body { vs { list_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } vs { float64_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 0.3 @@ -310,10 +270,7 @@ body { vs { float64_val { src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 0.7 @@ -330,10 +287,7 @@ body { } } src { - end_column: 94 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } } @@ -354,10 +308,7 @@ body { col1 { string_val { src { - end_column: 35 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "a" @@ -366,10 +317,7 @@ body { col2 { string_val { src { - end_column: 35 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "b" @@ -379,10 +327,7 @@ body { bitfield1: 6 } src { - end_column: 35 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -411,10 +356,7 @@ body { col1 { string_val { src { - end_column: 63 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } v: "a" @@ -423,10 +365,7 @@ body { col2 { string_val { src { - end_column: 63 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } v: "b" @@ -436,10 +375,7 @@ body { bitfield1: 6 } src { - end_column: 63 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } statement_params { @@ -472,10 +408,7 @@ body { col1 { string_val { src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: "a" @@ -484,10 +417,7 @@ body { col2 { string_val { src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: "b" @@ -497,10 +427,7 @@ body { bitfield1: 6 } src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -529,10 +456,7 @@ body { col1 { string_val { src { - end_column: 64 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: "a" @@ -541,10 +465,7 @@ body { col2 { string_val { src { - end_column: 64 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: "b" @@ -554,10 +475,7 @@ body { bitfield1: 6 } src { - end_column: 64 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } statement_params { @@ -592,19 +510,13 @@ body { vs { tuple_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 1 @@ -613,10 +525,7 @@ body { vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 1 @@ -627,19 +536,13 @@ body { vs { tuple_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 1 @@ -648,10 +551,7 @@ body { vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 2 @@ -662,19 +562,13 @@ body { vs { tuple_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 2 @@ -683,10 +577,7 @@ body { vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 1 @@ -697,19 +588,13 @@ body { vs { tuple_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 2 @@ -718,10 +603,7 @@ body { vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 1 @@ -732,19 +614,13 @@ body { vs { tuple_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 2 @@ -753,10 +629,7 @@ body { vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 3 @@ -767,19 +640,13 @@ body { vs { tuple_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 3 @@ -788,10 +655,7 @@ body { vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 2 @@ -802,19 +666,13 @@ body { vs { tuple_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 3 @@ -823,10 +681,7 @@ body { vs { int64_val { src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } v: 3 @@ -843,10 +698,7 @@ body { } } src { - end_column: 120 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } } @@ -867,10 +719,7 @@ body { col1 { string_val { src { - end_column: 45 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 43 } v: "key" @@ -879,10 +728,7 @@ body { col2 { string_val { src { - end_column: 45 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 43 } v: "value" @@ -892,10 +738,7 @@ body { bitfield1: 15 } src { - end_column: 45 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 43 } } @@ -916,10 +759,7 @@ body { col1 { string_val { src { - end_column: 74 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } v: "key" @@ -928,10 +768,7 @@ body { col2 { string_val { src { - end_column: 74 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } v: "value" @@ -941,10 +778,7 @@ body { bitfield1: 15 } src { - end_column: 74 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } statement_params { @@ -971,19 +805,13 @@ body { vs { tuple_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } vs { string_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } v: "Bob" @@ -992,10 +820,7 @@ body { vs { int64_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } v: 17 @@ -1006,19 +831,13 @@ body { vs { tuple_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } vs { string_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } v: "Alice" @@ -1027,10 +846,7 @@ body { vs { int64_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } v: 10 @@ -1041,19 +857,13 @@ body { vs { tuple_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } vs { string_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } v: "Nico" @@ -1062,10 +872,7 @@ body { vs { int64_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } v: 8 @@ -1076,19 +883,13 @@ body { vs { tuple_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } vs { string_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } v: "Bob" @@ -1097,10 +898,7 @@ body { vs { int64_val { src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } v: 12 @@ -1117,10 +915,7 @@ body { } } src { - end_column: 117 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } } @@ -1141,10 +936,7 @@ body { col { string_val { src { - end_column: 56 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 51 } v: "name" @@ -1161,10 +953,7 @@ body { _1 { string_val { src { - end_column: 56 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 51 } v: "Bob" @@ -1176,10 +965,7 @@ body { _1 { string_val { src { - end_column: 56 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 51 } v: "Nico" @@ -1188,10 +974,7 @@ body { _2: 1.0 } src { - end_column: 56 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 51 } } diff --git a/tests/ast/data/DataFrame.to_df.test b/tests/ast/data/DataFrame.to_df.test index 7c18a278101..633bdf68cd1 100644 --- a/tests/ast/data/DataFrame.to_df.test +++ b/tests/ast/data/DataFrame.to_df.test @@ -22,15 +22,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -61,10 +60,7 @@ body { } } src { - end_column: 41 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 27 } variadic: true @@ -93,10 +89,7 @@ body { } } src { - end_column: 47 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } diff --git a/tests/ast/data/DataFrame.to_local_iterator.test b/tests/ast/data/DataFrame.to_local_iterator.test index b7a46a2126c..e2f66171d2e 100644 --- a/tests/ast/data/DataFrame.to_local_iterator.test +++ b/tests/ast/data/DataFrame.to_local_iterator.test @@ -42,15 +42,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -77,10 +76,7 @@ body { bitfield1: 1 } src { - end_column: 53 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 27 } } @@ -110,10 +106,7 @@ body { bitfield1: 1 } src { - end_column: 64 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 29 } } @@ -142,10 +135,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 45 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 31 } } @@ -158,10 +148,7 @@ body { } } src { - end_column: 45 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 31 } variadic: true @@ -186,10 +173,7 @@ body { bitfield1: 6 } src { - end_column: 65 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 31 } } @@ -220,10 +204,7 @@ body { bitfield1: 1 } src { - end_column: 100 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 33 } statement_params { @@ -265,10 +246,7 @@ body { } } src { - end_column: 50 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 35 } } @@ -276,20 +254,14 @@ body { rhs { int64_val { src { - end_column: 54 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 35 } v: 1 } } src { - end_column: 54 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 35 } } @@ -302,10 +274,7 @@ body { } } src { - end_column: 55 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 35 } } @@ -328,10 +297,7 @@ body { bitfield1: 11 } src { - end_column: 86 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 35 } } @@ -361,10 +327,7 @@ body { bitfield1: 1 } src { - end_column: 122 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 37 } statement_params { diff --git a/tests/ast/data/DataFrame.to_pandas.test b/tests/ast/data/DataFrame.to_pandas.test index 6f8e1d39243..cce1cee8726 100644 --- a/tests/ast/data/DataFrame.to_pandas.test +++ b/tests/ast/data/DataFrame.to_pandas.test @@ -29,15 +29,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -63,10 +62,7 @@ body { bitfield1: 1 } src { - end_column: 22 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -95,10 +91,7 @@ body { bitfield1: 1 } src { - end_column: 33 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -128,10 +121,7 @@ body { bitfield1: 1 } src { - end_column: 69 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } statement_params { @@ -164,10 +154,7 @@ body { bitfield1: 1 } src { - end_column: 82 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } statement_params { diff --git a/tests/ast/data/DataFrame.to_pandas_batch.test b/tests/ast/data/DataFrame.to_pandas_batch.test index d968dda46bf..0268a469ced 100644 --- a/tests/ast/data/DataFrame.to_pandas_batch.test +++ b/tests/ast/data/DataFrame.to_pandas_batch.test @@ -29,15 +29,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -63,10 +62,7 @@ body { bitfield1: 1 } src { - end_column: 30 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -95,10 +91,7 @@ body { bitfield1: 1 } src { - end_column: 41 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -128,10 +121,7 @@ body { bitfield1: 1 } src { - end_column: 77 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } statement_params { @@ -164,10 +154,7 @@ body { bitfield1: 1 } src { - end_column: 90 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } statement_params { diff --git a/tests/ast/data/DataFrame.unpivot.test b/tests/ast/data/DataFrame.unpivot.test index 717897beb84..e8350212ff4 100644 --- a/tests/ast/data/DataFrame.unpivot.test +++ b/tests/ast/data/DataFrame.unpivot.test @@ -23,19 +23,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -44,10 +38,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "electronics" @@ -56,10 +47,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 100 @@ -68,10 +56,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 200 @@ -82,19 +67,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -103,10 +82,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: "clothes" @@ -115,10 +91,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 100 @@ -127,10 +100,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 300 @@ -149,10 +119,7 @@ body { } } src { - end_column: 9 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } } @@ -173,10 +140,7 @@ body { column_list { string_val { src { - end_column: 57 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } v: "jan" @@ -185,10 +149,7 @@ body { column_list { string_val { src { - end_column: 57 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } v: "feb" @@ -203,10 +164,7 @@ body { } name_column: "month" src { - end_column: 57 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } value_column: "sales" diff --git a/tests/ast/data/DataFrame.write.test b/tests/ast/data/DataFrame.write.test index c7fa8b69353..2efc7969253 100644 --- a/tests/ast/data/DataFrame.write.test +++ b/tests/ast/data/DataFrame.write.test @@ -73,15 +73,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variant { @@ -110,10 +109,7 @@ body { } } src { - end_column: 16 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -136,15 +132,14 @@ body { bitfield1: 2 } src { - end_column: 45 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } table_name { - sp_table_name_flat { - name: "saved_table" + name { + sp_name_flat { + name: "saved_table" + } } } } @@ -180,10 +175,7 @@ body { sp_save_mode_overwrite: true } src { - end_column: 16 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } } @@ -206,15 +198,14 @@ body { bitfield1: 5 } src { - end_column: 87 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } table_name { - sp_table_name_flat { - name: "saved_table" + name { + sp_name_flat { + name: "saved_table" + } } } table_type: "temporary" @@ -251,10 +242,7 @@ body { sp_save_mode_overwrite: true } src { - end_column: 16 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } } @@ -280,15 +268,14 @@ body { sp_save_mode_ignore: true } src { - end_column: 102 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } table_name { - sp_table_name_flat { - name: "saved_table" + name { + sp_name_flat { + name: "saved_table" + } } } table_type: "temporary" @@ -325,10 +312,7 @@ body { sp_save_mode_truncate: true } src { - end_column: 16 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 35 } } @@ -350,10 +334,7 @@ body { list { string_val { src { - end_column: 231 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 35 } v: "STR" @@ -364,8 +345,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -373,20 +356,14 @@ body { pos_args { string_val { src { - end_column: 173 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 162 start_line: 35 } v: "num1" } } src { - end_column: 173 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 162 start_line: 35 } } @@ -400,10 +377,7 @@ body { bitfield1: 11 } src { - end_column: 231 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 35 } statement_params { @@ -411,8 +385,10 @@ body { _2: "v" } table_name { - sp_table_name_flat { - name: "test_destination" + name { + sp_name_flat { + name: "test_destination" + } } } table_type: "transient" @@ -440,10 +416,7 @@ body { sp_sql { query: "create temp stage if not exists test_stage" src { - end_column: 88 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 37 } } @@ -467,10 +440,7 @@ body { bitfield1: 14 } src { - end_column: 98 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 37 } } @@ -503,10 +473,7 @@ body { } } src { - end_column: 16 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } } @@ -529,10 +496,7 @@ body { } location: "@test_stage/copied_from_dataframe" src { - end_column: 72 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } } @@ -565,10 +529,7 @@ body { } } src { - end_column: 16 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } @@ -591,10 +552,7 @@ body { _2 { bool_val { src { - end_column: 123 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } v: true @@ -606,10 +564,7 @@ body { _2 { bool_val { src { - end_column: 123 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } v: true @@ -625,10 +580,7 @@ body { } location: "@test_stage/copied_from_dataframe" src { - end_column: 123 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } @@ -661,10 +613,7 @@ body { } } src { - end_column: 16 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 45 } } @@ -686,10 +635,7 @@ body { _2 { bool_val { src { - end_column: 181 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 45 } v: true @@ -701,10 +647,7 @@ body { _2 { bool_val { src { - end_column: 181 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 45 } } @@ -722,10 +665,7 @@ body { } location: "@test_stage/copied_from_dataframe" src { - end_column: 181 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 45 } } @@ -758,10 +698,7 @@ body { } } src { - end_column: 16 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 47 } } @@ -783,10 +720,7 @@ body { _2 { bool_val { src { - end_column: 207 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 47 } v: true @@ -798,10 +732,7 @@ body { _2 { bool_val { src { - end_column: 207 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 47 } } @@ -823,10 +754,7 @@ body { } location: "@test_stage/copied_from_dataframe" src { - end_column: 207 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 47 } } @@ -859,10 +787,7 @@ body { } } src { - end_column: 16 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 51 } } @@ -885,10 +810,7 @@ body { _2 { bool_val { src { - end_column: 125 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 51 } v: true @@ -900,10 +822,7 @@ body { _2 { bool_val { src { - end_column: 125 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 51 } v: true @@ -920,10 +839,7 @@ body { } location: "@test_stage/test.csv" src { - end_column: 125 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 51 } } @@ -956,10 +872,7 @@ body { } } src { - end_column: 16 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } } @@ -982,10 +895,7 @@ body { _2 { bool_val { src { - end_column: 114 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } v: true @@ -997,10 +907,7 @@ body { _2 { bool_val { src { - end_column: 114 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } v: true @@ -1016,10 +923,7 @@ body { } location: "@test_stage/test.json" src { - end_column: 114 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } } @@ -1052,10 +956,7 @@ body { } } src { - end_column: 16 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 59 } } @@ -1078,10 +979,7 @@ body { _2 { bool_val { src { - end_column: 130 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 59 } v: true @@ -1093,10 +991,7 @@ body { _2 { bool_val { src { - end_column: 130 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 59 } v: true @@ -1112,10 +1007,7 @@ body { } location: "@test_stage/test.parquet" src { - end_column: 130 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 59 } } diff --git a/tests/ast/data/Dataframe.cube.test b/tests/ast/data/Dataframe.cube.test index 2b2a14cc20d..359f8ff8b36 100644 --- a/tests/ast/data/Dataframe.cube.test +++ b/tests/ast/data/Dataframe.cube.test @@ -45,15 +45,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -85,10 +84,7 @@ body { } } src { - end_column: 24 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -110,10 +106,7 @@ body { args { string_val { src { - end_column: 29 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "num" @@ -129,10 +122,7 @@ body { } } src { - end_column: 29 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -154,10 +144,7 @@ body { args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "num" @@ -172,10 +159,7 @@ body { } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -197,10 +181,7 @@ body { args { string_val { src { - end_column: 38 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "num" @@ -209,10 +190,7 @@ body { args { string_val { src { - end_column: 38 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "str" @@ -227,10 +205,7 @@ body { } } src { - end_column: 38 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -254,8 +229,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -263,20 +240,14 @@ body { pos_args { string_val { src { - end_column: 33 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } v: "num" } } src { - end_column: 33 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -291,10 +262,7 @@ body { } } src { - end_column: 34 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } @@ -318,8 +286,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -327,20 +297,14 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } v: "num" } } src { - end_column: 34 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } } @@ -354,10 +318,7 @@ body { } } src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -381,8 +342,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -390,20 +353,14 @@ body { pos_args { string_val { src { - end_column: 33 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: "num" } } src { - end_column: 33 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } @@ -411,10 +368,7 @@ body { args { string_val { src { - end_column: 41 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: "str" @@ -430,10 +384,7 @@ body { } } src { - end_column: 41 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } @@ -457,8 +408,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -466,20 +419,14 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 41 } v: "num" } } src { - end_column: 34 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 41 } } @@ -487,10 +434,7 @@ body { args { string_val { src { - end_column: 43 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } v: "str" @@ -505,10 +449,7 @@ body { } } src { - end_column: 43 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } } diff --git a/tests/ast/data/Dataframe.distinct.test b/tests/ast/data/Dataframe.distinct.test index 78e238fb70c..8389261092c 100644 --- a/tests/ast/data/Dataframe.distinct.test +++ b/tests/ast/data/Dataframe.distinct.test @@ -17,15 +17,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -54,10 +53,7 @@ body { } } src { - end_column: 27 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } diff --git a/tests/ast/data/Dataframe.drop_duplicates.test b/tests/ast/data/Dataframe.drop_duplicates.test index aa3d3f389c9..abbc6eacc0e 100644 --- a/tests/ast/data/Dataframe.drop_duplicates.test +++ b/tests/ast/data/Dataframe.drop_duplicates.test @@ -33,15 +33,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -70,10 +69,7 @@ body { } } src { - end_column: 34 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -100,10 +96,7 @@ body { } } src { - end_column: 39 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true @@ -132,10 +125,7 @@ body { } } src { - end_column: 46 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } variadic: true @@ -164,10 +154,7 @@ body { } } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -193,10 +180,7 @@ body { } } src { - end_column: 36 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } diff --git a/tests/ast/data/Dataframe.filter.test b/tests/ast/data/Dataframe.filter.test index a0b0b95fa24..78ab9c05c28 100644 --- a/tests/ast/data/Dataframe.filter.test +++ b/tests/ast/data/Dataframe.filter.test @@ -29,15 +29,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -67,8 +66,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -76,20 +77,14 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 27 } v: "A" } } src { - end_column: 34 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 27 } } @@ -97,20 +92,14 @@ body { rhs { int64_val { src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 27 } v: 1 } } src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 27 } } @@ -122,8 +111,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -131,20 +122,14 @@ body { pos_args { string_val { src { - end_column: 51 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 27 } v: "B" } } src { - end_column: 51 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 27 } } @@ -152,29 +137,20 @@ body { rhs { int64_val { src { - end_column: 57 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 27 } v: 100 } } src { - end_column: 57 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 27 } } } src { - end_column: 58 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 27 } } @@ -187,10 +163,7 @@ body { } } src { - end_column: 59 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -215,8 +188,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -224,20 +199,14 @@ body { pos_args { string_val { src { - end_column: 33 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } v: "a" } } src { - end_column: 33 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } } @@ -245,20 +214,14 @@ body { rhs { int64_val { src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } v: 1 } } src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } } @@ -271,10 +234,7 @@ body { } } src { - end_column: 38 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -296,10 +256,7 @@ body { sp_column_sql_expr { sql: "a > 1 and b < 100" src { - end_column: 45 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -312,10 +269,7 @@ body { } } src { - end_column: 45 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -337,10 +291,7 @@ body { sp_column_sql_expr { sql: "a > 1" src { - end_column: 33 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -353,10 +304,7 @@ body { } } src { - end_column: 33 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } diff --git a/tests/ast/data/Dataframe.getitem.test b/tests/ast/data/Dataframe.getitem.test index 6b54b3b3200..b6ce33a733f 100644 --- a/tests/ast/data/Dataframe.getitem.test +++ b/tests/ast/data/Dataframe.getitem.test @@ -21,15 +21,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -61,10 +60,7 @@ body { } } src { - end_column: 24 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 27 } } @@ -80,10 +76,7 @@ body { } } src { - end_column: 35 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 27 } } @@ -96,10 +89,7 @@ body { } } src { - end_column: 36 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } variadic: true @@ -123,10 +113,7 @@ body { bitfield1: 2 } src { - end_column: 46 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -156,8 +143,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -165,20 +154,14 @@ body { pos_args { string_val { src { - end_column: 26 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } v: "STR" } } src { - end_column: 26 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -188,8 +171,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -197,20 +182,14 @@ body { pos_args { string_val { src { - end_column: 26 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } v: "STR" } } src { - end_column: 26 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -223,10 +202,7 @@ body { } } src { - end_column: 26 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -249,10 +225,7 @@ body { bitfield1: 5 } src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } diff --git a/tests/ast/data/Dataframe.group_by.test b/tests/ast/data/Dataframe.group_by.test index fe5743cfa89..9c846618bcf 100644 --- a/tests/ast/data/Dataframe.group_by.test +++ b/tests/ast/data/Dataframe.group_by.test @@ -45,15 +45,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -85,10 +84,7 @@ body { } } src { - end_column: 28 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -110,10 +106,7 @@ body { args { string_val { src { - end_column: 33 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "num" @@ -129,10 +122,7 @@ body { } } src { - end_column: 33 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -154,10 +144,7 @@ body { args { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "num" @@ -172,10 +159,7 @@ body { } } src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -197,10 +181,7 @@ body { args { string_val { src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "num" @@ -209,10 +190,7 @@ body { args { string_val { src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "str" @@ -227,10 +205,7 @@ body { } } src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -254,8 +229,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -263,20 +240,14 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 35 } v: "num" } } src { - end_column: 37 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 35 } } @@ -291,10 +262,7 @@ body { } } src { - end_column: 38 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } @@ -318,8 +286,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -327,20 +297,14 @@ body { pos_args { string_val { src { - end_column: 38 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 37 } v: "num" } } src { - end_column: 38 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 37 } } @@ -354,10 +318,7 @@ body { } } src { - end_column: 40 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -381,8 +342,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -390,20 +353,14 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 39 } v: "num" } } src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 39 } } @@ -411,10 +368,7 @@ body { args { string_val { src { - end_column: 45 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: "str" @@ -430,10 +384,7 @@ body { } } src { - end_column: 45 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } @@ -457,8 +408,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -466,20 +419,14 @@ body { pos_args { string_val { src { - end_column: 38 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 41 } v: "num" } } src { - end_column: 38 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 41 } } @@ -487,10 +434,7 @@ body { args { string_val { src { - end_column: 47 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } v: "str" @@ -505,10 +449,7 @@ body { } } src { - end_column: 47 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } } diff --git a/tests/ast/data/Dataframe.group_by_grouping_sets.test b/tests/ast/data/Dataframe.group_by_grouping_sets.test index 474207cb198..48cffb54d2e 100644 --- a/tests/ast/data/Dataframe.group_by_grouping_sets.test +++ b/tests/ast/data/Dataframe.group_by_grouping_sets.test @@ -55,15 +55,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -98,8 +97,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -107,20 +108,14 @@ body { pos_args { string_val { src { - end_column: 62 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 54 start_line: 29 } v: "a" } } src { - end_column: 62 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 54 start_line: 29 } } @@ -128,18 +123,12 @@ body { variadic: true } src { - end_column: 63 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } } src { - end_column: 64 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true @@ -172,8 +161,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -181,38 +172,26 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 31 } v: "a" } } src { - end_column: 63 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 31 } } } } src { - end_column: 65 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 31 } } src { - end_column: 66 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } variadic: true @@ -243,10 +222,7 @@ body { args { list_val { src { - end_column: 77 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 33 } vs { @@ -254,8 +230,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -263,20 +241,14 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 33 } v: "a" } } src { - end_column: 63 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 33 } } @@ -286,10 +258,7 @@ body { args { list_val { src { - end_column: 77 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 33 } vs { @@ -297,8 +266,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -306,20 +277,14 @@ body { pos_args { string_val { src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 67 start_line: 33 } v: "b" } } src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 67 start_line: 33 } } @@ -329,18 +294,12 @@ body { variadic: true } src { - end_column: 77 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 33 } } src { - end_column: 78 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } variadic: true @@ -371,10 +330,7 @@ body { args { list_val { src { - end_column: 87 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 35 } vs { @@ -382,8 +338,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -391,20 +349,14 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 35 } v: "a" } } src { - end_column: 63 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 35 } } @@ -414,8 +366,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -423,20 +377,14 @@ body { pos_args { string_val { src { - end_column: 73 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 65 start_line: 35 } v: "b" } } src { - end_column: 73 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 65 start_line: 35 } } @@ -446,10 +394,7 @@ body { args { list_val { src { - end_column: 87 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 35 } vs { @@ -457,8 +402,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -466,20 +413,14 @@ body { pos_args { string_val { src { - end_column: 85 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 77 start_line: 35 } v: "c" } } src { - end_column: 85 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 77 start_line: 35 } } @@ -489,18 +430,12 @@ body { variadic: true } src { - end_column: 87 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 35 } } src { - end_column: 88 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } variadic: true @@ -531,10 +466,7 @@ body { args { list_val { src { - end_column: 49 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } vs { @@ -542,8 +474,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -551,20 +485,14 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 37 } v: "a" } } src { - end_column: 35 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 37 } } @@ -574,10 +502,7 @@ body { args { list_val { src { - end_column: 49 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } vs { @@ -585,8 +510,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -594,20 +521,14 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 37 } v: "b" } } src { - end_column: 47 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 37 } } @@ -617,18 +538,12 @@ body { variadic: true } src { - end_column: 49 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } } src { - end_column: 44 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } variadic: true @@ -659,10 +574,7 @@ body { args { list_val { src { - end_column: 70 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { @@ -670,8 +582,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -679,20 +593,14 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 41 } v: "a" } } src { - end_column: 35 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 41 } } @@ -702,8 +610,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -711,20 +621,14 @@ body { pos_args { string_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 41 } v: "b" } } src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 41 } } @@ -734,10 +638,7 @@ body { args { list_val { src { - end_column: 70 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } vs { @@ -745,8 +646,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -754,20 +657,14 @@ body { pos_args { string_val { src { - end_column: 58 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 50 start_line: 41 } v: "c" } } src { - end_column: 58 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 50 start_line: 41 } } @@ -777,8 +674,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -786,20 +685,14 @@ body { pos_args { string_val { src { - end_column: 68 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 60 start_line: 41 } v: "d" } } src { - end_column: 68 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 60 start_line: 41 } } @@ -809,18 +702,12 @@ body { variadic: true } src { - end_column: 70 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } } src { - end_column: 44 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } variadic: true @@ -853,8 +740,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -862,20 +751,14 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 45 } v: "a" } } src { - end_column: 35 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 45 } } @@ -885,8 +768,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -894,38 +779,26 @@ body { pos_args { string_val { src { - end_column: 45 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 45 } v: "b" } } src { - end_column: 45 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 45 } } } } src { - end_column: 47 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 45 } } src { - end_column: 44 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } variadic: true @@ -958,8 +831,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -967,20 +842,14 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 49 } v: "a" } } src { - end_column: 34 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 49 } } @@ -990,8 +859,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -999,20 +870,14 @@ body { pos_args { string_val { src { - end_column: 44 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 49 } v: "b" } } src { - end_column: 44 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 49 } } @@ -1020,18 +885,12 @@ body { variadic: true } src { - end_column: 45 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } } src { - end_column: 44 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 51 } variadic: true diff --git a/tests/ast/data/Dataframe.join.asof.test b/tests/ast/data/Dataframe.join.asof.test index 39c7f1d7853..23925d7cce0 100644 --- a/tests/ast/data/Dataframe.join.asof.test +++ b/tests/ast/data/Dataframe.join.asof.test @@ -32,19 +32,13 @@ body { vs { list_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } vs { string_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: "A" @@ -53,10 +47,7 @@ body { vs { int64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 1 @@ -65,10 +56,7 @@ body { vs { int64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 15 @@ -77,10 +65,7 @@ body { vs { float64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 3.21 @@ -91,19 +76,13 @@ body { vs { list_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } vs { string_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: "A" @@ -112,10 +91,7 @@ body { vs { int64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 2 @@ -124,10 +100,7 @@ body { vs { int64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 16 @@ -136,10 +109,7 @@ body { vs { float64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 3.22 @@ -150,19 +120,13 @@ body { vs { list_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } vs { string_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: "B" @@ -171,10 +135,7 @@ body { vs { int64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 1 @@ -183,10 +144,7 @@ body { vs { int64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 17 @@ -195,10 +153,7 @@ body { vs { float64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 3.23 @@ -209,19 +164,13 @@ body { vs { list_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } vs { string_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: "B" @@ -230,10 +179,7 @@ body { vs { int64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 2 @@ -242,10 +188,7 @@ body { vs { int64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 18 @@ -254,10 +197,7 @@ body { vs { float64_val { src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 4.23 @@ -276,10 +216,7 @@ body { } } src { - end_column: 70 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } } @@ -302,19 +239,13 @@ body { vs { list_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } vs { string_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } v: "A" @@ -323,10 +254,7 @@ body { vs { int64_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } v: 1 @@ -335,10 +263,7 @@ body { vs { int64_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } v: 14 @@ -347,10 +272,7 @@ body { vs { float64_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } v: 3.19 @@ -361,19 +283,13 @@ body { vs { list_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } vs { string_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } v: "B" @@ -382,10 +298,7 @@ body { vs { int64_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } v: 2 @@ -394,10 +307,7 @@ body { vs { int64_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } v: 16 @@ -406,10 +316,7 @@ body { vs { float64_val { src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } v: 3.04 @@ -428,10 +335,7 @@ body { } } src { - end_column: 71 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 30 } } @@ -464,10 +368,7 @@ body { } } src { - end_column: 32 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 34 } } @@ -483,19 +384,13 @@ body { } } src { - end_column: 42 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 34 } } } src { - end_column: 42 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 34 } } @@ -513,10 +408,7 @@ body { } } src { - end_column: 53 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 34 } } @@ -532,28 +424,19 @@ body { } } src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 57 start_line: 34 } } } src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 34 } } } src { - end_column: 64 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 34 } } @@ -584,10 +467,7 @@ body { } } src { - end_column: 40 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 35 } } @@ -603,19 +483,13 @@ body { } } src { - end_column: 50 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 44 start_line: 35 } } } src { - end_column: 50 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 35 } } @@ -631,10 +505,7 @@ body { value: "_R" } src { - end_column: 80 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 34 } } @@ -654,11 +525,8 @@ body { cols { string_val { src { - end_column: 42 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 18 - start_line: 36 + start_line: 34 } v: "C1_L" } @@ -666,11 +534,8 @@ body { cols { string_val { src { - end_column: 42 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 18 - start_line: 36 + start_line: 34 } v: "C2_L" } @@ -684,11 +549,8 @@ body { } } src { - end_column: 42 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 18 - start_line: 36 + start_line: 34 } } } @@ -710,11 +572,8 @@ body { bitfield1: 4 } src { - end_column: 52 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 36 + start_line: 34 } } } diff --git a/tests/ast/data/Dataframe.join.prefix.test b/tests/ast/data/Dataframe.join.prefix.test index 7ca4ace3601..06f5aac19d5 100644 --- a/tests/ast/data/Dataframe.join.prefix.test +++ b/tests/ast/data/Dataframe.join.prefix.test @@ -37,19 +37,13 @@ body { vs { list_val { src { - end_column: 140 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } vs { int64_val { src { - end_column: 140 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 1 @@ -58,10 +52,7 @@ body { vs { int64_val { src { - end_column: 140 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 2 @@ -70,10 +61,7 @@ body { vs { int64_val { src { - end_column: 140 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 3 @@ -82,10 +70,7 @@ body { vs { int64_val { src { - end_column: 140 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 4 @@ -94,10 +79,7 @@ body { vs { int64_val { src { - end_column: 140 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 5 @@ -106,10 +88,7 @@ body { vs { int64_val { src { - end_column: 140 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } v: 6 @@ -130,10 +109,7 @@ body { } } src { - end_column: 140 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } } @@ -156,19 +132,13 @@ body { vs { list_val { src { - end_column: 122 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } vs { int64_val { src { - end_column: 122 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: 1 @@ -177,10 +147,7 @@ body { vs { int64_val { src { - end_column: 122 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: 2 @@ -189,10 +156,7 @@ body { vs { int64_val { src { - end_column: 122 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: 3 @@ -201,10 +165,7 @@ body { vs { int64_val { src { - end_column: 122 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: 4 @@ -213,10 +174,7 @@ body { vs { int64_val { src { - end_column: 122 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: 5 @@ -236,10 +194,7 @@ body { } } src { - end_column: 122 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -264,8 +219,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -273,20 +230,14 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } v: "\"A\"" } } src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } } @@ -294,20 +245,14 @@ body { rhs { int64_val { src { - end_column: 42 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } v: 1 } } src { - end_column: 42 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 29 } } @@ -320,10 +265,7 @@ body { } } src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -350,8 +292,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -359,20 +303,14 @@ body { pos_args { string_val { src { - end_column: 73 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 29 } v: "\"A\"" } } src { - end_column: 73 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 29 } } @@ -380,20 +318,14 @@ body { rhs { int64_val { src { - end_column: 77 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 29 } v: 1 } } src { - end_column: 77 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 29 } } @@ -403,10 +335,7 @@ body { } name: "\"A\"" src { - end_column: 91 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 60 start_line: 29 } } @@ -416,8 +345,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -425,20 +356,14 @@ body { pos_args { string_val { src { - end_column: 105 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 93 start_line: 29 } v: "\"B\"" } } src { - end_column: 105 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 93 start_line: 29 } } @@ -448,8 +373,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -457,20 +384,14 @@ body { pos_args { string_val { src { - end_column: 119 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 107 start_line: 29 } v: "\"C\"" } } src { - end_column: 119 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 107 start_line: 29 } } @@ -480,8 +401,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -489,20 +412,14 @@ body { pos_args { string_val { src { - end_column: 140 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 121 start_line: 29 } v: "\"l_0001_C\"" } } src { - end_column: 140 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 121 start_line: 29 } } @@ -512,8 +429,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -521,20 +440,14 @@ body { pos_args { string_val { src { - end_column: 161 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 142 start_line: 29 } v: "\"l_0003_B\"" } } src { - end_column: 161 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 142 start_line: 29 } } @@ -547,10 +460,7 @@ body { } } src { - end_column: 162 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 49 start_line: 29 } variadic: true @@ -587,10 +497,7 @@ body { } } src { - end_column: 163 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -611,10 +518,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"l_0004_A\"" @@ -623,10 +527,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"l_0004_B\"" @@ -635,10 +536,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"l_0004_C\"" @@ -647,10 +545,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"r_0000_A\"" @@ -659,10 +554,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"l_0000_A\"" @@ -671,10 +563,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"l_0002_A\"" @@ -683,10 +572,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"r_0006_A\"" @@ -695,10 +581,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"r_0006_B\"" @@ -707,10 +590,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"r_0006_C\"" @@ -719,10 +599,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"l_0001_C\"" @@ -731,10 +608,7 @@ body { cols { string_val { src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "\"l_0003_B\"" @@ -748,10 +622,7 @@ body { } } src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -775,10 +646,7 @@ body { bitfield1: 6 } src { - end_column: 21 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } } diff --git a/tests/ast/data/Dataframe.rollup.test b/tests/ast/data/Dataframe.rollup.test index 6aec072b133..a411d9da217 100644 --- a/tests/ast/data/Dataframe.rollup.test +++ b/tests/ast/data/Dataframe.rollup.test @@ -45,15 +45,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -85,10 +84,7 @@ body { } } src { - end_column: 26 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -110,10 +106,7 @@ body { args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } v: "num" @@ -129,10 +122,7 @@ body { } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -154,10 +144,7 @@ body { args { string_val { src { - end_column: 33 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: "num" @@ -172,10 +159,7 @@ body { } } src { - end_column: 33 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -197,10 +181,7 @@ body { args { string_val { src { - end_column: 40 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "num" @@ -209,10 +190,7 @@ body { args { string_val { src { - end_column: 40 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "str" @@ -227,10 +205,7 @@ body { } } src { - end_column: 40 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -254,8 +229,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -263,20 +240,14 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 35 } v: "num" } } src { - end_column: 35 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 35 } } @@ -291,10 +262,7 @@ body { } } src { - end_column: 36 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } @@ -318,8 +286,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -327,20 +297,14 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 37 } v: "num" } } src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 37 } } @@ -354,10 +318,7 @@ body { } } src { - end_column: 38 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -381,8 +342,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -390,20 +353,14 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 39 } v: "num" } } src { - end_column: 35 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 39 } } @@ -411,10 +368,7 @@ body { args { string_val { src { - end_column: 43 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: "str" @@ -430,10 +384,7 @@ body { } } src { - end_column: 43 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } @@ -457,8 +408,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -466,20 +419,14 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 41 } v: "num" } } src { - end_column: 36 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 41 } } @@ -487,10 +434,7 @@ body { args { string_val { src { - end_column: 45 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } v: "str" @@ -505,10 +449,7 @@ body { } } src { - end_column: 45 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } } diff --git a/tests/ast/data/Dataframe.with_col_fns.test b/tests/ast/data/Dataframe.with_col_fns.test index d425c6c83bf..17737b789f4 100644 --- a/tests/ast/data/Dataframe.with_col_fns.test +++ b/tests/ast/data/Dataframe.with_col_fns.test @@ -49,15 +49,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -87,8 +86,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -96,20 +97,14 @@ body { pos_args { string_val { src { - end_column: 48 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 27 } v: "num" } } src { - end_column: 48 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 27 } } @@ -119,8 +114,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -128,29 +125,20 @@ body { pos_args { string_val { src { - end_column: 61 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 51 start_line: 27 } v: "num" } } src { - end_column: 61 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 51 start_line: 27 } } } src { - end_column: 61 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 27 } } @@ -158,20 +146,14 @@ body { rhs { int64_val { src { - end_column: 66 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 27 } v: 2 } } src { - end_column: 66 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 27 } } @@ -185,10 +167,7 @@ body { } } src { - end_column: 67 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -215,10 +194,7 @@ body { } } src { - end_column: 65 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } values { @@ -228,8 +204,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -237,20 +215,14 @@ body { pos_args { string_val { src { - end_column: 50 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 40 start_line: 29 } v: "num" } } src { - end_column: 50 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 40 start_line: 29 } } @@ -260,8 +232,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -269,29 +243,20 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 29 } v: "num" } } src { - end_column: 63 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 29 } } } src { - end_column: 63 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 40 start_line: 29 } } @@ -321,10 +286,7 @@ body { } } src { - end_column: 98 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } values { @@ -334,8 +296,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -343,20 +307,14 @@ body { pos_args { string_val { src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 48 start_line: 31 } v: "num" } } src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 48 start_line: 31 } } @@ -366,8 +324,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -375,29 +335,20 @@ body { pos_args { string_val { src { - end_column: 71 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 31 } v: "num" } } src { - end_column: 71 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 31 } } } src { - end_column: 71 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 48 start_line: 31 } } @@ -409,8 +360,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -418,20 +371,14 @@ body { pos_args { string_val { src { - end_column: 83 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 73 start_line: 31 } v: "num" } } src { - end_column: 83 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 73 start_line: 31 } } @@ -441,8 +388,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -450,29 +399,20 @@ body { pos_args { string_val { src { - end_column: 96 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 86 start_line: 31 } v: "num" } } src { - end_column: 96 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 86 start_line: 31 } } } src { - end_column: 96 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 73 start_line: 31 } } @@ -497,8 +437,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -506,20 +448,14 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } v: "STR" } } src { - end_column: 34 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } } @@ -535,10 +471,7 @@ body { value: "NEW" } src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -564,8 +497,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -573,20 +508,14 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 35 } v: "STR" } } src { - end_column: 35 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 35 } } @@ -594,10 +523,7 @@ body { vs { string_val { src { - end_column: 44 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } v: "NEW" @@ -605,10 +531,7 @@ body { } } src { - end_column: 44 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } @@ -621,10 +544,7 @@ body { } } src { - end_column: 44 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } @@ -650,8 +570,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -659,20 +581,14 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 37 } v: "STR" } } src { - end_column: 35 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 37 } } @@ -680,10 +596,7 @@ body { vs { string_val { src { - end_column: 66 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: "NEW_STR" @@ -694,10 +607,7 @@ body { vs { string_val { src { - end_column: 66 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: "NUM" @@ -706,10 +616,7 @@ body { vs { string_val { src { - end_column: 66 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: "NEW_NUM" @@ -717,10 +624,7 @@ body { } } src { - end_column: 66 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -733,10 +637,7 @@ body { } } src { - end_column: 66 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -757,10 +658,7 @@ body { col { string_val { src { - end_column: 50 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: "STR" @@ -775,10 +673,7 @@ body { } new_name: "NEW" src { - end_column: 50 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } @@ -801,8 +696,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -810,20 +707,14 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 41 } v: "NUM" } } src { - end_column: 47 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 41 } } @@ -837,10 +728,7 @@ body { } new_name: "NEW_NUM" src { - end_column: 59 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } } @@ -863,8 +751,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -872,20 +762,14 @@ body { pos_args { string_val { src { - end_column: 48 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 43 } v: "STR" } } src { - end_column: 48 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 43 } } @@ -899,10 +783,7 @@ body { } new_name: "NEW_STR" src { - end_column: 60 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 43 } } diff --git a/tests/ast/data/DataframeNaFunctions.test b/tests/ast/data/DataframeNaFunctions.test index 9b264c2abd1..8e8d88bd771 100644 --- a/tests/ast/data/DataframeNaFunctions.test +++ b/tests/ast/data/DataframeNaFunctions.test @@ -65,15 +65,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -103,10 +102,7 @@ body { } how: "any" src { - end_column: 28 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 27 } } @@ -133,10 +129,7 @@ body { } how: "all" src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 29 } } @@ -163,10 +156,7 @@ body { } how: "any" src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 31 } thresh { @@ -196,10 +186,7 @@ body { } how: "any" src { - end_column: 40 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 33 } subset { @@ -229,10 +216,7 @@ body { } how: "all" src { - end_column: 60 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 35 } subset { @@ -263,10 +247,7 @@ body { } how: "any" src { - end_column: 64 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 37 } subset { @@ -298,19 +279,13 @@ body { } } src { - end_column: 30 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 39 } value { int64_val { src { - end_column: 30 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 39 } v: 42 @@ -339,10 +314,7 @@ body { } } src { - end_column: 53 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 41 } value_map { @@ -351,10 +323,7 @@ body { _2 { int64_val { src { - end_column: 53 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 41 } v: 42 @@ -366,10 +335,7 @@ body { _2 { string_val { src { - end_column: 53 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 41 } v: "abc" @@ -400,10 +366,7 @@ body { } } src { - end_column: 44 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 43 } subset { @@ -412,10 +375,7 @@ body { value { int64_val { src { - end_column: 44 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 43 } v: 42 @@ -444,10 +404,7 @@ body { } } src { - end_column: 49 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 45 } subset { @@ -456,10 +413,7 @@ body { value { string_val { src { - end_column: 49 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 45 } v: "def" @@ -492,10 +446,7 @@ body { _1 { int64_val { src { - end_column: 58 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 47 } v: 1 @@ -504,10 +455,7 @@ body { _2 { int64_val { src { - end_column: 58 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 47 } v: 10 @@ -518,10 +466,7 @@ body { _1 { string_val { src { - end_column: 58 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 47 } v: "three" @@ -530,10 +475,7 @@ body { _2 { string_val { src { - end_column: 58 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 47 } v: "trzy" @@ -542,19 +484,13 @@ body { } } src { - end_column: 58 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 47 } value { null_val { src { - end_column: 58 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 47 } } @@ -582,20 +518,14 @@ body { } } src { - end_column: 50 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 49 } to_replace_list { list { int64_val { src { - end_column: 50 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 49 } v: 1 @@ -604,10 +534,7 @@ body { list { int64_val { src { - end_column: 50 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 49 } v: 2 @@ -618,10 +545,7 @@ body { list { int64_val { src { - end_column: 50 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 49 } v: 10 @@ -630,10 +554,7 @@ body { list { int64_val { src { - end_column: 50 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 49 } v: 20 @@ -663,10 +584,7 @@ body { } } src { - end_column: 55 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 51 } subset { @@ -675,10 +593,7 @@ body { to_replace_value { int64_val { src { - end_column: 55 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 51 } v: 1 @@ -687,10 +602,7 @@ body { value { int64_val { src { - end_column: 55 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 51 } v: 10 diff --git a/tests/ast/data/RelationalGroupedDataFrame.agg.test b/tests/ast/data/RelationalGroupedDataFrame.agg.test index 7dd45a94935..de2228189ce 100644 --- a/tests/ast/data/RelationalGroupedDataFrame.agg.test +++ b/tests/ast/data/RelationalGroupedDataFrame.agg.test @@ -65,15 +65,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -98,10 +97,7 @@ body { args { string_val { src { - end_column: 35 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 27 } v: "str" @@ -117,10 +113,7 @@ body { } } src { - end_column: 35 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 27 } } @@ -149,10 +142,7 @@ body { } } src { - end_column: 25 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -176,8 +166,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "sum" + name { + sp_name_flat { + name: "sum" + } } } } @@ -187,8 +179,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -196,29 +190,20 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 31 } v: "num" } } src { - end_column: 34 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 31 } } } src { - end_column: 34 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 31 } } @@ -233,10 +218,7 @@ body { } } src { - end_column: 35 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -260,8 +242,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "max" + name { + sp_name_flat { + name: "max" + } } } } @@ -271,8 +255,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -280,29 +266,20 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 33 } v: "num" } } src { - end_column: 35 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 33 } } } src { - end_column: 35 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 33 } } @@ -316,10 +293,7 @@ body { } } src { - end_column: 37 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -343,8 +317,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "sum" + name { + sp_name_flat { + name: "sum" + } } } } @@ -354,8 +330,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -363,29 +341,20 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 35 } v: "num" } } src { - end_column: 34 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 35 } } } src { - end_column: 34 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 35 } } @@ -395,8 +364,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "max" + name { + sp_name_flat { + name: "max" + } } } } @@ -406,8 +377,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -415,29 +388,20 @@ body { pos_args { string_val { src { - end_column: 46 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 35 } v: "num" } } src { - end_column: 46 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 35 } } } src { - end_column: 46 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 35 } } @@ -452,10 +416,7 @@ body { } } src { - end_column: 47 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } @@ -479,8 +440,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "sum" + name { + sp_name_flat { + name: "sum" + } } } } @@ -490,8 +453,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -499,29 +464,20 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 37 } v: "num" } } src { - end_column: 35 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 37 } } } src { - end_column: 35 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 37 } } @@ -531,8 +487,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "max" + name { + sp_name_flat { + name: "max" + } } } } @@ -542,8 +500,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -551,29 +511,20 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 37 } v: "num" } } src { - end_column: 47 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 37 } } } src { - end_column: 47 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 37 } } @@ -587,10 +538,7 @@ body { } } src { - end_column: 49 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -612,19 +560,13 @@ body { args { list_val { src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } vs { string_val { src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: "num" @@ -633,10 +575,7 @@ body { vs { string_val { src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: "max" @@ -654,10 +593,7 @@ body { } } src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } @@ -679,10 +615,7 @@ body { args { list_val { src { - end_column: 42 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } vs { @@ -690,8 +623,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -699,20 +634,14 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 41 } v: "num" } } src { - end_column: 34 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 41 } } @@ -720,10 +649,7 @@ body { vs { string_val { src { - end_column: 42 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } v: "max" @@ -741,10 +667,7 @@ body { } } src { - end_column: 42 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } } @@ -766,19 +689,13 @@ body { args { tuple_val { src { - end_column: 63 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 43 } vs { string_val { src { - end_column: 63 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 43 } v: "num" @@ -787,10 +704,7 @@ body { vs { string_val { src { - end_column: 63 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 43 } v: "max" @@ -801,10 +715,7 @@ body { args { list_val { src { - end_column: 63 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 43 } vs { @@ -812,8 +723,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -821,20 +734,14 @@ body { pos_args { string_val { src { - end_column: 53 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 43 } v: "num" } } src { - end_column: 53 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 43 } } @@ -842,10 +749,7 @@ body { vs { string_val { src { - end_column: 63 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 43 } v: "sum" @@ -862,10 +766,7 @@ body { } } src { - end_column: 63 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 43 } } @@ -889,8 +790,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "sum" + name { + sp_name_flat { + name: "sum" + } } } } @@ -900,8 +803,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -909,29 +814,20 @@ body { pos_args { string_val { src { - end_column: 35 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 45 } v: "num" } } src { - end_column: 35 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 45 } } } src { - end_column: 35 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 45 } } @@ -939,19 +835,13 @@ body { args { tuple_val { src { - end_column: 85 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 45 } vs { string_val { src { - end_column: 85 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 45 } v: "num" @@ -960,10 +850,7 @@ body { vs { string_val { src { - end_column: 85 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 45 } v: "max" @@ -976,8 +863,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "max" + name { + sp_name_flat { + name: "max" + } } } } @@ -987,8 +876,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -996,29 +887,20 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 45 } v: "num" } } src { - end_column: 63 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 45 } } } src { - end_column: 63 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 45 } } @@ -1026,10 +908,7 @@ body { args { list_val { src { - end_column: 85 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 45 } vs { @@ -1037,8 +916,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1046,20 +927,14 @@ body { pos_args { string_val { src { - end_column: 76 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 66 start_line: 45 } v: "num" } } src { - end_column: 76 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 66 start_line: 45 } } @@ -1067,10 +942,7 @@ body { vs { string_val { src { - end_column: 85 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 45 } v: "sum" @@ -1088,10 +960,7 @@ body { } } src { - end_column: 85 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 45 } } @@ -1113,10 +982,7 @@ body { args { seq_map_val { src { - end_column: 28 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 47 } } @@ -1131,10 +997,7 @@ body { } } src { - end_column: 28 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 47 } } @@ -1159,10 +1022,7 @@ body { vs { string_val { src { - end_column: 40 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 49 } v: "num" @@ -1171,10 +1031,7 @@ body { vs { string_val { src { - end_column: 40 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 49 } v: "max" @@ -1182,10 +1039,7 @@ body { } } src { - end_column: 40 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 49 } } @@ -1200,10 +1054,7 @@ body { } } src { - end_column: 40 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 49 } } @@ -1228,10 +1079,7 @@ body { vs { string_val { src { - end_column: 54 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 51 } v: "num" @@ -1240,10 +1088,7 @@ body { vs { string_val { src { - end_column: 54 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 51 } v: "max" @@ -1254,10 +1099,7 @@ body { vs { string_val { src { - end_column: 54 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 51 } v: "str" @@ -1266,10 +1108,7 @@ body { vs { string_val { src { - end_column: 54 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 51 } v: "sum" @@ -1277,10 +1116,7 @@ body { } } src { - end_column: 54 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 51 } } @@ -1295,10 +1131,7 @@ body { } } src { - end_column: 54 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 51 } } diff --git a/tests/ast/data/RelationalGroupedDataFrame.test b/tests/ast/data/RelationalGroupedDataFrame.test index f074d226f0c..b3b528a74ec 100644 --- a/tests/ast/data/RelationalGroupedDataFrame.test +++ b/tests/ast/data/RelationalGroupedDataFrame.test @@ -66,19 +66,13 @@ body { vs { tuple_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -87,10 +81,7 @@ body { vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -101,19 +92,13 @@ body { vs { tuple_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -122,10 +107,7 @@ body { vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -136,19 +118,13 @@ body { vs { tuple_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -157,10 +133,7 @@ body { vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -171,19 +144,13 @@ body { vs { tuple_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -192,10 +159,7 @@ body { vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -206,19 +170,13 @@ body { vs { tuple_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 3 @@ -227,10 +185,7 @@ body { vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 1 @@ -241,19 +196,13 @@ body { vs { tuple_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 3 @@ -262,10 +211,7 @@ body { vs { int64_val { src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } v: 2 @@ -282,10 +228,7 @@ body { } } src { - end_column: 101 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } } @@ -307,10 +250,7 @@ body { args { string_val { src { - end_column: 24 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } v: "a" @@ -326,10 +266,7 @@ body { } } src { - end_column: 24 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -351,10 +288,7 @@ body { args { string_val { src { - end_column: 36 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } v: "b" @@ -370,10 +304,7 @@ body { } } src { - end_column: 36 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -396,10 +327,7 @@ body { bitfield1: 3 } src { - end_column: 46 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -428,10 +356,7 @@ body { args { string_val { src { - end_column: 24 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } v: "a" @@ -447,10 +372,7 @@ body { } } src { - end_column: 24 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -472,10 +394,7 @@ body { args { string_val { src { - end_column: 45 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } v: "b" @@ -491,10 +410,7 @@ body { } } src { - end_column: 45 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -517,10 +433,7 @@ body { bitfield1: 7 } src { - end_column: 55 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -549,10 +462,7 @@ body { args { string_val { src { - end_column: 24 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } v: "a" @@ -568,10 +478,7 @@ body { } } src { - end_column: 24 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } } @@ -597,10 +504,7 @@ body { } } src { - end_column: 32 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } } @@ -622,19 +526,13 @@ body { vs { tuple_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } vs { string_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: "SF" @@ -643,10 +541,7 @@ body { vs { float64_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: 21.0 @@ -657,19 +552,13 @@ body { vs { tuple_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } vs { string_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: "SF" @@ -678,10 +567,7 @@ body { vs { float64_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: 17.5 @@ -692,19 +578,13 @@ body { vs { tuple_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } vs { string_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: "SF" @@ -713,10 +593,7 @@ body { vs { float64_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: 24.0 @@ -727,19 +604,13 @@ body { vs { tuple_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } vs { string_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: "NY" @@ -748,10 +619,7 @@ body { vs { float64_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: 30.9 @@ -762,19 +630,13 @@ body { vs { tuple_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } vs { string_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: "NY" @@ -783,10 +645,7 @@ body { vs { float64_val { src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } v: 33.6 @@ -803,10 +662,7 @@ body { } } src { - end_column: 46 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } } @@ -828,10 +684,7 @@ body { args { string_val { src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } v: "location" @@ -847,10 +700,7 @@ body { } } src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } @@ -870,8 +720,10 @@ body { handler { name: "_ApplyInPandas" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + } } } } @@ -891,10 +743,7 @@ body { _2 { bool_val { src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } @@ -925,10 +774,7 @@ body { } parallel: 4 src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } @@ -961,10 +807,7 @@ body { _2 { list_val { src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } vs { @@ -976,10 +819,7 @@ body { } } src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } @@ -990,10 +830,7 @@ body { sp_float_type: true } src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } @@ -1006,19 +843,13 @@ body { _2 { list_val { src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } vs { string_val { src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } v: "LOCATION" @@ -1027,10 +858,7 @@ body { vs { string_val { src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } v: "TEMP_C" @@ -1072,10 +900,7 @@ body { } } src { - end_column: 75 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } @@ -1095,11 +920,8 @@ body { cols { string_val { src { - end_column: 94 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 46 + start_line: 43 } v: "temp_c" } @@ -1113,11 +935,8 @@ body { } } src { - end_column: 94 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 46 + start_line: 43 } } } @@ -1139,11 +958,8 @@ body { bitfield1: 16 } src { - end_column: 104 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 95 - start_line: 46 + start_line: 43 } } } @@ -1172,19 +988,13 @@ body { vs { tuple_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } vs { int64_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: 1 @@ -1193,10 +1003,7 @@ body { vs { string_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: "A" @@ -1205,10 +1012,7 @@ body { vs { int64_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: 10000 @@ -1217,10 +1021,7 @@ body { vs { string_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: "JAN" @@ -1231,19 +1032,13 @@ body { vs { tuple_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } vs { int64_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: 1 @@ -1252,10 +1047,7 @@ body { vs { string_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: "B" @@ -1264,10 +1056,7 @@ body { vs { int64_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: 400 @@ -1276,10 +1065,7 @@ body { vs { string_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: "JAN" @@ -1290,19 +1076,13 @@ body { vs { tuple_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } vs { int64_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: 1 @@ -1311,10 +1091,7 @@ body { vs { string_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: "B" @@ -1323,10 +1100,7 @@ body { vs { int64_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: 5000 @@ -1335,10 +1109,7 @@ body { vs { string_val { src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } v: "FEB" @@ -1357,10 +1128,7 @@ body { } } src { - end_column: 153 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } } @@ -1382,10 +1150,7 @@ body { args { string_val { src { - end_column: 28 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } v: "empid" @@ -1401,10 +1166,7 @@ body { } } src { - end_column: 28 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } } @@ -1431,20 +1193,14 @@ body { pivot_col { string_val { src { - end_column: 59 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } v: "month" } } src { - end_column: 59 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } values { @@ -1452,19 +1208,13 @@ body { v { list_val { src { - end_column: 59 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } vs { string_val { src { - end_column: 59 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } v: "JAN" @@ -1473,10 +1223,7 @@ body { vs { string_val { src { - end_column: 59 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } v: "FEB" @@ -1505,10 +1252,7 @@ body { args { string_val { src { - end_column: 73 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } v: "amount" @@ -1524,10 +1268,7 @@ body { } } src { - end_column: 73 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } } @@ -1573,10 +1314,7 @@ body { args { string_val { src { - end_column: 38 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } v: "empid" @@ -1585,10 +1323,7 @@ body { args { string_val { src { - end_column: 38 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } v: "team" @@ -1603,10 +1338,7 @@ body { } } src { - end_column: 38 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } } @@ -1633,20 +1365,14 @@ body { pivot_col { string_val { src { - end_column: 53 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } v: "month" } } src { - end_column: 53 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } } @@ -1668,10 +1394,7 @@ body { args { string_val { src { - end_column: 67 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } v: "amount" @@ -1687,10 +1410,7 @@ body { } } src { - end_column: 67 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } } @@ -1710,10 +1430,7 @@ body { cols { string_val { src { - end_column: 89 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } v: "empid" @@ -1722,10 +1439,7 @@ body { cols { string_val { src { - end_column: 89 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } v: "team" @@ -1740,10 +1454,7 @@ body { } } src { - end_column: 89 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } } diff --git a/tests/ast/data/Session.call.test b/tests/ast/data/Session.call.test index 8e654fc5455..575d8810d9f 100644 --- a/tests/ast/data/Session.call.test +++ b/tests/ast/data/Session.call.test @@ -36,8 +36,10 @@ body { func { name: "my_sproc" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MY_SPROC\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MY_SPROC\"" + } } } } @@ -72,8 +74,10 @@ body { } } name { - fn_name_flat { - name: "my_sproc" + name { + sp_name_flat { + name: "my_sproc" + } } } parallel: 4 @@ -86,10 +90,7 @@ body { } source_code_display: true src { - end_column: 124 - end_line: 30 file: "SRC_POSITION_TEST_MODE" - start_column: 22 start_line: 30 } } @@ -112,8 +113,10 @@ body { log_on_exception { } name { - fn_name_flat { - name: "my_sproc" + name { + sp_name_flat { + name: "my_sproc" + } } } } @@ -121,10 +124,7 @@ body { pos_args { int64_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 1 @@ -133,10 +133,7 @@ body { pos_args { string_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "two" @@ -148,10 +145,7 @@ body { vs { string_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "param1" @@ -160,10 +154,7 @@ body { vs { int64_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 10 @@ -174,10 +165,7 @@ body { vs { string_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "param2" @@ -186,10 +174,7 @@ body { vs { string_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "twenty" @@ -197,10 +182,7 @@ body { } } src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } } @@ -208,20 +190,14 @@ body { pos_args { bool_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: true } } src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } } @@ -249,10 +225,7 @@ body { pos_args { int64_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 1 @@ -261,10 +234,7 @@ body { pos_args { string_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "two" @@ -276,10 +246,7 @@ body { vs { string_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "param1" @@ -288,10 +255,7 @@ body { vs { int64_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 10 @@ -302,10 +266,7 @@ body { vs { string_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "param2" @@ -314,10 +275,7 @@ body { vs { string_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "twenty" @@ -325,10 +283,7 @@ body { } } src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } } @@ -336,20 +291,14 @@ body { pos_args { bool_val { src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: true } } src { - end_column: 89 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } } @@ -379,8 +328,10 @@ body { log_on_exception { } name { - fn_name_flat { - name: "my_sproc" + name { + sp_name_flat { + name: "my_sproc" + } } } } @@ -388,10 +339,7 @@ body { pos_args { int64_val { src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } v: 2 @@ -400,10 +348,7 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } v: "one" @@ -412,10 +357,7 @@ body { pos_args { seq_map_val { src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } } @@ -423,19 +365,13 @@ body { pos_args { bool_val { src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } } } src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } } @@ -463,10 +399,7 @@ body { pos_args { int64_val { src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } v: 2 @@ -475,10 +408,7 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } v: "one" @@ -487,10 +417,7 @@ body { pos_args { seq_map_val { src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } } @@ -498,19 +425,13 @@ body { pos_args { bool_val { src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } } } src { - end_column: 63 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 34 } } diff --git a/tests/ast/data/Session.create_dataframe.test b/tests/ast/data/Session.create_dataframe.test index 4e95b7005df..40000dfa7d4 100644 --- a/tests/ast/data/Session.create_dataframe.test +++ b/tests/ast/data/Session.create_dataframe.test @@ -60,19 +60,13 @@ body { list: "c" } src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } vs { int64_val { src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } v: 1 @@ -81,10 +75,7 @@ body { vs { int64_val { src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } v: 2 @@ -93,10 +84,7 @@ body { vs { int64_val { src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } v: 3 @@ -111,19 +99,13 @@ body { list: "a" } src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } vs { int64_val { src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } v: 4 @@ -132,10 +114,7 @@ body { vs { int64_val { src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } v: 2 @@ -146,10 +125,7 @@ body { } } src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } } @@ -172,19 +148,13 @@ body { vs { sp_row { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 1 @@ -193,10 +163,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 3 @@ -205,10 +172,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 2 @@ -219,19 +183,13 @@ body { vs { sp_row { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 1 @@ -240,10 +198,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 2 @@ -252,10 +207,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 3 @@ -266,19 +218,13 @@ body { vs { sp_row { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 3 @@ -287,10 +233,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 2 @@ -299,10 +242,7 @@ body { vs { int64_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } v: 1 @@ -313,10 +253,7 @@ body { } } src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -339,19 +276,13 @@ body { vs { list_val { src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } vs { int64_val { src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: 1 @@ -360,10 +291,7 @@ body { vs { int64_val { src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: 2 @@ -374,19 +302,13 @@ body { vs { list_val { src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } vs { int64_val { src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: 3 @@ -395,10 +317,7 @@ body { vs { int64_val { src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: 4 @@ -415,10 +334,7 @@ body { } } src { - end_column: 75 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -441,19 +357,13 @@ body { vs { list_val { src { - end_column: 75 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } vs { int64_val { src { - end_column: 75 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 1 @@ -462,10 +372,7 @@ body { vs { string_val { src { - end_column: 75 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: "snow" @@ -476,19 +383,13 @@ body { vs { list_val { src { - end_column: 75 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } vs { int64_val { src { - end_column: 75 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 3 @@ -497,10 +398,7 @@ body { vs { string_val { src { - end_column: 75 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: "flake" @@ -538,10 +436,7 @@ body { } } src { - end_column: 75 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -564,10 +459,7 @@ body { vs { int64_val { src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: 1 @@ -576,10 +468,7 @@ body { vs { int64_val { src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: 2 @@ -588,10 +477,7 @@ body { vs { int64_val { src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: 3 @@ -600,10 +486,7 @@ body { vs { int64_val { src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: 4 @@ -617,10 +500,7 @@ body { } } src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } @@ -643,19 +523,13 @@ body { vs { list_val { src { - end_column: 83 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } vs { int64_val { src { - end_column: 83 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } v: 1 @@ -664,10 +538,7 @@ body { vs { int64_val { src { - end_column: 83 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } v: 2 @@ -676,10 +547,7 @@ body { vs { int64_val { src { - end_column: 83 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } v: 3 @@ -688,10 +556,7 @@ body { vs { int64_val { src { - end_column: 83 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } v: 4 @@ -710,10 +575,7 @@ body { } } src { - end_column: 83 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } } @@ -736,19 +598,13 @@ body { vs { list_val { src { - end_column: 75 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } vs { int64_val { src { - end_column: 75 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } v: 1 @@ -757,10 +613,7 @@ body { vs { int64_val { src { - end_column: 75 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } v: 2 @@ -771,19 +624,13 @@ body { vs { list_val { src { - end_column: 75 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } vs { int64_val { src { - end_column: 75 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } v: 3 @@ -792,10 +639,7 @@ body { vs { int64_val { src { - end_column: 75 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } v: 4 @@ -812,10 +656,7 @@ body { } } src { - end_column: 75 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } } @@ -844,19 +685,13 @@ body { list: "d" } src { - end_column: 65 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } vs { int64_val { src { - end_column: 65 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } v: 1 @@ -865,10 +700,7 @@ body { vs { int64_val { src { - end_column: 65 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } v: 2 @@ -877,10 +709,7 @@ body { vs { int64_val { src { - end_column: 65 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } v: 3 @@ -889,10 +718,7 @@ body { vs { int64_val { src { - end_column: 65 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } v: 4 @@ -903,10 +729,7 @@ body { } } src { - end_column: 65 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } } @@ -932,10 +755,7 @@ body { vs { string_val { src { - end_column: 60 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } v: "a" @@ -944,10 +764,7 @@ body { vs { int64_val { src { - end_column: 60 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } v: 1 @@ -955,10 +772,7 @@ body { } } src { - end_column: 60 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } } @@ -969,10 +783,7 @@ body { vs { string_val { src { - end_column: 60 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } v: "b" @@ -981,10 +792,7 @@ body { vs { int64_val { src { - end_column: 60 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } v: 2 @@ -992,10 +800,7 @@ body { } } src { - end_column: 60 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } } @@ -1003,10 +808,7 @@ body { } } src { - end_column: 60 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } } diff --git a/tests/ast/data/Session.flatten.test b/tests/ast/data/Session.flatten.test index a37dd623dbd..6eed3e496b1 100644 --- a/tests/ast/data/Session.flatten.test +++ b/tests/ast/data/Session.flatten.test @@ -21,8 +21,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "parse_json" + name { + sp_name_flat { + name: "parse_json" + } } } } @@ -32,8 +34,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -41,29 +45,20 @@ body { pos_args { string_val { src { - end_column: 60 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 25 } v: "{\"a\": [1,2]}" } } src { - end_column: 60 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 25 } } } src { - end_column: 61 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 25 } } @@ -75,10 +70,7 @@ body { value: "a" } src { - end_column: 89 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } } @@ -101,8 +93,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -110,20 +104,14 @@ body { pos_args { string_val { src { - end_column: 40 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 27 } v: "NUM" } } src { - end_column: 40 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 27 } } @@ -133,10 +121,7 @@ body { } recursive: true src { - end_column: 71 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } diff --git a/tests/ast/data/Session.table_function.test b/tests/ast/data/Session.table_function.test index aaf23841e03..050a4526836 100644 --- a/tests/ast/data/Session.table_function.test +++ b/tests/ast/data/Session.table_function.test @@ -45,8 +45,10 @@ body { fn { indirect_table_fn_name_ref { name { - fn_name_flat { - name: "my_fn" + name { + sp_name_flat { + name: "my_fn" + } } } } @@ -56,8 +58,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -65,20 +69,14 @@ body { pos_args { int64_val { src { - end_column: 51 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 25 } v: 1 } } src { - end_column: 51 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 25 } } @@ -88,8 +86,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -97,38 +97,26 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 25 } v: "two" } } src { - end_column: 63 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 25 } } } src { - end_column: 64 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } } } src { - end_column: 64 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } } @@ -151,8 +139,10 @@ body { fn { indirect_table_fn_name_ref { name { - fn_name_flat { - name: "my_fn" + name { + sp_name_flat { + name: "my_fn" + } } } } @@ -164,8 +154,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -173,20 +165,14 @@ body { pos_args { string_val { src { - end_column: 72 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 62 start_line: 27 } v: "bar" } } src { - end_column: 72 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 62 start_line: 27 } } @@ -199,8 +185,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -208,39 +196,27 @@ body { pos_args { int64_val { src { - end_column: 56 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 50 start_line: 27 } v: 3 } } src { - end_column: 56 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 50 start_line: 27 } } } } src { - end_column: 73 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } } src { - end_column: 73 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -263,27 +239,23 @@ body { fn { indirect_table_fn_name_ref { name { - fn_name_structured { - name: "foo" - name: "bar" + name { + sp_name_structured { + name: "foo" + name: "bar" + } } } } } src { - end_column: 52 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } } src { - end_column: 52 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -304,17 +276,16 @@ body { fn { call_table_function_expr { name { - fn_name_flat { - name: "my_fn1" + name { + sp_name_flat { + name: "my_fn1" + } } } } } src { - end_column: 42 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 32 } } @@ -341,19 +312,13 @@ body { } } src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 32 } } } src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 32 } } @@ -374,8 +339,10 @@ body { fn { call_table_function_expr { name { - fn_name_flat { - name: "my_fn2" + name { + sp_name_flat { + name: "my_fn2" + } } } } @@ -383,20 +350,14 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 35 } v: "foo" } } src { - end_column: 47 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 35 } } @@ -423,19 +384,13 @@ body { } } src { - end_column: 48 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } } src { - end_column: 48 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } @@ -456,17 +411,16 @@ body { fn { call_table_function_expr { name { - fn_name_flat { - name: "my_fn3" + name { + sp_name_flat { + name: "my_fn3" + } } } } } src { - end_column: 43 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -493,19 +447,13 @@ body { } } src { - end_column: 41 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } } } src { - end_column: 41 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 38 } } @@ -526,8 +474,10 @@ body { fn { call_table_function_expr { name { - fn_name_flat { - name: "my_fn4" + name { + sp_name_flat { + name: "my_fn4" + } } } } @@ -535,20 +485,14 @@ body { pos_args { string_val { src { - end_column: 50 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } v: "foo" } } src { - end_column: 50 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 40 } } @@ -575,19 +519,13 @@ body { } } src { - end_column: 41 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } } } src { - end_column: 41 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } } diff --git a/tests/ast/data/Table.delete.test b/tests/ast/data/Table.delete.test index db6e0dd9577..bc57d8ef74b 100644 --- a/tests/ast/data/Table.delete.test +++ b/tests/ast/data/Table.delete.test @@ -53,15 +53,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -87,10 +86,7 @@ body { bitfield1: 1 } src { - end_column: 19 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -116,15 +112,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variant { @@ -149,10 +144,7 @@ body { bitfield1: 4 } src { - end_column: 30 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } } @@ -178,15 +170,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variant { @@ -211,10 +202,7 @@ body { bitfield1: 7 } src { - end_column: 79 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 35 } statement_params { @@ -244,15 +232,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } variant { @@ -287,10 +274,7 @@ body { } } src { - end_column: 27 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 39 } } @@ -298,20 +282,14 @@ body { rhs { int64_val { src { - end_column: 32 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 39 } v: 1 } } src { - end_column: 32 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 39 } } @@ -320,10 +298,7 @@ body { bitfield1: 10 } src { - end_column: 33 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } } @@ -349,15 +324,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } variant { @@ -383,10 +357,7 @@ body { vs { int64_val { src { - end_column: 72 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 43 } v: 2 @@ -395,10 +366,7 @@ body { vs { int64_val { src { - end_column: 72 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 43 } v: 3 @@ -407,10 +375,7 @@ body { vs { int64_val { src { - end_column: 72 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 43 } v: 4 @@ -419,10 +384,7 @@ body { vs { int64_val { src { - end_column: 72 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 43 } v: 5 @@ -436,10 +398,7 @@ body { } } src { - end_column: 72 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 43 } } @@ -471,10 +430,7 @@ body { } } src { - end_column: 40 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 45 } } @@ -482,19 +438,13 @@ body { rhs { list_val { src { - end_column: 40 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 45 } vs { string_val { src { - end_column: 40 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 45 } v: "num" @@ -503,10 +453,7 @@ body { } } src { - end_column: 40 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 45 } } @@ -522,10 +469,7 @@ body { } } src { - end_column: 52 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 45 } } diff --git a/tests/ast/data/Table.drop_table.test b/tests/ast/data/Table.drop_table.test index 78554d30755..0cbe193ea3f 100644 --- a/tests/ast/data/Table.drop_table.test +++ b/tests/ast/data/Table.drop_table.test @@ -17,15 +17,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,10 +49,7 @@ body { bitfield1: 1 } src { - end_column: 23 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } diff --git a/tests/ast/data/Table.init.test b/tests/ast/data/Table.init.test index 1405a9168d0..bc91a1da5e5 100644 --- a/tests/ast/data/Table.init.test +++ b/tests/ast/data/Table.init.test @@ -17,15 +17,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -51,8 +50,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -60,20 +61,14 @@ body { pos_args { string_val { src { - end_column: 39 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } v: "STR" } } src { - end_column: 39 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } } @@ -83,8 +78,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -92,20 +89,14 @@ body { pos_args { string_val { src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 27 } v: "A" } } src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 27 } } @@ -118,10 +109,7 @@ body { } } src { - end_column: 39 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true diff --git a/tests/ast/data/Table.merge.test b/tests/ast/data/Table.merge.test index a198b0f9cf6..72e1c8be457 100644 --- a/tests/ast/data/Table.merge.test +++ b/tests/ast/data/Table.merge.test @@ -84,19 +84,13 @@ body { vs { tuple_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } vs { int64_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } v: 1 @@ -105,10 +99,7 @@ body { vs { string_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } v: "one" @@ -119,19 +110,13 @@ body { vs { tuple_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } vs { int64_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } v: 2 @@ -140,10 +125,7 @@ body { vs { string_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } v: "two" @@ -154,19 +136,13 @@ body { vs { tuple_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } vs { int64_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } v: 3 @@ -175,10 +151,7 @@ body { vs { string_val { src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } v: "three" @@ -216,10 +189,7 @@ body { } } src { - end_column: 96 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 27 } } @@ -238,15 +208,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_table_1" + name { + sp_name_flat { + name: "test_table_1" + } } } src { - end_column: 47 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 32 } variant { @@ -275,10 +244,7 @@ body { _1 { string_val { src { - end_column: 136 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 34 } v: "str" @@ -287,10 +253,7 @@ body { _2 { string_val { src { - end_column: 136 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 34 } v: "value" @@ -318,10 +281,7 @@ body { } } src { - end_column: 43 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 34 } } @@ -337,19 +297,13 @@ body { } } src { - end_column: 60 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 34 } } } src { - end_column: 60 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 34 } } @@ -367,10 +321,7 @@ body { } } src { - end_column: 78 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 65 start_line: 34 } } @@ -378,29 +329,20 @@ body { rhs { string_val { src { - end_column: 91 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 65 start_line: 34 } v: "too_old" } } src { - end_column: 91 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 65 start_line: 34 } } } src { - end_column: 92 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 34 } } @@ -413,10 +355,7 @@ body { } } src { - end_column: 136 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 34 } } @@ -442,15 +381,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_table_1b" + name { + sp_name_flat { + name: "test_table_1b" + } } } src { - end_column: 48 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 37 } variant { @@ -487,10 +425,7 @@ body { } } src { - end_column: 88 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 75 start_line: 39 } } @@ -498,20 +433,14 @@ body { rhs { string_val { src { - end_column: 101 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 75 start_line: 39 } v: "too_new" } } src { - end_column: 101 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 75 start_line: 39 } } @@ -521,10 +450,7 @@ body { _1 { string_val { src { - end_column: 167 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } v: "str" @@ -533,10 +459,7 @@ body { _2 { string_val { src { - end_column: 167 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } v: "value2" @@ -553,10 +476,7 @@ body { _1 { string_val { src { - end_column: 167 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } v: "num" @@ -565,10 +485,7 @@ body { _2 { int64_val { src { - end_column: 167 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } v: 123 @@ -594,10 +511,7 @@ body { } } src { - end_column: 51 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 39 } } @@ -605,20 +519,14 @@ body { rhs { string_val { src { - end_column: 51 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 39 } v: "bar" } } src { - end_column: 51 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 39 } } @@ -631,10 +539,7 @@ body { } } src { - end_column: 167 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } } @@ -660,15 +565,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_table_2" + name { + sp_name_flat { + name: "test_table_2" + } } } src { - end_column: 47 - end_line: 42 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 42 } variant { @@ -696,10 +600,7 @@ body { list { string_val { src { - end_column: 140 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 44 } v: "str" @@ -710,10 +611,7 @@ body { list { string_val { src { - end_column: 140 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 44 } v: "value" @@ -740,10 +638,7 @@ body { } } src { - end_column: 43 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 44 } } @@ -759,19 +654,13 @@ body { } } src { - end_column: 60 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 44 } } } src { - end_column: 60 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 44 } } @@ -789,10 +678,7 @@ body { } } src { - end_column: 78 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 65 start_line: 44 } } @@ -800,29 +686,20 @@ body { rhs { string_val { src { - end_column: 91 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 65 start_line: 44 } v: "too_old" } } src { - end_column: 91 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 65 start_line: 44 } } } src { - end_column: 92 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 44 } } @@ -835,10 +712,7 @@ body { } } src { - end_column: 140 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 44 } } @@ -864,15 +738,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_table_2b" + name { + sp_name_flat { + name: "test_table_2b" + } } } src { - end_column: 48 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 46 } variant { @@ -909,10 +782,7 @@ body { } } src { - end_column: 92 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 79 start_line: 49 } } @@ -920,20 +790,14 @@ body { rhs { string_val { src { - end_column: 105 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 79 start_line: 49 } v: "too_new" } } src { - end_column: 105 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 79 start_line: 49 } } @@ -942,10 +806,7 @@ body { list { string_val { src { - end_column: 175 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 49 } v: "str" @@ -956,10 +817,7 @@ body { list { string_val { src { - end_column: 175 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 49 } v: "value" @@ -975,10 +833,7 @@ body { _1 { string_val { src { - end_column: 175 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 49 } v: "str" @@ -987,10 +842,7 @@ body { _2 { string_val { src { - end_column: 175 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 49 } v: "value3" @@ -1016,10 +868,7 @@ body { } } src { - end_column: 42 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 49 } } @@ -1027,20 +876,14 @@ body { rhs { string_val { src { - end_column: 51 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 49 } v: "foo" } } src { - end_column: 51 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 49 } } @@ -1053,10 +896,7 @@ body { } } src { - end_column: 175 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 49 } } @@ -1082,15 +922,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_table_3" + name { + sp_name_flat { + name: "test_table_3" + } } } src { - end_column: 47 - end_line: 52 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 52 } variant { @@ -1132,10 +971,7 @@ body { } } src { - end_column: 60 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 54 } } @@ -1151,19 +987,13 @@ body { } } src { - end_column: 77 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 64 start_line: 54 } } } src { - end_column: 77 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 54 } } @@ -1176,10 +1006,7 @@ body { } } src { - end_column: 114 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } } @@ -1205,15 +1032,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_table_4" + name { + sp_name_flat { + name: "test_table_4" + } } } src { - end_column: 47 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 57 } variant { @@ -1249,10 +1075,7 @@ body { } } src { - end_column: 113 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 100 start_line: 59 } } @@ -1260,20 +1083,14 @@ body { rhs { string_val { src { - end_column: 126 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 100 start_line: 59 } v: "too_new" } } src { - end_column: 126 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 100 start_line: 59 } } @@ -1298,10 +1115,7 @@ body { } } src { - end_column: 43 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 59 } } @@ -1309,20 +1123,14 @@ body { rhs { int64_val { src { - end_column: 48 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 59 } v: 1 } } src { - end_column: 48 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 59 } } @@ -1340,10 +1148,7 @@ body { } } src { - end_column: 66 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 59 } } @@ -1359,28 +1164,19 @@ body { } } src { - end_column: 83 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 70 start_line: 59 } } } src { - end_column: 83 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 53 start_line: 59 } } } src { - end_column: 84 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 59 } } @@ -1393,10 +1189,7 @@ body { } } src { - end_column: 151 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 59 } } @@ -1422,15 +1215,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_table_5" + name { + sp_name_flat { + name: "test_table_5" + } } } src { - end_column: 47 - end_line: 62 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 62 } variant { @@ -1467,10 +1259,7 @@ body { } } src { - end_column: 53 - end_line: 64 file: "SRC_POSITION_TEST_MODE" - start_column: 40 start_line: 64 } } @@ -1486,19 +1275,13 @@ body { } } src { - end_column: 70 - end_line: 64 file: "SRC_POSITION_TEST_MODE" - start_column: 57 start_line: 64 } } } src { - end_column: 70 - end_line: 64 file: "SRC_POSITION_TEST_MODE" - start_column: 40 start_line: 64 } } @@ -1511,10 +1294,7 @@ body { } } src { - end_column: 160 - end_line: 64 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 64 } statement_params { diff --git a/tests/ast/data/Table.sample.test b/tests/ast/data/Table.sample.test index 261c348c800..c3b866882ac 100644 --- a/tests/ast/data/Table.sample.test +++ b/tests/ast/data/Table.sample.test @@ -25,15 +25,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -68,10 +67,7 @@ body { value: 100 } src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -106,10 +102,7 @@ body { value: 123 } src { - end_column: 72 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -141,10 +134,7 @@ body { value: "SYSTEM" } src { - end_column: 59 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } diff --git a/tests/ast/data/Table.update.test b/tests/ast/data/Table.update.test index 099c8235b2c..af841761512 100644 --- a/tests/ast/data/Table.update.test +++ b/tests/ast/data/Table.update.test @@ -45,15 +45,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 42 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -79,10 +78,7 @@ body { bitfield1: 1 } src { - end_column: 21 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 27 } } @@ -112,10 +108,7 @@ body { _2 { int64_val { src { - end_column: 27 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -126,10 +119,7 @@ body { bitfield1: 1 } src { - end_column: 27 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 29 } } @@ -159,10 +149,7 @@ body { _2 { int64_val { src { - end_column: 40 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } v: 1 @@ -182,10 +169,7 @@ body { } } src { - end_column: 38 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 31 } } @@ -196,10 +180,7 @@ body { bitfield1: 1 } src { - end_column: 40 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 31 } } @@ -229,10 +210,7 @@ body { _2 { int64_val { src { - end_column: 43 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } v: 2 @@ -253,10 +231,7 @@ body { } } src { - end_column: 37 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 33 } } @@ -264,20 +239,14 @@ body { rhs { int64_val { src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 33 } v: 1 } } src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 33 } } @@ -286,10 +255,7 @@ body { bitfield1: 1 } src { - end_column: 43 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } } @@ -319,10 +285,7 @@ body { vs { int64_val { src { - end_column: 72 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 35 } v: 1 @@ -331,10 +294,7 @@ body { vs { int64_val { src { - end_column: 72 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 35 } v: 2 @@ -343,10 +303,7 @@ body { vs { int64_val { src { - end_column: 72 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 35 } v: 3 @@ -355,10 +312,7 @@ body { vs { int64_val { src { - end_column: 72 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 35 } v: 4 @@ -372,10 +326,7 @@ body { } } src { - end_column: 72 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 35 } } @@ -398,10 +349,7 @@ body { _2 { int64_val { src { - end_column: 64 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 37 } v: 3 @@ -422,10 +370,7 @@ body { } } src { - end_column: 37 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 37 } } @@ -441,19 +386,13 @@ body { } } src { - end_column: 52 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 37 } } } src { - end_column: 52 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 37 } } @@ -469,10 +408,7 @@ body { } } src { - end_column: 64 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 37 } } @@ -502,10 +438,7 @@ body { _2 { int64_val { src { - end_column: 80 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } v: 4 @@ -525,10 +458,7 @@ body { } } src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 39 } } @@ -544,19 +474,13 @@ body { } } src { - end_column: 55 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 39 } } } src { - end_column: 55 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 39 } } @@ -572,10 +496,7 @@ body { } } src { - end_column: 80 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } } @@ -605,10 +526,7 @@ body { _2 { int64_val { src { - end_column: 129 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 41 } v: 5 @@ -628,10 +546,7 @@ body { } } src { - end_column: 37 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 41 } } @@ -647,19 +562,13 @@ body { } } src { - end_column: 55 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 41 } } } src { - end_column: 55 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 41 } } @@ -675,10 +584,7 @@ body { } } src { - end_column: 129 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 41 } statement_params { diff --git a/tests/ast/data/case_when.test b/tests/ast/data/case_when.test index fc0a33de31b..5d1cbea1041 100644 --- a/tests/ast/data/case_when.test +++ b/tests/ast/data/case_when.test @@ -57,15 +57,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -94,8 +93,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -103,38 +104,26 @@ body { pos_args { string_val { src { - end_column: 43 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 27 } v: "bool_col" } } src { - end_column: 43 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 27 } } } src { - end_column: 52 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } value { string_val { src { - end_column: 52 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "true" @@ -142,10 +131,7 @@ body { } } src { - end_column: 52 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -158,10 +144,7 @@ body { } } src { - end_column: 53 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -190,8 +173,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -199,20 +184,14 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } v: "A" } } src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } @@ -220,38 +199,26 @@ body { rhs { int64_val { src { - end_column: 41 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } v: 1 } } src { - end_column: 41 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } } src { - end_column: 49 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } value { string_val { src { - end_column: 49 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "one" @@ -266,8 +233,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -275,20 +244,14 @@ body { pos_args { string_val { src { - end_column: 63 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 29 } v: "A" } } src { - end_column: 63 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 29 } } @@ -296,38 +259,26 @@ body { rhs { int64_val { src { - end_column: 68 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 29 } v: 2 } } src { - end_column: 68 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 55 start_line: 29 } } } src { - end_column: 76 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } value { string_val { src { - end_column: 76 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "two" @@ -336,19 +287,13 @@ body { } cases { src { - end_column: 95 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } value { string_val { src { - end_column: 95 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "other" @@ -356,10 +301,7 @@ body { } } src { - end_column: 49 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -372,10 +314,7 @@ body { } } src { - end_column: 96 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -404,8 +343,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -413,20 +354,14 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 31 } v: "A" } } src { - end_column: 36 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 31 } } @@ -434,29 +369,20 @@ body { lower_bound { int64_val { src { - end_column: 52 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 31 } v: 37 } } src { - end_column: 52 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 31 } upper_bound { int64_val { src { - end_column: 52 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 31 } v: 42 @@ -465,10 +391,7 @@ body { } } src { - end_column: 63 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } value { @@ -476,8 +399,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -485,20 +410,14 @@ body { pos_args { string_val { src { - end_column: 62 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 54 start_line: 31 } v: "B" } } src { - end_column: 62 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 54 start_line: 31 } } @@ -506,10 +425,7 @@ body { } cases { src { - end_column: 83 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } value { @@ -517,8 +433,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -526,30 +444,21 @@ body { pos_args { string_val { src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 74 start_line: 31 } v: "C" } } src { - end_column: 82 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 74 start_line: 31 } } } } src { - end_column: 63 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -562,10 +471,7 @@ body { } } src { - end_column: 84 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -594,8 +500,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -603,47 +511,32 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 33 } v: "A" } } src { - end_column: 36 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 33 } } } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 33 } } } src { - end_column: 57 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } value { string_val { src { - end_column: 57 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "one" @@ -652,19 +545,13 @@ body { } cases { src { - end_column: 76 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } value { string_val { src { - end_column: 76 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "other" @@ -672,10 +559,7 @@ body { } } src { - end_column: 57 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -688,10 +572,7 @@ body { } } src { - end_column: 77 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true @@ -720,8 +601,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -729,38 +612,26 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 35 } v: "a" } } src { - end_column: 36 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 35 } } } src { - end_column: 46 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 35 } } } src { - end_column: 55 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } value { @@ -768,8 +639,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -777,20 +650,14 @@ body { pos_args { int64_val { src { - end_column: 54 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 48 start_line: 35 } v: 1 } } src { - end_column: 54 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 48 start_line: 35 } } @@ -804,8 +671,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -813,20 +682,14 @@ body { pos_args { string_val { src { - end_column: 69 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 35 } v: "a" } } src { - end_column: 69 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 35 } } @@ -834,29 +697,20 @@ body { rhs { int64_val { src { - end_column: 74 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 35 } v: 1 } } src { - end_column: 74 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 61 start_line: 35 } } } src { - end_column: 83 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } value { @@ -864,8 +718,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -873,20 +729,14 @@ body { pos_args { int64_val { src { - end_column: 82 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 76 start_line: 35 } v: 2 } } src { - end_column: 82 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 76 start_line: 35 } } @@ -894,10 +744,7 @@ body { } cases { src { - end_column: 101 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } value { @@ -905,8 +752,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -914,30 +763,21 @@ body { pos_args { int64_val { src { - end_column: 100 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 94 start_line: 35 } v: 3 } } src { - end_column: 100 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 94 start_line: 35 } } } } src { - end_column: 55 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -950,10 +790,7 @@ body { } } src { - end_column: 102 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } variadic: true @@ -982,8 +819,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -991,20 +830,14 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 38 } v: "a" } } src { - end_column: 36 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 38 } } @@ -1012,38 +845,26 @@ body { pattern { string_val { src { - end_column: 52 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 38 } v: "foo" } } src { - end_column: 52 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 38 } } } src { - end_column: 60 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 38 } value { string_val { src { - end_column: 60 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 38 } v: "foo" @@ -1052,19 +873,13 @@ body { } cases { src { - end_column: 78 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 38 } value { string_val { src { - end_column: 78 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 38 } v: "null" @@ -1079,8 +894,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1088,20 +905,14 @@ body { pos_args { string_val { src { - end_column: 92 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 84 start_line: 38 } v: "a" } } src { - end_column: 92 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 84 start_line: 38 } } @@ -1109,38 +920,26 @@ body { pattern { string_val { src { - end_column: 108 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 84 start_line: 38 } v: "bar" } } src { - end_column: 108 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 84 start_line: 38 } } } src { - end_column: 116 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 38 } value { string_val { src { - end_column: 116 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 38 } v: "bar" @@ -1148,10 +947,7 @@ body { } } src { - end_column: 60 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 38 } } @@ -1164,10 +960,7 @@ body { } } src { - end_column: 117 - end_line: 38 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 38 } variadic: true @@ -1196,8 +989,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1205,20 +1000,14 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 40 } v: "a" } } src { - end_column: 36 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 40 } } @@ -1228,8 +1017,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1237,47 +1028,32 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 40 } v: "b" } } src { - end_column: 47 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 40 } } } src { - end_column: 47 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 40 } } } src { - end_column: 56 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 40 } value { string_val { src { - end_column: 56 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 40 } v: "both" @@ -1286,19 +1062,13 @@ body { } cases { src { - end_column: 75 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 40 } value { string_val { src { - end_column: 75 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 40 } v: "other" @@ -1306,10 +1076,7 @@ body { } } src { - end_column: 56 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 40 } } @@ -1322,10 +1089,7 @@ body { } } src { - end_column: 76 - end_line: 40 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 40 } variadic: true @@ -1354,8 +1118,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1363,20 +1129,14 @@ body { pos_args { string_val { src { - end_column: 25 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 43 } v: "a" } } src { - end_column: 25 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 43 } } @@ -1384,38 +1144,26 @@ body { rhs { int64_val { src { - end_column: 30 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 43 } v: 1 } } src { - end_column: 30 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 17 start_line: 43 } } } src { - end_column: 38 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 43 } value { string_val { src { - end_column: 38 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 43 } v: "one" @@ -1424,20 +1172,14 @@ body { } cases { src { - end_column: 35 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 44 + start_line: 43 } value { string_val { src { - end_column: 35 - end_line: 44 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 44 + start_line: 43 } v: "other_one" } @@ -1451,8 +1193,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1460,20 +1204,14 @@ body { pos_args { string_val { src { - end_column: 26 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 45 } v: "a" } } src { - end_column: 26 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 45 } } @@ -1481,39 +1219,27 @@ body { rhs { int64_val { src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 45 } v: 2 } } src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 45 } } } src { - end_column: 39 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 45 + start_line: 43 } value { string_val { src { - end_column: 39 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 45 + start_line: 43 } v: "two" } @@ -1521,20 +1247,14 @@ body { } cases { src { - end_column: 35 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 46 + start_line: 43 } value { string_val { src { - end_column: 35 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 46 + start_line: 43 } v: "other_two" } @@ -1548,8 +1268,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1557,20 +1279,14 @@ body { pos_args { string_val { src { - end_column: 26 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 47 } v: "a" } } src { - end_column: 26 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 47 } } @@ -1578,39 +1294,27 @@ body { rhs { int64_val { src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 47 } v: 3 } } src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 47 } } } src { - end_column: 41 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 47 + start_line: 43 } value { string_val { src { - end_column: 41 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 47 + start_line: 43 } v: "three" } @@ -1618,20 +1322,14 @@ body { } cases { src { - end_column: 37 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 48 + start_line: 43 } value { string_val { src { - end_column: 37 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 48 + start_line: 43 } v: "other_three" } @@ -1645,8 +1343,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1654,20 +1354,14 @@ body { pos_args { string_val { src { - end_column: 26 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 49 } v: "a" } } src { - end_column: 26 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 49 } } @@ -1675,39 +1369,27 @@ body { rhs { int64_val { src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 49 } v: 4 } } src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 49 } } } src { - end_column: 40 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 49 + start_line: 43 } value { string_val { src { - end_column: 40 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 49 + start_line: 43 } v: "four" } @@ -1715,20 +1397,14 @@ body { } cases { src { - end_column: 36 - end_line: 50 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 50 + start_line: 43 } value { string_val { src { - end_column: 36 - end_line: 50 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 50 + start_line: 43 } v: "other_four" } @@ -1742,8 +1418,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1751,20 +1429,14 @@ body { pos_args { string_val { src { - end_column: 26 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 51 } v: "a" } } src { - end_column: 26 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 51 } } @@ -1772,39 +1444,27 @@ body { rhs { int64_val { src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 51 } v: 5 } } src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 51 } } } src { - end_column: 40 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 51 + start_line: 43 } value { string_val { src { - end_column: 40 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 51 + start_line: 43 } v: "five" } @@ -1812,30 +1472,21 @@ body { } cases { src { - end_column: 36 - end_line: 52 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 52 + start_line: 43 } value { string_val { src { - end_column: 36 - end_line: 52 file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 52 + start_line: 43 } v: "other_five" } } } src { - end_column: 38 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 43 } } @@ -1848,10 +1499,7 @@ body { } } src { - end_column: 9 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 42 } variadic: true diff --git a/tests/ast/data/col_alias.test b/tests/ast/data/col_alias.test index 2809c30463b..27a79ccdf43 100644 --- a/tests/ast/data/col_alias.test +++ b/tests/ast/data/col_alias.test @@ -31,15 +31,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variant { @@ -67,8 +66,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -76,20 +77,14 @@ body { pos_args { string_val { src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 29 } v: "A" } } src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 29 } } @@ -99,10 +94,7 @@ body { } name: "test" src { - end_column: 44 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 29 } } @@ -115,10 +107,7 @@ body { } } src { - end_column: 45 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true @@ -144,8 +133,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -153,20 +144,14 @@ body { pos_args { string_val { src { - end_column: 32 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 31 } v: "A" } } src { - end_column: 32 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 31 } } @@ -176,10 +161,7 @@ body { } name: "test" src { - end_column: 46 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 31 } } @@ -192,10 +174,7 @@ body { } } src { - end_column: 47 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } variadic: true @@ -221,8 +200,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -230,20 +211,14 @@ body { pos_args { string_val { src { - end_column: 32 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } v: "A" } } src { - end_column: 32 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } } @@ -253,10 +228,7 @@ body { } name: "test" src { - end_column: 45 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } } @@ -269,10 +241,7 @@ body { } } src { - end_column: 46 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } variadic: true @@ -300,8 +269,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -309,20 +280,14 @@ body { pos_args { string_val { src { - end_column: 33 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 35 } v: "A" } } src { - end_column: 33 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 35 } } @@ -330,20 +295,14 @@ body { rhs { int64_val { src { - end_column: 37 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 35 } v: 1 } } src { - end_column: 37 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 35 } } @@ -353,10 +312,7 @@ body { } name: "test" src { - end_column: 51 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 35 } } @@ -369,10 +325,7 @@ body { } } src { - end_column: 52 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } variadic: true diff --git a/tests/ast/data/col_asc.test b/tests/ast/data/col_asc.test index 90a8d4612e1..3f917b56aef 100644 --- a/tests/ast/data/col_asc.test +++ b/tests/ast/data/col_asc.test @@ -27,15 +27,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variant { @@ -63,8 +62,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -72,20 +73,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -94,10 +89,7 @@ body { sp_null_order_default: true } src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -110,10 +102,7 @@ body { } } src { - end_column: 38 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -139,8 +128,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -148,20 +139,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -170,10 +155,7 @@ body { sp_null_order_nulls_first: true } src { - end_column: 49 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -186,10 +168,7 @@ body { } } src { - end_column: 50 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -215,8 +194,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -224,20 +205,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "A" } } src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -246,10 +221,7 @@ body { sp_null_order_nulls_last: true } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -262,10 +234,7 @@ body { } } src { - end_column: 49 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true diff --git a/tests/ast/data/col_between.test b/tests/ast/data/col_between.test index bfd087c2510..9a35036f00f 100644 --- a/tests/ast/data/col_between.test +++ b/tests/ast/data/col_between.test @@ -18,15 +18,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -54,8 +53,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -63,20 +64,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -86,8 +81,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -95,38 +92,26 @@ body { pos_args { string_val { src { - end_column: 48 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 40 start_line: 27 } v: "B" } } src { - end_column: 48 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 40 start_line: 27 } } } src { - end_column: 53 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } upper_bound { int64_val { src { - end_column: 53 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: 42 @@ -142,10 +127,7 @@ body { } } src { - end_column: 54 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true diff --git a/tests/ast/data/col_binops.test b/tests/ast/data/col_binops.test index e024945b763..152e5771dd8 100644 --- a/tests/ast/data/col_binops.test +++ b/tests/ast/data/col_binops.test @@ -70,15 +70,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -106,8 +105,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -115,20 +116,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -138,8 +133,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -147,29 +144,20 @@ body { pos_args { string_val { src { - end_column: 43 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 27 } v: "B" } } src { - end_column: 43 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 27 } } } src { - end_column: 43 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -182,10 +170,7 @@ body { } } src { - end_column: 44 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -211,8 +196,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -220,20 +207,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -243,8 +224,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -252,29 +235,20 @@ body { pos_args { string_val { src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 29 } v: "B" } } src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 29 } } } src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -287,10 +261,7 @@ body { } } src { - end_column: 44 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -316,8 +287,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -325,20 +298,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -348,8 +315,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -357,29 +326,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 31 } v: "B" } } src { - end_column: 42 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 31 } } } src { - end_column: 42 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -392,10 +352,7 @@ body { } } src { - end_column: 43 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -421,8 +378,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -430,20 +389,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "A" } } src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -453,8 +406,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -462,29 +417,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 33 } v: "B" } } src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 33 } } } src { - end_column: 42 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -497,10 +443,7 @@ body { } } src { - end_column: 43 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true @@ -526,8 +469,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -535,20 +480,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } v: "A" } } src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -558,8 +497,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -567,29 +508,20 @@ body { pos_args { string_val { src { - end_column: 43 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 35 } v: "B" } } src { - end_column: 43 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 35 } } } src { - end_column: 43 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -602,10 +534,7 @@ body { } } src { - end_column: 44 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } variadic: true @@ -631,8 +560,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -640,20 +571,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: "A" } } src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } @@ -663,8 +588,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -672,29 +599,20 @@ body { pos_args { string_val { src { - end_column: 43 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 37 } v: "B" } } src { - end_column: 43 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 37 } } } src { - end_column: 43 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } @@ -707,10 +625,7 @@ body { } } src { - end_column: 44 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } variadic: true @@ -736,8 +651,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -745,20 +662,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: "A" } } src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } @@ -768,8 +679,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -777,29 +690,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 39 } v: "B" } } src { - end_column: 42 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 39 } } } src { - end_column: 42 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } @@ -812,10 +716,7 @@ body { } } src { - end_column: 43 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 39 } variadic: true @@ -841,8 +742,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -850,20 +753,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } v: "A" } } src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } } @@ -873,8 +770,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -882,29 +781,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 41 } v: "B" } } src { - end_column: 42 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 41 } } } src { - end_column: 42 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } } @@ -917,10 +807,7 @@ body { } } src { - end_column: 43 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } variadic: true @@ -946,8 +833,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -955,20 +844,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } v: "A" } } src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } } @@ -978,8 +861,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -987,29 +872,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 43 } v: "B" } } src { - end_column: 42 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 43 } } } src { - end_column: 42 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } } @@ -1022,10 +898,7 @@ body { } } src { - end_column: 43 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 43 } variadic: true @@ -1051,8 +924,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1060,20 +935,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } v: "A" } } src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } } @@ -1083,8 +952,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1092,29 +963,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 45 } v: "B" } } src { - end_column: 42 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 45 } } } src { - end_column: 42 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } } @@ -1127,10 +989,7 @@ body { } } src { - end_column: 43 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 45 } variadic: true @@ -1156,8 +1015,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1165,20 +1026,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } v: "A" } } src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } } @@ -1188,8 +1043,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1197,29 +1054,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 47 } v: "B" } } src { - end_column: 42 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 47 } } } src { - end_column: 42 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } } @@ -1232,10 +1080,7 @@ body { } } src { - end_column: 43 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } variadic: true @@ -1261,8 +1106,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1270,20 +1117,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } v: "A" } } src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } } @@ -1293,8 +1134,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1302,29 +1145,20 @@ body { pos_args { string_val { src { - end_column: 43 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 49 } v: "B" } } src { - end_column: 43 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 35 start_line: 49 } } } src { - end_column: 43 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } } @@ -1337,10 +1171,7 @@ body { } } src { - end_column: 44 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } variadic: true @@ -1366,8 +1197,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1375,20 +1208,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } v: "A" } } src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } } @@ -1398,8 +1225,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1407,29 +1236,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 51 } v: "B" } } src { - end_column: 42 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 51 } } } src { - end_column: 42 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } } @@ -1442,10 +1262,7 @@ body { } } src { - end_column: 43 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 51 } variadic: true @@ -1471,8 +1288,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1480,20 +1299,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } v: "A" } } src { - end_column: 31 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } } @@ -1503,8 +1316,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1512,29 +1327,20 @@ body { pos_args { string_val { src { - end_column: 42 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 53 } v: "B" } } src { - end_column: 42 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 53 } } } src { - end_column: 42 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } } @@ -1547,10 +1353,7 @@ body { } } src { - end_column: 43 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } variadic: true diff --git a/tests/ast/data/col_bitops.test b/tests/ast/data/col_bitops.test index a372d42ed23..6806b9f0223 100644 --- a/tests/ast/data/col_bitops.test +++ b/tests/ast/data/col_bitops.test @@ -26,15 +26,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -62,8 +61,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -71,20 +72,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -94,8 +89,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -103,29 +100,20 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 27 } v: "B" } } src { - end_column: 47 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 27 } } } src { - end_column: 48 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -138,10 +126,7 @@ body { } } src { - end_column: 49 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -167,8 +152,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -176,20 +163,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -199,8 +180,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -208,29 +191,20 @@ body { pos_args { string_val { src { - end_column: 46 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 29 } v: "B" } } src { - end_column: 46 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 29 } } } src { - end_column: 47 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -243,10 +217,7 @@ body { } } src { - end_column: 48 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -272,8 +243,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -281,20 +254,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -304,8 +271,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -313,29 +282,20 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 31 } v: "B" } } src { - end_column: 47 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 31 } } } src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -348,10 +308,7 @@ body { } } src { - end_column: 49 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true diff --git a/tests/ast/data/col_cast.test b/tests/ast/data/col_cast.test index 7aef766a752..b2d8db5ee4b 100644 --- a/tests/ast/data/col_cast.test +++ b/tests/ast/data/col_cast.test @@ -122,15 +122,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -158,8 +157,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -167,29 +168,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } } src { - end_column: 44 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } to { @@ -205,10 +197,7 @@ body { } } src { - end_column: 45 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -234,8 +223,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -243,29 +234,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } } src { - end_column: 46 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } to { @@ -281,10 +263,7 @@ body { } } src { - end_column: 47 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -310,8 +289,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -319,29 +300,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } } src { - end_column: 47 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } to { @@ -357,10 +329,7 @@ body { } } src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -386,8 +355,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -395,29 +366,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "A" } } src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } } src { - end_column: 44 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } to { @@ -433,10 +395,7 @@ body { } } src { - end_column: 45 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true @@ -462,8 +421,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -471,29 +432,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } v: "A" } } src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } } src { - end_column: 46 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } to { @@ -512,10 +464,7 @@ body { } } src { - end_column: 47 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } variadic: true @@ -541,8 +490,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -550,29 +501,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: "A" } } src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } } src { - end_column: 44 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } to { @@ -588,10 +530,7 @@ body { } } src { - end_column: 45 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } variadic: true @@ -617,8 +556,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -626,29 +567,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: "A" } } src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } } src { - end_column: 45 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } to { @@ -664,10 +596,7 @@ body { } } src { - end_column: 46 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 39 } variadic: true @@ -693,8 +622,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -702,29 +633,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } v: "A" } } src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } } } src { - end_column: 47 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } to { @@ -740,10 +662,7 @@ body { } } src { - end_column: 48 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } variadic: true @@ -769,8 +688,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -778,29 +699,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } v: "A" } } src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } } } src { - end_column: 44 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } to { @@ -816,10 +728,7 @@ body { } } src { - end_column: 45 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 43 } variadic: true @@ -845,8 +754,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -854,29 +765,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } v: "A" } } src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } } } src { - end_column: 45 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } to { @@ -892,10 +794,7 @@ body { } } src { - end_column: 46 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 45 } variadic: true @@ -921,8 +820,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -930,29 +831,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } v: "A" } } src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } } } src { - end_column: 46 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } to { @@ -968,10 +860,7 @@ body { } } src { - end_column: 47 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } variadic: true @@ -997,8 +886,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1006,29 +897,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } v: "A" } } src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } } } src { - end_column: 49 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } to { @@ -1048,10 +930,7 @@ body { } } src { - end_column: 50 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } variadic: true @@ -1077,8 +956,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1086,29 +967,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } v: "A" } } src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } } } src { - end_column: 44 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } to { @@ -1124,10 +996,7 @@ body { } } src { - end_column: 45 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 51 } variadic: true @@ -1153,8 +1022,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1162,29 +1033,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } v: "A" } } src { - end_column: 31 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } } } src { - end_column: 45 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } to { @@ -1207,10 +1069,7 @@ body { } } src { - end_column: 46 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } variadic: true @@ -1236,8 +1095,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1245,29 +1106,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } v: "A" } } src { - end_column: 31 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } } } src { - end_column: 43 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } to { @@ -1296,10 +1148,7 @@ body { } } src { - end_column: 44 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } variadic: true @@ -1325,8 +1174,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1334,29 +1185,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } v: "A" } } src { - end_column: 31 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } } } src { - end_column: 59 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } to { @@ -1377,10 +1219,7 @@ body { } } src { - end_column: 60 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 57 } variadic: true @@ -1406,8 +1245,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1415,29 +1256,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } v: "A" } } src { - end_column: 31 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } } } src { - end_column: 46 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } to { @@ -1454,10 +1286,7 @@ body { } } src { - end_column: 47 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 59 } variadic: true @@ -1483,8 +1312,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1492,29 +1323,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } v: "A" } } src { - end_column: 31 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } } } src { - end_column: 47 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } to { @@ -1530,10 +1352,7 @@ body { } } src { - end_column: 48 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 61 } variadic: true @@ -1559,8 +1378,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1568,29 +1389,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } v: "A" } } src { - end_column: 31 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } } } src { - end_column: 49 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } to { @@ -1606,10 +1418,7 @@ body { } } src { - end_column: 50 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 63 } variadic: true @@ -1635,8 +1444,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1644,29 +1455,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } v: "A" } } src { - end_column: 31 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } } } src { - end_column: 48 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } to { @@ -1682,10 +1484,7 @@ body { } } src { - end_column: 49 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 65 } variadic: true @@ -1711,8 +1510,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1720,29 +1521,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } v: "A" } } src { - end_column: 31 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } } } src { - end_column: 43 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } to { @@ -1758,10 +1550,7 @@ body { } } src { - end_column: 44 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 67 } variadic: true @@ -1787,8 +1576,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1796,29 +1587,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } v: "A" } } src { - end_column: 31 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } } } src { - end_column: 48 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } to { @@ -1834,10 +1616,7 @@ body { } } src { - end_column: 49 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 69 } variadic: true @@ -1863,8 +1642,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1872,29 +1653,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } v: "A" } } src { - end_column: 31 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } } } src { - end_column: 47 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } to { @@ -1910,10 +1682,7 @@ body { } } src { - end_column: 48 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 71 } variadic: true @@ -1939,8 +1708,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1948,29 +1719,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } v: "A" } } src { - end_column: 31 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } } } src { - end_column: 46 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } to { @@ -1986,10 +1748,7 @@ body { } } src { - end_column: 47 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 73 } variadic: true @@ -2015,8 +1774,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2024,29 +1785,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } v: "A" } } src { - end_column: 31 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } } } src { - end_column: 46 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } to { @@ -2064,10 +1816,7 @@ body { } } src { - end_column: 47 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 75 } variadic: true @@ -2093,8 +1842,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2102,29 +1853,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } v: "A" } } src { - end_column: 31 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } } } src { - end_column: 47 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } to { @@ -2142,10 +1884,7 @@ body { } } src { - end_column: 48 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 77 } variadic: true @@ -2171,8 +1910,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2180,29 +1921,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } v: "A" } } src { - end_column: 31 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } } } src { - end_column: 46 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } to { @@ -2231,10 +1963,7 @@ body { } } src { - end_column: 47 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 79 } variadic: true diff --git a/tests/ast/data/col_cast_coll.test b/tests/ast/data/col_cast_coll.test index e177bafcaff..a4e3baad7f4 100644 --- a/tests/ast/data/col_cast_coll.test +++ b/tests/ast/data/col_cast_coll.test @@ -50,15 +50,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -86,8 +85,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -95,29 +96,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } } src { - end_column: 50 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } to { @@ -137,10 +129,7 @@ body { } } src { - end_column: 51 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -166,8 +155,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -175,29 +166,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } } src { - end_column: 74 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } to { @@ -217,10 +199,7 @@ body { } } src { - end_column: 75 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -246,8 +225,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -255,29 +236,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } } src { - end_column: 74 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } to { @@ -297,10 +269,7 @@ body { } } src { - end_column: 75 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -326,8 +295,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -335,29 +306,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "A" } } src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } } src { - end_column: 73 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } to { @@ -377,10 +339,7 @@ body { } } src { - end_column: 74 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true @@ -406,8 +365,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -415,29 +376,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } v: "A" } } src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } } src { - end_column: 80 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } to { @@ -458,10 +410,7 @@ body { } } src { - end_column: 81 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } variadic: true @@ -487,8 +436,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -496,29 +447,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: "A" } } src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } } src { - end_column: 94 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } to { @@ -542,10 +484,7 @@ body { } } src { - end_column: 95 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } variadic: true @@ -571,8 +510,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -580,29 +521,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: "A" } } src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } } src { - end_column: 57 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } to { @@ -623,10 +555,7 @@ body { } } src { - end_column: 58 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 39 } variadic: true @@ -652,8 +581,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -661,29 +592,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } v: "A" } } src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } } } src { - end_column: 28 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } to { @@ -758,10 +680,7 @@ body { } } src { - end_column: 29 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } variadic: true diff --git a/tests/ast/data/col_desc.test b/tests/ast/data/col_desc.test index 97d30879d23..fd16d746224 100644 --- a/tests/ast/data/col_desc.test +++ b/tests/ast/data/col_desc.test @@ -25,15 +25,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -61,8 +60,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -70,20 +71,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -92,10 +87,7 @@ body { sp_null_order_default: true } src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -108,10 +100,7 @@ body { } } src { - end_column: 39 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -137,8 +126,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -146,20 +137,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -168,10 +153,7 @@ body { sp_null_order_nulls_first: true } src { - end_column: 50 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -184,10 +166,7 @@ body { } } src { - end_column: 51 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -213,8 +192,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -222,20 +203,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -244,10 +219,7 @@ body { sp_null_order_nulls_last: true } src { - end_column: 49 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -260,10 +232,7 @@ body { } } src { - end_column: 50 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true diff --git a/tests/ast/data/col_getitem.test b/tests/ast/data/col_getitem.test index cfd832481fc..b9361f9782b 100644 --- a/tests/ast/data/col_getitem.test +++ b/tests/ast/data/col_getitem.test @@ -18,15 +18,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -54,8 +53,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -63,30 +64,21 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } } idx: 2 src { - end_column: 34 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -98,8 +90,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -107,30 +101,21 @@ body { pos_args { string_val { src { - end_column: 44 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 27 } v: "B" } } src { - end_column: 44 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 27 } } } field: "test" src { - end_column: 52 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 27 } } @@ -143,10 +128,7 @@ body { } } src { - end_column: 53 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true diff --git a/tests/ast/data/col_in_.test b/tests/ast/data/col_in_.test index 9fee6e2f51d..89b789172c8 100644 --- a/tests/ast/data/col_in_.test +++ b/tests/ast/data/col_in_.test @@ -25,15 +25,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -61,8 +60,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -70,20 +71,14 @@ body { pos_args { string_val { src { - end_column: 33 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "NUM" } } src { - end_column: 33 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -91,10 +86,7 @@ body { values { int64_val { src { - end_column: 46 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: 1 @@ -103,10 +95,7 @@ body { values { int64_val { src { - end_column: 46 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: 2 @@ -115,10 +104,7 @@ body { values { int64_val { src { - end_column: 46 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: 3 @@ -134,10 +120,7 @@ body { } } src { - end_column: 47 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -163,8 +146,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -172,20 +157,14 @@ body { pos_args { string_val { src { - end_column: 33 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "NUM" } } src { - end_column: 33 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -207,10 +186,7 @@ body { } } src { - end_column: 42 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -236,8 +212,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -245,20 +223,14 @@ body { pos_args { string_val { src { - end_column: 33 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "NUM" } } src { - end_column: 33 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -266,19 +238,13 @@ body { values { list_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } vs { int64_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: 1 @@ -287,10 +253,7 @@ body { vs { int64_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: 2 @@ -299,10 +262,7 @@ body { vs { int64_val { src { - end_column: 48 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: 3 @@ -320,10 +280,7 @@ body { } } src { - end_column: 49 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true diff --git a/tests/ast/data/col_literal.test b/tests/ast/data/col_literal.test index eeb5fb1f308..d3b8077fee0 100644 --- a/tests/ast/data/col_literal.test +++ b/tests/ast/data/col_literal.test @@ -158,15 +158,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variant { @@ -194,8 +193,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -203,20 +204,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -224,19 +219,13 @@ body { rhs { null_val { src { - end_column: 38 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } } src { - end_column: 38 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -249,10 +238,7 @@ body { } } src { - end_column: 39 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -278,8 +264,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -287,20 +275,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "A" } } src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -308,20 +290,14 @@ body { rhs { bool_val { src { - end_column: 38 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: true } } src { - end_column: 38 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -334,10 +310,7 @@ body { } } src { - end_column: 39 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true @@ -363,8 +336,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -372,20 +347,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } v: "A" } } src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -393,19 +362,13 @@ body { rhs { bool_val { src { - end_column: 39 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } } src { - end_column: 39 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -418,10 +381,7 @@ body { } } src { - end_column: 40 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } variadic: true @@ -447,8 +407,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -456,20 +418,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: "A" } } src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } @@ -477,20 +433,14 @@ body { rhs { int64_val { src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: 42 } } src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } @@ -503,10 +453,7 @@ body { } } src { - end_column: 37 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } variadic: true @@ -532,8 +479,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -541,20 +490,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: "A" } } src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } @@ -562,20 +505,14 @@ body { rhs { float64_val { src { - end_column: 39 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: 42.24 } } src { - end_column: 39 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } @@ -588,10 +525,7 @@ body { } } src { - end_column: 40 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 39 } variadic: true @@ -617,8 +551,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -626,20 +562,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } v: "A" } } src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } } @@ -647,20 +577,14 @@ body { rhs { string_val { src { - end_column: 40 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } v: "test" } } src { - end_column: 40 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } } @@ -673,10 +597,7 @@ body { } } src { - end_column: 41 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } variadic: true @@ -702,8 +623,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -711,20 +634,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } v: "A" } } src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } } @@ -732,20 +649,14 @@ body { rhs { binary_val { src { - end_column: 60 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } v: "test" } } src { - end_column: 60 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } } @@ -758,10 +669,7 @@ body { } } src { - end_column: 61 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 43 } variadic: true @@ -787,8 +695,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -796,20 +706,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } v: "A" } } src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } } @@ -817,20 +721,14 @@ body { rhs { binary_val { src { - end_column: 56 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } v: "test" } } src { - end_column: 56 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } } @@ -843,10 +741,7 @@ body { } } src { - end_column: 57 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 45 } variadic: true @@ -872,8 +767,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -881,20 +778,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } v: "A" } } src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } } @@ -908,10 +799,7 @@ body { month: 6 second: 33 src { - end_column: 83 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } tz { @@ -924,10 +812,7 @@ body { } } src { - end_column: 83 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } } @@ -940,10 +825,7 @@ body { } } src { - end_column: 84 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } variadic: true @@ -969,8 +851,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -978,20 +862,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } v: "A" } } src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } } @@ -1005,10 +883,7 @@ body { month: 6 second: 33 src { - end_column: 156 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } tz { @@ -1021,10 +896,7 @@ body { } } src { - end_column: 156 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } } @@ -1037,10 +909,7 @@ body { } } src { - end_column: 157 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } variadic: true @@ -1066,8 +935,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1075,20 +946,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } v: "A" } } src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } } @@ -1102,10 +967,7 @@ body { month: 6 second: 33 src { - end_column: 145 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } tz { @@ -1118,10 +980,7 @@ body { } } src { - end_column: 145 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } } @@ -1134,10 +993,7 @@ body { } } src { - end_column: 146 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 51 } variadic: true @@ -1163,8 +1019,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1172,20 +1030,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } v: "A" } } src { - end_column: 31 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } } @@ -1195,20 +1047,14 @@ body { day: 7 month: 6 src { - end_column: 59 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } year: 2024 } } src { - end_column: 59 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } } @@ -1221,10 +1067,7 @@ body { } } src { - end_column: 60 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } variadic: true @@ -1250,8 +1093,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1259,20 +1104,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } v: "A" } } src { - end_column: 31 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } } @@ -1284,10 +1123,7 @@ body { minute: 42 second: 23 src { - end_column: 66 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } tz { @@ -1299,10 +1135,7 @@ body { } } src { - end_column: 66 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } } @@ -1315,10 +1148,7 @@ body { } } src { - end_column: 67 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } variadic: true @@ -1344,8 +1174,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1353,20 +1185,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } v: "A" } } src { - end_column: 31 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } } @@ -1378,10 +1204,7 @@ body { minute: 42 second: 23 src { - end_column: 139 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } tz { @@ -1393,10 +1216,7 @@ body { } } src { - end_column: 139 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } } @@ -1409,10 +1229,7 @@ body { } } src { - end_column: 140 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 57 } variadic: true @@ -1438,8 +1255,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1447,20 +1266,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } v: "A" } } src { - end_column: 31 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } } @@ -1472,10 +1285,7 @@ body { minute: 42 second: 23 src { - end_column: 128 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } tz { @@ -1487,10 +1297,7 @@ body { } } src { - end_column: 128 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } } @@ -1503,10 +1310,7 @@ body { } } src { - end_column: 129 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 59 } variadic: true @@ -1532,8 +1336,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1541,20 +1347,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } v: "A" } } src { - end_column: 31 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } } @@ -1562,20 +1362,14 @@ body { rhs { float64_val { src { - end_column: 42 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } v: inf } } src { - end_column: 42 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } } @@ -1588,10 +1382,7 @@ body { } } src { - end_column: 43 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 61 } variadic: true @@ -1617,8 +1408,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1626,20 +1419,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } v: "A" } } src { - end_column: 31 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } } @@ -1647,20 +1434,14 @@ body { rhs { float64_val { src { - end_column: 42 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } v: inf } } src { - end_column: 42 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } } @@ -1673,10 +1454,7 @@ body { } } src { - end_column: 43 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 63 } variadic: true @@ -1702,8 +1480,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1711,20 +1491,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } v: "A" } } src { - end_column: 31 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } } @@ -1732,20 +1506,14 @@ body { rhs { float64_val { src { - end_column: 42 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } v: nan } } src { - end_column: 42 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } } @@ -1758,10 +1526,7 @@ body { } } src { - end_column: 43 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 65 } variadic: true @@ -1787,8 +1552,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1796,20 +1563,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } v: "A" } } src { - end_column: 31 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } } @@ -1817,20 +1578,14 @@ body { rhs { float64_val { src { - end_column: 46 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } v: inf } } src { - end_column: 46 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } } @@ -1843,10 +1598,7 @@ body { } } src { - end_column: 47 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 67 } variadic: true @@ -1872,8 +1624,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1881,20 +1635,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } v: "A" } } src { - end_column: 31 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } } @@ -1902,20 +1650,14 @@ body { rhs { float64_val { src { - end_column: 47 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } v: -inf } } src { - end_column: 47 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } } @@ -1928,10 +1670,7 @@ body { } } src { - end_column: 48 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 69 } variadic: true @@ -1957,8 +1696,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1966,20 +1707,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } v: "A" } } src { - end_column: 31 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } } @@ -1987,20 +1722,14 @@ body { rhs { float64_val { src { - end_column: 46 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } v: nan } } src { - end_column: 46 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } } @@ -2013,10 +1742,7 @@ body { } } src { - end_column: 47 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 71 } variadic: true @@ -2042,8 +1768,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2051,20 +1779,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } v: "A" } } src { - end_column: 31 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } } @@ -2073,20 +1795,14 @@ body { big_decimal_val { scale: -6 src { - end_column: 66 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } unscaled_value: "]\361\271\260\255" } } src { - end_column: 66 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } } @@ -2099,10 +1815,7 @@ body { } } src { - end_column: 67 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 73 } variadic: true @@ -2128,8 +1841,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2137,20 +1852,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } v: "A" } } src { - end_column: 31 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } } @@ -2159,20 +1868,14 @@ body { big_decimal_val { scale: -6 src { - end_column: 67 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } unscaled_value: "\242\016FOS" } } src { - end_column: 67 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } } @@ -2185,10 +1888,7 @@ body { } } src { - end_column: 68 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 75 } variadic: true @@ -2214,8 +1914,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2223,20 +1925,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } v: "A" } } src { - end_column: 31 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } } @@ -2244,20 +1940,14 @@ body { rhs { big_decimal_val { src { - end_column: 57 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } unscaled_value: "\006(\037" } } src { - end_column: 57 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } } @@ -2270,10 +1960,7 @@ body { } } src { - end_column: 58 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 77 } variadic: true @@ -2299,8 +1986,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2308,20 +1997,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } v: "A" } } src { - end_column: 31 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } } @@ -2329,20 +2012,14 @@ body { rhs { big_decimal_val { src { - end_column: 60 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } unscaled_value: "\030\014\271\030" } } src { - end_column: 60 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } } @@ -2355,10 +2032,7 @@ body { } } src { - end_column: 61 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 79 } variadic: true @@ -2384,8 +2058,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2393,20 +2069,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 81 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 81 } v: "A" } } src { - end_column: 31 - end_line: 81 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 81 } } @@ -2414,20 +2084,14 @@ body { rhs { big_decimal_val { src { - end_column: 60 - end_line: 81 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 81 } unscaled_value: "\030\014\271\030" } } src { - end_column: 60 - end_line: 81 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 81 } } @@ -2440,10 +2104,7 @@ body { } } src { - end_column: 61 - end_line: 81 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 81 } variadic: true @@ -2469,8 +2130,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2478,20 +2141,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 83 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 83 } v: "A" } } src { - end_column: 31 - end_line: 83 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 83 } } @@ -2502,19 +2159,13 @@ body { value: "+F" } src { - end_column: 61 - end_line: 83 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 83 } } } src { - end_column: 61 - end_line: 83 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 83 } } @@ -2527,10 +2178,7 @@ body { } } src { - end_column: 62 - end_line: 83 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 83 } variadic: true @@ -2556,8 +2204,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2565,20 +2215,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 85 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 85 } v: "A" } } src { - end_column: 31 - end_line: 85 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 85 } } @@ -2589,19 +2233,13 @@ body { value: "-F" } src { - end_column: 62 - end_line: 85 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 85 } } } src { - end_column: 62 - end_line: 85 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 85 } } @@ -2614,10 +2252,7 @@ body { } } src { - end_column: 63 - end_line: 85 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 85 } variadic: true @@ -2643,8 +2278,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2652,20 +2289,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 87 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 87 } v: "A" } } src { - end_column: 31 - end_line: 87 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 87 } } @@ -2676,19 +2307,13 @@ body { value: "+n" } src { - end_column: 56 - end_line: 87 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 87 } } } src { - end_column: 56 - end_line: 87 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 87 } } @@ -2701,10 +2326,7 @@ body { } } src { - end_column: 57 - end_line: 87 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 87 } variadic: true @@ -2730,8 +2352,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2739,20 +2363,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 89 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 89 } v: "A" } } src { - end_column: 31 - end_line: 89 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 89 } } @@ -2763,19 +2381,13 @@ body { value: "-n" } src { - end_column: 57 - end_line: 89 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 89 } } } src { - end_column: 57 - end_line: 89 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 89 } } @@ -2788,10 +2400,7 @@ body { } } src { - end_column: 58 - end_line: 89 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 89 } variadic: true @@ -2817,8 +2426,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2826,20 +2437,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 91 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 91 } v: "A" } } src { - end_column: 31 - end_line: 91 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 91 } } @@ -2850,19 +2455,13 @@ body { value: "+N" } src { - end_column: 57 - end_line: 91 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 91 } } } src { - end_column: 57 - end_line: 91 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 91 } } @@ -2875,10 +2474,7 @@ body { } } src { - end_column: 58 - end_line: 91 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } variadic: true @@ -2904,8 +2500,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2913,20 +2511,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 93 } v: "A" } } src { - end_column: 31 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 93 } } @@ -2937,19 +2529,13 @@ body { value: "-N" } src { - end_column: 58 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 93 } } } src { - end_column: 58 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 93 } } @@ -2962,10 +2548,7 @@ body { } } src { - end_column: 59 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 93 } variadic: true @@ -2991,8 +2574,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -3000,20 +2585,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } v: "A" } } src { - end_column: 31 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } } @@ -3024,10 +2603,7 @@ body { vs { int64_val { src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } } @@ -3035,10 +2611,7 @@ body { vs { string_val { src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } v: "test" @@ -3049,10 +2622,7 @@ body { vs { float64_val { src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } v: 42.24 @@ -3061,10 +2631,7 @@ body { vs { null_val { src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } } @@ -3074,10 +2641,7 @@ body { vs { string_val { src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } v: "hello" @@ -3086,10 +2650,7 @@ body { vs { binary_val { src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } v: "test" @@ -3100,10 +2661,7 @@ body { vs { bool_val { src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } v: true @@ -3113,10 +2671,7 @@ body { big_decimal_val { scale: -6 src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } unscaled_value: "\242\016FOS" @@ -3127,10 +2682,7 @@ body { vs { null_val { src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } } @@ -3140,10 +2692,7 @@ body { day: 7 month: 6 src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } year: 2024 @@ -3151,19 +2700,13 @@ body { } } src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } } } src { - end_column: 165 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 95 } } @@ -3176,10 +2719,7 @@ body { } } src { - end_column: 166 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 95 } variadic: true @@ -3205,8 +2745,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -3214,20 +2756,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } v: "A" } } src { - end_column: 31 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } } @@ -3235,28 +2771,19 @@ body { rhs { list_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } vs { tuple_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } vs { int64_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } } @@ -3264,10 +2791,7 @@ body { vs { string_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } v: "test" @@ -3276,10 +2800,7 @@ body { vs { float64_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } v: 42.24 @@ -3290,10 +2811,7 @@ body { vs { null_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } } @@ -3301,10 +2819,7 @@ body { vs { string_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } v: "hello" @@ -3313,10 +2828,7 @@ body { vs { binary_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } v: "test" @@ -3328,10 +2840,7 @@ body { vs { bool_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } v: true @@ -3341,10 +2850,7 @@ body { big_decimal_val { scale: -6 src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } unscaled_value: "\242\016FOS" @@ -3355,10 +2861,7 @@ body { vs { null_val { src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } } @@ -3368,10 +2871,7 @@ body { day: 7 month: 6 src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } year: 2024 @@ -3379,10 +2879,7 @@ body { } } src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } } @@ -3390,10 +2887,7 @@ body { } } src { - end_column: 169 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 97 } } @@ -3406,10 +2900,7 @@ body { } } src { - end_column: 170 - end_line: 97 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 97 } variadic: true @@ -3435,8 +2926,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -3444,20 +2937,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } v: "A" } } src { - end_column: 31 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } } @@ -3465,19 +2952,13 @@ body { rhs { tuple_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } vs { int64_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } } @@ -3485,19 +2966,13 @@ body { vs { tuple_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } vs { string_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } v: "test" @@ -3506,10 +2981,7 @@ body { vs { float64_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } v: 42.24 @@ -3521,10 +2993,7 @@ body { vs { null_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } } @@ -3532,19 +3001,13 @@ body { vs { tuple_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } vs { string_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } v: "hello" @@ -3553,10 +3016,7 @@ body { vs { binary_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } v: "test" @@ -3566,10 +3026,7 @@ body { } } src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } } @@ -3579,19 +3036,13 @@ body { vs { list_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } vs { bool_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } v: true @@ -3601,10 +3052,7 @@ body { big_decimal_val { scale: -6 src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } unscaled_value: "\242\016FOS" @@ -3616,10 +3064,7 @@ body { vs { null_val { src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } } @@ -3629,10 +3074,7 @@ body { day: 7 month: 6 src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } year: 2024 @@ -3640,10 +3082,7 @@ body { } } src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } } @@ -3653,10 +3092,7 @@ body { } } src { - end_column: 175 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 99 } } @@ -3669,10 +3105,7 @@ body { } } src { - end_column: 176 - end_line: 99 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 99 } variadic: true diff --git a/tests/ast/data/col_null_nan.test b/tests/ast/data/col_null_nan.test index b6d6e58ca28..71f6f497016 100644 --- a/tests/ast/data/col_null_nan.test +++ b/tests/ast/data/col_null_nan.test @@ -30,15 +30,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -66,8 +65,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -75,20 +76,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -98,8 +93,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -107,29 +104,20 @@ body { pos_args { string_val { src { - end_column: 51 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 27 } v: "B" } } src { - end_column: 51 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 27 } } } src { - end_column: 52 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -142,10 +130,7 @@ body { } } src { - end_column: 53 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -171,8 +156,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -180,29 +167,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } } src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -215,10 +193,7 @@ body { } } src { - end_column: 44 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -244,8 +219,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -253,29 +230,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } } src { - end_column: 41 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -288,10 +256,7 @@ body { } } src { - end_column: 42 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -317,8 +282,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -326,29 +293,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "A" } } src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } } src { - end_column: 45 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -361,10 +319,7 @@ body { } } src { - end_column: 46 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true diff --git a/tests/ast/data/col_rbinops.test b/tests/ast/data/col_rbinops.test index df979444eee..381bb8e622e 100644 --- a/tests/ast/data/col_rbinops.test +++ b/tests/ast/data/col_rbinops.test @@ -46,15 +46,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -80,10 +79,7 @@ body { lhs { int64_val { src { - end_column: 36 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: 42 @@ -94,8 +90,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -103,29 +101,20 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 27 } v: "B" } } src { - end_column: 36 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 27 } } } src { - end_column: 36 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -138,10 +127,7 @@ body { } } src { - end_column: 37 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -165,10 +151,7 @@ body { lhs { int64_val { src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: 42 @@ -179,8 +162,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -188,29 +173,20 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } v: "B" } } src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 29 } } } src { - end_column: 36 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -223,10 +199,7 @@ body { } } src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -250,10 +223,7 @@ body { lhs { int64_val { src { - end_column: 36 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: 42 @@ -264,8 +234,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -273,29 +245,20 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 31 } v: "B" } } src { - end_column: 36 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 31 } } } src { - end_column: 36 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -308,10 +271,7 @@ body { } } src { - end_column: 37 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -335,10 +295,7 @@ body { lhs { int64_val { src { - end_column: 36 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: 42 @@ -349,8 +306,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -358,29 +317,20 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 33 } v: "B" } } src { - end_column: 36 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 33 } } } src { - end_column: 36 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } @@ -393,10 +343,7 @@ body { } } src { - end_column: 37 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true @@ -420,10 +367,7 @@ body { lhs { int64_val { src { - end_column: 36 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } v: 42 @@ -434,8 +378,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -443,29 +389,20 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 35 } v: "B" } } src { - end_column: 36 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 35 } } } src { - end_column: 36 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -478,10 +415,7 @@ body { } } src { - end_column: 37 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } variadic: true @@ -505,10 +439,7 @@ body { lhs { int64_val { src { - end_column: 37 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: 42 @@ -519,8 +450,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -528,29 +461,20 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 37 } v: "B" } } src { - end_column: 37 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 37 } } } src { - end_column: 37 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } @@ -563,10 +487,7 @@ body { } } src { - end_column: 38 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } variadic: true @@ -590,10 +511,7 @@ body { lhs { int64_val { src { - end_column: 36 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: 42 @@ -604,8 +522,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -613,29 +533,20 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 39 } v: "B" } } src { - end_column: 36 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 39 } } } src { - end_column: 36 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } @@ -648,10 +559,7 @@ body { } } src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 39 } variadic: true @@ -675,10 +583,7 @@ body { lhs { int64_val { src { - end_column: 36 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } v: 42 @@ -689,8 +594,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -698,29 +605,20 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 41 } v: "B" } } src { - end_column: 36 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 41 } } } src { - end_column: 36 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } } @@ -733,10 +631,7 @@ body { } } src { - end_column: 37 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } variadic: true diff --git a/tests/ast/data/col_star.test b/tests/ast/data/col_star.test index 30f8ccab0ad..e9e03d88ef0 100644 --- a/tests/ast/data/col_star.test +++ b/tests/ast/data/col_star.test @@ -18,15 +18,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -51,10 +50,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -67,10 +63,7 @@ body { } } src { - end_column: 32 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true diff --git a/tests/ast/data/col_string.test b/tests/ast/data/col_string.test index f24483d46d7..4a70c3d1b5b 100644 --- a/tests/ast/data/col_string.test +++ b/tests/ast/data/col_string.test @@ -42,15 +42,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -78,8 +77,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -87,20 +88,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -108,20 +103,14 @@ body { pattern { string_val { src { - end_column: 44 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "test" } } src { - end_column: 44 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -134,10 +123,7 @@ body { } } src { - end_column: 45 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -163,8 +149,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -172,20 +160,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -193,20 +175,14 @@ body { pattern { string_val { src { - end_column: 46 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "test" } } src { - end_column: 46 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -219,10 +195,7 @@ body { } } src { - end_column: 47 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -248,8 +221,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -257,20 +232,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -278,20 +247,14 @@ body { prefix { string_val { src { - end_column: 50 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "test" } } src { - end_column: 50 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -304,10 +267,7 @@ body { } } src { - end_column: 51 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -333,8 +293,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -342,38 +304,26 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "A" } } src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } suffix { string_val { src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "test" @@ -389,10 +339,7 @@ body { } } src { - end_column: 49 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true @@ -418,8 +365,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -427,20 +376,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } v: "A" } } src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -450,8 +393,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -459,20 +404,14 @@ body { pos_args { string_val { src { - end_column: 57 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 49 start_line: 35 } v: "C" } } src { - end_column: 57 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 49 start_line: 35 } } @@ -482,8 +421,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -491,29 +432,20 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 35 } v: "B" } } src { - end_column: 47 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 39 start_line: 35 } } } src { - end_column: 58 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } @@ -526,10 +458,7 @@ body { } } src { - end_column: 59 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } variadic: true @@ -555,8 +484,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -564,20 +495,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: "A" } } src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } @@ -585,20 +510,14 @@ body { collation_spec { string_val { src { - end_column: 47 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: "test" } } src { - end_column: 47 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } @@ -611,10 +530,7 @@ body { } } src { - end_column: 48 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } variadic: true @@ -640,8 +556,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -649,20 +567,14 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: "A" } } src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } @@ -670,20 +582,14 @@ body { pattern { string_val { src { - end_column: 48 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: "test" } } src { - end_column: 48 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } @@ -696,10 +602,7 @@ body { } } src { - end_column: 49 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 39 } variadic: true diff --git a/tests/ast/data/col_try_cast.test b/tests/ast/data/col_try_cast.test index f08d7d65a8d..38325f9b923 100644 --- a/tests/ast/data/col_try_cast.test +++ b/tests/ast/data/col_try_cast.test @@ -122,15 +122,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -158,8 +157,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -167,29 +168,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } v: "A" } } src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } } src { - end_column: 48 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } to { @@ -205,10 +197,7 @@ body { } } src { - end_column: 49 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -234,8 +223,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -243,29 +234,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } v: "A" } } src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } } src { - end_column: 50 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } to { @@ -281,10 +263,7 @@ body { } } src { - end_column: 51 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -310,8 +289,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -319,29 +300,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "A" } } src { - end_column: 31 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } } src { - end_column: 51 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } to { @@ -357,10 +329,7 @@ body { } } src { - end_column: 52 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -386,8 +355,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -395,29 +366,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } v: "A" } } src { - end_column: 31 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } } } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 33 } to { @@ -433,10 +395,7 @@ body { } } src { - end_column: 49 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } variadic: true @@ -462,8 +421,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -471,29 +432,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } v: "A" } } src { - end_column: 31 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } } } src { - end_column: 50 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 35 } to { @@ -512,10 +464,7 @@ body { } } src { - end_column: 51 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } variadic: true @@ -541,8 +490,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -550,29 +501,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } v: "A" } } src { - end_column: 31 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } } } src { - end_column: 48 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 37 } to { @@ -588,10 +530,7 @@ body { } } src { - end_column: 49 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } variadic: true @@ -617,8 +556,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -626,29 +567,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } v: "A" } } src { - end_column: 31 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } } } src { - end_column: 49 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 39 } to { @@ -664,10 +596,7 @@ body { } } src { - end_column: 50 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 39 } variadic: true @@ -693,8 +622,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -702,29 +633,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } v: "A" } } src { - end_column: 31 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } } } src { - end_column: 51 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 41 } to { @@ -740,10 +662,7 @@ body { } } src { - end_column: 52 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 41 } variadic: true @@ -769,8 +688,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -778,29 +699,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } v: "A" } } src { - end_column: 31 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } } } src { - end_column: 48 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 43 } to { @@ -816,10 +728,7 @@ body { } } src { - end_column: 49 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 43 } variadic: true @@ -845,8 +754,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -854,29 +765,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } v: "A" } } src { - end_column: 31 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } } } src { - end_column: 49 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 45 } to { @@ -892,10 +794,7 @@ body { } } src { - end_column: 50 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 45 } variadic: true @@ -921,8 +820,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -930,29 +831,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } v: "A" } } src { - end_column: 31 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } } } src { - end_column: 50 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 47 } to { @@ -968,10 +860,7 @@ body { } } src { - end_column: 51 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 47 } variadic: true @@ -997,8 +886,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1006,29 +897,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } v: "A" } } src { - end_column: 31 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } } } src { - end_column: 53 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 49 } to { @@ -1048,10 +930,7 @@ body { } } src { - end_column: 54 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 49 } variadic: true @@ -1077,8 +956,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1086,29 +967,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } v: "A" } } src { - end_column: 31 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } } } src { - end_column: 48 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 51 } to { @@ -1124,10 +996,7 @@ body { } } src { - end_column: 49 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 51 } variadic: true @@ -1153,8 +1022,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1162,29 +1033,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } v: "A" } } src { - end_column: 31 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } } } src { - end_column: 49 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 53 } to { @@ -1207,10 +1069,7 @@ body { } } src { - end_column: 50 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } variadic: true @@ -1236,8 +1095,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1245,29 +1106,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } v: "A" } } src { - end_column: 31 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } } } src { - end_column: 47 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 55 } to { @@ -1296,10 +1148,7 @@ body { } } src { - end_column: 48 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } variadic: true @@ -1325,8 +1174,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1334,29 +1185,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } v: "A" } } src { - end_column: 31 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } } } src { - end_column: 63 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 57 } to { @@ -1377,10 +1219,7 @@ body { } } src { - end_column: 64 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 57 } variadic: true @@ -1406,8 +1245,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1415,29 +1256,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } v: "A" } } src { - end_column: 31 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } } } src { - end_column: 50 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 59 } to { @@ -1454,10 +1286,7 @@ body { } } src { - end_column: 51 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 59 } variadic: true @@ -1483,8 +1312,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1492,29 +1323,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } v: "A" } } src { - end_column: 31 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } } } src { - end_column: 51 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 61 } to { @@ -1530,10 +1352,7 @@ body { } } src { - end_column: 52 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 61 } variadic: true @@ -1559,8 +1378,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1568,29 +1389,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } v: "A" } } src { - end_column: 31 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } } } src { - end_column: 53 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 63 } to { @@ -1606,10 +1418,7 @@ body { } } src { - end_column: 54 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 63 } variadic: true @@ -1635,8 +1444,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1644,29 +1455,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } v: "A" } } src { - end_column: 31 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } } } src { - end_column: 52 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 65 } to { @@ -1682,10 +1484,7 @@ body { } } src { - end_column: 53 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 65 } variadic: true @@ -1711,8 +1510,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1720,29 +1521,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } v: "A" } } src { - end_column: 31 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } } } src { - end_column: 47 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 67 } to { @@ -1758,10 +1550,7 @@ body { } } src { - end_column: 48 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 67 } variadic: true @@ -1787,8 +1576,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1796,29 +1587,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } v: "A" } } src { - end_column: 31 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } } } src { - end_column: 52 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 69 } to { @@ -1834,10 +1616,7 @@ body { } } src { - end_column: 53 - end_line: 69 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 69 } variadic: true @@ -1863,8 +1642,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1872,29 +1653,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } v: "A" } } src { - end_column: 31 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } } } src { - end_column: 51 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 71 } to { @@ -1910,10 +1682,7 @@ body { } } src { - end_column: 52 - end_line: 71 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 71 } variadic: true @@ -1939,8 +1708,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1948,29 +1719,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } v: "A" } } src { - end_column: 31 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } } } src { - end_column: 50 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 73 } to { @@ -1986,10 +1748,7 @@ body { } } src { - end_column: 51 - end_line: 73 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 73 } variadic: true @@ -2015,8 +1774,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2024,29 +1785,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } v: "A" } } src { - end_column: 31 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } } } src { - end_column: 50 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 75 } to { @@ -2064,10 +1816,7 @@ body { } } src { - end_column: 51 - end_line: 75 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 75 } variadic: true @@ -2093,8 +1842,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2102,29 +1853,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } v: "A" } } src { - end_column: 31 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } } } src { - end_column: 51 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 77 } to { @@ -2142,10 +1884,7 @@ body { } } src { - end_column: 52 - end_line: 77 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 77 } variadic: true @@ -2171,8 +1910,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2180,29 +1921,20 @@ body { pos_args { string_val { src { - end_column: 31 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } v: "A" } } src { - end_column: 31 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } } } src { - end_column: 50 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 79 } to { @@ -2231,10 +1963,7 @@ body { } } src { - end_column: 51 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 79 } variadic: true diff --git a/tests/ast/data/col_udf.test b/tests/ast/data/col_udf.test index ca400f44ed8..5f4ed2d6814 100644 --- a/tests/ast/data/col_udf.test +++ b/tests/ast/data/col_udf.test @@ -58,8 +58,10 @@ body { func { name: "" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_FUNCTION_xxx\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_FUNCTION_xxx\"" + } } } } @@ -74,10 +76,7 @@ body { } source_code_display: true src { - end_column: 94 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 29 } } @@ -100,10 +99,7 @@ body { vs { int64_val { src { - end_column: 62 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 1 @@ -112,10 +108,7 @@ body { vs { int64_val { src { - end_column: 62 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 2 @@ -124,10 +117,7 @@ body { vs { int64_val { src { - end_column: 62 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } v: 3 @@ -141,10 +131,7 @@ body { } } src { - end_column: 62 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } } @@ -178,8 +165,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -187,29 +176,20 @@ body { pos_args { string_val { src { - end_column: 34 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 33 } v: "a" } } src { - end_column: 34 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 33 } } } src { - end_column: 35 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } } @@ -219,10 +199,7 @@ body { } name: "ans" src { - end_column: 46 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } } @@ -235,10 +212,7 @@ body { } } src { - end_column: 47 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } variadic: true @@ -262,10 +236,7 @@ body { bitfield1: 3 } src { - end_column: 57 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 33 } } @@ -294,8 +265,10 @@ body { id: 1 name: "" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"ADD_TWO\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"ADD_TWO\"" + } } } } @@ -305,8 +278,10 @@ body { } } name { - fn_name_flat { - name: "add_two" + name { + sp_name_flat { + name: "add_two" + } } } parallel: 4 @@ -316,10 +291,7 @@ body { } source_code_display: true src { - end_column: 124 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 37 } } @@ -344,8 +316,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "call_udf" + name { + sp_name_flat { + name: "call_udf" + } } } } @@ -353,10 +327,7 @@ body { pos_args { string_val { src { - end_column: 47 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 39 } v: "add_two" @@ -367,8 +338,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -376,29 +349,20 @@ body { pos_args { string_val { src { - end_column: 46 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 39 } v: "A" } } src { - end_column: 46 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 39 } } } src { - end_column: 47 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 39 } } @@ -408,10 +372,7 @@ body { } name: "a_Ans" src { - end_column: 60 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 39 } } @@ -424,10 +385,7 @@ body { } } src { - end_column: 61 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } variadic: true @@ -451,10 +409,7 @@ body { bitfield1: 7 } src { - end_column: 71 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } } @@ -487,15 +442,19 @@ body { id: 2 name: "" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"PARAM_UDF\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"PARAM_UDF\"" + } } } } immutable: true imports { - sp_table_name_flat { - name: "numpy" + name { + sp_name_flat { + name: "numpy" + } } } input_types { @@ -512,10 +471,7 @@ body { _2 { bool_val { src { - end_column: 83 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 41 } v: true @@ -526,8 +482,10 @@ body { value: 2 } name { - fn_name_flat { - name: "param_udf" + name { + sp_name_flat { + name: "param_udf" + } } } packages: "bla" @@ -546,10 +504,7 @@ body { } secure: true src { - end_column: 83 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 41 } stage_location: "@" @@ -577,16 +532,20 @@ body { id: 3 name: "" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"PARAM_UDF2\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"PARAM_UDF2\"" + } } } } if_not_exists: true immutable: true imports { - sp_table_name_flat { - name: "numpy" + name { + sp_name_flat { + name: "numpy" + } } } input_types { @@ -603,10 +562,7 @@ body { _2 { bool_val { src { - end_column: 84 - end_line: 52 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 48 } v: true @@ -617,8 +573,10 @@ body { value: 2 } name { - fn_name_flat { - name: "param_udf2" + name { + sp_name_flat { + name: "param_udf2" + } } } packages: "bla" @@ -636,10 +594,7 @@ body { } secure: true src { - end_column: 84 - end_line: 52 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 48 } stage_location: "@" @@ -673,8 +628,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -682,20 +639,14 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 54 } v: "A" } } src { - end_column: 36 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 54 } } @@ -705,8 +656,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -714,29 +667,20 @@ body { pos_args { string_val { src { - end_column: 46 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 54 } v: "A" } } src { - end_column: 46 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 54 } } } src { - end_column: 47 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 54 } } @@ -749,10 +693,7 @@ body { } } src { - end_column: 48 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 54 } variadic: true diff --git a/tests/ast/data/col_unary_ops.test b/tests/ast/data/col_unary_ops.test index 274b38655ce..7ce7f9f1b3b 100644 --- a/tests/ast/data/col_unary_ops.test +++ b/tests/ast/data/col_unary_ops.test @@ -22,15 +22,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -58,8 +57,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -67,29 +68,20 @@ body { pos_args { string_val { src { - end_column: 32 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 27 } v: "A" } } src { - end_column: 32 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 27 } } } src { - end_column: 32 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -102,10 +94,7 @@ body { } } src { - end_column: 33 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -131,8 +120,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -140,29 +131,20 @@ body { pos_args { string_val { src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 29 } v: "A" } } src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 29 } } } src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -175,10 +157,7 @@ body { } } src { - end_column: 33 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true diff --git a/tests/ast/data/df_alias.test b/tests/ast/data/df_alias.test index 67779141393..c93771aaf60 100644 --- a/tests/ast/data/df_alias.test +++ b/tests/ast/data/df_alias.test @@ -17,15 +17,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -55,10 +54,7 @@ body { } name: "new_name" src { - end_column: 33 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } } diff --git a/tests/ast/data/df_analytics_functions.test b/tests/ast/data/df_analytics_functions.test index ecdc1dfd84c..ea02ecff9a0 100644 --- a/tests/ast/data/df_analytics_functions.test +++ b/tests/ast/data/df_analytics_functions.test @@ -142,19 +142,13 @@ body { vs { list_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } vs { string_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "2023-01-01" @@ -163,10 +157,7 @@ body { vs { int64_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 101 @@ -175,10 +166,7 @@ body { vs { int64_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 200 @@ -189,19 +177,13 @@ body { vs { list_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } vs { string_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "2023-01-02" @@ -210,10 +192,7 @@ body { vs { int64_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 101 @@ -222,10 +201,7 @@ body { vs { int64_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 100 @@ -236,19 +212,13 @@ body { vs { list_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } vs { string_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "2023-01-03" @@ -257,10 +227,7 @@ body { vs { int64_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 101 @@ -269,10 +236,7 @@ body { vs { int64_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 300 @@ -283,19 +247,13 @@ body { vs { list_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } vs { string_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: "2023-01-04" @@ -304,10 +262,7 @@ body { vs { int64_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 102 @@ -316,10 +271,7 @@ body { vs { int64_val { src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } v: 250 @@ -330,10 +282,7 @@ body { } } src { - end_column: 43 - end_line: 32 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } } @@ -362,10 +311,7 @@ body { } } src { - end_column: 9 - end_line: 34 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 32 } variadic: true @@ -397,10 +343,7 @@ body { } } src { - end_column: 61 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 44 start_line: 36 } } @@ -408,20 +351,14 @@ body { rhs { int64_val { src { - end_column: 65 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 44 start_line: 36 } v: 2 } } src { - end_column: 65 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 44 start_line: 36 } } @@ -435,10 +372,7 @@ body { } } src { - end_column: 66 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 36 } } @@ -471,10 +405,7 @@ body { group_by: "PRODUCTKEY" order_by: "ORDERDATE" src { - end_column: 9 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 38 } window_sizes: 2 @@ -516,10 +447,7 @@ body { group_by: "PRODUCTKEY" order_by: "ORDERDATE" src { - end_column: 9 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 48 } window_sizes: 2 @@ -556,10 +484,7 @@ body { is_forward: true order_by: "ORDERDATE" src { - end_column: 9 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 29 start_line: 56 } } @@ -597,10 +522,7 @@ body { is_forward: true order_by: "ORDERDATE" src { - end_column: 9 - end_line: 72 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 66 } } @@ -621,10 +543,7 @@ body { cols { string_val { src { - end_column: 9 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 74 } v: "SALESAMOUNT" @@ -642,10 +561,7 @@ body { lags: 2 order_by: "ORDERDATE" src { - end_column: 9 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 26 start_line: 74 } } @@ -666,10 +582,7 @@ body { cols { string_val { src { - end_column: 9 - end_line: 87 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 81 } v: "SALESAMOUNT" @@ -689,10 +602,7 @@ body { lags: 2 order_by: "ORDERDATE" src { - end_column: 9 - end_line: 87 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 81 } } @@ -713,10 +623,7 @@ body { cols { string_val { src { - end_column: 9 - end_line: 94 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 89 } v: "SALESAMOUNT" @@ -734,10 +641,7 @@ body { leads: 2 order_by: "ORDERDATE" src { - end_column: 9 - end_line: 94 file: "SRC_POSITION_TEST_MODE" - start_column: 27 start_line: 89 } } @@ -758,10 +662,7 @@ body { cols { string_val { src { - end_column: 9 - end_line: 102 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 96 } v: "SALESAMOUNT" @@ -781,10 +682,7 @@ body { leads: 2 order_by: "ORDERDATE" src { - end_column: 9 - end_line: 102 file: "SRC_POSITION_TEST_MODE" - start_column: 28 start_line: 96 } } @@ -807,8 +705,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "to_timestamp" + name { + sp_name_flat { + name: "to_timestamp" + } } } } @@ -824,19 +724,13 @@ body { } } src { - end_column: 69 - end_line: 104 file: "SRC_POSITION_TEST_MODE" - start_column: 54 start_line: 104 } } } src { - end_column: 70 - end_line: 104 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 104 } } @@ -850,10 +744,7 @@ body { } } src { - end_column: 71 - end_line: 104 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 104 } } @@ -886,10 +777,7 @@ body { group_by: "PRODUCTKEY" sliding_interval: "12H" src { - end_column: 9 - end_line: 112 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 106 } time_col: "ORDERDATE" @@ -929,10 +817,7 @@ body { group_by: "PRODUCTKEY" sliding_interval: "12H" src { - end_column: 9 - end_line: 124 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 117 } time_col: "ORDERDATE" diff --git a/tests/ast/data/df_col.test b/tests/ast/data/df_col.test index d87e8e885fa..915c31f249a 100644 --- a/tests/ast/data/df_col.test +++ b/tests/ast/data/df_col.test @@ -18,15 +18,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -58,10 +57,7 @@ body { } } src { - end_column: 36 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -77,10 +73,7 @@ body { } } src { - end_column: 44 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 38 start_line: 27 } } @@ -96,10 +89,7 @@ body { } } src { - end_column: 55 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 46 start_line: 27 } } @@ -112,10 +102,7 @@ body { } } src { - end_column: 56 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true diff --git a/tests/ast/data/df_drop.test b/tests/ast/data/df_drop.test index 63bb867e551..e2e3b84bd8d 100644 --- a/tests/ast/data/df_drop.test +++ b/tests/ast/data/df_drop.test @@ -18,15 +18,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -53,8 +52,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -62,20 +63,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 27 } v: "A" } } src { - end_column: 29 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 27 } } @@ -90,10 +85,7 @@ body { } } src { - end_column: 30 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } } diff --git a/tests/ast/data/df_except.test b/tests/ast/data/df_except.test index 883dbb6a290..b894d163807 100644 --- a/tests/ast/data/df_except.test +++ b/tests/ast/data/df_except.test @@ -21,15 +21,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "df1" + name { + sp_name_flat { + name: "df1" + } } } src { - end_column: 45 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -51,15 +50,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "df2" + name { + sp_name_flat { + name: "df2" + } } } src { - end_column: 45 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -95,10 +93,7 @@ body { } } src { - end_column: 30 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } diff --git a/tests/ast/data/df_first.test b/tests/ast/data/df_first.test index e661e2a451f..1b3c8612cff 100644 --- a/tests/ast/data/df_first.test +++ b/tests/ast/data/df_first.test @@ -43,15 +43,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -82,10 +81,7 @@ body { } num: -5 src { - end_column: 26 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -121,10 +117,7 @@ body { } num: 2 src { - end_column: 37 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -160,10 +153,7 @@ body { } num: 1 src { - end_column: 24 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -198,10 +188,7 @@ body { } num: 1 src { - end_column: 35 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -235,10 +222,7 @@ body { } } src { - end_column: 75 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } statement_params { diff --git a/tests/ast/data/df_intersect.test b/tests/ast/data/df_intersect.test index 36622ec5c1c..4da1b59db87 100644 --- a/tests/ast/data/df_intersect.test +++ b/tests/ast/data/df_intersect.test @@ -22,15 +22,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "df1" + name { + sp_name_flat { + name: "df1" + } } } src { - end_column: 45 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -52,15 +51,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "df2" + name { + sp_name_flat { + name: "df2" + } } } src { - end_column: 45 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -96,10 +94,7 @@ body { } } src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } diff --git a/tests/ast/data/df_limit.test b/tests/ast/data/df_limit.test index 1637cdbea03..84087565cb5 100644 --- a/tests/ast/data/df_limit.test +++ b/tests/ast/data/df_limit.test @@ -25,15 +25,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -58,10 +57,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 31 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 27 } } @@ -74,10 +70,7 @@ body { } } src { - end_column: 32 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true @@ -105,10 +98,7 @@ body { } n: 3 src { - end_column: 41 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } } @@ -130,10 +120,7 @@ body { sp_column_sql_expr { sql: "*" src { - end_column: 31 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 29 } } @@ -146,10 +133,7 @@ body { } } src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variadic: true @@ -178,10 +162,7 @@ body { n: 1 offset: 1 src { - end_column: 53 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } } diff --git a/tests/ast/data/df_random_split.test b/tests/ast/data/df_random_split.test index 92cc7332f33..6e4ac0e416d 100644 --- a/tests/ast/data/df_random_split.test +++ b/tests/ast/data/df_random_split.test @@ -57,15 +57,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -94,10 +93,7 @@ body { } } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } weights: 0.1 @@ -120,10 +116,7 @@ body { args { int64_val { src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } } @@ -132,10 +125,7 @@ body { bitfield1: 2 } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } } @@ -156,10 +146,7 @@ body { args { int64_val { src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } v: 1 @@ -169,10 +156,7 @@ body { bitfield1: 2 } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } } @@ -193,10 +177,7 @@ body { args { int64_val { src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } v: 2 @@ -206,10 +187,7 @@ body { bitfield1: 2 } src { - end_column: 48 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 33 } } @@ -238,10 +216,7 @@ body { value: 24 } src { - end_column: 57 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } weights: 0.1 @@ -264,10 +239,7 @@ body { args { int64_val { src { - end_column: 57 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } } @@ -276,10 +248,7 @@ body { bitfield1: 6 } src { - end_column: 57 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } } @@ -300,10 +269,7 @@ body { args { int64_val { src { - end_column: 57 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } v: 1 @@ -313,10 +279,7 @@ body { bitfield1: 6 } src { - end_column: 57 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } } @@ -337,10 +300,7 @@ body { args { int64_val { src { - end_column: 57 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } v: 2 @@ -350,10 +310,7 @@ body { bitfield1: 6 } src { - end_column: 57 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } } @@ -378,8 +335,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -387,20 +346,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 39 } v: "NUM" } } src { - end_column: 29 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 39 } } @@ -410,8 +363,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -419,29 +374,20 @@ body { pos_args { int64_val { src { - end_column: 39 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 39 } v: 10 } } src { - end_column: 39 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 39 } } } src { - end_column: 39 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 39 } } @@ -454,10 +400,7 @@ body { } } src { - end_column: 40 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } variadic: true @@ -481,10 +424,7 @@ body { bitfield1: 10 } src { - end_column: 50 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 39 } } @@ -520,10 +460,7 @@ body { value: 24 } src { - end_column: 48 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 41 } weights: 0.1 @@ -547,10 +484,7 @@ body { args { int64_val { src { - end_column: 48 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 41 } } @@ -559,10 +493,7 @@ body { bitfield1: 13 } src { - end_column: 48 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 41 } } @@ -582,10 +513,7 @@ body { args { int64_val { src { - end_column: 48 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 41 } v: 1 @@ -595,10 +523,7 @@ body { bitfield1: 13 } src { - end_column: 48 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 41 } } @@ -618,10 +543,7 @@ body { args { int64_val { src { - end_column: 48 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 41 } v: 2 @@ -631,10 +553,7 @@ body { bitfield1: 13 } src { - end_column: 48 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 41 } } @@ -657,10 +576,7 @@ body { bitfield1: 14 } src { - end_column: 22 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 43 } } diff --git a/tests/ast/data/df_sample.test b/tests/ast/data/df_sample.test index 285473f1822..26a2a951e1e 100644 --- a/tests/ast/data/df_sample.test +++ b/tests/ast/data/df_sample.test @@ -21,15 +21,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -61,10 +60,7 @@ body { value: 3 } src { - end_column: 27 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } } @@ -93,10 +89,7 @@ body { value: 0.5 } src { - end_column: 32 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } } diff --git a/tests/ast/data/df_sort.test b/tests/ast/data/df_sort.test index bd1ee72bd9a..328214d7d6d 100644 --- a/tests/ast/data/df_sort.test +++ b/tests/ast/data/df_sort.test @@ -37,15 +37,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -76,8 +75,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -85,20 +86,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 27 } v: "A" } } src { - end_column: 29 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 27 } } @@ -112,10 +107,7 @@ body { } } src { - end_column: 46 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } } @@ -142,8 +134,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -151,20 +145,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 29 } v: "A" } } src { - end_column: 29 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 29 } } @@ -178,10 +166,7 @@ body { } } src { - end_column: 43 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } } @@ -217,8 +202,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -226,20 +213,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 31 } v: "A" } } src { - end_column: 29 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 31 } } @@ -249,8 +230,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -258,20 +241,14 @@ body { pos_args { string_val { src { - end_column: 39 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 31 } v: "B" } } src { - end_column: 39 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 31 } } @@ -285,10 +262,7 @@ body { } } src { - end_column: 65 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } } @@ -324,8 +298,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -333,20 +309,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 33 } v: "A" } } src { - end_column: 29 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 33 } } @@ -356,8 +326,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -365,20 +337,14 @@ body { pos_args { string_val { src { - end_column: 39 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 33 } v: "B" } } src { - end_column: 39 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 33 } } @@ -392,10 +358,7 @@ body { } } src { - end_column: 58 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 33 } } @@ -436,8 +399,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -445,20 +410,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 35 } v: "A" } } src { - end_column: 29 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 35 } } @@ -468,8 +427,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -477,20 +438,14 @@ body { pos_args { string_val { src { - end_column: 39 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 35 } v: "B" } } src { - end_column: 39 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 35 } } @@ -500,8 +455,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -509,20 +466,14 @@ body { pos_args { string_val { src { - end_column: 49 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 35 } v: "C" } } src { - end_column: 49 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 35 } } @@ -536,10 +487,7 @@ body { } } src { - end_column: 74 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 35 } } @@ -562,8 +510,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -571,20 +521,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 37 } v: "B" } } src { - end_column: 29 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 37 } } @@ -598,10 +542,7 @@ body { } } src { - end_column: 30 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 37 } } diff --git a/tests/ast/data/df_union.test b/tests/ast/data/df_union.test index af93bdd974f..986ccc5eb52 100644 --- a/tests/ast/data/df_union.test +++ b/tests/ast/data/df_union.test @@ -41,15 +41,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "df1" + name { + sp_name_flat { + name: "df1" + } } } src { - end_column: 45 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } variant { @@ -71,15 +70,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "df2" + name { + sp_name_flat { + name: "df2" + } } } src { - end_column: 45 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variant { @@ -115,10 +113,7 @@ body { } } src { - end_column: 28 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -151,10 +146,7 @@ body { } } src { - end_column: 32 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -173,15 +165,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "df3" + name { + sp_name_flat { + name: "df3" + } } } src { - end_column: 45 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } variant { @@ -203,15 +194,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "df4" + name { + sp_name_flat { + name: "df4" + } } } src { - end_column: 45 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } variant { @@ -247,10 +237,7 @@ body { } } src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -283,10 +270,7 @@ body { } } src { - end_column: 40 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } diff --git a/tests/ast/data/functions.test b/tests/ast/data/functions.test deleted file mode 100644 index 39562f02ade..00000000000 --- a/tests/ast/data/functions.test +++ /dev/null @@ -1,45302 +0,0 @@ -## TEST CASE - -import datetime - -df = session.table(tables.table1) - -df01 = df.select(col("A")) - -df02 = df.select(col("X", "A")) - -df03 = df.select(col("A", None)) - -df04 = df.select(column("A")) - -df05 = df.select(column("X", "A")) - -df06 = df.select(column("A", None)) - -df07 = df.select(lit(1), lit("1"), lit(1.0), lit(True), lit(b'snow'), lit(datetime.date(2023, 2, 2)), lit([1, 2]), lit({"snow": "flake"})) - -df08 = df.select(sql_expr("CURRENT_WAREHOUSE()")) - -df09 = df.select(current_session()) - -df10 = df.select(current_statement()) - -df11 = df.select(current_user()) - -df12 = df.select(current_version()) - -df13 = df.select(current_warehouse()) - -df14 = df.select(current_database()) - -df15 = df.select(current_role()) - -df16 = df.select(current_schema()) - -df17 = df.select(current_schemas()) - -df18 = df.select(current_region()) - -df19 = df.select(current_account()) - -df20 = df.select(current_available_roles()) - -df21 = df.select(add_months("d", 4)) - -df22 = df.select(add_months(col("A"), 4)) - -df23 = df.select(add_months(col("A"), col("A"))) - -df24 = df.select(any_value("A"), any_value(col("A"))) - -df25 = df.select(bitnot("A"), bitnot(col("A")), bitnot(e=col("A"))) - -df26 = df.select(bitshiftleft("A", col("B")), bitshiftleft("A", -10), bitshiftleft(col("B"), 42)) - -df27 = df.select(bitshiftright("A", col("B")), bitshiftright("A", -10), bitshiftright(col("B"), 42)) - -df28 = df.select(bround("A", scale=10), bround("A", 2), bround(col("A"), scale=col("B"))) - -df29 = df.select(convert_timezone("A", col("B")), convert_timezone(col("A"), "B"), convert_timezone("A", "B"), convert_timezone(col("A"), col("B")), convert_timezone("A","B",None), convert_timezone("A", "B", "A")) - -df30 = df.select(convert_timezone(lit("UTC"), col("a")), convert_timezone(lit("UTC"), col("b"), lit("Asia/Shanghai"))) - -df31 = df.select(approx_count_distinct("A"), approx_count_distinct(col("A"))) - -df32 = df.select(avg("A"), avg(col("B"))) - -df33 = df.select(corr("A", "B")) - -df34 = df.select(count("*"), count("A"), count(col("A"))) - -df35 = df.select(count_distinct(), count_distinct(col("*")), count_distinct("A", "B", "C", "D", col("E"))) - -df36 = df.select(covar_pop("A", col("B"))) - -df37 = df.select(covar_samp("A", "B")) - -df38 = df.select(create_map(["A", "B"])) - -df39 = df.select(create_map(("A", "B", "A", "B"))) - -df40 = df.select(create_map("A", "B")) - -df41 = df.select(create_map("A", "B", "C", "D")) - -df42 = df.select(kurtosis("A")) - -df43 = df.select(max("*"), max("A"), max(col("A"))) - -df44 = df.select(mean("A")) - -df45 = df.select(median("A")) - -df46 = df.select(min("A")) - -df47 = df.select(mode("A")) - -df48 = df.select(skew("A")) - -df49 = df.select(stddev("A")) - -df50 = df.select(stddev_samp("A")) - -df51 = df.select(stddev_pop("A")) - -df52 = df.select(sum("A")) - -df53 = df.select(sum_distinct("A")) - -df54 = df.select(variance("A")) - -df55 = df.select(var_samp("A")) - -df56 = df.select(var_pop("A")) - -df57 = df.select(approx_percentile("A", 0.6), approx_percentile(col("B"), 0.0)) - -df58 = df.select(approx_percentile_accumulate("A")) - -df59 = df.select(approx_percentile_estimate("A", 0.3)) - -df60 = df.select(approx_percentile_combine("A")) - -df61 = df.select(grouping("A"), grouping("A", "B")) - -df62 = df.select(coalesce(), coalesce(col("A"), lit(10))) - -df63 = df.select(equal_nan("A")) - -df64 = df.select(is_null("A")) - -df65 = df.select(negate("A")) - -df66 = df.select(not_("A")) - -df67 = df.select(random(), random(None), random(10)) - -df68 = df.select(uniform("A", "B", "A"), uniform(10, 13., col("A")), uniform(0.2, 2, 0.2)) - -df69 = df.select(seq1(0), seq1(10), seq1(-10)) - -df70 = df.select(seq2(1)) - -df71 = df.select(seq4(12)) - -df72 = df.select(seq8(324)) - -df73 = df.select(to_decimal("A", 10, 3), to_decimal(col("B"), 12, 3)) - -df74 = df.select(to_double(col("A")), to_double("A", None), to_double("A", "999.9"), to_double(col("A"), col("B"))) - -df75 = df.select(div0(0, 1), div0(1.2, 9.3), div0(10, 89.2), div0("A", 1), div0(0.2, "A"), div0(0.3, col("B"))) - -df76 = df.select(sqrt("A")) - -df77 = df.select(abs("A")) - -df78 = df.select(acos("A")) - -df79 = df.select(asin("A")) - -df80 = df.select(atan("A")) - -df81 = df.select(atan2("A", "B")) - -df82 = df.select(ceil("A")) - -df83 = df.select(cos("A")) - -df84 = df.select(cosh("A")) - -df85 = df.select(exp("A")) - -df86 = df.select(factorial("A")) - -df87 = df.select(floor("A")) - -df88 = df.select(format_number("A", col("B")), format_number("A", 10)) - -df89 = df.select(sin("A")) - -df90 = df.select(sinh("A")) - -df91 = df.select(tan("A")) - -df92 = df.select(tanh("A")) - -df93 = df.select(degrees("A")) - -df94 = df.select(radians("A")) - -df95 = df.select(md5("A")) - -df96 = df.select(sha1("A")) - -df97 = df.select(sha2(col("B"), 0), sha2("A", 224)) - -df98 = df.select(hash(lit(None), lit(10), col("A"), "B")) - -df99 = df.select(ascii("A")) - -df100 = df.select(initcap("A"), initcap("A", None), initcap("A", "B"), initcap(col("A"), lit("123"))) - -df101 = df.select(length("A")) - -df102 = df.select(lower("A")) - -df103 = df.select(lpad("A", col("B"), "B"), lpad("A", 100, "B"), lpad(col("A"), col("B"), col("B"))) - -df104 = df.select(ltrim("A"), ltrim("A", None), ltrim(col("A"), "B"), ltrim(col("A"), lit("B"))) - -df105 = df.select(rpad("A", col("B"), "B"), rpad("A", 100, "B"), rpad(col("A"), col("B"), col("B"))) - -df106 = df.select(rtrim("A"), rtrim("A", None), rtrim(col("A"), "B"), rtrim(col("A"), lit("B"))) - -df107 = df.select(repeat("A", 1), repeat(col("A"), 20), repeat("B", col("A"))) - -df108 = df.select(reverse("A")) - -df109 = df.select(soundex("A")) - -df110 = df.select(trim("A"), trim("A", None), trim(col("A"), "B"), trim(col("A"), lit("B"))) - -df111 = df = df.select(upper("A")) - -df112 = df.select(strtok_to_array("A"), strtok_to_array(col("A"), None), strtok_to_array(col("A"), col("B")), strtok_to_array("A", "B")) - -df113 = df.select(struct("A", col("A"), col("B"))) - -df114 = df.select(log("A", 10), log(col("B"), 4.3), log("A", "B")) - -df115 = df.select(pow("A", 10), pow(col("B"), 4.3), pow("A", "B")) - -df116 = df.select(round("A"), round("A", 0), round(col("B"), 4.7)) - -df117 = df.select(sign("A")) - -df118 = df.select(split("A", "B"), split(col("A"), lit("asfdg"))) - -df119 = df.select(substring("A", col("A"), col("A")), substring(col("A"), 0, 10), substring(col("A"), 20, col("B"))) - -df120 = df.select(substring_index("A", "abc", 3), substring_index(col("A"), col("B"), 2)) - -df121 = df.select(regexp_count("A", "B", col("A")), regexp_count(col("A"), col("B"), col("C"), 1, 2, "test")) - -df122 = df.select(regexp_extract("A", "B", 2)) - -df123 = df.select(regexp_replace("A", "B", "", 1, 0), regexp_replace(col("A"), col("B"), col("C"), col("D"), col("E"), col("F"), 1, "sgh", 99.9)) - -df124 = df.select(replace(col("A"), "", ""), replace("A", "B", "ahsgj")) - -df125 = df.select(charindex(col("A"), col("B")), charindex("A", "B", None), charindex("A", "B", 20), charindex("A", "B", col("C"))) - -df126 = df.select(collate(col("A"), "sp-upper")) - -df127 = df.select(collation("A")) - -df128 = df.select(concat("A", col("B"), "A"), concat()) - -df129 = df.select(concat_ws("A", col("B"), "A")) - -df130 = df.select(translate("A", "B", "B"), translate(col("A"), col("B"), lit("ashg"))) - -df131 = df.select(contains("A", "B")) - -df132 = df.select(startswith("A", "B")) - -df133 = df.select(endswith("A", "B")) - -df134 = df.select(insert(col("A"), col("B"), col("C"), "D"), insert("A", 12, 13, col("D"))) - -df135 = df.select(left("A", col("B")), left(col("A"), 10)) - -df136 = df.select(right("A", col("B")), right(col("A"), 10)) - -df137 = df.select(char("A")) - -df138 = df.select(to_char("A"), to_char(col("B"), None), to_char("A", "bcd")) - -df139 = df.select(date_format(col("A"), col("B")), date_format("A", "YYYY")) - -df140 = df.select(to_time("A"), to_time("A", "YYYY"), to_time(col("A"), col("B"))) - -df141 = df.select(to_timestamp("A"), to_timestamp("C", None), to_timestamp(col("A"), col("B"))) - -df142 = df.select(to_timestamp_ntz("A"), to_timestamp_ntz(col("A"), None), to_timestamp_ntz("A", "auto"), to_timestamp_ntz(col("A"), col("B"))) - -df143 = df.select(to_timestamp_ltz("A"), to_timestamp_ltz(col("A"), None), to_timestamp_ltz("A", "auto"), to_timestamp_ltz(col("A"), col("B"))) - -df144 = df.select(to_timestamp_tz("A"), to_timestamp_tz(col("A"), None), to_timestamp_tz("A", "auto"), to_timestamp_tz(col("A"), col("B"))) - -df145 = df.select(from_utc_timestamp("A", lit(1234)), from_utc_timestamp(col("A"), col("B"))) - -df146 = df.select(to_utc_timestamp("A", lit(1234)), to_utc_timestamp(col("A"), col("B"))) - -df147 = df.select(to_date("A"), to_date("A", col("A")), to_date(col("A"), None)) - -df148 = df.select(current_timestamp()) - -df149 = df.select(current_date()) - -df150 = df.select(current_time()) - -df151 = df.select(hour("A")) - -df152 = df.select(last_day("A"), last_day(col("A"), None), last_day(col("A"), col("B")), last_day("A", "B")) - -df153 = df.select(minute("A")) - -df154 = df.select(next_day("A", "fr"), next_day(col("A"), col("B"))) - -df155 = df.select(previous_day("A", "fr"), previous_day(col("A"), col("B"))) - -df156 = df.select(second("A")) - -df157 = df.select(month("A")) - -df158 = df.select(monthname("A")) - -df159 = df.select(quarter("A")) - -df160 = df.select(year("A")) - -df170 = df.select(sysdate()) - -df171 = df.select(months_between("A", "B"), months_between(col("A"), "B"), months_between(col("A"), col("B"))) - -df172 = df.select(to_geography("A")) - -df173 = df.select(to_geometry("A")) - -df174 = df.select(arrays_overlap("A", col("B")), arrays_overlap(col("A"), "B")) - -df175 = df.select(array_distinct("A")) - -df176 = df.select(array_intersection("A", "B"), array_intersection(col("A"), col("B")), array_intersection("A", col("B"))) - -df177 = df.select(array_except("A", "B"), array_except("A", col("B"), True), array_except("B", "A", False)) - -df178 = df.select(array_min("A")) - -df179 = df.select(array_max("A")) - -df180 = df.select(array_flatten("A")) - -df181 = df.select(array_sort("A"), array_sort("A", True), array_sort(col("A"), False, True)) - -df182 = df.select(arrays_to_object("A", "B"), arrays_to_object("A", col("A"))) - -df183 = df.select(array_generate_range("A", "B"), array_generate_range("A", col("B"), None), array_generate_range(col("A"), "B", "C")) - -df184 = df.select(sequence("A", "B"), sequence("A", col("B"), None), sequence(col("A"), "B", "C")) - -df185 = df.select(date_add("A", "B"), date_add("A", 10), date_add(col("A"), 0), date_add(col("A"), col("B"))) - -df186 = df.select(date_sub("A", "B"), date_sub("A", 10), date_sub(col("A"), 0), date_sub(col("A"), col("B"))) - -df187 = df.select(datediff("year", col("A"), "B"), datediff("month", "A", col("B"))) - -df188 = df.select(daydiff("A", "B"), daydiff(col("A"), col("B"))) - -df189 = df.select(trunc("A", "B"), trunc(col("A"), col("B")), trunc("A", 10), trunc("B", 7.9)) - -df190 = df.select(dateadd("year", "A", "B"), dateadd("year", col("A"), col("B"))) - -df191 = df.select(date_part("year", "A"), date_part("year", col("B"))) - -df192 = df.select(date_from_parts(10, 2, 1), date_from_parts(10, "A", 1), date_from_parts("A", "B", "A"), date_from_parts(10, col("A"), 1)) - -df193 = df.select(date_trunc("year", "A"), date_trunc("year", col("B"))) - -df194 = df.select(dayname("A")) - -df195 = df.select(dayofmonth("A")) - -df196 = df.select(dayofweek("A")) - -df197 = df.select(dayofyear("A")) - -df198 = df.select(is_array("A")) - -df199 = df.select(is_boolean("A")) - -df200 = df.select(is_binary("A")) - -df201 = df.select(is_char("A")) - -df202 = df.select(is_date("A")) - -df203 = df.select(is_decimal("A")) - -df204 = df.select(is_double("A")) - -df205 = df.select(is_real("A")) - -df206 = df.select(is_integer("A")) - -df207 = df.select(is_null_value("A")) - -df208 = df.select(is_object("A")) - -df209 = df.select(is_time("A")) - -df210 = df.select(is_timestamp_ltz("A")) - -df211 = df.select(is_timestamp_ntz("A")) - -df212 = df.select(is_timestamp_tz("A")) - -df213 = df.select(time_from_parts(1, 2, 3), time_from_parts("A", "B", "A"), time_from_parts(1, "A", col("B"))) - -df214 = df.select(timestamp_from_parts("A", "A"), timestamp_from_parts(col("A"), "B"), timestamp_from_parts(col("A"), col("B"))) - -df215 = df.select(timestamp_from_parts(2000, 12, 0, 12, 3, 1), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None, "us")) - -df216 = df.select(timestamp_from_parts("year", "month", "day", "hour", "minute", "second"), timestamp_from_parts(to_date("date"), to_time("time"))) - -df217 = df.select(timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, 12)) - -df218 = df.select(timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1), timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, "A"), timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, 12))) - -df219 = df.select(timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, "us")) - -df220 = df.select(weekofyear("A")) - -df221 = df.select(typeof("A")) - -df222 = df.select(check_json("A")) - -df223 = df.select(check_xml("A")) - -df224 = df.select(json_extract_path_text("A", "B"), json_extract_path_text(col("A"), col("B")), json_extract_path_text(col("A"), "B")) - -df225 = df.select(parse_json("A")) - -df226 = df.select(parse_xml("A")) - -df227 = df.select(strip_null_value("A")) - -df228 = df.select(array_agg("A", False), array_agg(col("A"), True)) - -df229 = df.select(array_append("A", lit(1)), array_append("A", "B"), array_append(col("A"), col("B"))) - -df230 = df.select(array_cat("A", lit(1)), array_cat("A", "B"), array_cat(col("A"), col("B"))) - -df231 = df.select(array_compact("A")) - -df232 = df.select(array_construct(), array_construct("A"), array_construct(lit(1), "A", col("B"))) - -df233 = df.select(array_construct_compact(), array_construct_compact("A"), array_construct_compact(lit(1), "A", col("B"))) - -df234 = df.select(array_contains("A", col("B")), array_contains("A", lit(1))) - -df235 = df.select(array_insert("A", "B", "A"), array_insert(col("A"), col("B"), col("A"))) - -df236 = df.select(array_position("A", "B"), array_position(col("A"), lit(0))) - -df237 = df.select(array_prepend("A", col("B")), array_prepend(col("A"), col("B"))) - -df238 = df.select(array_size("A")) - -df239 = df.select(array_slice("A", "B", "A"), array_slice(col("A"), col("B"), col("A"))) - -df240 = df.select(array_to_string("A", "B"), array_to_string(col("A"), col("B"))) - -df241 = df.select(array_unique_agg("A")) - -df242 = df.select(object_agg("A", "B"), object_agg("A", col("B"))) - -df243 = df.select(object_construct(), object_construct(col("k"), col("v")), object_construct("A", "B", "A", "B")) - -df244 = df.select(object_construct_keep_null(), object_construct_keep_null(col("k"), col("v")), object_construct_keep_null("A", "B", "A", "B")) - -df245 = df.select(object_delete("A", "B"), object_delete(col("A"), "k1", "k2", "k3", "k4")) - -df246 = df.select(object_insert("A", "B", "A"), object_insert(col("A"), lit(1), lit(20), "B")) - -df247 = df.select(object_pick("A", "B"), object_pick(col("A"), "k1", "k2", "k3", "k4")) - -df248 = df.select(vector_cosine_distance(col("A"), "B")) - -df249 = df.select(vector_l2_distance("A", col("B"))) - -df250 = df.select(vector_inner_product("A", "B")) - -df251 = df.select(asc("A")) - -df252 = df.select(asc_nulls_first("A")) - -df253 = df.select(asc_nulls_last("A")) - -df254 = df.select(desc("A")) - -df255 = df.select(desc_nulls_first("A")) - -df256 = df.select(desc_nulls_last("A")) - -df257 = df.select(as_array("A")) - -df258 = df.select(as_binary("A")) - -df259 = df.select(as_char("A")) - -df260 = df.select(as_varchar("A")) - -df261 = df.select(as_date("A")) - -df262 = df.select(cast("A", "int"), cast("A", LongType())) - -df263 = df.select(try_cast("A", "int"), try_cast("A", LongType())) - -df264 = df.select(as_decimal("A"), as_decimal("A", None), as_decimal("A", 10), as_decimal(col("A"), 10, 2)) - -df265 = df.select(as_number("A"), as_number("A", None), as_number("A", 10), as_number(col("A"), 10, 2)) - -df266 = df.select(as_double("A")) - -df267 = df.select(as_real("A")) - -df268 = df.select(as_integer("A")) - -df269 = df.select(as_object("A")) - -df270 = df.select(as_time("A")) - -df271 = df.select(as_timestamp_ltz("A")) - -df272 = df.select(as_timestamp_ntz("A")) - -df273 = df.select(as_timestamp_tz("A")) - -df274 = df.select(to_binary("A"), to_binary("B", "BASE64"), to_binary(col("A"), 'UTF-8')) - -df275 = df.select(to_array("A")) - -df276 = df.select(to_json("A")) - -df277 = df.select(to_object("A")) - -df278 = df.select(to_variant("A")) - -df279 = df.select(to_xml("A")) - -df280 = df.select(get_ignore_case("A", col("B"))) - -df281 = df.select(object_keys("A")) - -df282 = df.select(xmlget("A", "B"), xmlget("A", "B", 0), xmlget(col("A"), lit("123"), col("B")), xmlget("A", "B", "C")) - -df283 = df.select(get_path("A", "B")) - -df284 = df.select(get(1, 2), get("A", 2), get(3, "B"), get(col("A"), 2), get(col("A"), lit(1))) - -df285 = df.select(when(col("a") % 2 == 0, lit("even"))) - -df286 = df.select(iff(col("a") % 2 == 0, lit("even"), lit("odd"))) - -df287 = df.select(in_([]), in_([col("A"), "B", "A"]), in_([col("col1"), col("col2")], [[1, "a"], [2, "b"]])) - -df288 = df.select(cume_dist()) - -df289 = df.select(rank()) - -df290 = df.select(percent_rank()) - -df291 = df.select(dense_rank()) - -df292 = df.select(row_number()) - -df293 = df.select(lag("A"), lag(col("B")), lag("A", 1, None, True), lag("A", 1, col("B")), lag("A", 2, lit(20), True)) - -df294 = df.select(lead("A"), lead(col("B")), lead("A", 1, None, True), lead("A", 1, col("B")), lead("A", 2, lit(20), True)) - -df295 = df.select(last_value("A"), last_value("A", True), last_value(col("B"), False)) - -df296 = df.select(first_value("A"), first_value("A", True), first_value(col("B"), False)) - -df297 = df.select(ntile(10), ntile("A"), ntile(col("B"))) - -df298 = df.select(percentile_cont(0.4)) - -df299 = df.select(greatest(), greatest("A"), greatest(col("B"), "A"), greatest("A", "B", "C", "D", "E", "F")) - -df300 = df.select(least(), least("A"), least(col("B"), "A"), least("A", "B", "C", "D", "E", "F")) - -df301 = df.select(listagg("A"), listagg(col("B")), listagg("A", ","), listagg("A", "|", True)) - -df302 = df.select(call_udf("name"), call_udf("test", col("A"), lit(10))) - -df303 = df.select(unix_timestamp("A"), unix_timestamp("A", None), unix_timestamp(col("B"), lit("YYYY"))) - -df304 = df.select(locate("needle", col("expr")), locate("needle", lit("test string"), 2)) - -df305 = df.select(size(col("expr")), size("A")) - -## EXPECTED UNPARSER OUTPUT - -df = session.table("table1") - -df01 = df.select(col("A")) - -df02 = df.select(col("X", "A")) - -df03 = df.select(col("A")) - -df04 = df.select(column("A")) - -df05 = df.select(column("X", "A")) - -df06 = df.select(column("A")) - -df07 = df.select(lit(1), lit("1"), lit(1.0), lit(True), lit(bytes("snow", "utf-8")), lit(datetime.date(2023, 2, 2)), lit([1, 2]), lit({"snow": "flake"})) - -df08 = df.select(sql_expr("CURRENT_WAREHOUSE()")) - -df09 = df.select(current_session()) - -df10 = df.select(current_statement()) - -df11 = df.select(current_user()) - -df12 = df.select(current_version()) - -df13 = df.select(current_warehouse()) - -df14 = df.select(current_database()) - -df15 = df.select(current_role()) - -df16 = df.select(current_schema()) - -df17 = df.select(current_schemas()) - -df18 = df.select(current_region()) - -df19 = df.select(current_account()) - -df20 = df.select(current_available_roles()) - -df21 = df.select(add_months(col("d"), 4)) - -df22 = df.select(add_months(col("A"), 4)) - -df23 = df.select(add_months(col("A"), col("A"))) - -df24 = df.select(any_value(col("A")), any_value(col("A"))) - -df25 = df.select(bitnot(col("A")), bitnot(col("A")), bitnot(col("A"))) - -df26 = df.select(bitshiftleft(col("A"), col("B")), bitshiftleft(col("A"), -10), bitshiftleft(col("B"), 42)) - -df27 = df.select(bitshiftright(col("A"), col("B")), bitshiftright(col("A"), -10), bitshiftright(col("B"), 42)) - -df28 = df.select(bround("A", 10), bround("A", 2), bround(col("A"), col("B"))) - -df29 = df.select(convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("A"), col("B"))) - -df30 = df.select(convert_timezone(lit("UTC"), col("a")), convert_timezone(lit("Asia/Shanghai"), lit("UTC"), col("b"))) - -df31 = df.select(approx_count_distinct(col("A")), approx_count_distinct(col("A"))) - -df32 = df.select(avg(col("A")), avg(col("B"))) - -df33 = df.select(corr(col("A"), col("B"))) - -df34 = df.select(count("*"), count("A"), count(col("A"))) - -df35 = df.select(count_distinct(), count_distinct("*"), count_distinct("A", "B", "C", "D", col("E"))) - -df36 = df.select(covar_pop(col("A"), col("B"))) - -df37 = df.select(covar_samp(col("A"), col("B"))) - -df38 = df.select(create_map(col("A"), col("B"))) - -df39 = df.select(create_map(col("A"), col("B"), col("A"), col("B"))) - -df40 = df.select(create_map(col("A"), col("B"))) - -df41 = df.select(create_map(col("A"), col("B"), col("C"), col("D"))) - -df42 = df.select(kurtosis(col("A"))) - -df43 = df.select(max("*"), max(col("A")), max(col("A"))) - -df44 = df.select(avg(col("A"))) - -df45 = df.select(median(col("A"))) - -df46 = df.select(min(col("A"))) - -df47 = df.select(mode(col("A"))) - -df48 = df.select(skew(col("A"))) - -df49 = df.select(stddev(col("A"))) - -df50 = df.select(stddev_samp(col("A"))) - -df51 = df.select(stddev_pop(col("A"))) - -df52 = df.select(sum(col("A"))) - -df53 = df.select(sum_distinct(col("A"))) - -df54 = df.select(variance(col("A"))) - -df55 = df.select(variance(col("A"))) - -df56 = df.select(var_pop(col("A"))) - -df57 = df.select(approx_percentile(col("A"), 0.6), approx_percentile(col("B"), 0.0)) - -df58 = df.select(approx_percentile_accumulate(col("A"))) - -df59 = df.select(approx_percentile_estimate(col("A"), 0.3)) - -df60 = df.select(approx_percentile_combine(col("A"))) - -df61 = df.select(grouping(col("A")), grouping(col("A"), col("B"))) - -df62 = df.select(coalesce(), coalesce(col("A"), lit(10))) - -df63 = df.select(col("A").equal_nan()) - -df64 = df.select(col("A").is_null()) - -df65 = df.select(-col("A")) - -df66 = df.select(~col("A")) - -df67 = df.select(random(), random(), random(10)) - -df68 = df.select(uniform(col("A"), col("B"), col("A")), uniform(lit(10), lit(13.0).cast(FloatType()), col("A")), uniform(lit(0.2).cast(FloatType()), lit(2), lit(0.2))) - -df69 = df.select(seq1(0), seq1(10), seq1(-10)) - -df70 = df.select(seq2(1)) - -df71 = df.select(seq4(12)) - -df72 = df.select(seq8(324)) - -df73 = df.select(to_decimal(col("A"), 10, 3), to_decimal(col("B"), 12, 3)) - -df74 = df.select(to_double(col("A"), None), to_double("A", None), to_double("A", "999.9"), to_double(col("A"), col("B"))) - -df75 = df.select(div0(0, 1), div0(1.2, 9.3), div0(10, 89.2), div0("A", 1), div0(0.2, "A"), div0(0.3, col("B"))) - -df76 = df.select(sqrt(col("A"))) - -df77 = df.select(abs(col("A"))) - -df78 = df.select(acos(col("A"))) - -df79 = df.select(asin(col("A"))) - -df80 = df.select(atan(col("A"))) - -df81 = df.select(atan2(col("A"), col("B"))) - -df82 = df.select(ceil(col("A"))) - -df83 = df.select(cos(col("A"))) - -df84 = df.select(cosh(col("A"))) - -df85 = df.select(exp(col("A"))) - -df86 = df.select(factorial(col("A"))) - -df87 = df.select(floor(col("A"))) - -df88 = df.select(format_number(col("A"), col("B")), format_number(col("A"), 10)) - -df89 = df.select(sin(col("A"))) - -df90 = df.select(sinh(col("A"))) - -df91 = df.select(tan(col("A"))) - -df92 = df.select(tanh(col("A"))) - -df93 = df.select(degrees(col("A"))) - -df94 = df.select(radians(col("A"))) - -df95 = df.select(md5(col("A"))) - -df96 = df.select(sha1(col("A"))) - -df97 = df.select(sha2(col("B"), 0), sha2(col("A"), 224)) - -df98 = df.select(hash(lit(None), lit(10), col("A"), col("B"))) - -df99 = df.select(ascii(col("A"))) - -df100 = df.select(initcap(col("A")), initcap(col("A")), initcap(col("A"), col("B")), initcap(col("A"), lit("123"))) - -df101 = df.select(length(col("A"))) - -df102 = df.select(lower(col("A"))) - -df103 = df.select(lpad(col("A"), col("B"), col("B")), lpad(col("A"), 100, col("B")), lpad(col("A"), col("B"), col("B"))) - -df104 = df.select(ltrim(col("A")), ltrim(col("A")), ltrim(col("A"), col("B")), ltrim(col("A"), lit("B"))) - -df105 = df.select(rpad(col("A"), col("B"), col("B")), rpad(col("A"), 100, col("B")), rpad(col("A"), col("B"), col("B"))) - -df106 = df.select(rtrim(col("A")), rtrim(col("A")), rtrim(col("A"), col("B")), rtrim(col("A"), lit("B"))) - -df107 = df.select(repeat(col("A"), 1), repeat(col("A"), 20), repeat(col("B"), col("A"))) - -df108 = df.select(reverse(col("A"))) - -df109 = df.select(soundex(col("A"))) - -df110 = df.select(trim(col("A")), trim(col("A")), trim(col("A"), col("B")), trim(col("A"), lit("B"))) - -df111 = df.select(upper(col("A"))) - -df112 = df111.select(strtok_to_array(col("A")), strtok_to_array(col("A")), strtok_to_array(col("A"), col("B")), strtok_to_array(col("A"), col("B"))) - -df113 = df111.select(struct("A", col("A"), col("B"))) - -df114 = df111.select(log("A", 10), log(col("B"), 4.3), log("A", "B")) - -df115 = df111.select(pow("A", 10), pow(col("B"), 4.3), pow("A", "B")) - -df116 = df111.select(round("A", 0), round("A", 0), round(col("B"), 4.7)) - -df117 = df111.select(sign(col("A"))) - -df118 = df111.select(split(col("A"), col("B")), split(col("A"), lit("asfdg"))) - -df119 = df111.select(substring(col("A"), col("A"), col("A")), substring(col("A"), 0, 10), substring(col("A"), 20, col("B"))) - -df120 = df111.select(substring_index("A", "abc", 3), substring_index(col("A"), col("B"), 2)) - -df121 = df111.select(regexp_count(col("A"), "B", col("A")), regexp_count(col("A"), col("B"), col("C"), 1, 2, "test")) - -df122 = df111.select(regexp_extract("A", "B", 2)) - -df123 = df111.select(regexp_replace(col("A"), "B", "", 1, 0), regexp_replace(col("A"), col("B"), col("C"), col("D"), col("E"), col("F"), 1, "sgh", 99.9)) - -df124 = df111.select(replace(col("A"), "", ""), replace(col("A"), "B", "ahsgj")) - -df125 = df111.select(char_index(col("A"), col("B"), 20), char_index(col("A"), col("B"), col("C"))) - -df126 = df111.select(collate(col("A"), "sp-upper")) - -df127 = df111.select(collation(col("A"))) - -df128 = df111.select(concat(col("A"), col("B"), col("A")), concat()) - -df129 = df111.select(concat_ws(col("A"), col("B"), col("A"))) - -df130 = df111.select(translate(col("A"), col("B"), col("B")), translate(col("A"), col("B"), lit("ashg"))) - -df131 = df111.select(contains(col("A"), col("B"))) - -df132 = df111.select(startswith(col("A"), col("B"))) - -df133 = df111.select(endswith(col("A"), col("B"))) - -df134 = df111.select(insert(col("A"), col("B"), col("C"), col("D")), insert(col("A"), 12, 13, col("D"))) - -df135 = df111.select(left(col("A"), col("B")), left(col("A"), 10)) - -df136 = df111.select(right(col("A"), col("B")), right(col("A"), 10)) - -df137 = df111.select(char(col("A"))) - -df138 = df111.select(to_char(col("A"), "bcd")) - -df139 = df111.select(date_format(col("A"), col("B")), date_format("A", "YYYY")) - -df140 = df111.select(to_time(col("A")), to_time(col("A"), "YYYY"), to_time(col("A"), col("B"))) - -df141 = df111.select(to_timestamp(col("A")), to_timestamp(col("C")), to_timestamp(col("A"), col("B"))) - -df142 = df111.select(to_timestamp_ntz("A", None), to_timestamp_ntz(col("A"), None), to_timestamp_ntz("A", "auto"), to_timestamp_ntz(col("A"), col("B"))) - -df143 = df111.select(to_timestamp_ltz("A", None), to_timestamp_ltz(col("A"), None), to_timestamp_ltz("A", "auto"), to_timestamp_ltz(col("A"), col("B"))) - -df144 = df111.select(to_timestamp_tz("A", None), to_timestamp_tz(col("A"), None), to_timestamp_tz("A", "auto"), to_timestamp_tz(col("A"), col("B"))) - -df145 = df111.select(from_utc_timestamp("A", lit(1234)), from_utc_timestamp(col("A"), col("B"))) - -df146 = df111.select(to_utc_timestamp("A", lit(1234)), to_utc_timestamp(col("A"), col("B"))) - -df147 = df111.select(to_date("A"), to_date("A", col("A")), to_date(col("A"))) - -df148 = df111.select(current_timestamp()) - -df149 = df111.select(current_date()) - -df150 = df111.select(current_time()) - -df151 = df111.select(hour(col("A"))) - -df152 = df111.select(last_day(col("A")), last_day(col("A")), last_day(col("A"), col("B")), last_day(col("A"), col("B"))) - -df153 = df111.select(minute(col("A"))) - -df154 = df111.select(next_day(col("A"), "fr"), next_day(col("A"), "\"B\"")) - -df155 = df111.select(previous_day(col("A"), "fr"), previous_day(col("A"), "\"B\"")) - -df156 = df111.select(second(col("A"))) - -df157 = df111.select(month(col("A"))) - -df158 = df111.select(monthname(col("A"))) - -df159 = df111.select(quarter(col("A"))) - -df160 = df111.select(year(col("A"))) - -df170 = df111.select(sysdate()) - -df171 = df111.select(months_between(col("A"), col("B")), months_between(col("A"), col("B")), months_between(col("A"), col("B"))) - -df172 = df111.select(to_geography(col("A"))) - -df173 = df111.select(to_geometry(col("A"))) - -df174 = df111.select(arrays_overlap(col("A"), col("B")), arrays_overlap(col("A"), col("B"))) - -df175 = df111.select(array_distinct(col("A"))) - -df176 = df111.select(array_intersection(col("A"), col("B")), array_intersection(col("A"), col("B")), array_intersection(col("A"), col("B"))) - -df177 = df111.select(array_except("A", "B", True), array_except("A", col("B"), True), array_except("B", "A", False)) - -df178 = df111.select(array_min(col("A"))) - -df179 = df111.select(array_max(col("A"))) - -df180 = df111.select(array_flatten(col("A"))) - -df181 = df111.select(array_sort(col("A"), True, False), array_sort(col("A"), True, False), array_sort(col("A"), False, True)) - -df182 = df111.select(arrays_to_object(col("A"), col("B")), arrays_to_object(col("A"), col("A"))) - -df183 = df111.select(array_generate_range(col("A"), col("B")), array_generate_range(col("A"), col("B")), array_generate_range(col("A"), col("B"), col("C"))) - -df184 = df111.select(sequence("A", "B", None), sequence("A", col("B"), None), sequence(col("A"), "B", "C")) - -df185 = df111.select(date_add("A", "B"), date_add("A", 10), date_add(col("A"), 0), date_add(col("A"), col("B"))) - -df186 = df111.select(date_sub("A", "B"), date_sub("A", 10), date_sub(col("A"), 0), date_sub(col("A"), col("B"))) - -df187 = df111.select(datediff("year", col("A"), col("B")), datediff("month", col("A"), col("B"))) - -df188 = df111.select(daydiff("A", "B"), daydiff(col("A"), col("B"))) - -df189 = df111.select(trunc("A", "B"), trunc(col("A"), col("B")), trunc("A", 10), trunc("B", 7.9)) - -df190 = df111.select(dateadd("year", col("A"), col("B")), dateadd("year", col("A"), col("B"))) - -df191 = df111.select(date_part("year", col("A")), date_part("year", col("B"))) - -df192 = df111.select(date_from_parts(10, 2, 1), date_from_parts(10, "A", 1), date_from_parts("A", "B", "A"), date_from_parts(10, col("A"), 1)) - -df193 = df111.select(date_trunc("year", col("A")), date_trunc("year", col("B"))) - -df194 = df111.select(dayname(col("A"))) - -df195 = df111.select(dayofmonth(col("A"))) - -df196 = df111.select(dayofweek(col("A"))) - -df197 = df111.select(dayofyear(col("A"))) - -df198 = df111.select(is_array(col("A"))) - -df199 = df111.select(is_boolean(col("A"))) - -df200 = df111.select(is_binary(col("A"))) - -df201 = df111.select(is_char(col("A"))) - -df202 = df111.select(is_date(col("A"))) - -df203 = df111.select(is_decimal(col("A"))) - -df204 = df111.select(is_double(col("A"))) - -df205 = df111.select(is_real(col("A"))) - -df206 = df111.select(is_integer(col("A"))) - -df207 = df111.select(is_null_value(col("A"))) - -df208 = df111.select(is_object(col("A"))) - -df209 = df111.select(is_time(col("A"))) - -df210 = df111.select(is_timestamp_ltz(col("A"))) - -df211 = df111.select(is_timestamp_ntz(col("A"))) - -df212 = df111.select(is_timestamp_tz(col("A"))) - -df213 = df111.select(time_from_parts(1, 2, 3, None), time_from_parts("A", "B", "A", None), time_from_parts(1, "A", col("B"), None)) - -df214 = df111.select(timestamp_from_parts("A", "A"), timestamp_from_parts(col("A"), "B"), timestamp_from_parts(col("A"), col("B"))) - -df215 = df111.select(timestamp_from_parts(2000, 12, 0, 12, 3, 1), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None, "us")) - -df216 = df111.select(timestamp_from_parts("year", "month", "day", "hour", "minute", "second"), timestamp_from_parts(to_date("date"), to_time(col("time")))) - -df217 = df111.select(timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, 12)) - -df218 = df111.select(timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1), timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, col("A")), timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, 12))) - -df219 = df111.select(timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, "us")) - -df220 = df111.select(weekofyear(col("A"))) - -df221 = df111.select(typeof(col("A"))) - -df222 = df111.select(check_json(col("A"))) - -df223 = df111.select(check_xml(col("A"))) - -df224 = df111.select(json_extract_path_text(col("A"), col("B")), json_extract_path_text(col("A"), col("B")), json_extract_path_text(col("A"), col("B"))) - -df225 = df111.select(parse_json(col("A"))) - -df226 = df111.select(parse_xml(col("A"))) - -df227 = df111.select(strip_null_value(col("A"))) - -df228 = df111.select(array_agg(col("A")), array_agg(col("A"))) - -df229 = df111.select(array_append(col("A"), lit(1)), array_append(col("A"), col("B")), array_append(col("A"), col("B"))) - -df230 = df111.select(array_cat(col("A"), lit(1)), array_cat(col("A"), col("B")), array_cat(col("A"), col("B"))) - -df231 = df111.select(array_compact(col("A"))) - -df232 = df111.select(array_construct(), array_construct(col("A")), array_construct(lit(1), col("A"), col("B"))) - -df233 = df111.select(array_construct_compact(), array_construct_compact(col("A")), array_construct_compact(lit(1), col("A"), col("B"))) - -df234 = df111.select(array_contains(col("A"), col("B")), array_contains(col("A"), lit(1))) - -df235 = df111.select(array_insert(col("A"), col("B"), col("A")), array_insert(col("A"), col("B"), col("A"))) - -df236 = df111.select(array_position(col("A"), col("B")), array_position(col("A"), lit(0))) - -df237 = df111.select(array_prepend(col("A"), col("B")), array_prepend(col("A"), col("B"))) - -df238 = df111.select(array_size(col("A"))) - -df239 = df111.select(array_slice(col("A"), col("B"), col("A")), array_slice(col("A"), col("B"), col("A"))) - -df240 = df111.select(array_to_string(col("A"), col("B")), array_to_string(col("A"), col("B"))) - -df241 = df111.select(array_unique_agg(col("A"))) - -df242 = df111.select(object_agg(col("A"), col("B")), object_agg(col("A"), col("B"))) - -df243 = df111.select(object_construct(), object_construct(col("k"), col("v")), object_construct(col("A"), col("B"), col("A"), col("B"))) - -df244 = df111.select(object_construct_keep_null(), object_construct_keep_null(col("k"), col("v")), object_construct_keep_null(col("A"), col("B"), col("A"), col("B"))) - -df245 = df111.select(object_delete(col("A"), col("B")), object_delete(col("A"), col("k1"), col("k2"), col("k3"), col("k4"))) - -df246 = df111.select(object_insert(col("A"), col("B"), col("A")), object_insert(col("A"), lit(1), lit(20), col("B"))) - -df247 = df111.select(object_pick(col("A"), col("B")), object_pick(col("A"), col("k1"), col("k2"), col("k3"), col("k4"))) - -df248 = df111.select(vector_cosine_distance(col("A"), col("B"))) - -df249 = df111.select(vector_l2_distance(col("A"), col("B"))) - -df250 = df111.select(vector_inner_product(col("A"), col("B"))) - -df251 = df111.select(asc("A")) - -df252 = df111.select(asc_nulls_first("A")) - -df253 = df111.select(asc_nulls_last("A")) - -df254 = df111.select(desc("A")) - -df255 = df111.select(desc_nulls_first("A")) - -df256 = df111.select(desc_nulls_last("A")) - -df257 = df111.select(as_array(col("A"))) - -df258 = df111.select(as_binary(col("A"))) - -df259 = df111.select(as_char(col("A"))) - -df260 = df111.select(as_varchar(col("A"))) - -df261 = df111.select(as_date(col("A"))) - -df262 = df111.select(cast("A", "int"), cast("A", LongType())) - -df263 = df111.select(try_cast("A", "int"), try_cast("A", LongType())) - -df264 = df111.select(as_decimal("A", None, None), as_decimal("A", None, None), as_decimal("A", 10, None), as_decimal(col("A"), 10, 2)) - -df265 = df111.select(as_decimal("A", None, None), as_decimal("A", None, None), as_decimal("A", 10, None), as_decimal(col("A"), 10, 2)) - -df266 = df111.select(as_double(col("A"))) - -df267 = df111.select(as_real(col("A"))) - -df268 = df111.select(as_integer(col("A"))) - -df269 = df111.select(as_object(col("A"))) - -df270 = df111.select(as_time(col("A"))) - -df271 = df111.select(as_timestamp_ltz(col("A"))) - -df272 = df111.select(as_timestamp_ntz(col("A"))) - -df273 = df111.select(as_timestamp_tz(col("A"))) - -df274 = df111.select(to_binary(col("A")), to_binary(col("B"), "BASE64"), to_binary(col("A"), "UTF-8")) - -df275 = df111.select(to_array(col("A"))) - -df276 = df111.select(to_json(col("A"))) - -df277 = df111.select(to_object(col("A"))) - -df278 = df111.select(to_variant(col("A"))) - -df279 = df111.select(to_xml(col("A"))) - -df280 = df111.select(get_ignore_case(col("A"), col("B"))) - -df281 = df111.select(object_keys(col("A"))) - -df282 = df111.select(xmlget(col("A"), col("B"), 0), xmlget(col("A"), col("B"), 0), xmlget(col("A"), lit("123"), col("B")), xmlget(col("A"), col("B"), col("C"))) - -df283 = df111.select(get_path(col("A"), col("B"))) - -df284 = df111.select(get(1, 2), get(col("A"), 2), get(3, col("B")), get(col("A"), 2), get(col("A"), lit(1))) - -df285 = df111.select(when(col("a") % 2 == 0, lit("even"))) - -df286 = df111.select(iff(col("a") % 2 == 0, lit("even"), lit("odd"))) - -df287 = df111.select(in_([]), in_([col("A"), "B", "A"]), in_([col("col1"), col("col2")], [[1, "a"], [2, "b"]])) - -df288 = df111.select(cume_dist()) - -df289 = df111.select(rank()) - -df290 = df111.select(percent_rank()) - -df291 = df111.select(dense_rank()) - -df292 = df111.select(row_number()) - -df293 = df111.select(lag("A", 1, None, False), lag(col("B"), 1, None, False), lag("A", 1, None, True), lag("A", 1, col("B"), False), lag("A", 2, lit(20), True)) - -df294 = df111.select(lead("A", 1, None, False), lead(col("B"), 1, None, False), lead("A", 1, None, True), lead("A", 1, col("B"), False), lead("A", 2, lit(20), True)) - -df295 = df111.select(last_value("A", False), last_value("A", True), last_value(col("B"), False)) - -df296 = df111.select(first_value("A", False), first_value("A", True), first_value(col("B"), False)) - -df297 = df111.select(ntile(10), ntile(col("A")), ntile(col("B"))) - -df298 = df111.select(percentile_cont(0.4)) - -df299 = df111.select(greatest(), greatest(col("A")), greatest(col("B"), col("A")), greatest(col("A"), col("B"), col("C"), col("D"), col("E"), col("F"))) - -df300 = df111.select(least(), least(col("A")), least(col("B"), col("A")), least(col("A"), col("B"), col("C"), col("D"), col("E"), col("F"))) - -df301 = df111.select(listagg("A", "", False), listagg(col("B"), "", False), listagg("A", ",", False), listagg("A", "|", True)) - -df302 = df111.select(call_udf("name"), call_udf("test", col("A"), lit(10))) - -df303 = df111.select(unix_timestamp("A", None), unix_timestamp("A", None), unix_timestamp(col("B"), lit("YYYY"))) - -df304 = df111.select(charindex(lit("needle"), col("expr"), lit(1)), charindex(lit("needle"), lit("test string"), lit(2))) - -df305 = df111.select(size(col("expr")), size("A")) - -## EXPECTED ENCODED AST - -body { - assign { - expr { - sp_table { - name { - sp_table_name_flat { - name: "table1" - } - } - src { - end_column: 41 - end_line: 27 - file: "SRC_POSITION_TEST_MODE" - start_column: 13 - start_line: 27 - } - variant { - sp_session_table: true - } - } - } - symbol { - value: "df" - } - uid: 1 - var_id { - bitfield1: 1 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 29 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 29 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 29 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 29 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 29 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 29 - } - variadic: true - } - } - symbol { - value: "df01" - } - uid: 2 - var_id { - bitfield1: 2 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 31 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 31 - } - v: "X" - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 31 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 31 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 31 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 31 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 39 - end_line: 31 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 31 - } - variadic: true - } - } - symbol { - value: "df02" - } - uid: 3 - var_id { - bitfield1: 3 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 33 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 33 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 33 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 33 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 40 - end_line: 33 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 33 - } - variadic: true - } - } - symbol { - value: "df03" - } - uid: 4 - var_id { - bitfield1: 4 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "column" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 35 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 35 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 35 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 35 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 37 - end_line: 35 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 35 - } - variadic: true - } - } - symbol { - value: "df04" - } - uid: 5 - var_id { - bitfield1: 5 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "column" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 37 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 37 - } - v: "X" - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 37 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 37 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 37 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 37 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 42 - end_line: 37 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 37 - } - variadic: true - } - } - symbol { - value: "df05" - } - uid: 6 - var_id { - bitfield1: 6 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "column" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 39 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 39 - } - v: "A" - } - } - src { - end_column: 42 - end_line: 39 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 39 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 43 - end_line: 39 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 39 - } - variadic: true - } - } - symbol { - value: "df06" - } - uid: 7 - var_id { - bitfield1: 7 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 31 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 41 - } - v: 1 - } - } - src { - end_column: 31 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 41 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 33 - start_line: 41 - } - v: "1" - } - } - src { - end_column: 41 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 33 - start_line: 41 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - float64_val { - src { - end_column: 51 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 41 - } - v: 1.0 - } - } - src { - end_column: 51 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 41 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - bool_val { - src { - end_column: 62 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 41 - } - v: true - } - } - src { - end_column: 62 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 41 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - binary_val { - src { - end_column: 76 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 41 - } - v: "snow" - } - } - src { - end_column: 76 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 41 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - python_date_val { - day: 2 - month: 2 - src { - end_column: 108 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 41 - } - year: 2023 - } - } - src { - end_column: 108 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 41 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - list_val { - src { - end_column: 121 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 110 - start_line: 41 - } - vs { - int64_val { - src { - end_column: 121 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 110 - start_line: 41 - } - v: 1 - } - } - vs { - int64_val { - src { - end_column: 121 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 110 - start_line: 41 - } - v: 2 - } - } - } - } - src { - end_column: 121 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 110 - start_line: 41 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - seq_map_val { - kvs { - vs { - string_val { - src { - end_column: 145 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 123 - start_line: 41 - } - v: "snow" - } - } - vs { - string_val { - src { - end_column: 145 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 123 - start_line: 41 - } - v: "flake" - } - } - } - src { - end_column: 145 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 123 - start_line: 41 - } - } - } - src { - end_column: 145 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 123 - start_line: 41 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 146 - end_line: 41 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 41 - } - variadic: true - } - } - symbol { - value: "df07" - } - uid: 8 - var_id { - bitfield1: 8 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sql_expr" - } - } - } - } - pos_args { - sp_column_sql_expr { - sql: "CURRENT_WAREHOUSE()" - src { - end_column: 56 - end_line: 43 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 43 - } - } - } - src { - end_column: 56 - end_line: 43 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 43 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 57 - end_line: 43 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 43 - } - variadic: true - } - } - symbol { - value: "df08" - } - uid: 9 - var_id { - bitfield1: 9 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_session" - } - } - } - } - src { - end_column: 42 - end_line: 45 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 45 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 43 - end_line: 45 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 45 - } - variadic: true - } - } - symbol { - value: "df09" - } - uid: 10 - var_id { - bitfield1: 10 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_statement" - } - } - } - } - src { - end_column: 44 - end_line: 47 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 47 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 45 - end_line: 47 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 47 - } - variadic: true - } - } - symbol { - value: "df10" - } - uid: 11 - var_id { - bitfield1: 11 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_user" - } - } - } - } - src { - end_column: 39 - end_line: 49 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 49 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 40 - end_line: 49 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 49 - } - variadic: true - } - } - symbol { - value: "df11" - } - uid: 12 - var_id { - bitfield1: 12 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_version" - } - } - } - } - src { - end_column: 42 - end_line: 51 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 51 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 43 - end_line: 51 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 51 - } - variadic: true - } - } - symbol { - value: "df12" - } - uid: 13 - var_id { - bitfield1: 13 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_warehouse" - } - } - } - } - src { - end_column: 44 - end_line: 53 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 53 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 45 - end_line: 53 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 53 - } - variadic: true - } - } - symbol { - value: "df13" - } - uid: 14 - var_id { - bitfield1: 14 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_database" - } - } - } - } - src { - end_column: 43 - end_line: 55 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 55 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 44 - end_line: 55 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 55 - } - variadic: true - } - } - symbol { - value: "df14" - } - uid: 15 - var_id { - bitfield1: 15 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_role" - } - } - } - } - src { - end_column: 39 - end_line: 57 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 57 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 40 - end_line: 57 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 57 - } - variadic: true - } - } - symbol { - value: "df15" - } - uid: 16 - var_id { - bitfield1: 16 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_schema" - } - } - } - } - src { - end_column: 41 - end_line: 59 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 59 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 42 - end_line: 59 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 59 - } - variadic: true - } - } - symbol { - value: "df16" - } - uid: 17 - var_id { - bitfield1: 17 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_schemas" - } - } - } - } - src { - end_column: 42 - end_line: 61 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 61 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 43 - end_line: 61 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 61 - } - variadic: true - } - } - symbol { - value: "df17" - } - uid: 18 - var_id { - bitfield1: 18 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_region" - } - } - } - } - src { - end_column: 41 - end_line: 63 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 63 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 42 - end_line: 63 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 63 - } - variadic: true - } - } - symbol { - value: "df18" - } - uid: 19 - var_id { - bitfield1: 19 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_account" - } - } - } - } - src { - end_column: 42 - end_line: 65 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 65 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 43 - end_line: 65 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 65 - } - variadic: true - } - } - symbol { - value: "df19" - } - uid: 20 - var_id { - bitfield1: 20 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_available_roles" - } - } - } - } - src { - end_column: 50 - end_line: 67 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 67 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 51 - end_line: 67 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 67 - } - variadic: true - } - } - symbol { - value: "df20" - } - uid: 21 - var_id { - bitfield1: 21 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "add_months" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 43 - end_line: 69 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 69 - } - v: "d" - } - } - src { - end_column: 43 - end_line: 69 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 69 - } - } - } - pos_args { - int64_val { - src { - end_column: 43 - end_line: 69 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 69 - } - v: 4 - } - } - src { - end_column: 43 - end_line: 69 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 69 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 44 - end_line: 69 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 69 - } - variadic: true - } - } - symbol { - value: "df21" - } - uid: 22 - var_id { - bitfield1: 22 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "add_months" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 71 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 71 - } - v: "A" - } - } - src { - end_column: 44 - end_line: 71 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 71 - } - } - } - pos_args { - int64_val { - src { - end_column: 48 - end_line: 71 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 71 - } - v: 4 - } - } - src { - end_column: 48 - end_line: 71 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 71 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 49 - end_line: 71 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 71 - } - variadic: true - } - } - symbol { - value: "df22" - } - uid: 23 - var_id { - bitfield1: 23 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "add_months" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 73 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 73 - } - v: "A" - } - } - src { - end_column: 44 - end_line: 73 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 73 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 73 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 73 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 73 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 73 - } - } - } - src { - end_column: 55 - end_line: 73 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 73 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 56 - end_line: 73 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 73 - } - variadic: true - } - } - symbol { - value: "df23" - } - uid: 24 - var_id { - bitfield1: 24 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "any_value" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 75 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 75 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 75 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 75 - } - } - } - src { - end_column: 39 - end_line: 75 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 75 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "any_value" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 59 - end_line: 75 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 75 - } - v: "A" - } - } - src { - end_column: 59 - end_line: 75 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 75 - } - } - } - src { - end_column: 60 - end_line: 75 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 75 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 61 - end_line: 75 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 75 - } - variadic: true - } - } - symbol { - value: "df24" - } - uid: 25 - var_id { - bitfield1: 25 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitnot" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 77 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 77 - } - } - } - src { - end_column: 36 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 77 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitnot" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 77 - } - v: "A" - } - } - src { - end_column: 53 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 77 - } - } - } - src { - end_column: 54 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 77 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitnot" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 77 - } - v: "A" - } - } - src { - end_column: 73 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 77 - } - } - } - src { - end_column: 74 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 77 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 75 - end_line: 77 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 77 - } - variadic: true - } - } - symbol { - value: "df25" - } - uid: 26 - var_id { - bitfield1: 26 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitshiftleft" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 79 - } - v: "A" - } - } - src { - end_column: 52 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 79 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 79 - } - v: "B" - } - } - src { - end_column: 51 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 79 - } - } - } - src { - end_column: 52 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 79 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitshiftleft" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 79 - } - v: "A" - } - } - src { - end_column: 76 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 79 - } - } - } - pos_args { - int64_val { - src { - end_column: 76 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 79 - } - v: -10 - } - } - src { - end_column: 76 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 79 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitshiftleft" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 99 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 79 - } - v: "B" - } - } - src { - end_column: 99 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 79 - } - } - } - pos_args { - int64_val { - src { - end_column: 104 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 79 - } - v: 42 - } - } - src { - end_column: 104 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 79 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 105 - end_line: 79 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 79 - } - variadic: true - } - } - symbol { - value: "df26" - } - uid: 27 - var_id { - bitfield1: 27 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitshiftright" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 81 - } - v: "A" - } - } - src { - end_column: 53 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 81 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 81 - } - v: "B" - } - } - src { - end_column: 52 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 81 - } - } - } - src { - end_column: 53 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 81 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitshiftright" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 78 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 81 - } - v: "A" - } - } - src { - end_column: 78 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 81 - } - } - } - pos_args { - int64_val { - src { - end_column: 78 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 81 - } - v: -10 - } - } - src { - end_column: 78 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 81 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bitshiftright" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 102 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 81 - } - v: "B" - } - } - src { - end_column: 102 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 81 - } - } - } - pos_args { - int64_val { - src { - end_column: 107 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 81 - } - v: 42 - } - } - src { - end_column: 107 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 81 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 108 - end_line: 81 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 81 - } - variadic: true - } - } - symbol { - value: "df27" - } - uid: 28 - var_id { - bitfield1: 28 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bround" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 83 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 46 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 83 - } - v: 10 - } - } - src { - end_column: 46 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 83 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bround" - } - } - } - } - pos_args { - string_val { - src { - end_column: 62 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 83 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 62 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 83 - } - v: 2 - } - } - src { - end_column: 62 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 83 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "bround" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 79 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 83 - } - v: "A" - } - } - src { - end_column: 79 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 83 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 95 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 83 - } - v: "B" - } - } - src { - end_column: 95 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 83 - } - } - } - src { - end_column: 96 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 83 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 97 - end_line: 83 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 83 - } - variadic: true - } - } - symbol { - value: "df28" - } - uid: 29 - var_id { - bitfield1: 29 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "convert_timezone" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 85 - } - v: "A" - } - } - src { - end_column: 56 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 85 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 85 - } - v: "B" - } - } - src { - end_column: 55 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 85 - } - } - } - src { - end_column: 56 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 85 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "convert_timezone" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 83 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 85 - } - v: "A" - } - } - src { - end_column: 83 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 85 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 89 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 85 - } - v: "B" - } - } - src { - end_column: 89 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 85 - } - } - } - src { - end_column: 89 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 85 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "convert_timezone" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 117 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 85 - } - v: "A" - } - } - src { - end_column: 117 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 85 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 117 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 85 - } - v: "B" - } - } - src { - end_column: 117 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 85 - } - } - } - src { - end_column: 117 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 85 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "convert_timezone" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 144 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 136 - start_line: 85 - } - v: "A" - } - } - src { - end_column: 144 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 136 - start_line: 85 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 154 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 146 - start_line: 85 - } - v: "B" - } - } - src { - end_column: 154 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 146 - start_line: 85 - } - } - } - src { - end_column: 155 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 119 - start_line: 85 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "convert_timezone" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 187 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 157 - start_line: 85 - } - v: "A" - } - } - src { - end_column: 187 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 157 - start_line: 85 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 187 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 157 - start_line: 85 - } - v: "B" - } - } - src { - end_column: 187 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 157 - start_line: 85 - } - } - } - src { - end_column: 187 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 157 - start_line: 85 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "convert_timezone" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 220 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 189 - start_line: 85 - } - v: "A" - } - } - src { - end_column: 220 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 189 - start_line: 85 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 220 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 189 - start_line: 85 - } - v: "A" - } - } - src { - end_column: 220 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 189 - start_line: 85 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 220 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 189 - start_line: 85 - } - v: "B" - } - } - src { - end_column: 220 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 189 - start_line: 85 - } - } - } - src { - end_column: 220 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 189 - start_line: 85 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 221 - end_line: 85 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 85 - } - variadic: true - } - } - symbol { - value: "df29" - } - uid: 30 - var_id { - bitfield1: 30 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "convert_timezone" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 87 - } - v: "UTC" - } - } - src { - end_column: 52 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 87 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 62 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 87 - } - v: "a" - } - } - src { - end_column: 62 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 87 - } - } - } - src { - end_column: 63 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 87 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "convert_timezone" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 124 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 87 - } - v: "Asia/Shanghai" - } - } - src { - end_column: 124 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 87 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 92 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 87 - } - v: "UTC" - } - } - src { - end_column: 92 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 87 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 102 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 87 - } - v: "b" - } - } - src { - end_column: 102 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 87 - } - } - } - src { - end_column: 125 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 87 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 126 - end_line: 87 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 87 - } - variadic: true - } - } - symbol { - value: "df30" - } - uid: 31 - var_id { - bitfield1: 31 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "approx_count_distinct" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 89 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 89 - } - v: "A" - } - } - src { - end_column: 51 - end_line: 89 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 89 - } - } - } - src { - end_column: 51 - end_line: 89 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 89 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "approx_count_distinct" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 83 - end_line: 89 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 89 - } - v: "A" - } - } - src { - end_column: 83 - end_line: 89 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 89 - } - } - } - src { - end_column: 84 - end_line: 89 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 89 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 85 - end_line: 89 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 89 - } - variadic: true - } - } - symbol { - value: "df31" - } - uid: 32 - var_id { - bitfield1: 32 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "avg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 91 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 91 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 91 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 91 - } - } - } - src { - end_column: 33 - end_line: 91 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 91 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "avg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 91 - file: "SRC_POSITION_TEST_MODE" - start_column: 39 - start_line: 91 - } - v: "B" - } - } - src { - end_column: 47 - end_line: 91 - file: "SRC_POSITION_TEST_MODE" - start_column: 39 - start_line: 91 - } - } - } - src { - end_column: 48 - end_line: 91 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 91 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 49 - end_line: 91 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 91 - } - variadic: true - } - } - symbol { - value: "df32" - } - uid: 33 - var_id { - bitfield1: 33 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "corr" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 93 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 93 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 93 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 93 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 93 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 93 - } - v: "B" - } - } - src { - end_column: 39 - end_line: 93 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 93 - } - } - } - src { - end_column: 39 - end_line: 93 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 93 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 40 - end_line: 93 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 93 - } - variadic: true - } - } - symbol { - value: "df33" - } - uid: 34 - var_id { - bitfield1: 34 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "count" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 95 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 95 - } - v: "*" - } - } - src { - end_column: 35 - end_line: 95 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 95 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "count" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 95 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 95 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 95 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 95 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "count" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 63 - end_line: 95 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 95 - } - v: "A" - } - } - src { - end_column: 63 - end_line: 95 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 95 - } - } - } - src { - end_column: 64 - end_line: 95 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 95 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 65 - end_line: 95 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 95 - } - variadic: true - } - } - symbol { - value: "df34" - } - uid: 35 - var_id { - bitfield1: 35 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "count_distinct" - } - } - } - } - src { - end_column: 41 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 97 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "count_distinct" - } - } - } - } - pos_args { - sp_column_sql_expr { - sql: "*" - src { - end_column: 66 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 97 - } - } - } - src { - end_column: 67 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 97 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "count_distinct" - } - } - } - } - pos_args { - string_val { - src { - end_column: 113 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 97 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 113 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 97 - } - v: "B" - } - } - pos_args { - string_val { - src { - end_column: 113 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 97 - } - v: "C" - } - } - pos_args { - string_val { - src { - end_column: 113 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 97 - } - v: "D" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 112 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 97 - } - v: "E" - } - } - src { - end_column: 112 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 97 - } - } - } - src { - end_column: 113 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 97 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 114 - end_line: 97 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 97 - } - variadic: true - } - } - symbol { - value: "df35" - } - uid: 36 - var_id { - bitfield1: 36 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "covar_pop" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 99 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 99 - } - v: "A" - } - } - src { - end_column: 49 - end_line: 99 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 99 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 99 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 99 - } - v: "B" - } - } - src { - end_column: 48 - end_line: 99 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 99 - } - } - } - src { - end_column: 49 - end_line: 99 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 99 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 50 - end_line: 99 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 99 - } - variadic: true - } - } - symbol { - value: "df36" - } - uid: 37 - var_id { - bitfield1: 37 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "covar_samp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 101 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 101 - } - v: "A" - } - } - src { - end_column: 45 - end_line: 101 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 101 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 101 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 101 - } - v: "B" - } - } - src { - end_column: 45 - end_line: 101 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 101 - } - } - } - src { - end_column: 45 - end_line: 101 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 101 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 46 - end_line: 101 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 101 - } - variadic: true - } - } - symbol { - value: "df37" - } - uid: 38 - var_id { - bitfield1: 38 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "create_map" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 103 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 103 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 103 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 103 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 103 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 103 - } - v: "B" - } - } - src { - end_column: 47 - end_line: 103 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 103 - } - } - } - src { - end_column: 47 - end_line: 103 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 103 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 48 - end_line: 103 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 103 - } - variadic: true - } - } - symbol { - value: "df38" - } - uid: 39 - var_id { - bitfield1: 39 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "create_map" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - v: "A" - } - } - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - v: "B" - } - } - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - v: "A" - } - } - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - v: "B" - } - } - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - } - } - src { - end_column: 57 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 105 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 58 - end_line: 105 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 105 - } - variadic: true - } - } - symbol { - value: "df39" - } - uid: 40 - var_id { - bitfield1: 40 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "create_map" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 107 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 107 - } - v: "A" - } - } - src { - end_column: 45 - end_line: 107 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 107 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 107 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 107 - } - v: "B" - } - } - src { - end_column: 45 - end_line: 107 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 107 - } - } - } - src { - end_column: 45 - end_line: 107 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 107 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 46 - end_line: 107 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 107 - } - variadic: true - } - } - symbol { - value: "df40" - } - uid: 41 - var_id { - bitfield1: 41 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "create_map" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - v: "A" - } - } - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - v: "B" - } - } - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - v: "C" - } - } - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - v: "D" - } - } - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - } - } - src { - end_column: 55 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 109 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 56 - end_line: 109 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 109 - } - variadic: true - } - } - symbol { - value: "df41" - } - uid: 42 - var_id { - bitfield1: 42 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "kurtosis" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 111 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 111 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 111 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 111 - } - } - } - src { - end_column: 38 - end_line: 111 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 111 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 39 - end_line: 111 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 111 - } - variadic: true - } - } - symbol { - value: "df42" - } - uid: 43 - var_id { - bitfield1: 43 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "max" - } - } - } - } - pos_args { - sp_column_sql_expr { - sql: "*" - src { - end_column: 33 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 113 - } - } - } - src { - end_column: 33 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 113 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "max" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 43 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 113 - } - v: "A" - } - } - src { - end_column: 43 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 113 - } - } - } - src { - end_column: 43 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 113 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "max" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 113 - } - v: "A" - } - } - src { - end_column: 57 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 113 - } - } - } - src { - end_column: 58 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 113 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 59 - end_line: 113 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 113 - } - variadic: true - } - } - symbol { - value: "df43" - } - uid: 44 - var_id { - bitfield1: 44 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "avg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 115 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 115 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 115 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 115 - } - } - } - src { - end_column: 34 - end_line: 115 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 115 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 115 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 115 - } - variadic: true - } - } - symbol { - value: "df44" - } - uid: 45 - var_id { - bitfield1: 45 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "median" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 117 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 117 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 117 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 117 - } - } - } - src { - end_column: 36 - end_line: 117 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 117 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 37 - end_line: 117 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 117 - } - variadic: true - } - } - symbol { - value: "df45" - } - uid: 46 - var_id { - bitfield1: 46 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "min" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 119 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 119 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 119 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 119 - } - } - } - src { - end_column: 33 - end_line: 119 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 119 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 119 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 119 - } - variadic: true - } - } - symbol { - value: "df46" - } - uid: 47 - var_id { - bitfield1: 47 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "mode" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 121 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 121 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 121 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 121 - } - } - } - src { - end_column: 34 - end_line: 121 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 121 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 121 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 121 - } - variadic: true - } - } - symbol { - value: "df47" - } - uid: 48 - var_id { - bitfield1: 48 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "skew" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 123 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 123 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 123 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 123 - } - } - } - src { - end_column: 34 - end_line: 123 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 123 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 123 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 123 - } - variadic: true - } - } - symbol { - value: "df48" - } - uid: 49 - var_id { - bitfield1: 49 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "stddev" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 125 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 125 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 125 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 125 - } - } - } - src { - end_column: 36 - end_line: 125 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 125 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 37 - end_line: 125 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 125 - } - variadic: true - } - } - symbol { - value: "df49" - } - uid: 50 - var_id { - bitfield1: 50 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "stddev_samp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 127 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 127 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 127 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 127 - } - } - } - src { - end_column: 41 - end_line: 127 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 127 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 42 - end_line: 127 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 127 - } - variadic: true - } - } - symbol { - value: "df50" - } - uid: 51 - var_id { - bitfield1: 51 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "stddev_pop" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 129 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 129 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 129 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 129 - } - } - } - src { - end_column: 40 - end_line: 129 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 129 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 41 - end_line: 129 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 129 - } - variadic: true - } - } - symbol { - value: "df51" - } - uid: 52 - var_id { - bitfield1: 52 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sum" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 131 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 131 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 131 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 131 - } - } - } - src { - end_column: 33 - end_line: 131 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 131 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 131 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 131 - } - variadic: true - } - } - symbol { - value: "df52" - } - uid: 53 - var_id { - bitfield1: 53 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sum_distinct" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 133 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 133 - } - v: "A" - } - } - src { - end_column: 42 - end_line: 133 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 133 - } - } - } - src { - end_column: 42 - end_line: 133 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 133 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 43 - end_line: 133 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 133 - } - variadic: true - } - } - symbol { - value: "df53" - } - uid: 54 - var_id { - bitfield1: 54 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "variance" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 135 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 135 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 135 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 135 - } - } - } - src { - end_column: 38 - end_line: 135 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 135 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 39 - end_line: 135 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 135 - } - variadic: true - } - } - symbol { - value: "df54" - } - uid: 55 - var_id { - bitfield1: 55 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "variance" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 137 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 137 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 137 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 137 - } - } - } - src { - end_column: 38 - end_line: 137 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 137 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 39 - end_line: 137 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 137 - } - variadic: true - } - } - symbol { - value: "df55" - } - uid: 56 - var_id { - bitfield1: 56 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "var_pop" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 139 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 139 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 139 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 139 - } - } - } - src { - end_column: 37 - end_line: 139 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 139 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 38 - end_line: 139 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 139 - } - variadic: true - } - } - symbol { - value: "df56" - } - uid: 57 - var_id { - bitfield1: 57 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "approx_percentile" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 141 - } - v: "A" - } - } - src { - end_column: 52 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 141 - } - } - } - pos_args { - float64_val { - src { - end_column: 52 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 141 - } - v: 0.6 - } - } - src { - end_column: 52 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 141 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "approx_percentile" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 80 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 141 - } - v: "B" - } - } - src { - end_column: 80 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 141 - } - } - } - pos_args { - float64_val { - src { - end_column: 86 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 141 - } - } - } - src { - end_column: 86 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 141 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 87 - end_line: 141 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 141 - } - variadic: true - } - } - symbol { - value: "df57" - } - uid: 58 - var_id { - bitfield1: 58 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "approx_percentile_accumulate" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 143 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 143 - } - v: "A" - } - } - src { - end_column: 58 - end_line: 143 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 143 - } - } - } - src { - end_column: 58 - end_line: 143 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 143 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 59 - end_line: 143 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 143 - } - variadic: true - } - } - symbol { - value: "df58" - } - uid: 59 - var_id { - bitfield1: 59 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "approx_percentile_estimate" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 61 - end_line: 145 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 145 - } - v: "A" - } - } - src { - end_column: 61 - end_line: 145 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 145 - } - } - } - pos_args { - float64_val { - src { - end_column: 61 - end_line: 145 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 145 - } - v: 0.3 - } - } - src { - end_column: 61 - end_line: 145 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 145 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 62 - end_line: 145 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 145 - } - variadic: true - } - } - symbol { - value: "df59" - } - uid: 60 - var_id { - bitfield1: 60 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "approx_percentile_combine" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 147 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 147 - } - v: "A" - } - } - src { - end_column: 55 - end_line: 147 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 147 - } - } - } - src { - end_column: 55 - end_line: 147 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 147 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 56 - end_line: 147 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 147 - } - variadic: true - } - } - symbol { - value: "df60" - } - uid: 61 - var_id { - bitfield1: 61 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "grouping" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 149 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 149 - } - } - } - src { - end_column: 38 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 149 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "grouping" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 149 - } - v: "A" - } - } - src { - end_column: 58 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 149 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 149 - } - v: "B" - } - } - src { - end_column: 58 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 149 - } - } - } - src { - end_column: 58 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 149 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 59 - end_line: 149 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 149 - } - variadic: true - } - } - symbol { - value: "df61" - } - uid: 62 - var_id { - bitfield1: 62 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "coalesce" - } - } - } - } - src { - end_column: 35 - end_line: 151 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 151 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "coalesce" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 151 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 151 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 151 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 151 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 63 - end_line: 151 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 151 - } - v: 10 - } - } - src { - end_column: 63 - end_line: 151 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 151 - } - } - } - src { - end_column: 64 - end_line: 151 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 151 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 65 - end_line: 151 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 151 - } - variadic: true - } - } - symbol { - value: "df62" - } - uid: 63 - var_id { - bitfield1: 63 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - sp_column_equal_nan { - col { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 153 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 153 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 153 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 153 - } - } - } - src { - end_column: 39 - end_line: 153 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 153 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 40 - end_line: 153 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 153 - } - variadic: true - } - } - symbol { - value: "df63" - } - uid: 64 - var_id { - bitfield1: 64 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - sp_column_is_null { - col { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 155 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 155 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 155 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 155 - } - } - } - src { - end_column: 37 - end_line: 155 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 155 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 38 - end_line: 155 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 155 - } - variadic: true - } - } - symbol { - value: "df64" - } - uid: 65 - var_id { - bitfield1: 65 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - neg { - operand { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 157 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 157 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 157 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 157 - } - } - } - src { - end_column: 36 - end_line: 157 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 157 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 37 - end_line: 157 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 157 - } - variadic: true - } - } - symbol { - value: "df65" - } - uid: 66 - var_id { - bitfield1: 66 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - not { - operand { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 159 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 159 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 159 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 159 - } - } - } - src { - end_column: 34 - end_line: 159 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 159 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 159 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 159 - } - variadic: true - } - } - symbol { - value: "df66" - } - uid: 67 - var_id { - bitfield1: 67 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "random" - } - } - } - } - src { - end_column: 33 - end_line: 161 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 161 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "random" - } - } - } - } - src { - end_column: 47 - end_line: 161 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 161 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "random" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 59 - end_line: 161 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 161 - } - v: 10 - } - } - src { - end_column: 59 - end_line: 161 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 161 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 60 - end_line: 161 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 161 - } - variadic: true - } - } - symbol { - value: "df67" - } - uid: 68 - var_id { - bitfield1: 68 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "uniform" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 163 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 163 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 163 - } - v: "B" - } - } - src { - end_column: 47 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 163 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 163 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 163 - } - } - } - src { - end_column: 47 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 163 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "uniform" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 75 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 163 - } - v: 10 - } - } - src { - end_column: 75 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 163 - } - } - } - pos_args { - sp_column_cast { - col { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - float64_val { - src { - end_column: 75 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 163 - } - v: 13.0 - } - } - src { - end_column: 75 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 163 - } - } - } - src { - end_column: 75 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 163 - } - to { - sp_float_type: true - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 74 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 163 - } - v: "A" - } - } - src { - end_column: 74 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 163 - } - } - } - src { - end_column: 75 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 163 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "uniform" - } - } - } - } - pos_args { - sp_column_cast { - col { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - float64_val { - src { - end_column: 97 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 163 - } - v: 0.2 - } - } - src { - end_column: 97 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 163 - } - } - } - src { - end_column: 97 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 163 - } - to { - sp_float_type: true - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 97 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 163 - } - v: 2 - } - } - src { - end_column: 97 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 163 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - float64_val { - src { - end_column: 97 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 163 - } - v: 0.2 - } - } - src { - end_column: 97 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 163 - } - } - } - src { - end_column: 97 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 163 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 98 - end_line: 163 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 163 - } - variadic: true - } - } - symbol { - value: "df68" - } - uid: 69 - var_id { - bitfield1: 69 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "seq1" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 32 - end_line: 165 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 165 - } - } - } - src { - end_column: 32 - end_line: 165 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 165 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "seq1" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 42 - end_line: 165 - file: "SRC_POSITION_TEST_MODE" - start_column: 34 - start_line: 165 - } - v: 10 - } - } - src { - end_column: 42 - end_line: 165 - file: "SRC_POSITION_TEST_MODE" - start_column: 34 - start_line: 165 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "seq1" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 53 - end_line: 165 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 165 - } - v: -10 - } - } - src { - end_column: 53 - end_line: 165 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 165 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 54 - end_line: 165 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 165 - } - variadic: true - } - } - symbol { - value: "df69" - } - uid: 70 - var_id { - bitfield1: 70 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "seq2" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 32 - end_line: 167 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 167 - } - v: 1 - } - } - src { - end_column: 32 - end_line: 167 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 167 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 33 - end_line: 167 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 167 - } - variadic: true - } - } - symbol { - value: "df70" - } - uid: 71 - var_id { - bitfield1: 71 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "seq4" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 33 - end_line: 169 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 169 - } - v: 12 - } - } - src { - end_column: 33 - end_line: 169 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 169 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 169 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 169 - } - variadic: true - } - } - symbol { - value: "df71" - } - uid: 72 - var_id { - bitfield1: 72 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "seq8" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 34 - end_line: 171 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 171 - } - v: 324 - } - } - src { - end_column: 34 - end_line: 171 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 171 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 171 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 171 - } - variadic: true - } - } - symbol { - value: "df72" - } - uid: 73 - var_id { - bitfield1: 73 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_decimal" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 173 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 173 - } - } - } - pos_args { - int64_val { - src { - end_column: 47 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 173 - } - v: 10 - } - } - pos_args { - int64_val { - src { - end_column: 47 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 173 - } - v: 3 - } - } - src { - end_column: 47 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 173 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_decimal" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 68 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 173 - } - v: "B" - } - } - src { - end_column: 68 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 173 - } - } - } - pos_args { - int64_val { - src { - end_column: 76 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 173 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 76 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 173 - } - v: 3 - } - } - src { - end_column: 76 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 173 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 77 - end_line: 173 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 173 - } - variadic: true - } - } - symbol { - value: "df73" - } - uid: 74 - var_id { - bitfield1: 74 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_double" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 43 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 175 - } - v: "A" - } - } - src { - end_column: 43 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 175 - } - } - } - pos_args { - null_val { - src { - end_column: 44 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 175 - } - } - } - src { - end_column: 44 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 175 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_double" - } - } - } - } - pos_args { - string_val { - src { - end_column: 66 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 175 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 66 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 175 - } - } - } - src { - end_column: 66 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 175 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_double" - } - } - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 175 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 175 - } - v: "999.9" - } - } - src { - end_column: 91 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 175 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_double" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 111 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 103 - start_line: 175 - } - v: "A" - } - } - src { - end_column: 111 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 103 - start_line: 175 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 121 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 113 - start_line: 175 - } - v: "B" - } - } - src { - end_column: 121 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 113 - start_line: 175 - } - } - } - src { - end_column: 122 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 175 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 123 - end_line: 175 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 175 - } - variadic: true - } - } - symbol { - value: "df74" - } - uid: 75 - var_id { - bitfield1: 75 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "div0" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 35 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 177 - } - } - } - pos_args { - int64_val { - src { - end_column: 35 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 177 - } - v: 1 - } - } - src { - end_column: 35 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 177 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "div0" - } - } - } - } - pos_args { - float64_val { - src { - end_column: 51 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 177 - } - v: 1.2 - } - } - pos_args { - float64_val { - src { - end_column: 51 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 177 - } - v: 9.3 - } - } - src { - end_column: 51 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 177 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "div0" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 67 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 177 - } - v: 10 - } - } - pos_args { - float64_val { - src { - end_column: 67 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 177 - } - v: 89.2 - } - } - src { - end_column: 67 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 177 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "div0" - } - } - } - } - pos_args { - string_val { - src { - end_column: 81 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 177 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 81 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 177 - } - v: 1 - } - } - src { - end_column: 81 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 177 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "div0" - } - } - } - } - pos_args { - float64_val { - src { - end_column: 97 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 177 - } - v: 0.2 - } - } - pos_args { - string_val { - src { - end_column: 97 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 177 - } - v: "A" - } - } - src { - end_column: 97 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 177 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "div0" - } - } - } - } - pos_args { - float64_val { - src { - end_column: 118 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 99 - start_line: 177 - } - v: 0.3 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 117 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 109 - start_line: 177 - } - v: "B" - } - } - src { - end_column: 117 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 109 - start_line: 177 - } - } - } - src { - end_column: 118 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 99 - start_line: 177 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 119 - end_line: 177 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 177 - } - variadic: true - } - } - symbol { - value: "df75" - } - uid: 76 - var_id { - bitfield1: 76 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sqrt" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 179 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 179 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 179 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 179 - } - } - } - src { - end_column: 34 - end_line: 179 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 179 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 179 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 179 - } - variadic: true - } - } - symbol { - value: "df76" - } - uid: 77 - var_id { - bitfield1: 77 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "abs" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 181 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 181 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 181 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 181 - } - } - } - src { - end_column: 33 - end_line: 181 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 181 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 181 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 181 - } - variadic: true - } - } - symbol { - value: "df77" - } - uid: 78 - var_id { - bitfield1: 78 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "acos" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 183 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 183 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 183 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 183 - } - } - } - src { - end_column: 34 - end_line: 183 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 183 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 183 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 183 - } - variadic: true - } - } - symbol { - value: "df78" - } - uid: 79 - var_id { - bitfield1: 79 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "asin" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 185 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 185 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 185 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 185 - } - } - } - src { - end_column: 34 - end_line: 185 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 185 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 185 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 185 - } - variadic: true - } - } - symbol { - value: "df79" - } - uid: 80 - var_id { - bitfield1: 80 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "atan" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 187 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 187 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 187 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 187 - } - } - } - src { - end_column: 34 - end_line: 187 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 187 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 187 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 187 - } - variadic: true - } - } - symbol { - value: "df80" - } - uid: 81 - var_id { - bitfield1: 81 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "atan2" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 189 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 189 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 189 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 189 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 189 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 189 - } - v: "B" - } - } - src { - end_column: 40 - end_line: 189 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 189 - } - } - } - src { - end_column: 40 - end_line: 189 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 189 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 41 - end_line: 189 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 189 - } - variadic: true - } - } - symbol { - value: "df81" - } - uid: 82 - var_id { - bitfield1: 82 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ceil" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 191 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 191 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 191 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 191 - } - } - } - src { - end_column: 34 - end_line: 191 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 191 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 191 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 191 - } - variadic: true - } - } - symbol { - value: "df82" - } - uid: 83 - var_id { - bitfield1: 83 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "cos" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 193 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 193 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 193 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 193 - } - } - } - src { - end_column: 33 - end_line: 193 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 193 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 193 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 193 - } - variadic: true - } - } - symbol { - value: "df83" - } - uid: 84 - var_id { - bitfield1: 84 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "cosh" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 195 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 195 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 195 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 195 - } - } - } - src { - end_column: 34 - end_line: 195 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 195 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 195 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 195 - } - variadic: true - } - } - symbol { - value: "df84" - } - uid: 85 - var_id { - bitfield1: 85 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "exp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 197 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 197 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 197 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 197 - } - } - } - src { - end_column: 33 - end_line: 197 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 197 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 197 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 197 - } - variadic: true - } - } - symbol { - value: "df85" - } - uid: 86 - var_id { - bitfield1: 86 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "factorial" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 199 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 199 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 199 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 199 - } - } - } - src { - end_column: 39 - end_line: 199 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 199 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 40 - end_line: 199 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 199 - } - variadic: true - } - } - symbol { - value: "df86" - } - uid: 87 - var_id { - bitfield1: 87 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "floor" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 201 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 201 - } - v: "A" - } - } - src { - end_column: 35 - end_line: 201 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 201 - } - } - } - src { - end_column: 35 - end_line: 201 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 201 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 36 - end_line: 201 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 201 - } - variadic: true - } - } - symbol { - value: "df87" - } - uid: 88 - var_id { - bitfield1: 88 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "format_number" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 203 - } - v: "A" - } - } - src { - end_column: 53 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 203 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 203 - } - v: "B" - } - } - src { - end_column: 52 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 203 - } - } - } - src { - end_column: 53 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 203 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "format_number" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 77 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 203 - } - v: "A" - } - } - src { - end_column: 77 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 203 - } - } - } - pos_args { - int64_val { - src { - end_column: 77 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 203 - } - v: 10 - } - } - src { - end_column: 77 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 203 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 78 - end_line: 203 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 203 - } - variadic: true - } - } - symbol { - value: "df88" - } - uid: 89 - var_id { - bitfield1: 89 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sin" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 205 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 205 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 205 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 205 - } - } - } - src { - end_column: 33 - end_line: 205 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 205 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 205 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 205 - } - variadic: true - } - } - symbol { - value: "df89" - } - uid: 90 - var_id { - bitfield1: 90 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sinh" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 207 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 207 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 207 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 207 - } - } - } - src { - end_column: 34 - end_line: 207 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 207 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 207 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 207 - } - variadic: true - } - } - symbol { - value: "df90" - } - uid: 91 - var_id { - bitfield1: 91 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "tan" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 209 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 209 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 209 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 209 - } - } - } - src { - end_column: 33 - end_line: 209 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 209 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 209 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 209 - } - variadic: true - } - } - symbol { - value: "df91" - } - uid: 92 - var_id { - bitfield1: 92 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "tanh" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 211 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 211 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 211 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 211 - } - } - } - src { - end_column: 34 - end_line: 211 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 211 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 211 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 211 - } - variadic: true - } - } - symbol { - value: "df92" - } - uid: 93 - var_id { - bitfield1: 93 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "degrees" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 213 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 213 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 213 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 213 - } - } - } - src { - end_column: 37 - end_line: 213 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 213 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 38 - end_line: 213 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 213 - } - variadic: true - } - } - symbol { - value: "df93" - } - uid: 94 - var_id { - bitfield1: 94 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "radians" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 215 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 215 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 215 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 215 - } - } - } - src { - end_column: 37 - end_line: 215 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 215 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 38 - end_line: 215 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 215 - } - variadic: true - } - } - symbol { - value: "df94" - } - uid: 95 - var_id { - bitfield1: 95 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "md5" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 33 - end_line: 217 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 217 - } - v: "A" - } - } - src { - end_column: 33 - end_line: 217 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 217 - } - } - } - src { - end_column: 33 - end_line: 217 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 217 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 34 - end_line: 217 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 217 - } - variadic: true - } - } - symbol { - value: "df95" - } - uid: 96 - var_id { - bitfield1: 96 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sha1" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 219 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 219 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 219 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 219 - } - } - } - src { - end_column: 34 - end_line: 219 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 219 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 35 - end_line: 219 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 219 - } - variadic: true - } - } - symbol { - value: "df96" - } - uid: 97 - var_id { - bitfield1: 97 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sha2" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 221 - } - v: "B" - } - } - src { - end_column: 38 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 221 - } - } - } - pos_args { - int64_val { - src { - end_column: 42 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 221 - } - } - } - src { - end_column: 42 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 221 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sha2" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 221 - } - v: "A" - } - } - src { - end_column: 58 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 221 - } - } - } - pos_args { - int64_val { - src { - end_column: 58 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 221 - } - v: 224 - } - } - src { - end_column: 58 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 221 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 59 - end_line: 221 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 221 - } - variadic: true - } - } - symbol { - value: "df97" - } - uid: 98 - var_id { - bitfield1: 98 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "hash" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - null_val { - src { - end_column: 39 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 223 - } - } - } - src { - end_column: 39 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 223 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 48 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 223 - } - v: 10 - } - } - src { - end_column: 48 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 223 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 223 - } - v: "A" - } - } - src { - end_column: 58 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 223 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 64 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 223 - } - v: "B" - } - } - src { - end_column: 64 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 223 - } - } - } - src { - end_column: 64 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 223 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 65 - end_line: 223 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 223 - } - variadic: true - } - } - symbol { - value: "df98" - } - uid: 99 - var_id { - bitfield1: 99 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ascii" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 225 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 225 - } - v: "A" - } - } - src { - end_column: 35 - end_line: 225 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 225 - } - } - } - src { - end_column: 35 - end_line: 225 - file: "SRC_POSITION_TEST_MODE" - start_column: 25 - start_line: 225 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 36 - end_line: 225 - file: "SRC_POSITION_TEST_MODE" - start_column: 15 - start_line: 225 - } - variadic: true - } - } - symbol { - value: "df99" - } - uid: 100 - var_id { - bitfield1: 100 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "initcap" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 227 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 227 - } - } - } - src { - end_column: 38 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 227 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "initcap" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 227 - } - v: "A" - } - } - src { - end_column: 58 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 227 - } - } - } - src { - end_column: 58 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 227 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "initcap" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 77 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 227 - } - v: "A" - } - } - src { - end_column: 77 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 227 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 77 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 227 - } - v: "B" - } - } - src { - end_column: 77 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 227 - } - } - } - src { - end_column: 77 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 227 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "initcap" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 95 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 227 - } - v: "A" - } - } - src { - end_column: 95 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 227 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 107 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 227 - } - v: "123" - } - } - src { - end_column: 107 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 227 - } - } - } - src { - end_column: 108 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 227 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 109 - end_line: 227 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 227 - } - variadic: true - } - } - symbol { - value: "df100" - } - uid: 101 - var_id { - bitfield1: 101 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "length" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 229 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 229 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 229 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 229 - } - } - } - src { - end_column: 37 - end_line: 229 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 229 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 38 - end_line: 229 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 229 - } - variadic: true - } - } - symbol { - value: "df101" - } - uid: 102 - var_id { - bitfield1: 102 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lower" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 231 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 231 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 231 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 231 - } - } - } - src { - end_column: 36 - end_line: 231 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 231 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 37 - end_line: 231 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 231 - } - variadic: true - } - } - symbol { - value: "df102" - } - uid: 103 - var_id { - bitfield1: 103 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lpad" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 233 - } - v: "A" - } - } - src { - end_column: 50 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 233 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 233 - } - v: "B" - } - } - src { - end_column: 44 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 233 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 233 - } - v: "B" - } - } - src { - end_column: 50 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 233 - } - } - } - src { - end_column: 50 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 233 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lpad" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 71 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 233 - } - v: "A" - } - } - src { - end_column: 71 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 233 - } - } - } - pos_args { - int64_val { - src { - end_column: 71 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 233 - } - v: 100 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 71 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 233 - } - v: "B" - } - } - src { - end_column: 71 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 233 - } - } - } - src { - end_column: 71 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 233 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lpad" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 86 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 233 - } - v: "A" - } - } - src { - end_column: 86 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 233 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 96 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 233 - } - v: "B" - } - } - src { - end_column: 96 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 233 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 106 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 98 - start_line: 233 - } - v: "B" - } - } - src { - end_column: 106 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 98 - start_line: 233 - } - } - } - src { - end_column: 107 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 73 - start_line: 233 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 108 - end_line: 233 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 233 - } - variadic: true - } - } - symbol { - value: "df103" - } - uid: 104 - var_id { - bitfield1: 104 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ltrim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 235 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 235 - } - } - } - src { - end_column: 36 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 235 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ltrim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 235 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 235 - } - } - } - src { - end_column: 54 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 235 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ltrim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 70 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 235 - } - v: "A" - } - } - src { - end_column: 70 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 235 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 235 - } - v: "B" - } - } - src { - end_column: 76 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 235 - } - } - } - src { - end_column: 76 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 235 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ltrim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 92 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 235 - } - v: "A" - } - } - src { - end_column: 92 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 235 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 102 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 235 - } - v: "B" - } - } - src { - end_column: 102 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 235 - } - } - } - src { - end_column: 103 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 235 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 104 - end_line: 235 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 235 - } - variadic: true - } - } - symbol { - value: "df104" - } - uid: 105 - var_id { - bitfield1: 105 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "rpad" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 237 - } - v: "A" - } - } - src { - end_column: 50 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 237 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 237 - } - v: "B" - } - } - src { - end_column: 44 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 237 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 237 - } - v: "B" - } - } - src { - end_column: 50 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 237 - } - } - } - src { - end_column: 50 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 237 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "rpad" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 71 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 237 - } - v: "A" - } - } - src { - end_column: 71 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 237 - } - } - } - pos_args { - int64_val { - src { - end_column: 71 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 237 - } - v: 100 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 71 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 237 - } - v: "B" - } - } - src { - end_column: 71 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 237 - } - } - } - src { - end_column: 71 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 237 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "rpad" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 86 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 237 - } - v: "A" - } - } - src { - end_column: 86 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 237 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 96 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 237 - } - v: "B" - } - } - src { - end_column: 96 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 237 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 106 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 98 - start_line: 237 - } - v: "B" - } - } - src { - end_column: 106 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 98 - start_line: 237 - } - } - } - src { - end_column: 107 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 73 - start_line: 237 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 108 - end_line: 237 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 237 - } - variadic: true - } - } - symbol { - value: "df105" - } - uid: 106 - var_id { - bitfield1: 106 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "rtrim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 239 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 239 - } - } - } - src { - end_column: 36 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 239 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "rtrim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 239 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 239 - } - } - } - src { - end_column: 54 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 239 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "rtrim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 70 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 239 - } - v: "A" - } - } - src { - end_column: 70 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 239 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 239 - } - v: "B" - } - } - src { - end_column: 76 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 239 - } - } - } - src { - end_column: 76 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 239 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "rtrim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 92 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 239 - } - v: "A" - } - } - src { - end_column: 92 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 239 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 102 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 239 - } - v: "B" - } - } - src { - end_column: 102 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 239 - } - } - } - src { - end_column: 103 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 239 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 104 - end_line: 239 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 239 - } - variadic: true - } - } - symbol { - value: "df106" - } - uid: 107 - var_id { - bitfield1: 107 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "repeat" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 241 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 241 - } - } - } - pos_args { - int64_val { - src { - end_column: 40 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 241 - } - v: 1 - } - } - src { - end_column: 40 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 241 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "repeat" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 241 - } - v: "A" - } - } - src { - end_column: 57 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 241 - } - } - } - pos_args { - int64_val { - src { - end_column: 62 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 241 - } - v: 20 - } - } - src { - end_column: 62 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 241 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "repeat" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 85 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 241 - } - v: "B" - } - } - src { - end_column: 85 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 241 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 84 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 241 - } - v: "A" - } - } - src { - end_column: 84 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 241 - } - } - } - src { - end_column: 85 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 241 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 86 - end_line: 241 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 241 - } - variadic: true - } - } - symbol { - value: "df107" - } - uid: 108 - var_id { - bitfield1: 108 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "reverse" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 243 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 243 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 243 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 243 - } - } - } - src { - end_column: 38 - end_line: 243 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 243 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 39 - end_line: 243 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 243 - } - variadic: true - } - } - symbol { - value: "df108" - } - uid: 109 - var_id { - bitfield1: 109 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "soundex" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 245 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 245 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 245 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 245 - } - } - } - src { - end_column: 38 - end_line: 245 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 245 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 39 - end_line: 245 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 245 - } - variadic: true - } - } - symbol { - value: "df109" - } - uid: 110 - var_id { - bitfield1: 110 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "trim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 247 - } - v: "A" - } - } - src { - end_column: 35 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 247 - } - } - } - src { - end_column: 35 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 247 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "trim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 247 - } - v: "A" - } - } - src { - end_column: 52 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 247 - } - } - } - src { - end_column: 52 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 247 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "trim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 67 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 247 - } - v: "A" - } - } - src { - end_column: 67 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 247 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 247 - } - v: "B" - } - } - src { - end_column: 73 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 247 - } - } - } - src { - end_column: 73 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 247 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "trim" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 88 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 247 - } - v: "A" - } - } - src { - end_column: 88 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 247 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 90 - start_line: 247 - } - v: "B" - } - } - src { - end_column: 98 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 90 - start_line: 247 - } - } - } - src { - end_column: 99 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 247 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 100 - end_line: 247 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 247 - } - variadic: true - } - } - symbol { - value: "df110" - } - uid: 111 - var_id { - bitfield1: 111 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "upper" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 249 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 249 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 249 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 249 - } - } - } - src { - end_column: 41 - end_line: 249 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 249 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 1 - } - } - } - src { - end_column: 42 - end_line: 249 - file: "SRC_POSITION_TEST_MODE" - start_column: 21 - start_line: 249 - } - variadic: true - } - } - symbol { - value: "df111" - } - uid: 112 - var_id { - bitfield1: 112 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "strtok_to_array" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 251 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 251 - } - } - } - src { - end_column: 46 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 251 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "strtok_to_array" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 72 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 251 - } - v: "A" - } - } - src { - end_column: 72 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 251 - } - } - } - src { - end_column: 79 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 251 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "strtok_to_array" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 105 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 251 - } - v: "A" - } - } - src { - end_column: 105 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 251 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 115 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 251 - } - v: "B" - } - } - src { - end_column: 115 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 251 - } - } - } - src { - end_column: 116 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 251 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "strtok_to_array" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 143 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 118 - start_line: 251 - } - v: "A" - } - } - src { - end_column: 143 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 118 - start_line: 251 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 143 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 118 - start_line: 251 - } - v: "B" - } - } - src { - end_column: 143 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 118 - start_line: 251 - } - } - } - src { - end_column: 143 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 118 - start_line: 251 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 144 - end_line: 251 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 251 - } - variadic: true - } - } - symbol { - value: "df112" - } - uid: 113 - var_id { - bitfield1: 113 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "struct" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 253 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 253 - } - v: "A" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 253 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 253 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 253 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 253 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 253 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 253 - } - v: "B" - } - } - src { - end_column: 56 - end_line: 253 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 253 - } - } - } - src { - end_column: 57 - end_line: 253 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 253 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 58 - end_line: 253 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 253 - } - variadic: true - } - } - symbol { - value: "df113" - } - uid: 114 - var_id { - bitfield1: 114 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "log" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 255 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 38 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 255 - } - v: 10 - } - } - src { - end_column: 38 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 255 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "log" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 255 - } - v: "B" - } - } - src { - end_column: 52 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 255 - } - } - } - pos_args { - float64_val { - src { - end_column: 58 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 255 - } - v: 4.3 - } - } - src { - end_column: 58 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 255 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "log" - } - } - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 255 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 255 - } - v: "B" - } - } - src { - end_column: 73 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 255 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 74 - end_line: 255 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 255 - } - variadic: true - } - } - symbol { - value: "df114" - } - uid: 115 - var_id { - bitfield1: 115 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "pow" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 257 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 38 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 257 - } - v: 10 - } - } - src { - end_column: 38 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 257 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "pow" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 257 - } - v: "B" - } - } - src { - end_column: 52 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 257 - } - } - } - pos_args { - float64_val { - src { - end_column: 58 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 257 - } - v: 4.3 - } - } - src { - end_column: 58 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 257 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "pow" - } - } - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 257 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 257 - } - v: "B" - } - } - src { - end_column: 73 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 257 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 74 - end_line: 257 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 257 - } - variadic: true - } - } - symbol { - value: "df115" - } - uid: 116 - var_id { - bitfield1: 116 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "round" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 259 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 36 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 259 - } - } - } - src { - end_column: 36 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 259 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "round" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 259 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 51 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 259 - } - } - } - src { - end_column: 51 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 259 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "round" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 67 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 259 - } - v: "B" - } - } - src { - end_column: 67 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 259 - } - } - } - pos_args { - float64_val { - src { - end_column: 73 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 259 - } - v: 4.7 - } - } - src { - end_column: 73 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 259 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 74 - end_line: 259 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 259 - } - variadic: true - } - } - symbol { - value: "df116" - } - uid: 117 - var_id { - bitfield1: 117 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sign" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 261 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 261 - } - v: "A" - } - } - src { - end_column: 35 - end_line: 261 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 261 - } - } - } - src { - end_column: 35 - end_line: 261 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 261 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 36 - end_line: 261 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 261 - } - variadic: true - } - } - symbol { - value: "df117" - } - uid: 118 - var_id { - bitfield1: 118 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "split" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 263 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 263 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 263 - } - v: "B" - } - } - src { - end_column: 41 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 263 - } - } - } - src { - end_column: 41 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 263 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "split" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 263 - } - v: "A" - } - } - src { - end_column: 57 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 263 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 71 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 263 - } - v: "asfdg" - } - } - src { - end_column: 71 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 263 - } - } - } - src { - end_column: 72 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 263 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 73 - end_line: 263 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 263 - } - variadic: true - } - } - symbol { - value: "df118" - } - uid: 119 - var_id { - bitfield1: 119 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "substring" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 265 - } - v: "A" - } - } - src { - end_column: 60 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 265 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 265 - } - v: "A" - } - } - src { - end_column: 49 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 265 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 59 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 265 - } - v: "A" - } - } - src { - end_column: 59 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 265 - } - } - } - src { - end_column: 60 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 265 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "substring" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 80 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 265 - } - v: "A" - } - } - src { - end_column: 80 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 265 - } - } - } - pos_args { - int64_val { - src { - end_column: 88 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 265 - } - } - } - pos_args { - int64_val { - src { - end_column: 88 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 265 - } - v: 10 - } - } - src { - end_column: 88 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 265 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "substring" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 108 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 100 - start_line: 265 - } - v: "A" - } - } - src { - end_column: 108 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 100 - start_line: 265 - } - } - } - pos_args { - int64_val { - src { - end_column: 123 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 90 - start_line: 265 - } - v: 20 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 122 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 114 - start_line: 265 - } - v: "B" - } - } - src { - end_column: 122 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 114 - start_line: 265 - } - } - } - src { - end_column: 123 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 90 - start_line: 265 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 124 - end_line: 265 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 265 - } - variadic: true - } - } - symbol { - value: "df119" - } - uid: 120 - var_id { - bitfield1: 120 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "substring_index" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 267 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 267 - } - v: "abc" - } - } - pos_args { - int64_val { - src { - end_column: 56 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 267 - } - v: 3 - } - } - src { - end_column: 56 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 267 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "substring_index" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 82 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 267 - } - v: "A" - } - } - src { - end_column: 82 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 267 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 92 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 267 - } - v: "B" - } - } - src { - end_column: 92 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 267 - } - } - } - pos_args { - int64_val { - src { - end_column: 96 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 267 - } - v: 2 - } - } - src { - end_column: 96 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 267 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 97 - end_line: 267 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 267 - } - variadic: true - } - } - symbol { - value: "df120" - } - uid: 121 - var_id { - bitfield1: 121 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "regexp_count" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 269 - } - v: "A" - } - } - src { - end_column: 58 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 269 - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 269 - } - v: "B" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 269 - } - v: "A" - } - } - src { - end_column: 57 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 269 - } - } - } - src { - end_column: 58 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 269 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "regexp_count" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 81 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 73 - start_line: 269 - } - v: "A" - } - } - src { - end_column: 81 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 73 - start_line: 269 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 269 - } - v: "B" - } - } - src { - end_column: 91 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 269 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 269 - } - v: "C" - } - } - src { - end_column: 101 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 269 - } - } - } - pos_args { - int64_val { - src { - end_column: 116 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 269 - } - v: 1 - } - } - pos_args { - int64_val { - src { - end_column: 116 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 269 - } - v: 2 - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 269 - } - v: "test" - } - } - src { - end_column: 116 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 269 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 117 - end_line: 269 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 269 - } - variadic: true - } - } - symbol { - value: "df121" - } - uid: 122 - var_id { - bitfield1: 122 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "regexp_extract" - } - } - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 271 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 271 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 271 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 271 - } - v: "B" - } - } - pos_args { - int64_val { - src { - end_column: 53 - end_line: 271 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 271 - } - v: 2 - } - } - src { - end_column: 53 - end_line: 271 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 271 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 54 - end_line: 271 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 271 - } - variadic: true - } - } - symbol { - value: "df122" - } - uid: 123 - var_id { - bitfield1: 123 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "regexp_replace" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 273 - } - v: "A" - } - } - src { - end_column: 60 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 273 - } - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 273 - } - v: "B" - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 273 - } - } - } - pos_args { - int64_val { - src { - end_column: 60 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 273 - } - v: 1 - } - } - pos_args { - int64_val { - src { - end_column: 60 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 273 - } - } - } - src { - end_column: 60 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 273 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "regexp_replace" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 85 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 273 - } - v: "A" - } - } - src { - end_column: 85 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 273 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 95 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 273 - } - v: "B" - } - } - src { - end_column: 95 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 273 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 105 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 273 - } - v: "C" - } - } - src { - end_column: 105 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 273 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 115 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 273 - } - v: "D" - } - } - src { - end_column: 115 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 273 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 125 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 117 - start_line: 273 - } - v: "E" - } - } - src { - end_column: 125 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 117 - start_line: 273 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 135 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 127 - start_line: 273 - } - v: "F" - } - } - src { - end_column: 135 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 127 - start_line: 273 - } - } - } - pos_args { - int64_val { - src { - end_column: 152 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 273 - } - v: 1 - } - } - pos_args { - string_val { - src { - end_column: 152 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 273 - } - v: "sgh" - } - } - pos_args { - float64_val { - src { - end_column: 152 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 273 - } - v: 99.9 - } - } - src { - end_column: 152 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 273 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 153 - end_line: 273 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 273 - } - variadic: true - } - } - symbol { - value: "df123" - } - uid: 124 - var_id { - bitfield1: 124 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "replace" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 34 - start_line: 275 - } - v: "A" - } - } - src { - end_column: 42 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 34 - start_line: 275 - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 275 - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 275 - } - } - } - src { - end_column: 51 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 275 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "replace" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 79 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 275 - } - v: "A" - } - } - src { - end_column: 79 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 275 - } - } - } - pos_args { - string_val { - src { - end_column: 79 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 275 - } - v: "B" - } - } - pos_args { - string_val { - src { - end_column: 79 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 275 - } - v: "ahsgj" - } - } - src { - end_column: 79 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 275 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 80 - end_line: 275 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 275 - } - variadic: true - } - } - symbol { - value: "df124" - } - uid: 125 - var_id { - bitfield1: 125 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "char_index" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 107 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 277 - } - v: "A" - } - } - src { - end_column: 107 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 277 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 107 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 277 - } - v: "B" - } - } - src { - end_column: 107 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 277 - } - } - } - pos_args { - int64_val { - src { - end_column: 107 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 277 - } - v: 20 - } - } - src { - end_column: 107 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 277 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "char_index" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 138 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 109 - start_line: 277 - } - v: "A" - } - } - src { - end_column: 138 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 109 - start_line: 277 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 138 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 109 - start_line: 277 - } - v: "B" - } - } - src { - end_column: 138 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 109 - start_line: 277 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 137 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 277 - } - v: "C" - } - } - src { - end_column: 137 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 277 - } - } - } - src { - end_column: 138 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 109 - start_line: 277 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 139 - end_line: 277 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 277 - } - variadic: true - } - } - symbol { - value: "df125" - } - uid: 126 - var_id { - bitfield1: 126 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "collate" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 279 - file: "SRC_POSITION_TEST_MODE" - start_column: 34 - start_line: 279 - } - v: "A" - } - } - src { - end_column: 42 - end_line: 279 - file: "SRC_POSITION_TEST_MODE" - start_column: 34 - start_line: 279 - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 279 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 279 - } - v: "sp-upper" - } - } - src { - end_column: 55 - end_line: 279 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 279 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 56 - end_line: 279 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 279 - } - variadic: true - } - } - symbol { - value: "df126" - } - uid: 127 - var_id { - bitfield1: 127 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "collation" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 281 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 281 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 281 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 281 - } - } - } - src { - end_column: 40 - end_line: 281 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 281 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 281 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 281 - } - variadic: true - } - } - symbol { - value: "df127" - } - uid: 128 - var_id { - bitfield1: 128 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "concat" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 283 - } - v: "A" - } - } - src { - end_column: 52 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 283 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 283 - } - v: "B" - } - } - src { - end_column: 46 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 283 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 283 - } - v: "A" - } - } - src { - end_column: 52 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 283 - } - } - } - src { - end_column: 52 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 283 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "concat" - } - } - } - } - src { - end_column: 62 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 283 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 63 - end_line: 283 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 283 - } - variadic: true - } - } - symbol { - value: "df128" - } - uid: 129 - var_id { - bitfield1: 129 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "concat_ws" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 285 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 285 - } - v: "A" - } - } - src { - end_column: 55 - end_line: 285 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 285 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 285 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 285 - } - v: "B" - } - } - src { - end_column: 49 - end_line: 285 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 285 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 285 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 285 - } - v: "A" - } - } - src { - end_column: 55 - end_line: 285 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 285 - } - } - } - src { - end_column: 55 - end_line: 285 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 285 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 56 - end_line: 285 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 285 - } - variadic: true - } - } - symbol { - value: "df129" - } - uid: 130 - var_id { - bitfield1: 130 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "translate" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 287 - } - v: "A" - } - } - src { - end_column: 50 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 287 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 287 - } - v: "B" - } - } - src { - end_column: 50 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 287 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 287 - } - v: "B" - } - } - src { - end_column: 50 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 287 - } - } - } - src { - end_column: 50 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 287 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "translate" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 70 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 287 - } - v: "A" - } - } - src { - end_column: 70 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 287 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 80 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 287 - } - v: "B" - } - } - src { - end_column: 80 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 287 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 93 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 287 - } - v: "ashg" - } - } - src { - end_column: 93 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 287 - } - } - } - src { - end_column: 94 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 287 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 95 - end_line: 287 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 287 - } - variadic: true - } - } - symbol { - value: "df130" - } - uid: 131 - var_id { - bitfield1: 131 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "contains" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 289 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 289 - } - v: "A" - } - } - src { - end_column: 44 - end_line: 289 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 289 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 289 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 289 - } - v: "B" - } - } - src { - end_column: 44 - end_line: 289 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 289 - } - } - } - src { - end_column: 44 - end_line: 289 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 289 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 45 - end_line: 289 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 289 - } - variadic: true - } - } - symbol { - value: "df131" - } - uid: 132 - var_id { - bitfield1: 132 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "startswith" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 291 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 291 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 291 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 291 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 291 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 291 - } - v: "B" - } - } - src { - end_column: 46 - end_line: 291 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 291 - } - } - } - src { - end_column: 46 - end_line: 291 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 291 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 47 - end_line: 291 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 291 - } - variadic: true - } - } - symbol { - value: "df132" - } - uid: 133 - var_id { - bitfield1: 133 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "endswith" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 293 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 293 - } - v: "A" - } - } - src { - end_column: 44 - end_line: 293 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 293 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 293 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 293 - } - v: "B" - } - } - src { - end_column: 44 - end_line: 293 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 293 - } - } - } - src { - end_column: 44 - end_line: 293 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 293 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 45 - end_line: 293 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 293 - } - variadic: true - } - } - symbol { - value: "df133" - } - uid: 134 - var_id { - bitfield1: 134 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "insert" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 33 - start_line: 295 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 33 - start_line: 295 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 295 - } - v: "B" - } - } - src { - end_column: 51 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 295 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 61 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 295 - } - v: "C" - } - } - src { - end_column: 61 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 295 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 67 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 295 - } - v: "D" - } - } - src { - end_column: 67 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 295 - } - } - } - src { - end_column: 67 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 295 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "insert" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 295 - } - v: "A" - } - } - src { - end_column: 98 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 295 - } - } - } - pos_args { - int64_val { - src { - end_column: 98 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 295 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 98 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 295 - } - v: 13 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 97 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 89 - start_line: 295 - } - v: "D" - } - } - src { - end_column: 97 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 89 - start_line: 295 - } - } - } - src { - end_column: 98 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 295 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 99 - end_line: 295 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 295 - } - variadic: true - } - } - symbol { - value: "df134" - } - uid: 135 - var_id { - bitfield1: 135 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "left" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 297 - } - v: "A" - } - } - src { - end_column: 45 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 297 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 297 - } - v: "B" - } - } - src { - end_column: 44 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 297 - } - } - } - src { - end_column: 45 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 297 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "left" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 297 - } - v: "A" - } - } - src { - end_column: 60 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 297 - } - } - } - pos_args { - int64_val { - src { - end_column: 65 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 297 - } - v: 10 - } - } - src { - end_column: 65 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 297 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 66 - end_line: 297 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 297 - } - variadic: true - } - } - symbol { - value: "df135" - } - uid: 136 - var_id { - bitfield1: 136 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "right" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 299 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 299 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 299 - } - v: "B" - } - } - src { - end_column: 45 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 299 - } - } - } - src { - end_column: 46 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 299 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "right" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 62 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 299 - } - v: "A" - } - } - src { - end_column: 62 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 299 - } - } - } - pos_args { - int64_val { - src { - end_column: 67 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 299 - } - v: 10 - } - } - src { - end_column: 67 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 299 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 68 - end_line: 299 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 299 - } - variadic: true - } - } - symbol { - value: "df136" - } - uid: 137 - var_id { - bitfield1: 137 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "char" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 301 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 301 - } - v: "A" - } - } - src { - end_column: 35 - end_line: 301 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 301 - } - } - } - src { - end_column: 35 - end_line: 301 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 301 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 36 - end_line: 301 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 301 - } - variadic: true - } - } - symbol { - value: "df137" - } - uid: 138 - var_id { - bitfield1: 138 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_char" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 84 - end_line: 303 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 303 - } - v: "A" - } - } - src { - end_column: 84 - end_line: 303 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 303 - } - } - } - pos_args { - string_val { - src { - end_column: 84 - end_line: 303 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 303 - } - v: "bcd" - } - } - src { - end_column: 84 - end_line: 303 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 303 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 85 - end_line: 303 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 303 - } - variadic: true - } - } - symbol { - value: "df138" - } - uid: 139 - var_id { - bitfield1: 139 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_format" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 305 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 305 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 305 - } - v: "B" - } - } - src { - end_column: 56 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 305 - } - } - } - src { - end_column: 57 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 305 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_format" - } - } - } - } - pos_args { - string_val { - src { - end_column: 83 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 305 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 83 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 305 - } - v: "YYYY" - } - } - src { - end_column: 83 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 305 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 84 - end_line: 305 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 305 - } - variadic: true - } - } - symbol { - value: "df139" - } - uid: 140 - var_id { - bitfield1: 140 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_time" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 307 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 307 - } - } - } - src { - end_column: 38 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 307 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_time" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 307 - } - v: "A" - } - } - src { - end_column: 60 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 307 - } - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 307 - } - v: "YYYY" - } - } - src { - end_column: 60 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 307 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_time" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 78 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 307 - } - v: "A" - } - } - src { - end_column: 78 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 307 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 88 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 307 - } - v: "B" - } - } - src { - end_column: 88 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 307 - } - } - } - src { - end_column: 89 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 307 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 90 - end_line: 307 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 307 - } - variadic: true - } - } - symbol { - value: "df140" - } - uid: 141 - var_id { - bitfield1: 141 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 43 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 309 - } - v: "A" - } - } - src { - end_column: 43 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 309 - } - } - } - src { - end_column: 43 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 309 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 68 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 309 - } - v: "C" - } - } - src { - end_column: 68 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 309 - } - } - } - src { - end_column: 68 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 309 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 309 - } - v: "A" - } - } - src { - end_column: 91 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 309 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 309 - } - v: "B" - } - } - src { - end_column: 101 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 309 - } - } - } - src { - end_column: 102 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 309 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 103 - end_line: 309 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 309 - } - variadic: true - } - } - symbol { - value: "df141" - } - uid: 142 - var_id { - bitfield1: 142 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_ntz" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 311 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 47 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 311 - } - } - } - src { - end_column: 47 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 311 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_ntz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 74 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 311 - } - v: "A" - } - } - src { - end_column: 74 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 311 - } - } - } - pos_args { - null_val { - src { - end_column: 81 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 311 - } - } - } - src { - end_column: 81 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 311 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_ntz" - } - } - } - } - pos_args { - string_val { - src { - end_column: 112 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 311 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 112 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 311 - } - v: "auto" - } - } - src { - end_column: 112 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 311 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_ntz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 139 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 131 - start_line: 311 - } - v: "A" - } - } - src { - end_column: 139 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 131 - start_line: 311 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 149 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 141 - start_line: 311 - } - v: "B" - } - } - src { - end_column: 149 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 141 - start_line: 311 - } - } - } - src { - end_column: 150 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 114 - start_line: 311 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 151 - end_line: 311 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 311 - } - variadic: true - } - } - symbol { - value: "df142" - } - uid: 143 - var_id { - bitfield1: 143 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_ltz" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 313 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 47 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 313 - } - } - } - src { - end_column: 47 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 313 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_ltz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 74 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 313 - } - v: "A" - } - } - src { - end_column: 74 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 313 - } - } - } - pos_args { - null_val { - src { - end_column: 81 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 313 - } - } - } - src { - end_column: 81 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 313 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_ltz" - } - } - } - } - pos_args { - string_val { - src { - end_column: 112 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 313 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 112 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 313 - } - v: "auto" - } - } - src { - end_column: 112 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 313 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_ltz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 139 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 131 - start_line: 313 - } - v: "A" - } - } - src { - end_column: 139 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 131 - start_line: 313 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 149 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 141 - start_line: 313 - } - v: "B" - } - } - src { - end_column: 149 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 141 - start_line: 313 - } - } - } - src { - end_column: 150 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 114 - start_line: 313 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 151 - end_line: 313 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 313 - } - variadic: true - } - } - symbol { - value: "df143" - } - uid: 144 - var_id { - bitfield1: 144 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_tz" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 315 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 46 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 315 - } - } - } - src { - end_column: 46 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 315 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_tz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 72 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 315 - } - v: "A" - } - } - src { - end_column: 72 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 315 - } - } - } - pos_args { - null_val { - src { - end_column: 79 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 315 - } - } - } - src { - end_column: 79 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 315 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_tz" - } - } - } - } - pos_args { - string_val { - src { - end_column: 109 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 315 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 109 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 315 - } - v: "auto" - } - } - src { - end_column: 109 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 315 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_timestamp_tz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 135 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 127 - start_line: 315 - } - v: "A" - } - } - src { - end_column: 135 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 127 - start_line: 315 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 145 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 137 - start_line: 315 - } - v: "B" - } - } - src { - end_column: 145 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 137 - start_line: 315 - } - } - } - src { - end_column: 146 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 111 - start_line: 315 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 147 - end_line: 315 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 315 - } - variadic: true - } - } - symbol { - value: "df144" - } - uid: 145 - var_id { - bitfield1: 145 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "from_utc_timestamp" - } - } - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 317 - } - v: "A" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 59 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 317 - } - v: 1234 - } - } - src { - end_column: 59 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 317 - } - } - } - src { - end_column: 60 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 317 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "from_utc_timestamp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 89 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 317 - } - v: "A" - } - } - src { - end_column: 89 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 317 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 99 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 317 - } - v: "B" - } - } - src { - end_column: 99 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 317 - } - } - } - src { - end_column: 100 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 317 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 101 - end_line: 317 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 317 - } - variadic: true - } - } - symbol { - value: "df145" - } - uid: 146 - var_id { - bitfield1: 146 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_utc_timestamp" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 319 - } - v: "A" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 57 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 319 - } - v: 1234 - } - } - src { - end_column: 57 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 319 - } - } - } - src { - end_column: 58 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 319 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_utc_timestamp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 85 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 319 - } - v: "A" - } - } - src { - end_column: 85 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 319 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 95 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 319 - } - v: "B" - } - } - src { - end_column: 95 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 319 - } - } - } - src { - end_column: 96 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 319 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 97 - end_line: 319 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 319 - } - variadic: true - } - } - symbol { - value: "df146" - } - uid: 147 - var_id { - bitfield1: 147 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_date" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 321 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 321 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_date" - } - } - } - } - pos_args { - string_val { - src { - end_column: 62 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 321 - } - v: "A" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 61 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 321 - } - v: "A" - } - } - src { - end_column: 61 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 321 - } - } - } - src { - end_column: 62 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 321 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_date" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 80 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 321 - } - v: "A" - } - } - src { - end_column: 80 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 321 - } - } - } - src { - end_column: 87 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 321 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 88 - end_line: 321 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 321 - } - variadic: true - } - } - symbol { - value: "df147" - } - uid: 148 - var_id { - bitfield1: 148 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_timestamp" - } - } - } - } - src { - end_column: 45 - end_line: 323 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 323 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 46 - end_line: 323 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 323 - } - variadic: true - } - } - symbol { - value: "df148" - } - uid: 149 - var_id { - bitfield1: 149 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_date" - } - } - } - } - src { - end_column: 40 - end_line: 325 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 325 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 325 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 325 - } - variadic: true - } - } - symbol { - value: "df149" - } - uid: 150 - var_id { - bitfield1: 150 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "current_time" - } - } - } - } - src { - end_column: 40 - end_line: 327 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 327 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 327 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 327 - } - variadic: true - } - } - symbol { - value: "df150" - } - uid: 151 - var_id { - bitfield1: 151 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "hour" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 329 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 329 - } - v: "A" - } - } - src { - end_column: 35 - end_line: 329 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 329 - } - } - } - src { - end_column: 35 - end_line: 329 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 329 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 36 - end_line: 329 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 329 - } - variadic: true - } - } - symbol { - value: "df151" - } - uid: 152 - var_id { - bitfield1: 152 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "last_day" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 331 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 331 - } - } - } - src { - end_column: 39 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 331 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "last_day" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 331 - } - v: "A" - } - } - src { - end_column: 58 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 331 - } - } - } - src { - end_column: 65 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 331 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "last_day" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 84 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 331 - } - v: "A" - } - } - src { - end_column: 84 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 331 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 94 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 331 - } - v: "B" - } - } - src { - end_column: 94 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 331 - } - } - } - src { - end_column: 95 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 331 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "last_day" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 115 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 331 - } - v: "A" - } - } - src { - end_column: 115 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 331 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 115 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 331 - } - v: "B" - } - } - src { - end_column: 115 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 331 - } - } - } - src { - end_column: 115 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 331 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 116 - end_line: 331 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 331 - } - variadic: true - } - } - symbol { - value: "df152" - } - uid: 153 - var_id { - bitfield1: 153 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "minute" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 333 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 333 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 333 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 333 - } - } - } - src { - end_column: 37 - end_line: 333 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 333 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 38 - end_line: 333 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 333 - } - variadic: true - } - } - symbol { - value: "df153" - } - uid: 154 - var_id { - bitfield1: 154 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "next_day" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 335 - } - v: "A" - } - } - src { - end_column: 45 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 335 - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 335 - } - v: "fr" - } - } - src { - end_column: 45 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 335 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "next_day" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 64 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 335 - } - v: "A" - } - } - src { - end_column: 64 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 335 - } - } - } - pos_args { - sp_column_sql_expr { - sql: "\"B\"" - src { - end_column: 75 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 335 - } - } - } - src { - end_column: 75 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 335 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 76 - end_line: 335 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 335 - } - variadic: true - } - } - symbol { - value: "df154" - } - uid: 155 - var_id { - bitfield1: 155 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "previous_day" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 337 - } - v: "A" - } - } - src { - end_column: 49 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 337 - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 337 - } - v: "fr" - } - } - src { - end_column: 49 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 337 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "previous_day" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 72 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 337 - } - v: "A" - } - } - src { - end_column: 72 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 337 - } - } - } - pos_args { - sp_column_sql_expr { - sql: "\"B\"" - src { - end_column: 83 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 337 - } - } - } - src { - end_column: 83 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 337 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 84 - end_line: 337 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 337 - } - variadic: true - } - } - symbol { - value: "df155" - } - uid: 156 - var_id { - bitfield1: 156 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "second" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 339 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 339 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 339 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 339 - } - } - } - src { - end_column: 37 - end_line: 339 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 339 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 38 - end_line: 339 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 339 - } - variadic: true - } - } - symbol { - value: "df156" - } - uid: 157 - var_id { - bitfield1: 157 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "month" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 36 - end_line: 341 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 341 - } - v: "A" - } - } - src { - end_column: 36 - end_line: 341 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 341 - } - } - } - src { - end_column: 36 - end_line: 341 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 341 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 37 - end_line: 341 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 341 - } - variadic: true - } - } - symbol { - value: "df157" - } - uid: 158 - var_id { - bitfield1: 158 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "monthname" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 343 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 343 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 343 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 343 - } - } - } - src { - end_column: 40 - end_line: 343 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 343 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 343 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 343 - } - variadic: true - } - } - symbol { - value: "df158" - } - uid: 159 - var_id { - bitfield1: 159 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "quarter" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 345 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 345 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 345 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 345 - } - } - } - src { - end_column: 38 - end_line: 345 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 345 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 345 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 345 - } - variadic: true - } - } - symbol { - value: "df159" - } - uid: 160 - var_id { - bitfield1: 160 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "year" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 347 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 347 - } - v: "A" - } - } - src { - end_column: 35 - end_line: 347 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 347 - } - } - } - src { - end_column: 35 - end_line: 347 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 347 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 36 - end_line: 347 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 347 - } - variadic: true - } - } - symbol { - value: "df160" - } - uid: 161 - var_id { - bitfield1: 161 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sysdate" - } - } - } - } - src { - end_column: 35 - end_line: 349 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 349 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 36 - end_line: 349 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 349 - } - variadic: true - } - } - symbol { - value: "df170" - } - uid: 162 - var_id { - bitfield1: 162 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "months_between" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 351 - } - v: "A" - } - } - src { - end_column: 50 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 351 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 351 - } - v: "B" - } - } - src { - end_column: 50 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 351 - } - } - } - src { - end_column: 50 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 351 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "months_between" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 75 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 351 - } - v: "A" - } - } - src { - end_column: 75 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 351 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 81 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 351 - } - v: "B" - } - } - src { - end_column: 81 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 351 - } - } - } - src { - end_column: 81 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 351 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "months_between" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 106 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 98 - start_line: 351 - } - v: "A" - } - } - src { - end_column: 106 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 98 - start_line: 351 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 108 - start_line: 351 - } - v: "B" - } - } - src { - end_column: 116 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 108 - start_line: 351 - } - } - } - src { - end_column: 117 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 351 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 118 - end_line: 351 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 351 - } - variadic: true - } - } - symbol { - value: "df171" - } - uid: 163 - var_id { - bitfield1: 163 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_geography" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 43 - end_line: 353 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 353 - } - v: "A" - } - } - src { - end_column: 43 - end_line: 353 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 353 - } - } - } - src { - end_column: 43 - end_line: 353 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 353 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 44 - end_line: 353 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 353 - } - variadic: true - } - } - symbol { - value: "df172" - } - uid: 164 - var_id { - bitfield1: 164 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_geometry" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 355 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 355 - } - v: "A" - } - } - src { - end_column: 42 - end_line: 355 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 355 - } - } - } - src { - end_column: 42 - end_line: 355 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 355 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 43 - end_line: 355 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 355 - } - variadic: true - } - } - symbol { - value: "df173" - } - uid: 165 - var_id { - bitfield1: 165 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "arrays_overlap" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 357 - } - v: "A" - } - } - src { - end_column: 55 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 357 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 357 - } - v: "B" - } - } - src { - end_column: 54 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 357 - } - } - } - src { - end_column: 55 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 357 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "arrays_overlap" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 80 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 357 - } - v: "A" - } - } - src { - end_column: 80 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 357 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 86 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 357 - } - v: "B" - } - } - src { - end_column: 86 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 357 - } - } - } - src { - end_column: 86 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 357 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 87 - end_line: 357 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 357 - } - variadic: true - } - } - symbol { - value: "df174" - } - uid: 166 - var_id { - bitfield1: 166 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_distinct" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 359 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 359 - } - v: "A" - } - } - src { - end_column: 45 - end_line: 359 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 359 - } - } - } - src { - end_column: 45 - end_line: 359 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 359 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 46 - end_line: 359 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 359 - } - variadic: true - } - } - symbol { - value: "df175" - } - uid: 167 - var_id { - bitfield1: 167 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_intersection" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 361 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 361 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 361 - } - v: "B" - } - } - src { - end_column: 54 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 361 - } - } - } - src { - end_column: 54 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 361 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_intersection" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 83 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 361 - } - v: "A" - } - } - src { - end_column: 83 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 361 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 93 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 85 - start_line: 361 - } - v: "B" - } - } - src { - end_column: 93 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 85 - start_line: 361 - } - } - } - src { - end_column: 94 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 361 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_intersection" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 129 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 96 - start_line: 361 - } - v: "A" - } - } - src { - end_column: 129 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 96 - start_line: 361 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 128 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 120 - start_line: 361 - } - v: "B" - } - } - src { - end_column: 128 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 120 - start_line: 361 - } - } - } - src { - end_column: 129 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 96 - start_line: 361 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 130 - end_line: 361 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 361 - } - variadic: true - } - } - symbol { - value: "df176" - } - uid: 168 - var_id { - bitfield1: 168 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_except" - } - } - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 363 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 363 - } - v: "B" - } - } - pos_args { - bool_val { - src { - end_column: 48 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 363 - } - v: true - } - } - src { - end_column: 48 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 363 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_except" - } - } - } - } - pos_args { - string_val { - src { - end_column: 83 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 363 - } - v: "A" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 363 - } - v: "B" - } - } - src { - end_column: 76 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 363 - } - } - } - pos_args { - bool_val { - src { - end_column: 83 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 363 - } - v: true - } - } - src { - end_column: 83 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 363 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_except" - } - } - } - } - pos_args { - string_val { - src { - end_column: 114 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 85 - start_line: 363 - } - v: "B" - } - } - pos_args { - string_val { - src { - end_column: 114 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 85 - start_line: 363 - } - v: "A" - } - } - pos_args { - bool_val { - src { - end_column: 114 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 85 - start_line: 363 - } - } - } - src { - end_column: 114 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 85 - start_line: 363 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 115 - end_line: 363 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 363 - } - variadic: true - } - } - symbol { - value: "df177" - } - uid: 169 - var_id { - bitfield1: 169 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_min" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 365 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 365 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 365 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 365 - } - } - } - src { - end_column: 40 - end_line: 365 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 365 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 365 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 365 - } - variadic: true - } - } - symbol { - value: "df178" - } - uid: 170 - var_id { - bitfield1: 170 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_max" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 367 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 367 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 367 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 367 - } - } - } - src { - end_column: 40 - end_line: 367 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 367 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 367 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 367 - } - variadic: true - } - } - symbol { - value: "df179" - } - uid: 171 - var_id { - bitfield1: 171 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_flatten" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 369 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 369 - } - v: "A" - } - } - src { - end_column: 44 - end_line: 369 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 369 - } - } - } - src { - end_column: 44 - end_line: 369 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 369 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 45 - end_line: 369 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 369 - } - variadic: true - } - } - symbol { - value: "df180" - } - uid: 172 - var_id { - bitfield1: 172 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_sort" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 371 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 371 - } - } - } - pos_args { - bool_val { - src { - end_column: 41 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 371 - } - v: true - } - } - pos_args { - bool_val { - src { - end_column: 41 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 371 - } - } - } - src { - end_column: 41 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 371 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_sort" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 64 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 371 - } - v: "A" - } - } - src { - end_column: 64 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 371 - } - } - } - pos_args { - bool_val { - src { - end_column: 64 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 371 - } - v: true - } - } - pos_args { - bool_val { - src { - end_column: 64 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 371 - } - } - } - src { - end_column: 64 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 371 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_sort" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 85 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 371 - } - v: "A" - } - } - src { - end_column: 85 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 371 - } - } - } - pos_args { - bool_val { - src { - end_column: 99 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 371 - } - } - } - pos_args { - bool_val { - src { - end_column: 99 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 371 - } - v: true - } - } - src { - end_column: 99 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 371 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 100 - end_line: 371 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 371 - } - variadic: true - } - } - symbol { - value: "df181" - } - uid: 173 - var_id { - bitfield1: 173 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "arrays_to_object" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 373 - } - v: "A" - } - } - src { - end_column: 52 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 373 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 373 - } - v: "B" - } - } - src { - end_column: 52 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 373 - } - } - } - src { - end_column: 52 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 373 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "arrays_to_object" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 85 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 373 - } - v: "A" - } - } - src { - end_column: 85 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 373 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 84 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 373 - } - v: "A" - } - } - src { - end_column: 84 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 373 - } - } - } - src { - end_column: 85 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 373 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 86 - end_line: 373 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 373 - } - variadic: true - } - } - symbol { - value: "df182" - } - uid: 174 - var_id { - bitfield1: 174 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_generate_range" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 375 - } - v: "A" - } - } - src { - end_column: 56 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 375 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 375 - } - v: "B" - } - } - src { - end_column: 56 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 375 - } - } - } - src { - end_column: 56 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 375 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_generate_range" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 99 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 375 - } - v: "A" - } - } - src { - end_column: 99 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 375 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 92 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 375 - } - v: "B" - } - } - src { - end_column: 92 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 375 - } - } - } - src { - end_column: 99 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 375 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_generate_range" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 130 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 375 - } - v: "A" - } - } - src { - end_column: 130 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 375 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 141 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 101 - start_line: 375 - } - v: "B" - } - } - src { - end_column: 141 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 101 - start_line: 375 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 141 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 101 - start_line: 375 - } - v: "C" - } - } - src { - end_column: 141 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 101 - start_line: 375 - } - } - } - src { - end_column: 141 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 101 - start_line: 375 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 142 - end_line: 375 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 375 - } - variadic: true - } - } - symbol { - value: "df183" - } - uid: 175 - var_id { - bitfield1: 175 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sequence" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 377 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 377 - } - v: "B" - } - } - pos_args { - null_val { - src { - end_column: 44 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 377 - } - } - } - src { - end_column: 44 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 377 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sequence" - } - } - } - } - pos_args { - string_val { - src { - end_column: 75 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 377 - } - v: "A" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 68 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 377 - } - v: "B" - } - } - src { - end_column: 68 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 377 - } - } - } - pos_args { - null_val { - src { - end_column: 75 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 377 - } - } - } - src { - end_column: 75 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 377 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "sequence" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 94 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 377 - } - v: "A" - } - } - src { - end_column: 94 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 377 - } - } - } - pos_args { - string_val { - src { - end_column: 105 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 377 - } - v: "B" - } - } - pos_args { - string_val { - src { - end_column: 105 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 377 - } - v: "C" - } - } - src { - end_column: 105 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 377 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 106 - end_line: 377 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 377 - } - variadic: true - } - } - symbol { - value: "df184" - } - uid: 176 - var_id { - bitfield1: 176 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_add" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 379 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 379 - } - v: "B" - } - } - src { - end_column: 44 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 379 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_add" - } - } - } - } - pos_args { - string_val { - src { - end_column: 63 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 379 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 63 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 379 - } - v: 10 - } - } - src { - end_column: 63 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 379 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_add" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 82 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 379 - } - v: "A" - } - } - src { - end_column: 82 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 379 - } - } - } - pos_args { - int64_val { - src { - end_column: 86 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 379 - } - } - } - src { - end_column: 86 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 379 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_add" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 105 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 379 - } - v: "A" - } - } - src { - end_column: 105 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 379 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 115 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 379 - } - v: "B" - } - } - src { - end_column: 115 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 379 - } - } - } - src { - end_column: 116 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 379 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 117 - end_line: 379 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 379 - } - variadic: true - } - } - symbol { - value: "df185" - } - uid: 177 - var_id { - bitfield1: 177 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_sub" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 381 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 381 - } - v: "B" - } - } - src { - end_column: 44 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 381 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_sub" - } - } - } - } - pos_args { - string_val { - src { - end_column: 63 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 381 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 63 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 381 - } - v: 10 - } - } - src { - end_column: 63 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 381 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_sub" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 82 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 381 - } - v: "A" - } - } - src { - end_column: 82 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 381 - } - } - } - pos_args { - int64_val { - src { - end_column: 86 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 381 - } - } - } - src { - end_column: 86 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 381 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_sub" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 105 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 381 - } - v: "A" - } - } - src { - end_column: 105 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 97 - start_line: 381 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 115 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 381 - } - v: "B" - } - } - src { - end_column: 115 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 381 - } - } - } - src { - end_column: 116 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 381 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 117 - end_line: 381 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 381 - } - variadic: true - } - } - symbol { - value: "df186" - } - uid: 178 - var_id { - bitfield1: 178 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "datediff" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 383 - } - v: "year" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 383 - } - v: "A" - } - } - src { - end_column: 51 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 383 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 383 - } - v: "B" - } - } - src { - end_column: 57 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 383 - } - } - } - src { - end_column: 57 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 383 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "datediff" - } - } - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 383 - } - v: "month" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 383 - } - v: "A" - } - } - src { - end_column: 91 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 383 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 90 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 383 - } - v: "B" - } - } - src { - end_column: 90 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 383 - } - } - } - src { - end_column: 91 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 383 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 92 - end_line: 383 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 383 - } - variadic: true - } - } - symbol { - value: "df187" - } - uid: 179 - var_id { - bitfield1: 179 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "daydiff" - } - } - } - } - pos_args { - string_val { - src { - end_column: 43 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 385 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 43 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 385 - } - v: "B" - } - } - src { - end_column: 43 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 385 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "daydiff" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 61 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 385 - } - v: "A" - } - } - src { - end_column: 61 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 385 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 71 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 63 - start_line: 385 - } - v: "B" - } - } - src { - end_column: 71 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 63 - start_line: 385 - } - } - } - src { - end_column: 72 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 385 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 73 - end_line: 385 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 385 - } - variadic: true - } - } - symbol { - value: "df188" - } - uid: 180 - var_id { - bitfield1: 180 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "trunc" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 387 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 387 - } - v: "B" - } - } - src { - end_column: 41 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 387 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "trunc" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 387 - } - v: "A" - } - } - src { - end_column: 57 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 387 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 67 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 387 - } - v: "B" - } - } - src { - end_column: 67 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 387 - } - } - } - src { - end_column: 68 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 387 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "trunc" - } - } - } - } - pos_args { - string_val { - src { - end_column: 84 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 387 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 84 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 387 - } - v: 10 - } - } - src { - end_column: 84 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 387 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "trunc" - } - } - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 387 - } - v: "B" - } - } - pos_args { - float64_val { - src { - end_column: 101 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 387 - } - v: 7.9 - } - } - src { - end_column: 101 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 387 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 102 - end_line: 387 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 387 - } - variadic: true - } - } - symbol { - value: "df189" - } - uid: 181 - var_id { - bitfield1: 181 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "dateadd" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 389 - } - v: "year" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 389 - } - v: "A" - } - } - src { - end_column: 51 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 389 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 389 - } - v: "B" - } - } - src { - end_column: 51 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 389 - } - } - } - src { - end_column: 51 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 389 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "dateadd" - } - } - } - } - pos_args { - string_val { - src { - end_column: 88 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 389 - } - v: "year" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 77 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 389 - } - v: "A" - } - } - src { - end_column: 77 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 389 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 87 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 389 - } - v: "B" - } - } - src { - end_column: 87 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 389 - } - } - } - src { - end_column: 88 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 389 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 89 - end_line: 389 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 389 - } - variadic: true - } - } - symbol { - value: "df190" - } - uid: 182 - var_id { - bitfield1: 182 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_part" - } - } - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 391 - } - v: "year" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 391 - } - v: "A" - } - } - src { - end_column: 48 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 391 - } - } - } - src { - end_column: 48 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 391 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_part" - } - } - } - } - pos_args { - string_val { - src { - end_column: 77 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 391 - } - v: "year" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 391 - } - v: "B" - } - } - src { - end_column: 76 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 391 - } - } - } - src { - end_column: 77 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 391 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 78 - end_line: 391 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 391 - } - variadic: true - } - } - symbol { - value: "df191" - } - uid: 183 - var_id { - bitfield1: 183 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 51 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 393 - } - v: 10 - } - } - pos_args { - int64_val { - src { - end_column: 51 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 393 - } - v: 2 - } - } - pos_args { - int64_val { - src { - end_column: 51 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 393 - } - v: 1 - } - } - src { - end_column: 51 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 393 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 80 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 393 - } - v: 10 - } - } - pos_args { - string_val { - src { - end_column: 80 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 393 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 80 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 393 - } - v: 1 - } - } - src { - end_column: 80 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 393 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_from_parts" - } - } - } - } - pos_args { - string_val { - src { - end_column: 112 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 393 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 112 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 393 - } - v: "B" - } - } - pos_args { - string_val { - src { - end_column: 112 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 393 - } - v: "A" - } - } - src { - end_column: 112 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 393 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 146 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 114 - start_line: 393 - } - v: 10 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 142 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 134 - start_line: 393 - } - v: "A" - } - } - src { - end_column: 142 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 134 - start_line: 393 - } - } - } - pos_args { - int64_val { - src { - end_column: 146 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 114 - start_line: 393 - } - v: 1 - } - } - src { - end_column: 146 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 114 - start_line: 393 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 147 - end_line: 393 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 393 - } - variadic: true - } - } - symbol { - value: "df192" - } - uid: 184 - var_id { - bitfield1: 184 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_trunc" - } - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 395 - } - v: "year" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 395 - } - v: "A" - } - } - src { - end_column: 49 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 395 - } - } - } - src { - end_column: 49 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 395 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "date_trunc" - } - } - } - } - pos_args { - string_val { - src { - end_column: 79 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 395 - } - v: "year" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 78 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 395 - } - v: "B" - } - } - src { - end_column: 78 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 395 - } - } - } - src { - end_column: 79 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 395 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 80 - end_line: 395 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 395 - } - variadic: true - } - } - symbol { - value: "df193" - } - uid: 185 - var_id { - bitfield1: 185 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "dayname" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 397 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 397 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 397 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 397 - } - } - } - src { - end_column: 38 - end_line: 397 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 397 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 397 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 397 - } - variadic: true - } - } - symbol { - value: "df194" - } - uid: 186 - var_id { - bitfield1: 186 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "dayofmonth" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 399 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 399 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 399 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 399 - } - } - } - src { - end_column: 41 - end_line: 399 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 399 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 399 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 399 - } - variadic: true - } - } - symbol { - value: "df195" - } - uid: 187 - var_id { - bitfield1: 187 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "dayofweek" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 401 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 401 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 401 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 401 - } - } - } - src { - end_column: 40 - end_line: 401 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 401 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 401 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 401 - } - variadic: true - } - } - symbol { - value: "df196" - } - uid: 188 - var_id { - bitfield1: 188 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "dayofyear" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 403 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 403 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 403 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 403 - } - } - } - src { - end_column: 40 - end_line: 403 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 403 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 403 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 403 - } - variadic: true - } - } - symbol { - value: "df197" - } - uid: 189 - var_id { - bitfield1: 189 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_array" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 405 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 405 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 405 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 405 - } - } - } - src { - end_column: 39 - end_line: 405 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 405 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 40 - end_line: 405 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 405 - } - variadic: true - } - } - symbol { - value: "df198" - } - uid: 190 - var_id { - bitfield1: 190 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_boolean" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 407 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 407 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 407 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 407 - } - } - } - src { - end_column: 41 - end_line: 407 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 407 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 407 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 407 - } - variadic: true - } - } - symbol { - value: "df199" - } - uid: 191 - var_id { - bitfield1: 191 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_binary" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 409 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 409 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 409 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 409 - } - } - } - src { - end_column: 40 - end_line: 409 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 409 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 409 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 409 - } - variadic: true - } - } - symbol { - value: "df200" - } - uid: 192 - var_id { - bitfield1: 192 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_char" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 411 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 411 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 411 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 411 - } - } - } - src { - end_column: 38 - end_line: 411 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 411 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 411 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 411 - } - variadic: true - } - } - symbol { - value: "df201" - } - uid: 193 - var_id { - bitfield1: 193 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_date" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 413 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 413 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 413 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 413 - } - } - } - src { - end_column: 38 - end_line: 413 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 413 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 413 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 413 - } - variadic: true - } - } - symbol { - value: "df202" - } - uid: 194 - var_id { - bitfield1: 194 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_decimal" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 415 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 415 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 415 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 415 - } - } - } - src { - end_column: 41 - end_line: 415 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 415 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 415 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 415 - } - variadic: true - } - } - symbol { - value: "df203" - } - uid: 195 - var_id { - bitfield1: 195 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_double" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 417 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 417 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 417 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 417 - } - } - } - src { - end_column: 40 - end_line: 417 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 417 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 417 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 417 - } - variadic: true - } - } - symbol { - value: "df204" - } - uid: 196 - var_id { - bitfield1: 196 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_real" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 419 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 419 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 419 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 419 - } - } - } - src { - end_column: 38 - end_line: 419 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 419 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 419 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 419 - } - variadic: true - } - } - symbol { - value: "df205" - } - uid: 197 - var_id { - bitfield1: 197 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_integer" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 421 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 421 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 421 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 421 - } - } - } - src { - end_column: 41 - end_line: 421 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 421 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 421 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 421 - } - variadic: true - } - } - symbol { - value: "df206" - } - uid: 198 - var_id { - bitfield1: 198 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_null_value" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 423 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 423 - } - v: "A" - } - } - src { - end_column: 44 - end_line: 423 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 423 - } - } - } - src { - end_column: 44 - end_line: 423 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 423 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 45 - end_line: 423 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 423 - } - variadic: true - } - } - symbol { - value: "df207" - } - uid: 199 - var_id { - bitfield1: 199 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_object" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 425 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 425 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 425 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 425 - } - } - } - src { - end_column: 40 - end_line: 425 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 425 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 425 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 425 - } - variadic: true - } - } - symbol { - value: "df208" - } - uid: 200 - var_id { - bitfield1: 200 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_time" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 427 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 427 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 427 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 427 - } - } - } - src { - end_column: 38 - end_line: 427 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 427 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 427 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 427 - } - variadic: true - } - } - symbol { - value: "df209" - } - uid: 201 - var_id { - bitfield1: 201 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_timestamp_ltz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 429 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 429 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 429 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 429 - } - } - } - src { - end_column: 47 - end_line: 429 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 429 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 48 - end_line: 429 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 429 - } - variadic: true - } - } - symbol { - value: "df210" - } - uid: 202 - var_id { - bitfield1: 202 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_timestamp_ntz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 431 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 431 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 431 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 431 - } - } - } - src { - end_column: 47 - end_line: 431 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 431 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 48 - end_line: 431 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 431 - } - variadic: true - } - } - symbol { - value: "df211" - } - uid: 203 - var_id { - bitfield1: 203 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "is_timestamp_tz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 433 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 433 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 433 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 433 - } - } - } - src { - end_column: 46 - end_line: 433 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 433 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 47 - end_line: 433 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 433 - } - variadic: true - } - } - symbol { - value: "df212" - } - uid: 204 - var_id { - bitfield1: 204 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "time_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 50 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 435 - } - v: 1 - } - } - pos_args { - int64_val { - src { - end_column: 50 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 435 - } - v: 2 - } - } - pos_args { - int64_val { - src { - end_column: 50 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 435 - } - v: 3 - } - } - pos_args { - null_val { - src { - end_column: 50 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 435 - } - } - } - src { - end_column: 50 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 435 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "time_from_parts" - } - } - } - } - pos_args { - string_val { - src { - end_column: 82 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 435 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 82 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 435 - } - v: "B" - } - } - pos_args { - string_val { - src { - end_column: 82 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 435 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 82 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 435 - } - } - } - src { - end_column: 82 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 435 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "time_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 117 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 435 - } - v: 1 - } - } - pos_args { - string_val { - src { - end_column: 117 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 435 - } - v: "A" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 108 - start_line: 435 - } - v: "B" - } - } - src { - end_column: 116 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 108 - start_line: 435 - } - } - } - pos_args { - null_val { - src { - end_column: 117 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 435 - } - } - } - src { - end_column: 117 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 435 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 118 - end_line: 435 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 435 - } - variadic: true - } - } - symbol { - value: "df213" - } - uid: 205 - var_id { - bitfield1: 205 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 437 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 437 - } - v: "A" - } - } - src { - end_column: 56 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 437 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 87 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 437 - } - v: "A" - } - } - src { - end_column: 87 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 437 - } - } - } - pos_args { - string_val { - src { - end_column: 93 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 437 - } - v: "B" - } - } - src { - end_column: 93 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 58 - start_line: 437 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 124 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 116 - start_line: 437 - } - v: "A" - } - } - src { - end_column: 124 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 116 - start_line: 437 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 134 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 126 - start_line: 437 - } - v: "B" - } - } - src { - end_column: 134 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 126 - start_line: 437 - } - } - } - src { - end_column: 135 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 95 - start_line: 437 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 136 - end_line: 437 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 437 - } - variadic: true - } - } - symbol { - value: "df214" - } - uid: 206 - var_id { - bitfield1: 206 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 69 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 439 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 69 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 439 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 69 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 439 - } - } - } - pos_args { - int64_val { - src { - end_column: 69 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 439 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 69 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 439 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 69 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 439 - } - v: 1 - } - } - src { - end_column: 69 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 439 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 120 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 439 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 120 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 439 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 120 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 439 - } - } - } - pos_args { - int64_val { - src { - end_column: 120 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 439 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 120 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 439 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 120 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 439 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 120 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 439 - } - } - } - src { - end_column: 120 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 439 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - } - } - pos_args { - int64_val { - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - } - } - pos_args { - null_val { - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - } - } - src { - end_column: 177 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 122 - start_line: 439 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - } - } - pos_args { - int64_val { - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - } - } - pos_args { - string_val { - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - v: "us" - } - } - src { - end_column: 234 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 179 - start_line: 439 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 235 - end_line: 439 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 439 - } - variadic: true - } - } - symbol { - value: "df215" - } - uid: 207 - var_id { - bitfield1: 207 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 441 - } - v: "year" - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 441 - } - v: "month" - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 441 - } - v: "day" - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 441 - } - v: "hour" - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 441 - } - v: "minute" - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 441 - } - v: "second" - } - } - src { - end_column: 98 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 441 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_from_parts" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_date" - } - } - } - } - pos_args { - string_val { - src { - end_column: 136 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 121 - start_line: 441 - } - v: "date" - } - } - src { - end_column: 136 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 121 - start_line: 441 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_time" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 153 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 138 - start_line: 441 - } - v: "time" - } - } - src { - end_column: 153 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 138 - start_line: 441 - } - } - } - src { - end_column: 153 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 138 - start_line: 441 - } - } - } - src { - end_column: 154 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 100 - start_line: 441 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 155 - end_line: 441 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 441 - } - variadic: true - } - } - symbol { - value: "df216" - } - uid: 208 - var_id { - bitfield1: 208 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_ltz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 443 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 443 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 443 - } - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 443 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 443 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 443 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 73 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 443 - } - } - } - src { - end_column: 73 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 443 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_ltz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 128 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 443 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 128 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 443 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 128 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 443 - } - } - } - pos_args { - int64_val { - src { - end_column: 128 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 443 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 128 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 443 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 128 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 443 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 128 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 443 - } - } - } - src { - end_column: 128 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 443 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_ltz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 183 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 130 - start_line: 443 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 183 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 130 - start_line: 443 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 183 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 130 - start_line: 443 - } - } - } - pos_args { - int64_val { - src { - end_column: 183 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 130 - start_line: 443 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 183 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 130 - start_line: 443 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 183 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 130 - start_line: 443 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 183 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 130 - start_line: 443 - } - } - } - src { - end_column: 183 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 130 - start_line: 443 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_ltz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 236 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 185 - start_line: 443 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 236 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 185 - start_line: 443 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 236 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 185 - start_line: 443 - } - } - } - pos_args { - int64_val { - src { - end_column: 236 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 185 - start_line: 443 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 236 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 185 - start_line: 443 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 236 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 185 - start_line: 443 - } - v: 1 - } - } - pos_args { - int64_val { - src { - end_column: 236 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 185 - start_line: 443 - } - v: 12 - } - } - src { - end_column: 236 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 185 - start_line: 443 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 237 - end_line: 443 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 443 - } - variadic: true - } - } - symbol { - value: "df217" - } - uid: 209 - var_id { - bitfield1: 209 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_ntz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 445 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 445 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 445 - } - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 445 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 445 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 73 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 445 - } - v: 1 - } - } - src { - end_column: 73 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 445 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_ntz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - } - } - pos_args { - int64_val { - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - v: 1 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - v: "A" - } - } - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - } - } - src { - end_column: 127 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 75 - start_line: 445 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_ntz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 229 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 445 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 229 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 445 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 229 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 445 - } - } - } - pos_args { - int64_val { - src { - end_column: 229 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 445 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 229 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 445 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 229 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 445 - } - v: 1 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_ntz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 228 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 177 - start_line: 445 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 228 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 177 - start_line: 445 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 228 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 177 - start_line: 445 - } - } - } - pos_args { - int64_val { - src { - end_column: 228 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 177 - start_line: 445 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 228 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 177 - start_line: 445 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 228 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 177 - start_line: 445 - } - v: 1 - } - } - pos_args { - int64_val { - src { - end_column: 228 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 177 - start_line: 445 - } - v: 12 - } - } - src { - end_column: 228 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 177 - start_line: 445 - } - } - } - src { - end_column: 229 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 129 - start_line: 445 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 230 - end_line: 445 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 445 - } - variadic: true - } - } - symbol { - value: "df218" - } - uid: 210 - var_id { - bitfield1: 210 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_tz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - } - } - pos_args { - int64_val { - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - } - } - pos_args { - null_val { - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - } - } - src { - end_column: 72 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 447 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_tz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - } - } - pos_args { - int64_val { - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - } - } - pos_args { - null_val { - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - } - } - src { - end_column: 126 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 447 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_tz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - } - } - pos_args { - int64_val { - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - } - } - pos_args { - null_val { - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - } - } - src { - end_column: 186 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 128 - start_line: 447 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "timestamp_tz_from_parts" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - v: 2000 - } - } - pos_args { - int64_val { - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - } - } - pos_args { - int64_val { - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - v: 12 - } - } - pos_args { - int64_val { - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - v: 3 - } - } - pos_args { - int64_val { - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - } - } - pos_args { - string_val { - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - v: "us" - } - } - src { - end_column: 246 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 188 - start_line: 447 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 247 - end_line: 447 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 447 - } - variadic: true - } - } - symbol { - value: "df219" - } - uid: 211 - var_id { - bitfield1: 211 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "weekofyear" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 449 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 449 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 449 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 449 - } - } - } - src { - end_column: 41 - end_line: 449 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 449 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 449 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 449 - } - variadic: true - } - } - symbol { - value: "df220" - } - uid: 212 - var_id { - bitfield1: 212 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "typeof" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 451 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 451 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 451 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 451 - } - } - } - src { - end_column: 37 - end_line: 451 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 451 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 38 - end_line: 451 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 451 - } - variadic: true - } - } - symbol { - value: "df221" - } - uid: 213 - var_id { - bitfield1: 213 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "check_json" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 453 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 453 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 453 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 453 - } - } - } - src { - end_column: 41 - end_line: 453 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 453 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 453 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 453 - } - variadic: true - } - } - symbol { - value: "df222" - } - uid: 214 - var_id { - bitfield1: 214 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "check_xml" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 455 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 455 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 455 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 455 - } - } - } - src { - end_column: 40 - end_line: 455 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 455 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 455 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 455 - } - variadic: true - } - } - symbol { - value: "df223" - } - uid: 215 - var_id { - bitfield1: 215 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "json_extract_path_text" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 457 - } - v: "A" - } - } - src { - end_column: 58 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 457 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 457 - } - v: "B" - } - } - src { - end_column: 58 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 457 - } - } - } - src { - end_column: 58 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 457 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "json_extract_path_text" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 457 - } - v: "A" - } - } - src { - end_column: 91 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 457 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 457 - } - v: "B" - } - } - src { - end_column: 101 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 457 - } - } - } - src { - end_column: 102 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 60 - start_line: 457 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "json_extract_path_text" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 135 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 127 - start_line: 457 - } - v: "A" - } - } - src { - end_column: 135 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 127 - start_line: 457 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 141 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 457 - } - v: "B" - } - } - src { - end_column: 141 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 457 - } - } - } - src { - end_column: 141 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 457 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 142 - end_line: 457 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 457 - } - variadic: true - } - } - symbol { - value: "df224" - } - uid: 216 - var_id { - bitfield1: 216 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "parse_json" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 459 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 459 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 459 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 459 - } - } - } - src { - end_column: 41 - end_line: 459 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 459 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 459 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 459 - } - variadic: true - } - } - symbol { - value: "df225" - } - uid: 217 - var_id { - bitfield1: 217 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "parse_xml" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 461 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 461 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 461 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 461 - } - } - } - src { - end_column: 40 - end_line: 461 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 461 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 461 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 461 - } - variadic: true - } - } - symbol { - value: "df226" - } - uid: 218 - var_id { - bitfield1: 218 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "strip_null_value" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 463 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 463 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 463 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 463 - } - } - } - src { - end_column: 47 - end_line: 463 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 463 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 48 - end_line: 463 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 463 - } - variadic: true - } - } - symbol { - value: "df227" - } - uid: 219 - var_id { - bitfield1: 219 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_agg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 465 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 465 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 465 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 465 - } - } - } - src { - end_column: 47 - end_line: 465 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 465 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_agg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 67 - end_line: 465 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 465 - } - v: "A" - } - } - src { - end_column: 67 - end_line: 465 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 465 - } - } - } - src { - end_column: 74 - end_line: 465 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 465 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 75 - end_line: 465 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 465 - } - variadic: true - } - } - symbol { - value: "df228" - } - uid: 220 - var_id { - bitfield1: 220 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_append" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 467 - } - v: "A" - } - } - src { - end_column: 51 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 467 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 50 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 467 - } - v: 1 - } - } - src { - end_column: 50 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 467 - } - } - } - src { - end_column: 51 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 467 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_append" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 75 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 467 - } - v: "A" - } - } - src { - end_column: 75 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 467 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 75 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 467 - } - v: "B" - } - } - src { - end_column: 75 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 467 - } - } - } - src { - end_column: 75 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 467 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_append" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 90 - start_line: 467 - } - v: "A" - } - } - src { - end_column: 98 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 90 - start_line: 467 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 108 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 100 - start_line: 467 - } - v: "B" - } - } - src { - end_column: 108 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 100 - start_line: 467 - } - } - } - src { - end_column: 109 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 467 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 110 - end_line: 467 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 467 - } - variadic: true - } - } - symbol { - value: "df229" - } - uid: 221 - var_id { - bitfield1: 221 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_cat" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 469 - } - v: "A" - } - } - src { - end_column: 48 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 469 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 47 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 469 - } - v: 1 - } - } - src { - end_column: 47 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 41 - start_line: 469 - } - } - } - src { - end_column: 48 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 469 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_cat" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 69 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 469 - } - v: "A" - } - } - src { - end_column: 69 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 469 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 69 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 469 - } - v: "B" - } - } - src { - end_column: 69 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 469 - } - } - } - src { - end_column: 69 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 469 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_cat" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 89 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 469 - } - v: "A" - } - } - src { - end_column: 89 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 469 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 99 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 469 - } - v: "B" - } - } - src { - end_column: 99 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 91 - start_line: 469 - } - } - } - src { - end_column: 100 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 469 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 101 - end_line: 469 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 469 - } - variadic: true - } - } - symbol { - value: "df230" - } - uid: 222 - var_id { - bitfield1: 222 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_compact" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 471 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 471 - } - v: "A" - } - } - src { - end_column: 44 - end_line: 471 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 471 - } - } - } - src { - end_column: 44 - end_line: 471 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 471 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 45 - end_line: 471 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 471 - } - variadic: true - } - } - symbol { - value: "df231" - } - uid: 223 - var_id { - bitfield1: 223 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_construct" - } - } - } - } - src { - end_column: 43 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 473 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_construct" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 65 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 473 - } - v: "A" - } - } - src { - end_column: 65 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 473 - } - } - } - src { - end_column: 65 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 473 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_construct" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 89 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 473 - } - v: 1 - } - } - src { - end_column: 89 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 473 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 105 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 473 - } - v: "A" - } - } - src { - end_column: 105 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 473 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 104 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 96 - start_line: 473 - } - v: "B" - } - } - src { - end_column: 104 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 96 - start_line: 473 - } - } - } - src { - end_column: 105 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 473 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 106 - end_line: 473 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 473 - } - variadic: true - } - } - symbol { - value: "df232" - } - uid: 224 - var_id { - bitfield1: 224 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_construct_compact" - } - } - } - } - src { - end_column: 51 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 475 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_construct_compact" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 81 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 475 - } - v: "A" - } - } - src { - end_column: 81 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 475 - } - } - } - src { - end_column: 81 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 475 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_construct_compact" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 113 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 475 - } - v: 1 - } - } - src { - end_column: 113 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 107 - start_line: 475 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 129 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 475 - } - v: "A" - } - } - src { - end_column: 129 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 475 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 128 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 120 - start_line: 475 - } - v: "B" - } - } - src { - end_column: 128 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 120 - start_line: 475 - } - } - } - src { - end_column: 129 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 475 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 130 - end_line: 475 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 475 - } - variadic: true - } - } - symbol { - value: "df233" - } - uid: 225 - var_id { - bitfield1: 225 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_contains" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 477 - } - v: "A" - } - } - src { - end_column: 55 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 477 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 477 - } - v: "B" - } - } - src { - end_column: 54 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 477 - } - } - } - src { - end_column: 55 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 477 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_contains" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 84 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 477 - } - v: "A" - } - } - src { - end_column: 84 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 477 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 83 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 477 - } - v: 1 - } - } - src { - end_column: 83 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 477 - } - } - } - src { - end_column: 84 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 477 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 85 - end_line: 477 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 477 - } - variadic: true - } - } - symbol { - value: "df234" - } - uid: 226 - var_id { - bitfield1: 226 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_insert" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 479 - } - v: "A" - } - } - src { - end_column: 53 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 479 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 479 - } - v: "B" - } - } - src { - end_column: 53 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 479 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 479 - } - v: "A" - } - } - src { - end_column: 53 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 479 - } - } - } - src { - end_column: 53 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 479 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_insert" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 479 - } - v: "A" - } - } - src { - end_column: 76 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 479 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 86 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 479 - } - v: "B" - } - } - src { - end_column: 86 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 479 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 96 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 479 - } - v: "A" - } - } - src { - end_column: 96 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 479 - } - } - } - src { - end_column: 97 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 479 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 98 - end_line: 479 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 479 - } - variadic: true - } - } - symbol { - value: "df235" - } - uid: 227 - var_id { - bitfield1: 227 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_position" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 481 - } - v: "A" - } - } - src { - end_column: 50 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 481 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 481 - } - v: "B" - } - } - src { - end_column: 50 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 481 - } - } - } - src { - end_column: 50 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 481 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_position" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 75 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 481 - } - v: "A" - } - } - src { - end_column: 75 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 481 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 83 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 481 - } - } - } - src { - end_column: 83 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 481 - } - } - } - src { - end_column: 84 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 52 - start_line: 481 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 85 - end_line: 481 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 481 - } - variadic: true - } - } - symbol { - value: "df236" - } - uid: 228 - var_id { - bitfield1: 228 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_prepend" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 483 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 483 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 53 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 483 - } - v: "B" - } - } - src { - end_column: 53 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 483 - } - } - } - src { - end_column: 54 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 483 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_prepend" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 78 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 483 - } - v: "A" - } - } - src { - end_column: 78 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 483 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 88 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 483 - } - v: "B" - } - } - src { - end_column: 88 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 483 - } - } - } - src { - end_column: 89 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 483 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 90 - end_line: 483 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 483 - } - variadic: true - } - } - symbol { - value: "df237" - } - uid: 229 - var_id { - bitfield1: 229 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_size" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 485 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 485 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 485 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 485 - } - } - } - src { - end_column: 41 - end_line: 485 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 485 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 485 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 485 - } - variadic: true - } - } - symbol { - value: "df238" - } - uid: 230 - var_id { - bitfield1: 230 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_slice" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 487 - } - v: "A" - } - } - src { - end_column: 52 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 487 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 487 - } - v: "B" - } - } - src { - end_column: 52 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 487 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 52 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 487 - } - v: "A" - } - } - src { - end_column: 52 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 487 - } - } - } - src { - end_column: 52 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 487 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_slice" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 74 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 487 - } - v: "A" - } - } - src { - end_column: 74 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 487 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 84 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 487 - } - v: "B" - } - } - src { - end_column: 84 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 487 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 94 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 487 - } - v: "A" - } - } - src { - end_column: 94 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 86 - start_line: 487 - } - } - } - src { - end_column: 95 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 54 - start_line: 487 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 96 - end_line: 487 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 487 - } - variadic: true - } - } - symbol { - value: "df239" - } - uid: 231 - var_id { - bitfield1: 231 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_to_string" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 489 - } - v: "A" - } - } - src { - end_column: 51 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 489 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 489 - } - v: "B" - } - } - src { - end_column: 51 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 489 - } - } - } - src { - end_column: 51 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 489 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_to_string" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 77 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 489 - } - v: "A" - } - } - src { - end_column: 77 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 489 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 87 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 489 - } - v: "B" - } - } - src { - end_column: 87 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 489 - } - } - } - src { - end_column: 88 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 489 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 89 - end_line: 489 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 489 - } - variadic: true - } - } - symbol { - value: "df240" - } - uid: 232 - var_id { - bitfield1: 232 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "array_unique_agg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 491 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 491 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 491 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 491 - } - } - } - src { - end_column: 47 - end_line: 491 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 491 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 48 - end_line: 491 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 491 - } - variadic: true - } - } - symbol { - value: "df241" - } - uid: 233 - var_id { - bitfield1: 233 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_agg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 493 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 493 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 493 - } - v: "B" - } - } - src { - end_column: 46 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 493 - } - } - } - src { - end_column: 46 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 493 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_agg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 493 - } - v: "A" - } - } - src { - end_column: 73 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 493 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 72 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 493 - } - v: "B" - } - } - src { - end_column: 72 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 493 - } - } - } - src { - end_column: 73 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 493 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 74 - end_line: 493 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 493 - } - variadic: true - } - } - symbol { - value: "df242" - } - uid: 234 - var_id { - bitfield1: 234 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_construct" - } - } - } - } - src { - end_column: 44 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 495 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_construct" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 71 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 63 - start_line: 495 - } - v: "k" - } - } - src { - end_column: 71 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 63 - start_line: 495 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 81 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 73 - start_line: 495 - } - v: "v" - } - } - src { - end_column: 81 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 73 - start_line: 495 - } - } - } - src { - end_column: 82 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 46 - start_line: 495 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_construct" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - v: "A" - } - } - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - v: "B" - } - } - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - v: "A" - } - } - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - v: "B" - } - } - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - } - } - src { - end_column: 120 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 495 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 121 - end_line: 495 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 495 - } - variadic: true - } - } - symbol { - value: "df243" - } - uid: 235 - var_id { - bitfield1: 235 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_construct_keep_null" - } - } - } - } - src { - end_column: 54 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 497 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_construct_keep_null" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 497 - } - v: "k" - } - } - src { - end_column: 91 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 83 - start_line: 497 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 497 - } - v: "v" - } - } - src { - end_column: 101 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 93 - start_line: 497 - } - } - } - src { - end_column: 102 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 497 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_construct_keep_null" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - v: "A" - } - } - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - v: "B" - } - } - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - v: "A" - } - } - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - v: "B" - } - } - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - } - } - src { - end_column: 150 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 104 - start_line: 497 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 151 - end_line: 497 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 497 - } - variadic: true - } - } - symbol { - value: "df244" - } - uid: 236 - var_id { - bitfield1: 236 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_delete" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 499 - } - v: "A" - } - } - src { - end_column: 49 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 499 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 49 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 499 - } - v: "B" - } - } - src { - end_column: 49 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 499 - } - } - } - src { - end_column: 49 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 499 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_delete" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 499 - } - v: "A" - } - } - src { - end_column: 73 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 499 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - v: "k1" - } - } - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - v: "k2" - } - } - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - v: "k3" - } - } - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - v: "k4" - } - } - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - } - } - src { - end_column: 98 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 499 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 99 - end_line: 499 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 499 - } - variadic: true - } - } - symbol { - value: "df245" - } - uid: 237 - var_id { - bitfield1: 237 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_insert" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 501 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 501 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 501 - } - v: "B" - } - } - src { - end_column: 54 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 501 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 501 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 501 - } - } - } - src { - end_column: 54 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 501 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_insert" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 78 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 501 - } - v: "A" - } - } - src { - end_column: 78 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 70 - start_line: 501 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 86 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 501 - } - v: 1 - } - } - src { - end_column: 86 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 501 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 95 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 501 - } - v: 20 - } - } - src { - end_column: 95 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 501 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 501 - } - v: "B" - } - } - src { - end_column: 101 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 501 - } - } - } - src { - end_column: 101 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 56 - start_line: 501 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 102 - end_line: 501 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 501 - } - variadic: true - } - } - symbol { - value: "df246" - } - uid: 238 - var_id { - bitfield1: 238 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_pick" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 503 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 503 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 503 - } - v: "B" - } - } - src { - end_column: 47 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 503 - } - } - } - src { - end_column: 47 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 503 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_pick" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 69 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 61 - start_line: 503 - } - v: "A" - } - } - src { - end_column: 69 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 61 - start_line: 503 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - v: "k1" - } - } - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - v: "k2" - } - } - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - v: "k3" - } - } - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - v: "k4" - } - } - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - } - } - src { - end_column: 94 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 503 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 95 - end_line: 503 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 503 - } - variadic: true - } - } - symbol { - value: "df247" - } - uid: 239 - var_id { - bitfield1: 239 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "vector_cosine_distance" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 505 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 505 - } - v: "A" - } - } - src { - end_column: 57 - end_line: 505 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 505 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 63 - end_line: 505 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 505 - } - v: "B" - } - } - src { - end_column: 63 - end_line: 505 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 505 - } - } - } - src { - end_column: 63 - end_line: 505 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 505 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 64 - end_line: 505 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 505 - } - variadic: true - } - } - symbol { - value: "df248" - } - uid: 240 - var_id { - bitfield1: 240 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "vector_l2_distance" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 59 - end_line: 507 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 507 - } - v: "A" - } - } - src { - end_column: 59 - end_line: 507 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 507 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 58 - end_line: 507 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 507 - } - v: "B" - } - } - src { - end_column: 58 - end_line: 507 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 507 - } - } - } - src { - end_column: 59 - end_line: 507 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 507 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 60 - end_line: 507 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 507 - } - variadic: true - } - } - symbol { - value: "df249" - } - uid: 241 - var_id { - bitfield1: 241 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "vector_inner_product" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 509 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 509 - } - v: "A" - } - } - src { - end_column: 56 - end_line: 509 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 509 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 509 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 509 - } - v: "B" - } - } - src { - end_column: 56 - end_line: 509 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 509 - } - } - } - src { - end_column: 56 - end_line: 509 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 509 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 57 - end_line: 509 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 509 - } - variadic: true - } - } - symbol { - value: "df250" - } - uid: 242 - var_id { - bitfield1: 242 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "asc" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 511 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 511 - } - v: "A" - } - } - src { - end_column: 34 - end_line: 511 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 511 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 35 - end_line: 511 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 511 - } - variadic: true - } - } - symbol { - value: "df251" - } - uid: 243 - var_id { - bitfield1: 243 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "asc_nulls_first" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 513 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 513 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 513 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 513 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 47 - end_line: 513 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 513 - } - variadic: true - } - } - symbol { - value: "df252" - } - uid: 244 - var_id { - bitfield1: 244 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "asc_nulls_last" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 515 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 515 - } - v: "A" - } - } - src { - end_column: 45 - end_line: 515 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 515 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 46 - end_line: 515 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 515 - } - variadic: true - } - } - symbol { - value: "df253" - } - uid: 245 - var_id { - bitfield1: 245 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "desc" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 517 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 517 - } - v: "A" - } - } - src { - end_column: 35 - end_line: 517 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 517 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 36 - end_line: 517 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 517 - } - variadic: true - } - } - symbol { - value: "df254" - } - uid: 246 - var_id { - bitfield1: 246 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "desc_nulls_first" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 519 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 519 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 519 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 519 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 48 - end_line: 519 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 519 - } - variadic: true - } - } - symbol { - value: "df255" - } - uid: 247 - var_id { - bitfield1: 247 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "desc_nulls_last" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 521 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 521 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 521 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 521 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 47 - end_line: 521 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 521 - } - variadic: true - } - } - symbol { - value: "df256" - } - uid: 248 - var_id { - bitfield1: 248 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_array" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 523 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 523 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 523 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 523 - } - } - } - src { - end_column: 39 - end_line: 523 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 523 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 40 - end_line: 523 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 523 - } - variadic: true - } - } - symbol { - value: "df257" - } - uid: 249 - var_id { - bitfield1: 249 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_binary" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 525 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 525 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 525 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 525 - } - } - } - src { - end_column: 40 - end_line: 525 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 525 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 525 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 525 - } - variadic: true - } - } - symbol { - value: "df258" - } - uid: 250 - var_id { - bitfield1: 250 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_char" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 527 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 527 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 527 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 527 - } - } - } - src { - end_column: 38 - end_line: 527 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 527 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 527 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 527 - } - variadic: true - } - } - symbol { - value: "df259" - } - uid: 251 - var_id { - bitfield1: 251 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_varchar" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 529 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 529 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 529 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 529 - } - } - } - src { - end_column: 41 - end_line: 529 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 529 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 529 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 529 - } - variadic: true - } - } - symbol { - value: "df260" - } - uid: 252 - var_id { - bitfield1: 252 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_date" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 531 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 531 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 531 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 531 - } - } - } - src { - end_column: 38 - end_line: 531 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 531 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 531 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 531 - } - variadic: true - } - } - symbol { - value: "df261" - } - uid: 253 - var_id { - bitfield1: 253 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "cast" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 533 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 533 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 533 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 533 - } - v: "int" - } - } - src { - end_column: 42 - end_line: 533 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 533 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "cast" - } - } - } - } - pos_args { - string_val { - src { - end_column: 65 - end_line: 533 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 533 - } - v: "A" - } - } - pos_args { - sp_datatype_val { - datatype { - sp_long_type: true - } - src { - end_column: 65 - end_line: 533 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 533 - } - } - } - src { - end_column: 65 - end_line: 533 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 533 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 66 - end_line: 533 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 533 - } - variadic: true - } - } - symbol { - value: "df262" - } - uid: 254 - var_id { - bitfield1: 254 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "try_cast" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 535 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 535 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 535 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 535 - } - v: "int" - } - } - src { - end_column: 46 - end_line: 535 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 535 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "try_cast" - } - } - } - } - pos_args { - string_val { - src { - end_column: 73 - end_line: 535 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 535 - } - v: "A" - } - } - pos_args { - sp_datatype_val { - datatype { - sp_long_type: true - } - src { - end_column: 73 - end_line: 535 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 535 - } - } - } - src { - end_column: 73 - end_line: 535 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 535 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 74 - end_line: 535 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 535 - } - variadic: true - } - } - symbol { - value: "df263" - } - uid: 255 - var_id { - bitfield1: 255 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_decimal" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 537 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 41 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 537 - } - } - } - pos_args { - null_val { - src { - end_column: 41 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 537 - } - } - } - src { - end_column: 41 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 537 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_decimal" - } - } - } - } - pos_args { - string_val { - src { - end_column: 64 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 537 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 64 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 537 - } - } - } - pos_args { - null_val { - src { - end_column: 64 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 537 - } - } - } - src { - end_column: 64 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 537 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_decimal" - } - } - } - } - pos_args { - string_val { - src { - end_column: 85 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 537 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 85 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 537 - } - v: 10 - } - } - pos_args { - null_val { - src { - end_column: 85 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 537 - } - } - } - src { - end_column: 85 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 537 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_decimal" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 106 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 98 - start_line: 537 - } - v: "A" - } - } - src { - end_column: 106 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 98 - start_line: 537 - } - } - } - pos_args { - int64_val { - src { - end_column: 114 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 537 - } - v: 10 - } - } - pos_args { - int64_val { - src { - end_column: 114 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 537 - } - v: 2 - } - } - src { - end_column: 114 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 87 - start_line: 537 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 115 - end_line: 537 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 537 - } - variadic: true - } - } - symbol { - value: "df264" - } - uid: 256 - var_id { - bitfield1: 256 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_decimal" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 539 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 40 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 539 - } - } - } - pos_args { - null_val { - src { - end_column: 40 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 539 - } - } - } - src { - end_column: 40 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 539 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_decimal" - } - } - } - } - pos_args { - string_val { - src { - end_column: 62 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 539 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 62 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 539 - } - } - } - pos_args { - null_val { - src { - end_column: 62 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 539 - } - } - } - src { - end_column: 62 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 539 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_decimal" - } - } - } - } - pos_args { - string_val { - src { - end_column: 82 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 539 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 82 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 539 - } - v: 10 - } - } - pos_args { - null_val { - src { - end_column: 82 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 539 - } - } - } - src { - end_column: 82 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 64 - start_line: 539 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_decimal" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 102 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 539 - } - v: "A" - } - } - src { - end_column: 102 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 539 - } - } - } - pos_args { - int64_val { - src { - end_column: 110 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 539 - } - v: 10 - } - } - pos_args { - int64_val { - src { - end_column: 110 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 539 - } - v: 2 - } - } - src { - end_column: 110 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 84 - start_line: 539 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 111 - end_line: 539 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 539 - } - variadic: true - } - } - symbol { - value: "df265" - } - uid: 257 - var_id { - bitfield1: 257 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_double" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 541 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 541 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 541 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 541 - } - } - } - src { - end_column: 40 - end_line: 541 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 541 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 541 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 541 - } - variadic: true - } - } - symbol { - value: "df266" - } - uid: 258 - var_id { - bitfield1: 258 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_real" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 543 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 543 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 543 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 543 - } - } - } - src { - end_column: 38 - end_line: 543 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 543 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 543 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 543 - } - variadic: true - } - } - symbol { - value: "df267" - } - uid: 259 - var_id { - bitfield1: 259 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_integer" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 545 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 545 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 545 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 545 - } - } - } - src { - end_column: 41 - end_line: 545 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 545 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 545 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 545 - } - variadic: true - } - } - symbol { - value: "df268" - } - uid: 260 - var_id { - bitfield1: 260 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_object" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 547 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 547 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 547 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 547 - } - } - } - src { - end_column: 40 - end_line: 547 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 547 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 547 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 547 - } - variadic: true - } - } - symbol { - value: "df269" - } - uid: 261 - var_id { - bitfield1: 261 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_time" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 549 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 549 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 549 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 549 - } - } - } - src { - end_column: 38 - end_line: 549 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 549 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 549 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 549 - } - variadic: true - } - } - symbol { - value: "df270" - } - uid: 262 - var_id { - bitfield1: 262 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_timestamp_ltz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 551 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 551 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 551 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 551 - } - } - } - src { - end_column: 47 - end_line: 551 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 551 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 48 - end_line: 551 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 551 - } - variadic: true - } - } - symbol { - value: "df271" - } - uid: 263 - var_id { - bitfield1: 263 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_timestamp_ntz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 553 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 553 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 553 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 553 - } - } - } - src { - end_column: 47 - end_line: 553 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 553 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 48 - end_line: 553 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 553 - } - variadic: true - } - } - symbol { - value: "df272" - } - uid: 264 - var_id { - bitfield1: 264 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "as_timestamp_tz" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 46 - end_line: 555 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 555 - } - v: "A" - } - } - src { - end_column: 46 - end_line: 555 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 555 - } - } - } - src { - end_column: 46 - end_line: 555 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 555 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 47 - end_line: 555 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 555 - } - variadic: true - } - } - symbol { - value: "df273" - } - uid: 265 - var_id { - bitfield1: 265 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_binary" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 557 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 557 - } - } - } - src { - end_column: 40 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 557 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_binary" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 66 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 557 - } - v: "B" - } - } - src { - end_column: 66 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 557 - } - } - } - pos_args { - string_val { - src { - end_column: 66 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 557 - } - v: "BASE64" - } - } - src { - end_column: 66 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 557 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_binary" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 86 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 557 - } - v: "A" - } - } - src { - end_column: 86 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 557 - } - } - } - pos_args { - string_val { - src { - end_column: 96 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 557 - } - v: "UTF-8" - } - } - src { - end_column: 96 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 557 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 97 - end_line: 557 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 557 - } - variadic: true - } - } - symbol { - value: "df274" - } - uid: 266 - var_id { - bitfield1: 266 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_array" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 559 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 559 - } - v: "A" - } - } - src { - end_column: 39 - end_line: 559 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 559 - } - } - } - src { - end_column: 39 - end_line: 559 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 559 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 40 - end_line: 559 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 559 - } - variadic: true - } - } - symbol { - value: "df275" - } - uid: 267 - var_id { - bitfield1: 267 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_json" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 561 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 561 - } - v: "A" - } - } - src { - end_column: 38 - end_line: 561 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 561 - } - } - } - src { - end_column: 38 - end_line: 561 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 561 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 561 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 561 - } - variadic: true - } - } - symbol { - value: "df276" - } - uid: 268 - var_id { - bitfield1: 268 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_object" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 40 - end_line: 563 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 563 - } - v: "A" - } - } - src { - end_column: 40 - end_line: 563 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 563 - } - } - } - src { - end_column: 40 - end_line: 563 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 563 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 563 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 563 - } - variadic: true - } - } - symbol { - value: "df277" - } - uid: 269 - var_id { - bitfield1: 269 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_variant" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 565 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 565 - } - v: "A" - } - } - src { - end_column: 41 - end_line: 565 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 565 - } - } - } - src { - end_column: 41 - end_line: 565 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 565 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 42 - end_line: 565 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 565 - } - variadic: true - } - } - symbol { - value: "df278" - } - uid: 270 - var_id { - bitfield1: 270 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "to_xml" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 37 - end_line: 567 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 567 - } - v: "A" - } - } - src { - end_column: 37 - end_line: 567 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 567 - } - } - } - src { - end_column: 37 - end_line: 567 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 567 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 38 - end_line: 567 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 567 - } - variadic: true - } - } - symbol { - value: "df279" - } - uid: 271 - var_id { - bitfield1: 271 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "get_ignore_case" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 569 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 569 - } - v: "A" - } - } - src { - end_column: 56 - end_line: 569 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 569 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 569 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 569 - } - v: "B" - } - } - src { - end_column: 55 - end_line: 569 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 569 - } - } - } - src { - end_column: 56 - end_line: 569 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 569 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 57 - end_line: 569 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 569 - } - variadic: true - } - } - symbol { - value: "df280" - } - uid: 272 - var_id { - bitfield1: 272 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "object_keys" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 571 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 571 - } - v: "A" - } - } - src { - end_column: 42 - end_line: 571 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 571 - } - } - } - src { - end_column: 42 - end_line: 571 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 571 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 43 - end_line: 571 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 571 - } - variadic: true - } - } - symbol { - value: "df281" - } - uid: 273 - var_id { - bitfield1: 273 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "xmlget" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 573 - } - v: "A" - } - } - src { - end_column: 42 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 573 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 573 - } - v: "B" - } - } - src { - end_column: 42 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 573 - } - } - } - pos_args { - int64_val { - src { - end_column: 42 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 573 - } - } - } - src { - end_column: 42 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 573 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "xmlget" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 63 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 573 - } - v: "A" - } - } - src { - end_column: 63 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 573 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 63 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 573 - } - v: "B" - } - } - src { - end_column: 63 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 573 - } - } - } - pos_args { - int64_val { - src { - end_column: 63 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 573 - } - } - } - src { - end_column: 63 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 573 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "xmlget" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 80 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 573 - } - v: "A" - } - } - src { - end_column: 80 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 72 - start_line: 573 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 92 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 573 - } - v: "123" - } - } - src { - end_column: 92 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 82 - start_line: 573 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 102 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 573 - } - v: "B" - } - } - src { - end_column: 102 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 94 - start_line: 573 - } - } - } - src { - end_column: 103 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 65 - start_line: 573 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "xmlget" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 126 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 105 - start_line: 573 - } - v: "A" - } - } - src { - end_column: 126 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 105 - start_line: 573 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 126 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 105 - start_line: 573 - } - v: "B" - } - } - src { - end_column: 126 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 105 - start_line: 573 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 126 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 105 - start_line: 573 - } - v: "C" - } - } - src { - end_column: 126 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 105 - start_line: 573 - } - } - } - src { - end_column: 126 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 105 - start_line: 573 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 127 - end_line: 573 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 573 - } - variadic: true - } - } - symbol { - value: "df282" - } - uid: 274 - var_id { - bitfield1: 274 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "get_path" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 575 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 575 - } - v: "A" - } - } - src { - end_column: 44 - end_line: 575 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 575 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 44 - end_line: 575 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 575 - } - v: "B" - } - } - src { - end_column: 44 - end_line: 575 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 575 - } - } - } - src { - end_column: 44 - end_line: 575 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 575 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 45 - end_line: 575 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 575 - } - variadic: true - } - } - symbol { - value: "df283" - } - uid: 275 - var_id { - bitfield1: 275 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "get" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 35 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 577 - } - v: 1 - } - } - pos_args { - int64_val { - src { - end_column: 35 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 577 - } - v: 2 - } - } - src { - end_column: 35 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 577 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "get" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 577 - } - v: "A" - } - } - src { - end_column: 48 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 577 - } - } - } - pos_args { - int64_val { - src { - end_column: 48 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 577 - } - v: 2 - } - } - src { - end_column: 48 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 577 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "get" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 61 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 577 - } - v: 3 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 61 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 577 - } - v: "B" - } - } - src { - end_column: 61 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 577 - } - } - } - src { - end_column: 61 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 577 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "get" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 75 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 577 - } - v: "A" - } - } - src { - end_column: 75 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 577 - } - } - } - pos_args { - int64_val { - src { - end_column: 79 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 63 - start_line: 577 - } - v: 2 - } - } - src { - end_column: 79 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 63 - start_line: 577 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "get" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 93 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 85 - start_line: 577 - } - v: "A" - } - } - src { - end_column: 93 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 85 - start_line: 577 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 101 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 95 - start_line: 577 - } - v: 1 - } - } - src { - end_column: 101 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 95 - start_line: 577 - } - } - } - src { - end_column: 102 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 81 - start_line: 577 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 103 - end_line: 577 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 577 - } - variadic: true - } - } - symbol { - value: "df284" - } - uid: 276 - var_id { - bitfield1: 276 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - sp_column_case_when { - cases { - condition { - eq { - lhs { - mod { - lhs { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 39 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 579 - } - v: "a" - } - } - src { - end_column: 39 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 579 - } - } - } - rhs { - int64_val { - src { - end_column: 43 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 579 - } - v: 2 - } - } - src { - end_column: 43 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 579 - } - } - } - rhs { - int64_val { - src { - end_column: 48 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 579 - } - } - } - src { - end_column: 48 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 579 - } - } - } - src { - end_column: 62 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 579 - } - value { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 61 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 579 - } - v: "even" - } - } - src { - end_column: 61 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 50 - start_line: 579 - } - } - } - } - src { - end_column: 62 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 579 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 63 - end_line: 579 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 579 - } - variadic: true - } - } - symbol { - value: "df285" - } - uid: 277 - var_id { - bitfield1: 277 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "iff" - } - } - } - } - pos_args { - eq { - lhs { - mod { - lhs { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 581 - } - v: "a" - } - } - src { - end_column: 38 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 581 - } - } - } - rhs { - int64_val { - src { - end_column: 42 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 581 - } - v: 2 - } - } - src { - end_column: 42 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 581 - } - } - } - rhs { - int64_val { - src { - end_column: 47 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 581 - } - } - } - src { - end_column: 47 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 30 - start_line: 581 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 60 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 581 - } - v: "even" - } - } - src { - end_column: 60 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 581 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 72 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 581 - } - v: "odd" - } - } - src { - end_column: 72 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 581 - } - } - } - src { - end_column: 73 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 581 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 74 - end_line: 581 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 581 - } - variadic: true - } - } - symbol { - value: "df286" - } - uid: 278 - var_id { - bitfield1: 278 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "in_" - } - } - } - } - pos_args { - list_val { - src { - end_column: 33 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 583 - } - } - } - src { - end_column: 33 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 583 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "in_" - } - } - } - } - pos_args { - list_val { - src { - end_column: 60 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 583 - } - vs { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 583 - } - v: "A" - } - } - src { - end_column: 48 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 583 - } - } - } - vs { - string_val { - src { - end_column: 60 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 583 - } - v: "B" - } - } - vs { - string_val { - src { - end_column: 60 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 583 - } - v: "A" - } - } - } - } - src { - end_column: 60 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 583 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "in_" - } - } - } - } - pos_args { - list_val { - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - vs { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 78 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 583 - } - v: "col1" - } - } - src { - end_column: 78 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 67 - start_line: 583 - } - } - } - vs { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 91 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 583 - } - v: "col2" - } - } - src { - end_column: 91 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 583 - } - } - } - } - } - pos_args { - list_val { - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - vs { - list_val { - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - vs { - int64_val { - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - v: 1 - } - } - vs { - string_val { - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - v: "a" - } - } - } - } - vs { - list_val { - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - vs { - int64_val { - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - v: 2 - } - } - vs { - string_val { - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - v: "b" - } - } - } - } - } - } - src { - end_column: 115 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 583 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 116 - end_line: 583 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 583 - } - variadic: true - } - } - symbol { - value: "df287" - } - uid: 279 - var_id { - bitfield1: 279 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "cume_dist" - } - } - } - } - src { - end_column: 37 - end_line: 585 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 585 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 38 - end_line: 585 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 585 - } - variadic: true - } - } - symbol { - value: "df288" - } - uid: 280 - var_id { - bitfield1: 280 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "rank" - } - } - } - } - src { - end_column: 32 - end_line: 587 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 587 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 33 - end_line: 587 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 587 - } - variadic: true - } - } - symbol { - value: "df289" - } - uid: 281 - var_id { - bitfield1: 281 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "percent_rank" - } - } - } - } - src { - end_column: 40 - end_line: 589 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 589 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 41 - end_line: 589 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 589 - } - variadic: true - } - } - symbol { - value: "df290" - } - uid: 282 - var_id { - bitfield1: 282 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "dense_rank" - } - } - } - } - src { - end_column: 38 - end_line: 591 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 591 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 591 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 591 - } - variadic: true - } - } - symbol { - value: "df291" - } - uid: 283 - var_id { - bitfield1: 283 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "row_number" - } - } - } - } - src { - end_column: 38 - end_line: 593 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 593 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 39 - end_line: 593 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 593 - } - variadic: true - } - } - symbol { - value: "df292" - } - uid: 284 - var_id { - bitfield1: 284 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lag" - } - } - } - } - pos_args { - string_val { - src { - end_column: 34 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 595 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 34 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 595 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 34 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 595 - } - } - } - pos_args { - bool_val { - src { - end_column: 34 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 595 - } - } - } - src { - end_column: 34 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 595 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lag" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 48 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 595 - } - v: "B" - } - } - src { - end_column: 48 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 595 - } - } - } - pos_args { - int64_val { - src { - end_column: 49 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 595 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 49 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 595 - } - } - } - pos_args { - bool_val { - src { - end_column: 49 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 595 - } - } - } - src { - end_column: 49 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 36 - start_line: 595 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lag" - } - } - } - } - pos_args { - string_val { - src { - end_column: 74 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 595 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 74 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 595 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 74 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 595 - } - } - } - pos_args { - bool_val { - src { - end_column: 74 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 595 - } - v: true - } - } - src { - end_column: 74 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 51 - start_line: 595 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lag" - } - } - } - } - pos_args { - string_val { - src { - end_column: 97 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 595 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 97 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 595 - } - v: 1 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 96 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 595 - } - v: "B" - } - } - src { - end_column: 96 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 88 - start_line: 595 - } - } - } - pos_args { - bool_val { - src { - end_column: 97 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 595 - } - } - } - src { - end_column: 97 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 76 - start_line: 595 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lag" - } - } - } - } - pos_args { - string_val { - src { - end_column: 125 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 99 - start_line: 595 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 125 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 99 - start_line: 595 - } - v: 2 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 118 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 111 - start_line: 595 - } - v: 20 - } - } - src { - end_column: 118 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 111 - start_line: 595 - } - } - } - pos_args { - bool_val { - src { - end_column: 125 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 99 - start_line: 595 - } - v: true - } - } - src { - end_column: 125 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 99 - start_line: 595 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 126 - end_line: 595 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 595 - } - variadic: true - } - } - symbol { - value: "df293" - } - uid: 285 - var_id { - bitfield1: 285 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lead" - } - } - } - } - pos_args { - string_val { - src { - end_column: 35 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 597 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 35 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 597 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 35 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 597 - } - } - } - pos_args { - bool_val { - src { - end_column: 35 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 597 - } - } - } - src { - end_column: 35 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 597 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lead" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 50 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 597 - } - v: "B" - } - } - src { - end_column: 50 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 42 - start_line: 597 - } - } - } - pos_args { - int64_val { - src { - end_column: 51 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 597 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 51 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 597 - } - } - } - pos_args { - bool_val { - src { - end_column: 51 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 597 - } - } - } - src { - end_column: 51 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 597 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lead" - } - } - } - } - pos_args { - string_val { - src { - end_column: 77 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 597 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 77 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 597 - } - v: 1 - } - } - pos_args { - null_val { - src { - end_column: 77 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 597 - } - } - } - pos_args { - bool_val { - src { - end_column: 77 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 597 - } - v: true - } - } - src { - end_column: 77 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 597 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lead" - } - } - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 597 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 101 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 597 - } - v: 1 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 100 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 92 - start_line: 597 - } - v: "B" - } - } - src { - end_column: 100 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 92 - start_line: 597 - } - } - } - pos_args { - bool_val { - src { - end_column: 101 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 597 - } - } - } - src { - end_column: 101 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 79 - start_line: 597 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lead" - } - } - } - } - pos_args { - string_val { - src { - end_column: 130 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 103 - start_line: 597 - } - v: "A" - } - } - pos_args { - int64_val { - src { - end_column: 130 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 103 - start_line: 597 - } - v: 2 - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 123 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 116 - start_line: 597 - } - v: 20 - } - } - src { - end_column: 123 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 116 - start_line: 597 - } - } - } - pos_args { - bool_val { - src { - end_column: 130 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 103 - start_line: 597 - } - v: true - } - } - src { - end_column: 130 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 103 - start_line: 597 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 131 - end_line: 597 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 597 - } - variadic: true - } - } - symbol { - value: "df294" - } - uid: 286 - var_id { - bitfield1: 286 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "last_value" - } - } - } - } - pos_args { - string_val { - src { - end_column: 41 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 599 - } - v: "A" - } - } - pos_args { - bool_val { - src { - end_column: 41 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 599 - } - } - } - src { - end_column: 41 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 599 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "last_value" - } - } - } - } - pos_args { - string_val { - src { - end_column: 64 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 599 - } - v: "A" - } - } - pos_args { - bool_val { - src { - end_column: 64 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 599 - } - v: true - } - } - src { - end_column: 64 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 599 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "last_value" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 85 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 599 - } - v: "B" - } - } - src { - end_column: 85 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 77 - start_line: 599 - } - } - } - pos_args { - bool_val { - src { - end_column: 93 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 599 - } - } - } - src { - end_column: 93 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 66 - start_line: 599 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 94 - end_line: 599 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 599 - } - variadic: true - } - } - symbol { - value: "df295" - } - uid: 287 - var_id { - bitfield1: 287 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "first_value" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 601 - } - v: "A" - } - } - pos_args { - bool_val { - src { - end_column: 42 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 601 - } - } - } - src { - end_column: 42 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 601 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "first_value" - } - } - } - } - pos_args { - string_val { - src { - end_column: 66 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 601 - } - v: "A" - } - } - pos_args { - bool_val { - src { - end_column: 66 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 601 - } - v: true - } - } - src { - end_column: 66 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 601 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "first_value" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 88 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 601 - } - v: "B" - } - } - src { - end_column: 88 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 80 - start_line: 601 - } - } - } - pos_args { - bool_val { - src { - end_column: 96 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 601 - } - } - } - src { - end_column: 96 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 68 - start_line: 601 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 97 - end_line: 601 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 601 - } - variadic: true - } - } - symbol { - value: "df296" - } - uid: 288 - var_id { - bitfield1: 288 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ntile" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 35 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 603 - } - v: 10 - } - } - src { - end_column: 35 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 603 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ntile" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 47 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 603 - } - v: "A" - } - } - src { - end_column: 47 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 603 - } - } - } - src { - end_column: 47 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 37 - start_line: 603 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "ntile" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 63 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 603 - } - v: "B" - } - } - src { - end_column: 63 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 55 - start_line: 603 - } - } - } - src { - end_column: 64 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 49 - start_line: 603 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 65 - end_line: 603 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 603 - } - variadic: true - } - } - symbol { - value: "df297" - } - uid: 289 - var_id { - bitfield1: 289 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "percentile_cont" - } - } - } - } - pos_args { - float64_val { - src { - end_column: 46 - end_line: 605 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 605 - } - v: 0.4 - } - } - src { - end_column: 46 - end_line: 605 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 605 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 47 - end_line: 605 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 605 - } - variadic: true - } - } - symbol { - value: "df298" - } - uid: 290 - var_id { - bitfield1: 290 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "greatest" - } - } - } - } - src { - end_column: 36 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 607 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "greatest" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 51 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 607 - } - v: "A" - } - } - src { - end_column: 51 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 607 - } - } - } - src { - end_column: 51 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 38 - start_line: 607 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "greatest" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 70 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 607 - } - v: "B" - } - } - src { - end_column: 70 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 62 - start_line: 607 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 607 - } - v: "A" - } - } - src { - end_column: 76 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 607 - } - } - } - src { - end_column: 76 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 607 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "greatest" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - v: "A" - } - } - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - v: "B" - } - } - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - v: "C" - } - } - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - v: "D" - } - } - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - v: "E" - } - } - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - v: "F" - } - } - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - } - } - src { - end_column: 116 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 607 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 117 - end_line: 607 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 607 - } - variadic: true - } - } - symbol { - value: "df299" - } - uid: 291 - var_id { - bitfield1: 291 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "least" - } - } - } - } - src { - end_column: 33 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 609 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "least" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 609 - } - v: "A" - } - } - src { - end_column: 45 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 609 - } - } - } - src { - end_column: 45 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 35 - start_line: 609 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "least" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 61 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 609 - } - v: "B" - } - } - src { - end_column: 61 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 53 - start_line: 609 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 67 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 609 - } - v: "A" - } - } - src { - end_column: 67 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 609 - } - } - } - src { - end_column: 67 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 609 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "least" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - v: "A" - } - } - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - v: "B" - } - } - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - v: "C" - } - } - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - v: "D" - } - } - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - v: "E" - } - } - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - v: "F" - } - } - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - } - } - src { - end_column: 104 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 69 - start_line: 609 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 105 - end_line: 609 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 609 - } - variadic: true - } - } - symbol { - value: "df300" - } - uid: 292 - var_id { - bitfield1: 292 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "listagg" - } - } - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 611 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 38 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 611 - } - } - } - pos_args { - bool_val { - src { - end_column: 38 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 611 - } - } - } - src { - end_column: 38 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 611 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "listagg" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 56 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 611 - } - v: "B" - } - } - src { - end_column: 56 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 48 - start_line: 611 - } - } - } - pos_args { - string_val { - src { - end_column: 57 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 611 - } - } - } - pos_args { - bool_val { - src { - end_column: 57 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 611 - } - } - } - src { - end_column: 57 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 40 - start_line: 611 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "listagg" - } - } - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 611 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 76 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 611 - } - v: "," - } - } - pos_args { - bool_val { - src { - end_column: 76 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 611 - } - } - } - src { - end_column: 76 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 59 - start_line: 611 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "listagg" - } - } - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 611 - } - v: "A" - } - } - pos_args { - string_val { - src { - end_column: 101 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 611 - } - v: "|" - } - } - pos_args { - bool_val { - src { - end_column: 101 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 611 - } - v: true - } - } - src { - end_column: 101 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 78 - start_line: 611 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 102 - end_line: 611 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 611 - } - variadic: true - } - } - symbol { - value: "df301" - } - uid: 293 - var_id { - bitfield1: 293 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "call_udf" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 613 - } - v: "name" - } - } - src { - end_column: 42 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 613 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "call_udf" - } - } - } - } - pos_args { - string_val { - src { - end_column: 79 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 613 - } - v: "test" - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 69 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 61 - start_line: 613 - } - v: "A" - } - } - src { - end_column: 69 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 61 - start_line: 613 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 78 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 613 - } - v: 10 - } - } - src { - end_column: 78 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 71 - start_line: 613 - } - } - } - src { - end_column: 79 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 44 - start_line: 613 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 80 - end_line: 613 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 613 - } - variadic: true - } - } - symbol { - value: "df302" - } - uid: 294 - var_id { - bitfield1: 294 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "unix_timestamp" - } - } - } - } - pos_args { - string_val { - src { - end_column: 45 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 615 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 45 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 615 - } - } - } - src { - end_column: 45 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 615 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "unix_timestamp" - } - } - } - } - pos_args { - string_val { - src { - end_column: 72 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 615 - } - v: "A" - } - } - pos_args { - null_val { - src { - end_column: 72 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 615 - } - } - } - src { - end_column: 72 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 47 - start_line: 615 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "unix_timestamp" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 97 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 89 - start_line: 615 - } - v: "B" - } - } - src { - end_column: 97 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 89 - start_line: 615 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 110 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 99 - start_line: 615 - } - v: "YYYY" - } - } - src { - end_column: 110 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 99 - start_line: 615 - } - } - } - src { - end_column: 111 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 615 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 112 - end_line: 615 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 615 - } - variadic: true - } - } - symbol { - value: "df303" - } - uid: 295 - var_id { - bitfield1: 295 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "charindex" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 55 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 617 - } - v: "needle" - } - } - src { - end_column: 55 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 617 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 617 - } - v: "expr" - } - } - src { - end_column: 54 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 43 - start_line: 617 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 55 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 617 - } - v: 1 - } - } - src { - end_column: 55 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 617 - } - } - } - src { - end_column: 55 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 617 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "charindex" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 96 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 617 - } - v: "needle" - } - } - src { - end_column: 96 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 617 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - string_val { - src { - end_column: 92 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 617 - } - v: "test string" - } - } - src { - end_column: 92 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 74 - start_line: 617 - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "lit" - } - } - } - } - pos_args { - int64_val { - src { - end_column: 96 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 617 - } - v: 2 - } - } - src { - end_column: 96 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 617 - } - } - } - src { - end_column: 96 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 57 - start_line: 617 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 97 - end_line: 617 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 617 - } - variadic: true - } - } - symbol { - value: "df304" - } - uid: 296 - var_id { - bitfield1: 296 - } - } -} -body { - assign { - expr { - sp_dataframe_select__columns { - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "size" - } - } - } - } - pos_args { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "col" - } - } - } - } - pos_args { - string_val { - src { - end_column: 42 - end_line: 619 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 619 - } - v: "expr" - } - } - src { - end_column: 42 - end_line: 619 - file: "SRC_POSITION_TEST_MODE" - start_column: 31 - start_line: 619 - } - } - } - src { - end_column: 43 - end_line: 619 - file: "SRC_POSITION_TEST_MODE" - start_column: 26 - start_line: 619 - } - } - } - cols { - apply_expr { - fn { - builtin_fn { - name { - fn_name_flat { - name: "size" - } - } - } - } - pos_args { - string_val { - src { - end_column: 54 - end_line: 619 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 619 - } - v: "A" - } - } - src { - end_column: 54 - end_line: 619 - file: "SRC_POSITION_TEST_MODE" - start_column: 45 - start_line: 619 - } - } - } - df { - sp_dataframe_ref { - id { - bitfield1: 112 - } - } - } - src { - end_column: 55 - end_line: 619 - file: "SRC_POSITION_TEST_MODE" - start_column: 16 - start_line: 619 - } - variadic: true - } - } - symbol { - value: "df305" - } - uid: 297 - var_id { - bitfield1: 297 - } - } -} -client_ast_version: 1 -client_language { - python_language { - version { - label: "final" - major: 3 - minor: 9 - patch: 1 - } - } -} -client_version { - major: 1 - minor: 26 -} diff --git a/tests/ast/data/functions1.test b/tests/ast/data/functions1.test new file mode 100644 index 00000000000..8489d1cabd8 --- /dev/null +++ b/tests/ast/data/functions1.test @@ -0,0 +1,18852 @@ +## TEST CASE + +import datetime + +df = session.table(tables.table1) + +df01 = df.select(col("A")) + +df02 = df.select(col("X", "A")) + +df03 = df.select(col("A", None)) + +df04 = df.select(column("A")) + +df05 = df.select(column("X", "A")) + +df06 = df.select(column("A", None)) + +df07 = df.select(lit(1), lit("1"), lit(1.0), lit(True), lit(b'snow'), lit(datetime.date(2023, 2, 2)), lit([1, 2]), lit({"snow": "flake"})) + +df08 = df.select(sql_expr("CURRENT_WAREHOUSE()")) + +df09 = df.select(current_session()) + +df10 = df.select(current_statement()) + +df11 = df.select(current_user()) + +df12 = df.select(current_version()) + +df13 = df.select(current_warehouse()) + +df14 = df.select(current_database()) + +df15 = df.select(current_role()) + +df16 = df.select(current_schema()) + +df17 = df.select(current_schemas()) + +df18 = df.select(current_region()) + +df19 = df.select(current_account()) + +df20 = df.select(current_available_roles()) + +df21 = df.select(add_months("d", 4)) + +df22 = df.select(add_months(col("A"), 4)) + +df23 = df.select(add_months(col("A"), col("A"))) + +df24 = df.select(any_value("A"), any_value(col("A"))) + +df25 = df.select(bitnot("A"), bitnot(col("A")), bitnot(e=col("A"))) + +df26 = df.select(bitshiftleft("A", col("B")), bitshiftleft("A", -10), bitshiftleft(col("B"), 42)) + +df27 = df.select(bitshiftright("A", col("B")), bitshiftright("A", -10), bitshiftright(col("B"), 42)) + +df28 = df.select(bround("A", scale=10), bround("A", 2), bround(col("A"), scale=col("B"))) + +df29 = df.select(convert_timezone("A", col("B")), convert_timezone(col("A"), "B"), convert_timezone("A", "B"), convert_timezone(col("A"), col("B")), convert_timezone("A","B",None), convert_timezone("A", "B", "A")) + +df30 = df.select(convert_timezone(lit("UTC"), col("a")), convert_timezone(lit("UTC"), col("b"), lit("Asia/Shanghai"))) + +df31 = df.select(approx_count_distinct("A"), approx_count_distinct(col("A"))) + +df32 = df.select(avg("A"), avg(col("B"))) + +df33 = df.select(corr("A", "B")) + +df34 = df.select(count("*"), count("A"), count(col("A"))) + +df35 = df.select(count_distinct(), count_distinct(col("*")), count_distinct("A", "B", "C", "D", col("E"))) + +df36 = df.select(covar_pop("A", col("B"))) + +df37 = df.select(covar_samp("A", "B")) + +df38 = df.select(create_map(["A", "B"])) + +df39 = df.select(create_map(("A", "B", "A", "B"))) + +df40 = df.select(create_map("A", "B")) + +df41 = df.select(create_map("A", "B", "C", "D")) + +df42 = df.select(kurtosis("A")) + +df43 = df.select(max("*"), max("A"), max(col("A"))) + +df44 = df.select(mean("A")) + +df45 = df.select(median("A")) + +df46 = df.select(min("A")) + +df47 = df.select(mode("A")) + +df48 = df.select(skew("A")) + +df49 = df.select(stddev("A")) + +df50 = df.select(stddev_samp("A")) + +df51 = df.select(stddev_pop("A")) + +df52 = df.select(sum("A")) + +df53 = df.select(sum_distinct("A")) + +df54 = df.select(variance("A")) + +df55 = df.select(var_samp("A")) + +df56 = df.select(var_pop("A")) + +df57 = df.select(approx_percentile("A", 0.6), approx_percentile(col("B"), 0.0)) + +df58 = df.select(approx_percentile_accumulate("A")) + +df59 = df.select(approx_percentile_estimate("A", 0.3)) + +df60 = df.select(approx_percentile_combine("A")) + +df61 = df.select(grouping("A"), grouping("A", "B")) + +df62 = df.select(coalesce(), coalesce(col("A"), lit(10))) + +df63 = df.select(equal_nan("A")) + +df64 = df.select(is_null("A")) + +df65 = df.select(negate("A")) + +df66 = df.select(not_("A")) + +df67 = df.select(random(), random(None), random(10)) + +df68 = df.select(uniform("A", "B", "A"), uniform(10, 13., col("A")), uniform(0.2, 2, 0.2)) + +df69 = df.select(seq1(0), seq1(10), seq1(-10)) + +df70 = df.select(seq2(1)) + +df71 = df.select(seq4(12)) + +df72 = df.select(seq8(324)) + +df73 = df.select(to_decimal("A", 10, 3), to_decimal(col("B"), 12, 3)) + +df74 = df.select(to_double(col("A")), to_double("A", None), to_double("A", "999.9"), to_double(col("A"), col("B"))) + +df75 = df.select(div0(0, 1), div0(1.2, 9.3), div0(10, 89.2), div0("A", 1), div0(0.2, "A"), div0(0.3, col("B"))) + +df76 = df.select(sqrt("A")) + +df77 = df.select(abs("A")) + +df78 = df.select(acos("A")) + +df79 = df.select(asin("A")) + +df80 = df.select(atan("A")) + +df81 = df.select(atan2("A", "B")) + +df82 = df.select(ceil("A")) + +df83 = df.select(cos("A")) + +df84 = df.select(cosh("A")) + +df85 = df.select(exp("A")) + +df86 = df.select(factorial("A")) + +df87 = df.select(floor("A")) + +df88 = df.select(format_number("A", col("B")), format_number("A", 10)) + +df89 = df.select(sin("A")) + +df90 = df.select(sinh("A")) + +df91 = df.select(tan("A")) + +df92 = df.select(tanh("A")) + +df93 = df.select(degrees("A")) + +df94 = df.select(radians("A")) + +df95 = df.select(md5("A")) + +df96 = df.select(sha1("A")) + +df97 = df.select(sha2(col("B"), 0), sha2("A", 224)) + +df98 = df.select(hash(lit(None), lit(10), col("A"), "B")) + +df99 = df.select(ascii("A")) + +df100 = df.select(initcap("A"), initcap("A", None), initcap("A", "B"), initcap(col("A"), lit("123"))) + +df101 = df.select(length("A")) + +df102 = df.select(lower("A")) + +df103 = df.select(lpad("A", col("B"), "B"), lpad("A", 100, "B"), lpad(col("A"), col("B"), col("B"))) + +df104 = df.select(ltrim("A"), ltrim("A", None), ltrim(col("A"), "B"), ltrim(col("A"), lit("B"))) + +df105 = df.select(rpad("A", col("B"), "B"), rpad("A", 100, "B"), rpad(col("A"), col("B"), col("B"))) + +df106 = df.select(rtrim("A"), rtrim("A", None), rtrim(col("A"), "B"), rtrim(col("A"), lit("B"))) + +df107 = df.select(repeat("A", 1), repeat(col("A"), 20), repeat("B", col("A"))) + +df108 = df.select(reverse("A")) + +df109 = df.select(soundex("A")) + +df110 = df.select(trim("A"), trim("A", None), trim(col("A"), "B"), trim(col("A"), lit("B"))) + +df111 = df = df.select(upper("A")) + +df112 = df.select(strtok_to_array("A"), strtok_to_array(col("A"), None), strtok_to_array(col("A"), col("B")), strtok_to_array("A", "B")) + +df113 = df.select(struct("A", col("A"), col("B"))) + +df114 = df.select(log("A", 10), log(col("B"), 4.3), log("A", "B")) + +df115 = df.select(pow("A", 10), pow(col("B"), 4.3), pow("A", "B")) + +df116 = df.select(round("A"), round("A", 0), round(col("B"), 4.7)) + +df117 = df.select(sign("A")) + +df118 = df.select(split("A", "B"), split(col("A"), lit("asfdg"))) + +df119 = df.select(substring("A", col("A"), col("A")), substring(col("A"), 0, 10), substring(col("A"), 20, col("B"))) + +df120 = df.select(substring_index("A", "abc", 3), substring_index(col("A"), col("B"), 2)) + +df121 = df.select(regexp_count("A", "B", col("A")), regexp_count(col("A"), col("B"), col("C"), 1, 2, "test")) + +df122 = df.select(regexp_extract("A", "B", 2)) + +df123 = df.select(regexp_replace("A", "B", "", 1, 0), regexp_replace(col("A"), col("B"), col("C"), col("D"), col("E"), col("F"), 1, "sgh", 99.9)) + +df124 = df.select(replace(col("A"), "", ""), replace("A", "B", "ahsgj")) + +df125 = df.select(charindex(col("A"), col("B")), charindex("A", "B", None), charindex("A", "B", 20), charindex("A", "B", col("C"))) + +df126 = df.select(collate(col("A"), "sp-upper")) + +df127 = df.select(collation("A")) + +df128 = df.select(concat("A", col("B"), "A"), concat()) + +df129 = df.select(concat_ws("A", col("B"), "A")) + +df130 = df.select(translate("A", "B", "B"), translate(col("A"), col("B"), lit("ashg"))) + +df131 = df.select(contains("A", "B")) + +df132 = df.select(startswith("A", "B")) + +df133 = df.select(endswith("A", "B")) + +df134 = df.select(insert(col("A"), col("B"), col("C"), "D"), insert("A", 12, 13, col("D"))) + +df135 = df.select(left("A", col("B")), left(col("A"), 10)) + +df136 = df.select(right("A", col("B")), right(col("A"), 10)) + +df137 = df.select(char("A")) + +df138 = df.select(to_char("A"), to_char(col("B"), None), to_char("A", "bcd")) + +df139 = df.select(date_format(col("A"), col("B")), date_format("A", "YYYY")) + +df140 = df.select(to_time("A"), to_time("A", "YYYY"), to_time(col("A"), col("B"))) + +df141 = df.select(to_timestamp("A"), to_timestamp("C", None), to_timestamp(col("A"), col("B"))) + +df142 = df.select(to_timestamp_ntz("A"), to_timestamp_ntz(col("A"), None), to_timestamp_ntz("A", "auto"), to_timestamp_ntz(col("A"), col("B"))) + +df143 = df.select(to_timestamp_ltz("A"), to_timestamp_ltz(col("A"), None), to_timestamp_ltz("A", "auto"), to_timestamp_ltz(col("A"), col("B"))) + +df144 = df.select(to_timestamp_tz("A"), to_timestamp_tz(col("A"), None), to_timestamp_tz("A", "auto"), to_timestamp_tz(col("A"), col("B"))) + +df145 = df.select(from_utc_timestamp("A", lit(1234)), from_utc_timestamp(col("A"), col("B"))) + +df146 = df.select(to_utc_timestamp("A", lit(1234)), to_utc_timestamp(col("A"), col("B"))) + +df147 = df.select(to_date("A"), to_date("A", col("A")), to_date(col("A"), None)) + +## EXPECTED UNPARSER OUTPUT + +df = session.table("table1") + +df01 = df.select(col("A")) + +df02 = df.select(col("X", "A")) + +df03 = df.select(col("A")) + +df04 = df.select(column("A")) + +df05 = df.select(column("X", "A")) + +df06 = df.select(column("A")) + +df07 = df.select(lit(1), lit("1"), lit(1.0), lit(True), lit(bytes("snow", "utf-8")), lit(datetime.date(2023, 2, 2)), lit([1, 2]), lit({"snow": "flake"})) + +df08 = df.select(sql_expr("CURRENT_WAREHOUSE()")) + +df09 = df.select(current_session()) + +df10 = df.select(current_statement()) + +df11 = df.select(current_user()) + +df12 = df.select(current_version()) + +df13 = df.select(current_warehouse()) + +df14 = df.select(current_database()) + +df15 = df.select(current_role()) + +df16 = df.select(current_schema()) + +df17 = df.select(current_schemas()) + +df18 = df.select(current_region()) + +df19 = df.select(current_account()) + +df20 = df.select(current_available_roles()) + +df21 = df.select(add_months(col("d"), 4)) + +df22 = df.select(add_months(col("A"), 4)) + +df23 = df.select(add_months(col("A"), col("A"))) + +df24 = df.select(any_value(col("A")), any_value(col("A"))) + +df25 = df.select(bitnot(col("A")), bitnot(col("A")), bitnot(col("A"))) + +df26 = df.select(bitshiftleft(col("A"), col("B")), bitshiftleft(col("A"), -10), bitshiftleft(col("B"), 42)) + +df27 = df.select(bitshiftright(col("A"), col("B")), bitshiftright(col("A"), -10), bitshiftright(col("B"), 42)) + +df28 = df.select(bround("A", 10), bround("A", 2), bround(col("A"), col("B"))) + +df29 = df.select(convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("B")), convert_timezone(col("A"), col("A"), col("B"))) + +df30 = df.select(convert_timezone(lit("UTC"), col("a")), convert_timezone(lit("Asia/Shanghai"), lit("UTC"), col("b"))) + +df31 = df.select(approx_count_distinct(col("A")), approx_count_distinct(col("A"))) + +df32 = df.select(avg(col("A")), avg(col("B"))) + +df33 = df.select(corr(col("A"), col("B"))) + +df34 = df.select(count("*"), count("A"), count(col("A"))) + +df35 = df.select(count_distinct(), count_distinct("*"), count_distinct("A", "B", "C", "D", col("E"))) + +df36 = df.select(covar_pop(col("A"), col("B"))) + +df37 = df.select(covar_samp(col("A"), col("B"))) + +df38 = df.select(create_map(col("A"), col("B"))) + +df39 = df.select(create_map(col("A"), col("B"), col("A"), col("B"))) + +df40 = df.select(create_map(col("A"), col("B"))) + +df41 = df.select(create_map(col("A"), col("B"), col("C"), col("D"))) + +df42 = df.select(kurtosis(col("A"))) + +df43 = df.select(max("*"), max(col("A")), max(col("A"))) + +df44 = df.select(avg(col("A"))) + +df45 = df.select(median(col("A"))) + +df46 = df.select(min(col("A"))) + +df47 = df.select(mode(col("A"))) + +df48 = df.select(skew(col("A"))) + +df49 = df.select(stddev(col("A"))) + +df50 = df.select(stddev_samp(col("A"))) + +df51 = df.select(stddev_pop(col("A"))) + +df52 = df.select(sum(col("A"))) + +df53 = df.select(sum_distinct(col("A"))) + +df54 = df.select(variance(col("A"))) + +df55 = df.select(variance(col("A"))) + +df56 = df.select(var_pop(col("A"))) + +df57 = df.select(approx_percentile(col("A"), 0.6), approx_percentile(col("B"), 0.0)) + +df58 = df.select(approx_percentile_accumulate(col("A"))) + +df59 = df.select(approx_percentile_estimate(col("A"), 0.3)) + +df60 = df.select(approx_percentile_combine(col("A"))) + +df61 = df.select(grouping(col("A")), grouping(col("A"), col("B"))) + +df62 = df.select(coalesce(), coalesce(col("A"), lit(10))) + +df63 = df.select(col("A").equal_nan()) + +df64 = df.select(col("A").is_null()) + +df65 = df.select(-col("A")) + +df66 = df.select(~col("A")) + +df67 = df.select(random(), random(), random(10)) + +df68 = df.select(uniform(col("A"), col("B"), col("A")), uniform(lit(10), lit(13.0).cast(FloatType()), col("A")), uniform(lit(0.2).cast(FloatType()), lit(2), lit(0.2))) + +df69 = df.select(seq1(0), seq1(10), seq1(-10)) + +df70 = df.select(seq2(1)) + +df71 = df.select(seq4(12)) + +df72 = df.select(seq8(324)) + +df73 = df.select(to_decimal(col("A"), 10, 3), to_decimal(col("B"), 12, 3)) + +df74 = df.select(to_double(col("A"), None), to_double("A", None), to_double("A", "999.9"), to_double(col("A"), col("B"))) + +df75 = df.select(div0(0, 1), div0(1.2, 9.3), div0(10, 89.2), div0("A", 1), div0(0.2, "A"), div0(0.3, col("B"))) + +df76 = df.select(sqrt(col("A"))) + +df77 = df.select(abs(col("A"))) + +df78 = df.select(acos(col("A"))) + +df79 = df.select(asin(col("A"))) + +df80 = df.select(atan(col("A"))) + +df81 = df.select(atan2(col("A"), col("B"))) + +df82 = df.select(ceil(col("A"))) + +df83 = df.select(cos(col("A"))) + +df84 = df.select(cosh(col("A"))) + +df85 = df.select(exp(col("A"))) + +df86 = df.select(factorial(col("A"))) + +df87 = df.select(floor(col("A"))) + +df88 = df.select(format_number(col("A"), col("B")), format_number(col("A"), 10)) + +df89 = df.select(sin(col("A"))) + +df90 = df.select(sinh(col("A"))) + +df91 = df.select(tan(col("A"))) + +df92 = df.select(tanh(col("A"))) + +df93 = df.select(degrees(col("A"))) + +df94 = df.select(radians(col("A"))) + +df95 = df.select(md5(col("A"))) + +df96 = df.select(sha1(col("A"))) + +df97 = df.select(sha2(col("B"), 0), sha2(col("A"), 224)) + +df98 = df.select(hash(lit(None), lit(10), col("A"), col("B"))) + +df99 = df.select(ascii(col("A"))) + +df100 = df.select(initcap(col("A")), initcap(col("A")), initcap(col("A"), col("B")), initcap(col("A"), lit("123"))) + +df101 = df.select(length(col("A"))) + +df102 = df.select(lower(col("A"))) + +df103 = df.select(lpad(col("A"), col("B"), col("B")), lpad(col("A"), 100, col("B")), lpad(col("A"), col("B"), col("B"))) + +df104 = df.select(ltrim(col("A")), ltrim(col("A")), ltrim(col("A"), col("B")), ltrim(col("A"), lit("B"))) + +df105 = df.select(rpad(col("A"), col("B"), col("B")), rpad(col("A"), 100, col("B")), rpad(col("A"), col("B"), col("B"))) + +df106 = df.select(rtrim(col("A")), rtrim(col("A")), rtrim(col("A"), col("B")), rtrim(col("A"), lit("B"))) + +df107 = df.select(repeat(col("A"), 1), repeat(col("A"), 20), repeat(col("B"), col("A"))) + +df108 = df.select(reverse(col("A"))) + +df109 = df.select(soundex(col("A"))) + +df110 = df.select(trim(col("A")), trim(col("A")), trim(col("A"), col("B")), trim(col("A"), lit("B"))) + +df111 = df.select(upper(col("A"))) + +df112 = df111.select(strtok_to_array(col("A")), strtok_to_array(col("A")), strtok_to_array(col("A"), col("B")), strtok_to_array(col("A"), col("B"))) + +df113 = df111.select(struct("A", col("A"), col("B"))) + +df114 = df111.select(log("A", 10), log(col("B"), 4.3), log("A", "B")) + +df115 = df111.select(pow("A", 10), pow(col("B"), 4.3), pow("A", "B")) + +df116 = df111.select(round("A", 0), round("A", 0), round(col("B"), 4.7)) + +df117 = df111.select(sign(col("A"))) + +df118 = df111.select(split(col("A"), col("B")), split(col("A"), lit("asfdg"))) + +df119 = df111.select(substring(col("A"), col("A"), col("A")), substring(col("A"), 0, 10), substring(col("A"), 20, col("B"))) + +df120 = df111.select(substring_index("A", "abc", 3), substring_index(col("A"), col("B"), 2)) + +df121 = df111.select(regexp_count(col("A"), "B", col("A")), regexp_count(col("A"), col("B"), col("C"), 1, 2, "test")) + +df122 = df111.select(regexp_extract("A", "B", 2)) + +df123 = df111.select(regexp_replace(col("A"), "B", "", 1, 0), regexp_replace(col("A"), col("B"), col("C"), col("D"), col("E"), col("F"), 1, "sgh", 99.9)) + +df124 = df111.select(replace(col("A"), "", ""), replace(col("A"), "B", "ahsgj")) + +df125 = df111.select(char_index(col("A"), col("B"), 20), char_index(col("A"), col("B"), col("C"))) + +df126 = df111.select(collate(col("A"), "sp-upper")) + +df127 = df111.select(collation(col("A"))) + +df128 = df111.select(concat(col("A"), col("B"), col("A")), concat()) + +df129 = df111.select(concat_ws(col("A"), col("B"), col("A"))) + +df130 = df111.select(translate(col("A"), col("B"), col("B")), translate(col("A"), col("B"), lit("ashg"))) + +df131 = df111.select(contains(col("A"), col("B"))) + +df132 = df111.select(startswith(col("A"), col("B"))) + +df133 = df111.select(endswith(col("A"), col("B"))) + +df134 = df111.select(insert(col("A"), col("B"), col("C"), col("D")), insert(col("A"), 12, 13, col("D"))) + +df135 = df111.select(left(col("A"), col("B")), left(col("A"), 10)) + +df136 = df111.select(right(col("A"), col("B")), right(col("A"), 10)) + +df137 = df111.select(char(col("A"))) + +df138 = df111.select(to_char(col("A"), "bcd")) + +df139 = df111.select(date_format(col("A"), col("B")), date_format("A", "YYYY")) + +df140 = df111.select(to_time(col("A")), to_time(col("A"), "YYYY"), to_time(col("A"), col("B"))) + +df141 = df111.select(to_timestamp(col("A")), to_timestamp(col("C")), to_timestamp(col("A"), col("B"))) + +df142 = df111.select(to_timestamp_ntz("A", None), to_timestamp_ntz(col("A"), None), to_timestamp_ntz("A", "auto"), to_timestamp_ntz(col("A"), col("B"))) + +df143 = df111.select(to_timestamp_ltz("A", None), to_timestamp_ltz(col("A"), None), to_timestamp_ltz("A", "auto"), to_timestamp_ltz(col("A"), col("B"))) + +df144 = df111.select(to_timestamp_tz("A", None), to_timestamp_tz(col("A"), None), to_timestamp_tz("A", "auto"), to_timestamp_tz(col("A"), col("B"))) + +df145 = df111.select(from_utc_timestamp("A", lit(1234)), from_utc_timestamp(col("A"), col("B"))) + +df146 = df111.select(to_utc_timestamp("A", lit(1234)), to_utc_timestamp(col("A"), col("B"))) + +df147 = df111.select(to_date("A"), to_date("A", col("A")), to_date(col("A"))) + +## EXPECTED ENCODED AST + +body { + assign { + expr { + sp_table { + name { + name { + sp_name_flat { + name: "table1" + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 27 + } + variant { + sp_session_table: true + } + } + } + symbol { + value: "df" + } + uid: 1 + var_id { + bitfield1: 1 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 29 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 29 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 29 + } + variadic: true + } + } + symbol { + value: "df01" + } + uid: 2 + var_id { + bitfield1: 2 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 31 + } + v: "X" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 31 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 31 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 31 + } + variadic: true + } + } + symbol { + value: "df02" + } + uid: 3 + var_id { + bitfield1: 3 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 33 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 33 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 33 + } + variadic: true + } + } + symbol { + value: "df03" + } + uid: 4 + var_id { + bitfield1: 4 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "column" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 35 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 35 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 35 + } + variadic: true + } + } + symbol { + value: "df04" + } + uid: 5 + var_id { + bitfield1: 5 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "column" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + v: "X" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + variadic: true + } + } + symbol { + value: "df05" + } + uid: 6 + var_id { + bitfield1: 6 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "column" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 39 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 39 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 39 + } + variadic: true + } + } + symbol { + value: "df06" + } + uid: 7 + var_id { + bitfield1: 7 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: "1" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: 1.0 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + binary_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: "snow" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + python_date_val { + day: 2 + month: 2 + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + year: 2023 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + list_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + vs { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: 1 + } + } + vs { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: 2 + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + seq_map_val { + kvs { + vs { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: "snow" + } + } + vs { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: "flake" + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + variadic: true + } + } + symbol { + value: "df07" + } + uid: 8 + var_id { + bitfield1: 8 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sql_expr" + } + } + } + } + } + pos_args { + sp_column_sql_expr { + sql: "CURRENT_WAREHOUSE()" + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + variadic: true + } + } + symbol { + value: "df08" + } + uid: 9 + var_id { + bitfield1: 9 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_session" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 45 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 45 + } + variadic: true + } + } + symbol { + value: "df09" + } + uid: 10 + var_id { + bitfield1: 10 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_statement" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 47 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 47 + } + variadic: true + } + } + symbol { + value: "df10" + } + uid: 11 + var_id { + bitfield1: 11 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_user" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 49 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 49 + } + variadic: true + } + } + symbol { + value: "df11" + } + uid: 12 + var_id { + bitfield1: 12 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_version" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 51 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 51 + } + variadic: true + } + } + symbol { + value: "df12" + } + uid: 13 + var_id { + bitfield1: 13 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_warehouse" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 53 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 53 + } + variadic: true + } + } + symbol { + value: "df13" + } + uid: 14 + var_id { + bitfield1: 14 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_database" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 55 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 55 + } + variadic: true + } + } + symbol { + value: "df14" + } + uid: 15 + var_id { + bitfield1: 15 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_role" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + variadic: true + } + } + symbol { + value: "df15" + } + uid: 16 + var_id { + bitfield1: 16 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_schema" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 59 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 59 + } + variadic: true + } + } + symbol { + value: "df16" + } + uid: 17 + var_id { + bitfield1: 17 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_schemas" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 61 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 61 + } + variadic: true + } + } + symbol { + value: "df17" + } + uid: 18 + var_id { + bitfield1: 18 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_region" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + variadic: true + } + } + symbol { + value: "df18" + } + uid: 19 + var_id { + bitfield1: 19 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_account" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 65 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 65 + } + variadic: true + } + } + symbol { + value: "df19" + } + uid: 20 + var_id { + bitfield1: 20 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_available_roles" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + variadic: true + } + } + symbol { + value: "df20" + } + uid: 21 + var_id { + bitfield1: 21 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "add_months" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: "d" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: 4 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + variadic: true + } + } + symbol { + value: "df21" + } + uid: 22 + var_id { + bitfield1: 22 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "add_months" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + v: 4 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + variadic: true + } + } + symbol { + value: "df22" + } + uid: 23 + var_id { + bitfield1: 23 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "add_months" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + variadic: true + } + } + symbol { + value: "df23" + } + uid: 24 + var_id { + bitfield1: 24 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "any_value" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "any_value" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + variadic: true + } + } + symbol { + value: "df24" + } + uid: 25 + var_id { + bitfield1: 25 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitnot" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitnot" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitnot" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + variadic: true + } + } + symbol { + value: "df25" + } + uid: 26 + var_id { + bitfield1: 26 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitshiftleft" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitshiftleft" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: -10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitshiftleft" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: 42 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + variadic: true + } + } + symbol { + value: "df26" + } + uid: 27 + var_id { + bitfield1: 27 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitshiftright" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitshiftright" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: -10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bitshiftright" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: 42 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + variadic: true + } + } + symbol { + value: "df27" + } + uid: 28 + var_id { + bitfield1: 28 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bround" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bround" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "bround" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + variadic: true + } + } + symbol { + value: "df28" + } + uid: 29 + var_id { + bitfield1: 29 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "convert_timezone" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "convert_timezone" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "convert_timezone" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "convert_timezone" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "convert_timezone" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "convert_timezone" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + variadic: true + } + } + symbol { + value: "df29" + } + uid: 30 + var_id { + bitfield1: 30 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "convert_timezone" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "UTC" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "a" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "convert_timezone" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "Asia/Shanghai" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "UTC" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "b" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + variadic: true + } + } + symbol { + value: "df30" + } + uid: 31 + var_id { + bitfield1: 31 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "approx_count_distinct" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "approx_count_distinct" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + variadic: true + } + } + symbol { + value: "df31" + } + uid: 32 + var_id { + bitfield1: 32 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "avg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "avg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + variadic: true + } + } + symbol { + value: "df32" + } + uid: 33 + var_id { + bitfield1: 33 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "corr" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + variadic: true + } + } + symbol { + value: "df33" + } + uid: 34 + var_id { + bitfield1: 34 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "count" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "*" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "count" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "count" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + variadic: true + } + } + symbol { + value: "df34" + } + uid: 35 + var_id { + bitfield1: 35 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "count_distinct" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "count_distinct" + } + } + } + } + } + pos_args { + sp_column_sql_expr { + sql: "*" + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "count_distinct" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "B" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "C" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "D" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "E" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + variadic: true + } + } + symbol { + value: "df35" + } + uid: 36 + var_id { + bitfield1: 36 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "covar_pop" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + variadic: true + } + } + symbol { + value: "df36" + } + uid: 37 + var_id { + bitfield1: 37 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "covar_samp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + variadic: true + } + } + symbol { + value: "df37" + } + uid: 38 + var_id { + bitfield1: 38 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "create_map" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + variadic: true + } + } + symbol { + value: "df38" + } + uid: 39 + var_id { + bitfield1: 39 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "create_map" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + variadic: true + } + } + symbol { + value: "df39" + } + uid: 40 + var_id { + bitfield1: 40 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "create_map" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + variadic: true + } + } + symbol { + value: "df40" + } + uid: 41 + var_id { + bitfield1: 41 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "create_map" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + v: "D" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + variadic: true + } + } + symbol { + value: "df41" + } + uid: 42 + var_id { + bitfield1: 42 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "kurtosis" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 111 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 111 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 111 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 111 + } + variadic: true + } + } + symbol { + value: "df42" + } + uid: 43 + var_id { + bitfield1: 43 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "max" + } + } + } + } + } + pos_args { + sp_column_sql_expr { + sql: "*" + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "max" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "max" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + variadic: true + } + } + symbol { + value: "df43" + } + uid: 44 + var_id { + bitfield1: 44 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "avg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 115 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 115 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 115 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 115 + } + variadic: true + } + } + symbol { + value: "df44" + } + uid: 45 + var_id { + bitfield1: 45 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "median" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 117 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 117 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 117 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 117 + } + variadic: true + } + } + symbol { + value: "df45" + } + uid: 46 + var_id { + bitfield1: 46 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "min" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 119 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 119 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 119 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 119 + } + variadic: true + } + } + symbol { + value: "df46" + } + uid: 47 + var_id { + bitfield1: 47 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "mode" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 121 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 121 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 121 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 121 + } + variadic: true + } + } + symbol { + value: "df47" + } + uid: 48 + var_id { + bitfield1: 48 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "skew" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 123 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 123 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 123 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 123 + } + variadic: true + } + } + symbol { + value: "df48" + } + uid: 49 + var_id { + bitfield1: 49 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "stddev" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 125 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 125 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 125 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 125 + } + variadic: true + } + } + symbol { + value: "df49" + } + uid: 50 + var_id { + bitfield1: 50 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "stddev_samp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 127 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 127 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 127 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 127 + } + variadic: true + } + } + symbol { + value: "df50" + } + uid: 51 + var_id { + bitfield1: 51 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "stddev_pop" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 129 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 129 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 129 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 129 + } + variadic: true + } + } + symbol { + value: "df51" + } + uid: 52 + var_id { + bitfield1: 52 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sum" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 131 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 131 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 131 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 131 + } + variadic: true + } + } + symbol { + value: "df52" + } + uid: 53 + var_id { + bitfield1: 53 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sum_distinct" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 133 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 133 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 133 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 133 + } + variadic: true + } + } + symbol { + value: "df53" + } + uid: 54 + var_id { + bitfield1: 54 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "variance" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 135 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 135 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 135 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 135 + } + variadic: true + } + } + symbol { + value: "df54" + } + uid: 55 + var_id { + bitfield1: 55 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "variance" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 137 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 137 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 137 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 137 + } + variadic: true + } + } + symbol { + value: "df55" + } + uid: 56 + var_id { + bitfield1: 56 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "var_pop" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 139 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 139 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 139 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 139 + } + variadic: true + } + } + symbol { + value: "df56" + } + uid: 57 + var_id { + bitfield1: 57 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "approx_percentile" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: 0.6 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "approx_percentile" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + variadic: true + } + } + symbol { + value: "df57" + } + uid: 58 + var_id { + bitfield1: 58 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "approx_percentile_accumulate" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + variadic: true + } + } + symbol { + value: "df58" + } + uid: 59 + var_id { + bitfield1: 59 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "approx_percentile_estimate" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 0.3 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + variadic: true + } + } + symbol { + value: "df59" + } + uid: 60 + var_id { + bitfield1: 60 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "approx_percentile_combine" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + variadic: true + } + } + symbol { + value: "df60" + } + uid: 61 + var_id { + bitfield1: 61 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "grouping" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "grouping" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + variadic: true + } + } + symbol { + value: "df61" + } + uid: 62 + var_id { + bitfield1: 62 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "coalesce" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "coalesce" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + variadic: true + } + } + symbol { + value: "df62" + } + uid: 63 + var_id { + bitfield1: 63 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + sp_column_equal_nan { + col { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + variadic: true + } + } + symbol { + value: "df63" + } + uid: 64 + var_id { + bitfield1: 64 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + sp_column_is_null { + col { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 155 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 155 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 155 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 155 + } + variadic: true + } + } + symbol { + value: "df64" + } + uid: 65 + var_id { + bitfield1: 65 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + neg { + operand { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 157 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 157 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 157 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 157 + } + variadic: true + } + } + symbol { + value: "df65" + } + uid: 66 + var_id { + bitfield1: 66 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + not { + operand { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 159 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 159 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 159 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 159 + } + variadic: true + } + } + symbol { + value: "df66" + } + uid: 67 + var_id { + bitfield1: 67 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "random" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "random" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "random" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + variadic: true + } + } + symbol { + value: "df67" + } + uid: 68 + var_id { + bitfield1: 68 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "uniform" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "uniform" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + pos_args { + sp_column_cast { + col { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: 13.0 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + to { + sp_float_type: true + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "uniform" + } + } + } + } + } + pos_args { + sp_column_cast { + col { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: 0.2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + to { + sp_float_type: true + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: 0.2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + variadic: true + } + } + symbol { + value: "df68" + } + uid: 69 + var_id { + bitfield1: 69 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "seq1" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "seq1" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "seq1" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + v: -10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + variadic: true + } + } + symbol { + value: "df69" + } + uid: 70 + var_id { + bitfield1: 70 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "seq2" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 167 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 167 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 167 + } + variadic: true + } + } + symbol { + value: "df70" + } + uid: 71 + var_id { + bitfield1: 71 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "seq4" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 169 + } + v: 12 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 169 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 169 + } + variadic: true + } + } + symbol { + value: "df71" + } + uid: 72 + var_id { + bitfield1: 72 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "seq8" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + v: 324 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + variadic: true + } + } + symbol { + value: "df72" + } + uid: 73 + var_id { + bitfield1: 73 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_decimal" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: 10 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: 3 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_decimal" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: 3 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + variadic: true + } + } + symbol { + value: "df73" + } + uid: 74 + var_id { + bitfield1: 74 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_double" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_double" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_double" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "999.9" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_double" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + variadic: true + } + } + symbol { + value: "df74" + } + uid: 75 + var_id { + bitfield1: 75 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "div0" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "div0" + } + } + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: 1.2 + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: 9.3 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "div0" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: 10 + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: 89.2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "div0" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "div0" + } + } + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: 0.2 + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "div0" + } + } + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: 0.3 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + variadic: true + } + } + symbol { + value: "df75" + } + uid: 76 + var_id { + bitfield1: 76 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sqrt" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + variadic: true + } + } + symbol { + value: "df76" + } + uid: 77 + var_id { + bitfield1: 77 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "abs" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + variadic: true + } + } + symbol { + value: "df77" + } + uid: 78 + var_id { + bitfield1: 78 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "acos" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + variadic: true + } + } + symbol { + value: "df78" + } + uid: 79 + var_id { + bitfield1: 79 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "asin" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + variadic: true + } + } + symbol { + value: "df79" + } + uid: 80 + var_id { + bitfield1: 80 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "atan" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + variadic: true + } + } + symbol { + value: "df80" + } + uid: 81 + var_id { + bitfield1: 81 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "atan2" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + variadic: true + } + } + symbol { + value: "df81" + } + uid: 82 + var_id { + bitfield1: 82 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ceil" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 191 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 191 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 191 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 191 + } + variadic: true + } + } + symbol { + value: "df82" + } + uid: 83 + var_id { + bitfield1: 83 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "cos" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + variadic: true + } + } + symbol { + value: "df83" + } + uid: 84 + var_id { + bitfield1: 84 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "cosh" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + variadic: true + } + } + symbol { + value: "df84" + } + uid: 85 + var_id { + bitfield1: 85 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "exp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 197 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 197 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 197 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 197 + } + variadic: true + } + } + symbol { + value: "df85" + } + uid: 86 + var_id { + bitfield1: 86 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "factorial" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + variadic: true + } + } + symbol { + value: "df86" + } + uid: 87 + var_id { + bitfield1: 87 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "floor" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + variadic: true + } + } + symbol { + value: "df87" + } + uid: 88 + var_id { + bitfield1: 88 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "format_number" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "format_number" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + variadic: true + } + } + symbol { + value: "df88" + } + uid: 89 + var_id { + bitfield1: 89 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sin" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + variadic: true + } + } + symbol { + value: "df89" + } + uid: 90 + var_id { + bitfield1: 90 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sinh" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + variadic: true + } + } + symbol { + value: "df90" + } + uid: 91 + var_id { + bitfield1: 91 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "tan" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + variadic: true + } + } + symbol { + value: "df91" + } + uid: 92 + var_id { + bitfield1: 92 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "tanh" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + variadic: true + } + } + symbol { + value: "df92" + } + uid: 93 + var_id { + bitfield1: 93 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "degrees" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + variadic: true + } + } + symbol { + value: "df93" + } + uid: 94 + var_id { + bitfield1: 94 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "radians" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + variadic: true + } + } + symbol { + value: "df94" + } + uid: 95 + var_id { + bitfield1: 95 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "md5" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 217 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 217 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 217 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 217 + } + variadic: true + } + } + symbol { + value: "df95" + } + uid: 96 + var_id { + bitfield1: 96 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sha1" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 219 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 219 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 219 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 219 + } + variadic: true + } + } + symbol { + value: "df96" + } + uid: 97 + var_id { + bitfield1: 97 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sha2" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sha2" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + v: 224 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + variadic: true + } + } + symbol { + value: "df97" + } + uid: 98 + var_id { + bitfield1: 98 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "hash" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + variadic: true + } + } + symbol { + value: "df98" + } + uid: 99 + var_id { + bitfield1: 99 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ascii" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 225 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 225 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 225 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 225 + } + variadic: true + } + } + symbol { + value: "df99" + } + uid: 100 + var_id { + bitfield1: 100 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "initcap" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "initcap" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "initcap" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "initcap" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + v: "123" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + variadic: true + } + } + symbol { + value: "df100" + } + uid: 101 + var_id { + bitfield1: 101 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "length" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 229 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 229 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 229 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 229 + } + variadic: true + } + } + symbol { + value: "df101" + } + uid: 102 + var_id { + bitfield1: 102 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lower" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 231 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 231 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 231 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 231 + } + variadic: true + } + } + symbol { + value: "df102" + } + uid: 103 + var_id { + bitfield1: 103 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lpad" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lpad" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: 100 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lpad" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + variadic: true + } + } + symbol { + value: "df103" + } + uid: 104 + var_id { + bitfield1: 104 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ltrim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ltrim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ltrim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ltrim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + variadic: true + } + } + symbol { + value: "df104" + } + uid: 105 + var_id { + bitfield1: 105 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "rpad" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "rpad" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: 100 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "rpad" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + variadic: true + } + } + symbol { + value: "df105" + } + uid: 106 + var_id { + bitfield1: 106 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "rtrim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "rtrim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "rtrim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "rtrim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + variadic: true + } + } + symbol { + value: "df106" + } + uid: 107 + var_id { + bitfield1: 107 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "repeat" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "repeat" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: 20 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "repeat" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + variadic: true + } + } + symbol { + value: "df107" + } + uid: 108 + var_id { + bitfield1: 108 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "reverse" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + variadic: true + } + } + symbol { + value: "df108" + } + uid: 109 + var_id { + bitfield1: 109 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "soundex" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + variadic: true + } + } + symbol { + value: "df109" + } + uid: 110 + var_id { + bitfield1: 110 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "trim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "trim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "trim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "trim" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + variadic: true + } + } + symbol { + value: "df110" + } + uid: 111 + var_id { + bitfield1: 111 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "upper" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 249 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 249 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 249 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 249 + } + variadic: true + } + } + symbol { + value: "df111" + } + uid: 112 + var_id { + bitfield1: 112 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "strtok_to_array" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "strtok_to_array" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "strtok_to_array" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "strtok_to_array" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + variadic: true + } + } + symbol { + value: "df112" + } + uid: 113 + var_id { + bitfield1: 113 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "struct" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + v: "A" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + variadic: true + } + } + symbol { + value: "df113" + } + uid: 114 + var_id { + bitfield1: 114 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "log" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "log" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + v: 4.3 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "log" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + variadic: true + } + } + symbol { + value: "df114" + } + uid: 115 + var_id { + bitfield1: 115 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "pow" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "pow" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + v: 4.3 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "pow" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + variadic: true + } + } + symbol { + value: "df115" + } + uid: 116 + var_id { + bitfield1: 116 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "round" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "round" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "round" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + v: 4.7 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + variadic: true + } + } + symbol { + value: "df116" + } + uid: 117 + var_id { + bitfield1: 117 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sign" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 261 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 261 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 261 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 261 + } + variadic: true + } + } + symbol { + value: "df117" + } + uid: 118 + var_id { + bitfield1: 118 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "split" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "split" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "asfdg" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + variadic: true + } + } + symbol { + value: "df118" + } + uid: 119 + var_id { + bitfield1: 119 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "substring" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "substring" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "substring" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: 20 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + variadic: true + } + } + symbol { + value: "df119" + } + uid: 120 + var_id { + bitfield1: 120 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "substring_index" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + v: "abc" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + v: 3 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "substring_index" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + variadic: true + } + } + symbol { + value: "df120" + } + uid: 121 + var_id { + bitfield1: 121 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "regexp_count" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: "B" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "regexp_count" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: 1 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: 2 + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: "test" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + variadic: true + } + } + symbol { + value: "df121" + } + uid: 122 + var_id { + bitfield1: 122 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "regexp_extract" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + v: "B" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + variadic: true + } + } + symbol { + value: "df122" + } + uid: 123 + var_id { + bitfield1: 123 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "regexp_replace" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "B" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: 1 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "regexp_replace" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "D" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "E" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "F" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: 1 + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "sgh" + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: 99.9 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + variadic: true + } + } + symbol { + value: "df123" + } + uid: 124 + var_id { + bitfield1: 124 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "replace" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "replace" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + v: "B" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + v: "ahsgj" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + variadic: true + } + } + symbol { + value: "df124" + } + uid: 125 + var_id { + bitfield1: 125 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "char_index" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + v: 20 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "char_index" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + variadic: true + } + } + symbol { + value: "df125" + } + uid: 126 + var_id { + bitfield1: 126 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "collate" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "sp-upper" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + variadic: true + } + } + symbol { + value: "df126" + } + uid: 127 + var_id { + bitfield1: 127 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "collation" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + variadic: true + } + } + symbol { + value: "df127" + } + uid: 128 + var_id { + bitfield1: 128 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "concat" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "concat" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + variadic: true + } + } + symbol { + value: "df128" + } + uid: 129 + var_id { + bitfield1: 129 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "concat_ws" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + variadic: true + } + } + symbol { + value: "df129" + } + uid: 130 + var_id { + bitfield1: 130 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "translate" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "translate" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "ashg" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + variadic: true + } + } + symbol { + value: "df130" + } + uid: 131 + var_id { + bitfield1: 131 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "contains" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + variadic: true + } + } + symbol { + value: "df131" + } + uid: 132 + var_id { + bitfield1: 132 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "startswith" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 291 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 291 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 291 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 291 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 291 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 291 + } + variadic: true + } + } + symbol { + value: "df132" + } + uid: 133 + var_id { + bitfield1: 133 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "endswith" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 293 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 293 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 293 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 293 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 293 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 293 + } + variadic: true + } + } + symbol { + value: "df133" + } + uid: 134 + var_id { + bitfield1: 134 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "insert" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + v: "D" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "insert" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + v: 13 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + v: "D" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + variadic: true + } + } + symbol { + value: "df134" + } + uid: 135 + var_id { + bitfield1: 135 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "left" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "left" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + variadic: true + } + } + symbol { + value: "df135" + } + uid: 136 + var_id { + bitfield1: 136 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "right" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "right" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + variadic: true + } + } + symbol { + value: "df136" + } + uid: 137 + var_id { + bitfield1: 137 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "char" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + variadic: true + } + } + symbol { + value: "df137" + } + uid: 138 + var_id { + bitfield1: 138 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_char" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: "bcd" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + variadic: true + } + } + symbol { + value: "df138" + } + uid: 139 + var_id { + bitfield1: 139 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_format" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_format" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + v: "YYYY" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + variadic: true + } + } + symbol { + value: "df139" + } + uid: 140 + var_id { + bitfield1: 140 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_time" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_time" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: "YYYY" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_time" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + variadic: true + } + } + symbol { + value: "df140" + } + uid: 141 + var_id { + bitfield1: 141 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + variadic: true + } + } + symbol { + value: "df141" + } + uid: 142 + var_id { + bitfield1: 142 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_ntz" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_ntz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_ntz" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + v: "auto" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_ntz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + variadic: true + } + } + symbol { + value: "df142" + } + uid: 143 + var_id { + bitfield1: 143 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_ltz" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_ltz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_ltz" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "auto" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_ltz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + variadic: true + } + } + symbol { + value: "df143" + } + uid: 144 + var_id { + bitfield1: 144 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_tz" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_tz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_tz" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "auto" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_timestamp_tz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + variadic: true + } + } + symbol { + value: "df144" + } + uid: 145 + var_id { + bitfield1: 145 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "from_utc_timestamp" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "A" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: 1234 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "from_utc_timestamp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + variadic: true + } + } + symbol { + value: "df145" + } + uid: 146 + var_id { + bitfield1: 146 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_utc_timestamp" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + v: "A" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + v: 1234 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_utc_timestamp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + variadic: true + } + } + symbol { + value: "df146" + } + uid: 147 + var_id { + bitfield1: 147 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_date" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_date" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + v: "A" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_date" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 112 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + variadic: true + } + } + symbol { + value: "df147" + } + uid: 148 + var_id { + bitfield1: 148 + } + } +} +client_ast_version: 1 +client_language { + python_language { + version { + label: "final" + major: 3 + minor: 9 + patch: 1 + } + } +} +client_version { + major: 1 + minor: 26 +} diff --git a/tests/ast/data/functions2.test b/tests/ast/data/functions2.test new file mode 100644 index 00000000000..163ee8ac697 --- /dev/null +++ b/tests/ast/data/functions2.test @@ -0,0 +1,21275 @@ +## TEST CASE + +import datetime + +df = session.table(tables.table1) + +df148 = df.select(current_timestamp()) + +df149 = df.select(current_date()) + +df150 = df.select(current_time()) + +df151 = df.select(hour("A")) + +df152 = df.select(last_day("A"), last_day(col("A"), None), last_day(col("A"), col("B")), last_day("A", "B")) + +df153 = df.select(minute("A")) + +df154 = df.select(next_day("A", "fr"), next_day(col("A"), col("B"))) + +df155 = df.select(previous_day("A", "fr"), previous_day(col("A"), col("B"))) + +df156 = df.select(second("A")) + +df157 = df.select(month("A")) + +df158 = df.select(monthname("A")) + +df159 = df.select(quarter("A")) + +df160 = df.select(year("A")) + +df170 = df.select(sysdate()) + +df171 = df.select(months_between("A", "B"), months_between(col("A"), "B"), months_between(col("A"), col("B"))) + +df172 = df.select(to_geography("A")) + +df173 = df.select(to_geometry("A")) + +df174 = df.select(arrays_overlap("A", col("B")), arrays_overlap(col("A"), "B")) + +df175 = df.select(array_distinct("A")) + +df176 = df.select(array_intersection("A", "B"), array_intersection(col("A"), col("B")), array_intersection("A", col("B"))) + +df177 = df.select(array_except("A", "B"), array_except("A", col("B"), True), array_except("B", "A", False)) + +df178 = df.select(array_min("A")) + +df179 = df.select(array_max("A")) + +df180 = df.select(array_flatten("A")) + +df181 = df.select(array_sort("A"), array_sort("A", True), array_sort(col("A"), False, True)) + +df182 = df.select(arrays_to_object("A", "B"), arrays_to_object("A", col("A"))) + +df183 = df.select(array_generate_range("A", "B"), array_generate_range("A", col("B"), None), array_generate_range(col("A"), "B", "C")) + +df184 = df.select(sequence("A", "B"), sequence("A", col("B"), None), sequence(col("A"), "B", "C")) + +df185 = df.select(date_add("A", "B"), date_add("A", 10), date_add(col("A"), 0), date_add(col("A"), col("B"))) + +df186 = df.select(date_sub("A", "B"), date_sub("A", 10), date_sub(col("A"), 0), date_sub(col("A"), col("B"))) + +df187 = df.select(datediff("year", col("A"), "B"), datediff("month", "A", col("B"))) + +df188 = df.select(daydiff("A", "B"), daydiff(col("A"), col("B"))) + +df189 = df.select(trunc("A", "B"), trunc(col("A"), col("B")), trunc("A", 10), trunc("B", 7.9)) + +df190 = df.select(dateadd("year", "A", "B"), dateadd("year", col("A"), col("B"))) + +df191 = df.select(date_part("year", "A"), date_part("year", col("B"))) + +df192 = df.select(date_from_parts(10, 2, 1), date_from_parts(10, "A", 1), date_from_parts("A", "B", "A"), date_from_parts(10, col("A"), 1)) + +df193 = df.select(date_trunc("year", "A"), date_trunc("year", col("B"))) + +df194 = df.select(dayname("A")) + +df195 = df.select(dayofmonth("A")) + +df196 = df.select(dayofweek("A")) + +df197 = df.select(dayofyear("A")) + +df198 = df.select(is_array("A")) + +df199 = df.select(is_boolean("A")) + +df200 = df.select(is_binary("A")) + +df201 = df.select(is_char("A")) + +df202 = df.select(is_date("A")) + +df203 = df.select(is_decimal("A")) + +df204 = df.select(is_double("A")) + +df205 = df.select(is_real("A")) + +df206 = df.select(is_integer("A")) + +df207 = df.select(is_null_value("A")) + +df208 = df.select(is_object("A")) + +df209 = df.select(is_time("A")) + +df210 = df.select(is_timestamp_ltz("A")) + +df211 = df.select(is_timestamp_ntz("A")) + +df212 = df.select(is_timestamp_tz("A")) + +df213 = df.select(time_from_parts(1, 2, 3), time_from_parts("A", "B", "A"), time_from_parts(1, "A", col("B"))) + +df214 = df.select(timestamp_from_parts("A", "A"), timestamp_from_parts(col("A"), "B"), timestamp_from_parts(col("A"), col("B"))) + +df215 = df.select(timestamp_from_parts(2000, 12, 0, 12, 3, 1), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None, "us")) + +df216 = df.select(timestamp_from_parts("year", "month", "day", "hour", "minute", "second"), timestamp_from_parts(to_date("date"), to_time("time"))) + +df217 = df.select(timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, 12)) + +df218 = df.select(timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1), timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, "A"), timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, 12))) + +df219 = df.select(timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, "us")) + +df220 = df.select(weekofyear("A")) + +df221 = df.select(typeof("A")) + +df222 = df.select(check_json("A")) + +df223 = df.select(check_xml("A")) + +df224 = df.select(json_extract_path_text("A", "B"), json_extract_path_text(col("A"), col("B")), json_extract_path_text(col("A"), "B")) + +df225 = df.select(parse_json("A")) + +df226 = df.select(parse_xml("A")) + +df227 = df.select(strip_null_value("A")) + +df228 = df.select(array_agg("A", False), array_agg(col("A"), True)) + +df229 = df.select(array_append("A", lit(1)), array_append("A", "B"), array_append(col("A"), col("B"))) + +df230 = df.select(array_cat("A", lit(1)), array_cat("A", "B"), array_cat(col("A"), col("B"))) + +df231 = df.select(array_compact("A")) + +df232 = df.select(array_construct(), array_construct("A"), array_construct(lit(1), "A", col("B"))) + +df233 = df.select(array_construct_compact(), array_construct_compact("A"), array_construct_compact(lit(1), "A", col("B"))) + +df234 = df.select(array_contains("A", col("B")), array_contains("A", lit(1))) + +df235 = df.select(array_insert("A", "B", "A"), array_insert(col("A"), col("B"), col("A"))) + +df236 = df.select(array_position("A", "B"), array_position(col("A"), lit(0))) + +df237 = df.select(array_prepend("A", col("B")), array_prepend(col("A"), col("B"))) + +df238 = df.select(array_size("A")) + +df239 = df.select(array_slice("A", "B", "A"), array_slice(col("A"), col("B"), col("A"))) + +df240 = df.select(array_to_string("A", "B"), array_to_string(col("A"), col("B"))) + +df241 = df.select(array_unique_agg("A")) + +df242 = df.select(object_agg("A", "B"), object_agg("A", col("B"))) + +df243 = df.select(object_construct(), object_construct(col("k"), col("v")), object_construct("A", "B", "A", "B")) + +df244 = df.select(object_construct_keep_null(), object_construct_keep_null(col("k"), col("v")), object_construct_keep_null("A", "B", "A", "B")) + +df245 = df.select(object_delete("A", "B"), object_delete(col("A"), "k1", "k2", "k3", "k4")) + +df246 = df.select(object_insert("A", "B", "A"), object_insert(col("A"), lit(1), lit(20), "B")) + +df247 = df.select(object_pick("A", "B"), object_pick(col("A"), "k1", "k2", "k3", "k4")) + +df248 = df.select(vector_cosine_distance(col("A"), "B")) + +df249 = df.select(vector_l2_distance("A", col("B"))) + +df250 = df.select(vector_inner_product("A", "B")) + +df251 = df.select(asc("A")) + +df252 = df.select(asc_nulls_first("A")) + +df253 = df.select(asc_nulls_last("A")) + +df254 = df.select(desc("A")) + +df255 = df.select(desc_nulls_first("A")) + +df256 = df.select(desc_nulls_last("A")) + +df257 = df.select(as_array("A")) + +df258 = df.select(as_binary("A")) + +df259 = df.select(as_char("A")) + +df260 = df.select(as_varchar("A")) + +df261 = df.select(as_date("A")) + +df262 = df.select(cast("A", "int"), cast("A", LongType())) + +df263 = df.select(try_cast("A", "int"), try_cast("A", LongType())) + +df264 = df.select(as_decimal("A"), as_decimal("A", None), as_decimal("A", 10), as_decimal(col("A"), 10, 2)) + +df265 = df.select(as_number("A"), as_number("A", None), as_number("A", 10), as_number(col("A"), 10, 2)) + +df266 = df.select(as_double("A")) + +df267 = df.select(as_real("A")) + +df268 = df.select(as_integer("A")) + +df269 = df.select(as_object("A")) + +df270 = df.select(as_time("A")) + +df271 = df.select(as_timestamp_ltz("A")) + +df272 = df.select(as_timestamp_ntz("A")) + +df273 = df.select(as_timestamp_tz("A")) + +df274 = df.select(to_binary("A"), to_binary("B", "BASE64"), to_binary(col("A"), 'UTF-8')) + +df275 = df.select(to_array("A")) + +df276 = df.select(to_json("A")) + +df277 = df.select(to_object("A")) + +df278 = df.select(to_variant("A")) + +df279 = df.select(to_xml("A")) + +df280 = df.select(get_ignore_case("A", col("B"))) + +df281 = df.select(object_keys("A")) + +df282 = df.select(xmlget("A", "B"), xmlget("A", "B", 0), xmlget(col("A"), lit("123"), col("B")), xmlget("A", "B", "C")) + +df283 = df.select(get_path("A", "B")) + +df284 = df.select(get(1, 2), get("A", 2), get(3, "B"), get(col("A"), 2), get(col("A"), lit(1))) + +df285 = df.select(when(col("a") % 2 == 0, lit("even"))) + +df286 = df.select(iff(col("a") % 2 == 0, lit("even"), lit("odd"))) + +df287 = df.select(in_([]), in_([col("A"), "B", "A"]), in_([col("col1"), col("col2")], [[1, "a"], [2, "b"]])) + +df288 = df.select(cume_dist()) + +df289 = df.select(rank()) + +df290 = df.select(percent_rank()) + +df291 = df.select(dense_rank()) + +df292 = df.select(row_number()) + +df293 = df.select(lag("A"), lag(col("B")), lag("A", 1, None, True), lag("A", 1, col("B")), lag("A", 2, lit(20), True)) + +df294 = df.select(lead("A"), lead(col("B")), lead("A", 1, None, True), lead("A", 1, col("B")), lead("A", 2, lit(20), True)) + +df295 = df.select(last_value("A"), last_value("A", True), last_value(col("B"), False)) + +df296 = df.select(first_value("A"), first_value("A", True), first_value(col("B"), False)) + +df297 = df.select(ntile(10), ntile("A"), ntile(col("B"))) + +df298 = df.select(percentile_cont(0.4)) + +df299 = df.select(greatest(), greatest("A"), greatest(col("B"), "A"), greatest("A", "B", "C", "D", "E", "F")) + +df300 = df.select(least(), least("A"), least(col("B"), "A"), least("A", "B", "C", "D", "E", "F")) + +df301 = df.select(listagg("A"), listagg(col("B")), listagg("A", ","), listagg("A", "|", True)) + +df302 = df.select(call_udf("name"), call_udf("test", col("A"), lit(10))) + +df303 = df.select(unix_timestamp("A"), unix_timestamp("A", None), unix_timestamp(col("B"), lit("YYYY"))) + +df304 = df.select(locate("needle", col("expr")), locate("needle", lit("test string"), 2)) + +df305 = df.select(size(col("expr")), size("A")) + +## EXPECTED UNPARSER OUTPUT + +df = session.table("table1") + +df148 = df.select(current_timestamp()) + +df149 = df.select(current_date()) + +df150 = df.select(current_time()) + +df151 = df.select(hour(col("A"))) + +df152 = df.select(last_day(col("A")), last_day(col("A")), last_day(col("A"), col("B")), last_day(col("A"), col("B"))) + +df153 = df.select(minute(col("A"))) + +df154 = df.select(next_day(col("A"), "fr"), next_day(col("A"), "\"B\"")) + +df155 = df.select(previous_day(col("A"), "fr"), previous_day(col("A"), "\"B\"")) + +df156 = df.select(second(col("A"))) + +df157 = df.select(month(col("A"))) + +df158 = df.select(monthname(col("A"))) + +df159 = df.select(quarter(col("A"))) + +df160 = df.select(year(col("A"))) + +df170 = df.select(sysdate()) + +df171 = df.select(months_between(col("A"), col("B")), months_between(col("A"), col("B")), months_between(col("A"), col("B"))) + +df172 = df.select(to_geography(col("A"))) + +df173 = df.select(to_geometry(col("A"))) + +df174 = df.select(arrays_overlap(col("A"), col("B")), arrays_overlap(col("A"), col("B"))) + +df175 = df.select(array_distinct(col("A"))) + +df176 = df.select(array_intersection(col("A"), col("B")), array_intersection(col("A"), col("B")), array_intersection(col("A"), col("B"))) + +df177 = df.select(array_except("A", "B", True), array_except("A", col("B"), True), array_except("B", "A", False)) + +df178 = df.select(array_min(col("A"))) + +df179 = df.select(array_max(col("A"))) + +df180 = df.select(array_flatten(col("A"))) + +df181 = df.select(array_sort(col("A"), True, False), array_sort(col("A"), True, False), array_sort(col("A"), False, True)) + +df182 = df.select(arrays_to_object(col("A"), col("B")), arrays_to_object(col("A"), col("A"))) + +df183 = df.select(array_generate_range(col("A"), col("B")), array_generate_range(col("A"), col("B")), array_generate_range(col("A"), col("B"), col("C"))) + +df184 = df.select(sequence("A", "B", None), sequence("A", col("B"), None), sequence(col("A"), "B", "C")) + +df185 = df.select(date_add("A", "B"), date_add("A", 10), date_add(col("A"), 0), date_add(col("A"), col("B"))) + +df186 = df.select(date_sub("A", "B"), date_sub("A", 10), date_sub(col("A"), 0), date_sub(col("A"), col("B"))) + +df187 = df.select(datediff("year", col("A"), col("B")), datediff("month", col("A"), col("B"))) + +df188 = df.select(daydiff("A", "B"), daydiff(col("A"), col("B"))) + +df189 = df.select(trunc("A", "B"), trunc(col("A"), col("B")), trunc("A", 10), trunc("B", 7.9)) + +df190 = df.select(dateadd("year", col("A"), col("B")), dateadd("year", col("A"), col("B"))) + +df191 = df.select(date_part("year", col("A")), date_part("year", col("B"))) + +df192 = df.select(date_from_parts(10, 2, 1), date_from_parts(10, "A", 1), date_from_parts("A", "B", "A"), date_from_parts(10, col("A"), 1)) + +df193 = df.select(date_trunc("year", col("A")), date_trunc("year", col("B"))) + +df194 = df.select(dayname(col("A"))) + +df195 = df.select(dayofmonth(col("A"))) + +df196 = df.select(dayofweek(col("A"))) + +df197 = df.select(dayofyear(col("A"))) + +df198 = df.select(is_array(col("A"))) + +df199 = df.select(is_boolean(col("A"))) + +df200 = df.select(is_binary(col("A"))) + +df201 = df.select(is_char(col("A"))) + +df202 = df.select(is_date(col("A"))) + +df203 = df.select(is_decimal(col("A"))) + +df204 = df.select(is_double(col("A"))) + +df205 = df.select(is_real(col("A"))) + +df206 = df.select(is_integer(col("A"))) + +df207 = df.select(is_null_value(col("A"))) + +df208 = df.select(is_object(col("A"))) + +df209 = df.select(is_time(col("A"))) + +df210 = df.select(is_timestamp_ltz(col("A"))) + +df211 = df.select(is_timestamp_ntz(col("A"))) + +df212 = df.select(is_timestamp_tz(col("A"))) + +df213 = df.select(time_from_parts(1, 2, 3, None), time_from_parts("A", "B", "A", None), time_from_parts(1, "A", col("B"), None)) + +df214 = df.select(timestamp_from_parts("A", "A"), timestamp_from_parts(col("A"), "B"), timestamp_from_parts(col("A"), col("B"))) + +df215 = df.select(timestamp_from_parts(2000, 12, 0, 12, 3, 1), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_from_parts(2000, 12, 0, 12, 3, 1, None, "us")) + +df216 = df.select(timestamp_from_parts("year", "month", "day", "hour", "minute", "second"), timestamp_from_parts(to_date("date"), to_time(col("time")))) + +df217 = df.select(timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, None), timestamp_ltz_from_parts(2000, 12, 0, 12, 3, 1, 12)) + +df218 = df.select(timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1), timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, col("A")), timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, timestamp_ntz_from_parts(2000, 12, 0, 12, 3, 1, 12))) + +df219 = df.select(timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, None), timestamp_tz_from_parts(2000, 12, 0, 12, 3, 1, None, "us")) + +df220 = df.select(weekofyear(col("A"))) + +df221 = df.select(typeof(col("A"))) + +df222 = df.select(check_json(col("A"))) + +df223 = df.select(check_xml(col("A"))) + +df224 = df.select(json_extract_path_text(col("A"), col("B")), json_extract_path_text(col("A"), col("B")), json_extract_path_text(col("A"), col("B"))) + +df225 = df.select(parse_json(col("A"))) + +df226 = df.select(parse_xml(col("A"))) + +df227 = df.select(strip_null_value(col("A"))) + +df228 = df.select(array_agg(col("A")), array_agg(col("A"))) + +df229 = df.select(array_append(col("A"), lit(1)), array_append(col("A"), col("B")), array_append(col("A"), col("B"))) + +df230 = df.select(array_cat(col("A"), lit(1)), array_cat(col("A"), col("B")), array_cat(col("A"), col("B"))) + +df231 = df.select(array_compact(col("A"))) + +df232 = df.select(array_construct(), array_construct(col("A")), array_construct(lit(1), col("A"), col("B"))) + +df233 = df.select(array_construct_compact(), array_construct_compact(col("A")), array_construct_compact(lit(1), col("A"), col("B"))) + +df234 = df.select(array_contains(col("A"), col("B")), array_contains(col("A"), lit(1))) + +df235 = df.select(array_insert(col("A"), col("B"), col("A")), array_insert(col("A"), col("B"), col("A"))) + +df236 = df.select(array_position(col("A"), col("B")), array_position(col("A"), lit(0))) + +df237 = df.select(array_prepend(col("A"), col("B")), array_prepend(col("A"), col("B"))) + +df238 = df.select(array_size(col("A"))) + +df239 = df.select(array_slice(col("A"), col("B"), col("A")), array_slice(col("A"), col("B"), col("A"))) + +df240 = df.select(array_to_string(col("A"), col("B")), array_to_string(col("A"), col("B"))) + +df241 = df.select(array_unique_agg(col("A"))) + +df242 = df.select(object_agg(col("A"), col("B")), object_agg(col("A"), col("B"))) + +df243 = df.select(object_construct(), object_construct(col("k"), col("v")), object_construct(col("A"), col("B"), col("A"), col("B"))) + +df244 = df.select(object_construct_keep_null(), object_construct_keep_null(col("k"), col("v")), object_construct_keep_null(col("A"), col("B"), col("A"), col("B"))) + +df245 = df.select(object_delete(col("A"), col("B")), object_delete(col("A"), col("k1"), col("k2"), col("k3"), col("k4"))) + +df246 = df.select(object_insert(col("A"), col("B"), col("A")), object_insert(col("A"), lit(1), lit(20), col("B"))) + +df247 = df.select(object_pick(col("A"), col("B")), object_pick(col("A"), col("k1"), col("k2"), col("k3"), col("k4"))) + +df248 = df.select(vector_cosine_distance(col("A"), col("B"))) + +df249 = df.select(vector_l2_distance(col("A"), col("B"))) + +df250 = df.select(vector_inner_product(col("A"), col("B"))) + +df251 = df.select(asc("A")) + +df252 = df.select(asc_nulls_first("A")) + +df253 = df.select(asc_nulls_last("A")) + +df254 = df.select(desc("A")) + +df255 = df.select(desc_nulls_first("A")) + +df256 = df.select(desc_nulls_last("A")) + +df257 = df.select(as_array(col("A"))) + +df258 = df.select(as_binary(col("A"))) + +df259 = df.select(as_char(col("A"))) + +df260 = df.select(as_varchar(col("A"))) + +df261 = df.select(as_date(col("A"))) + +df262 = df.select(cast("A", "int"), cast("A", LongType())) + +df263 = df.select(try_cast("A", "int"), try_cast("A", LongType())) + +df264 = df.select(as_decimal("A", None, None), as_decimal("A", None, None), as_decimal("A", 10, None), as_decimal(col("A"), 10, 2)) + +df265 = df.select(as_decimal("A", None, None), as_decimal("A", None, None), as_decimal("A", 10, None), as_decimal(col("A"), 10, 2)) + +df266 = df.select(as_double(col("A"))) + +df267 = df.select(as_real(col("A"))) + +df268 = df.select(as_integer(col("A"))) + +df269 = df.select(as_object(col("A"))) + +df270 = df.select(as_time(col("A"))) + +df271 = df.select(as_timestamp_ltz(col("A"))) + +df272 = df.select(as_timestamp_ntz(col("A"))) + +df273 = df.select(as_timestamp_tz(col("A"))) + +df274 = df.select(to_binary(col("A")), to_binary(col("B"), "BASE64"), to_binary(col("A"), "UTF-8")) + +df275 = df.select(to_array(col("A"))) + +df276 = df.select(to_json(col("A"))) + +df277 = df.select(to_object(col("A"))) + +df278 = df.select(to_variant(col("A"))) + +df279 = df.select(to_xml(col("A"))) + +df280 = df.select(get_ignore_case(col("A"), col("B"))) + +df281 = df.select(object_keys(col("A"))) + +df282 = df.select(xmlget(col("A"), col("B"), 0), xmlget(col("A"), col("B"), 0), xmlget(col("A"), lit("123"), col("B")), xmlget(col("A"), col("B"), col("C"))) + +df283 = df.select(get_path(col("A"), col("B"))) + +df284 = df.select(get(1, 2), get(col("A"), 2), get(3, col("B")), get(col("A"), 2), get(col("A"), lit(1))) + +df285 = df.select(when(col("a") % 2 == 0, lit("even"))) + +df286 = df.select(iff(col("a") % 2 == 0, lit("even"), lit("odd"))) + +df287 = df.select(in_([]), in_([col("A"), "B", "A"]), in_([col("col1"), col("col2")], [[1, "a"], [2, "b"]])) + +df288 = df.select(cume_dist()) + +df289 = df.select(rank()) + +df290 = df.select(percent_rank()) + +df291 = df.select(dense_rank()) + +df292 = df.select(row_number()) + +df293 = df.select(lag("A", 1, None, False), lag(col("B"), 1, None, False), lag("A", 1, None, True), lag("A", 1, col("B"), False), lag("A", 2, lit(20), True)) + +df294 = df.select(lead("A", 1, None, False), lead(col("B"), 1, None, False), lead("A", 1, None, True), lead("A", 1, col("B"), False), lead("A", 2, lit(20), True)) + +df295 = df.select(last_value("A", False), last_value("A", True), last_value(col("B"), False)) + +df296 = df.select(first_value("A", False), first_value("A", True), first_value(col("B"), False)) + +df297 = df.select(ntile(10), ntile(col("A")), ntile(col("B"))) + +df298 = df.select(percentile_cont(0.4)) + +df299 = df.select(greatest(), greatest(col("A")), greatest(col("B"), col("A")), greatest(col("A"), col("B"), col("C"), col("D"), col("E"), col("F"))) + +df300 = df.select(least(), least(col("A")), least(col("B"), col("A")), least(col("A"), col("B"), col("C"), col("D"), col("E"), col("F"))) + +df301 = df.select(listagg("A", "", False), listagg(col("B"), "", False), listagg("A", ",", False), listagg("A", "|", True)) + +df302 = df.select(call_udf("name"), call_udf("test", col("A"), lit(10))) + +df303 = df.select(unix_timestamp("A", None), unix_timestamp("A", None), unix_timestamp(col("B"), lit("YYYY"))) + +df304 = df.select(charindex(lit("needle"), col("expr"), lit(1)), charindex(lit("needle"), lit("test string"), lit(2))) + +df305 = df.select(size(col("expr")), size("A")) + +## EXPECTED ENCODED AST + +body { + assign { + expr { + sp_table { + name { + name { + sp_name_flat { + name: "table1" + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 27 + } + variant { + sp_session_table: true + } + } + } + symbol { + value: "df" + } + uid: 1 + var_id { + bitfield1: 1 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_timestamp" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 29 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 29 + } + variadic: true + } + } + symbol { + value: "df148" + } + uid: 2 + var_id { + bitfield1: 2 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_date" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 31 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 31 + } + variadic: true + } + } + symbol { + value: "df149" + } + uid: 3 + var_id { + bitfield1: 3 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "current_time" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 33 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 33 + } + variadic: true + } + } + symbol { + value: "df150" + } + uid: 4 + var_id { + bitfield1: 4 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "hour" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 35 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 35 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 35 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 35 + } + variadic: true + } + } + symbol { + value: "df151" + } + uid: 5 + var_id { + bitfield1: 5 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "last_day" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "last_day" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "last_day" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "last_day" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 37 + } + variadic: true + } + } + symbol { + value: "df152" + } + uid: 6 + var_id { + bitfield1: 6 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "minute" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 39 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 39 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 39 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 39 + } + variadic: true + } + } + symbol { + value: "df153" + } + uid: 7 + var_id { + bitfield1: 7 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "next_day" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: "fr" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "next_day" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + pos_args { + sp_column_sql_expr { + sql: "\"B\"" + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 41 + } + variadic: true + } + } + symbol { + value: "df154" + } + uid: 8 + var_id { + bitfield1: 8 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "previous_day" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + v: "fr" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "previous_day" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + } + } + pos_args { + sp_column_sql_expr { + sql: "\"B\"" + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 43 + } + variadic: true + } + } + symbol { + value: "df155" + } + uid: 9 + var_id { + bitfield1: 9 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "second" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 45 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 45 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 45 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 45 + } + variadic: true + } + } + symbol { + value: "df156" + } + uid: 10 + var_id { + bitfield1: 10 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "month" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 47 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 47 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 47 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 47 + } + variadic: true + } + } + symbol { + value: "df157" + } + uid: 11 + var_id { + bitfield1: 11 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "monthname" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 49 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 49 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 49 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 49 + } + variadic: true + } + } + symbol { + value: "df158" + } + uid: 12 + var_id { + bitfield1: 12 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "quarter" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 51 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 51 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 51 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 51 + } + variadic: true + } + } + symbol { + value: "df159" + } + uid: 13 + var_id { + bitfield1: 13 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "year" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 53 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 53 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 53 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 53 + } + variadic: true + } + } + symbol { + value: "df160" + } + uid: 14 + var_id { + bitfield1: 14 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sysdate" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 55 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 55 + } + variadic: true + } + } + symbol { + value: "df170" + } + uid: 15 + var_id { + bitfield1: 15 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "months_between" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "months_between" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "months_between" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 57 + } + variadic: true + } + } + symbol { + value: "df171" + } + uid: 16 + var_id { + bitfield1: 16 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_geography" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 59 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 59 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 59 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 59 + } + variadic: true + } + } + symbol { + value: "df172" + } + uid: 17 + var_id { + bitfield1: 17 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_geometry" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 61 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 61 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 61 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 61 + } + variadic: true + } + } + symbol { + value: "df173" + } + uid: 18 + var_id { + bitfield1: 18 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "arrays_overlap" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "arrays_overlap" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 63 + } + variadic: true + } + } + symbol { + value: "df174" + } + uid: 19 + var_id { + bitfield1: 19 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_distinct" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 65 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 65 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 65 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 65 + } + variadic: true + } + } + symbol { + value: "df175" + } + uid: 20 + var_id { + bitfield1: 20 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_intersection" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_intersection" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_intersection" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 67 + } + variadic: true + } + } + symbol { + value: "df176" + } + uid: 21 + var_id { + bitfield1: 21 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_except" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: "B" + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_except" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: "A" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_except" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: "B" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + v: "A" + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 69 + } + variadic: true + } + } + symbol { + value: "df177" + } + uid: 22 + var_id { + bitfield1: 22 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_min" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 71 + } + variadic: true + } + } + symbol { + value: "df178" + } + uid: 23 + var_id { + bitfield1: 23 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_max" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 73 + } + variadic: true + } + } + symbol { + value: "df179" + } + uid: 24 + var_id { + bitfield1: 24 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_flatten" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 75 + } + variadic: true + } + } + symbol { + value: "df180" + } + uid: 25 + var_id { + bitfield1: 25 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_sort" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: true + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_sort" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: true + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_sort" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 77 + } + variadic: true + } + } + symbol { + value: "df181" + } + uid: 26 + var_id { + bitfield1: 26 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "arrays_to_object" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "arrays_to_object" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 79 + } + variadic: true + } + } + symbol { + value: "df182" + } + uid: 27 + var_id { + bitfield1: 27 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_generate_range" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_generate_range" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_generate_range" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 81 + } + variadic: true + } + } + symbol { + value: "df183" + } + uid: 28 + var_id { + bitfield1: 28 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sequence" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "B" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sequence" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "A" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "sequence" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "B" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 83 + } + variadic: true + } + } + symbol { + value: "df184" + } + uid: 29 + var_id { + bitfield1: 29 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_add" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_add" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_add" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_add" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 85 + } + variadic: true + } + } + symbol { + value: "df185" + } + uid: 30 + var_id { + bitfield1: 30 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_sub" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_sub" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_sub" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_sub" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 87 + } + variadic: true + } + } + symbol { + value: "df186" + } + uid: 31 + var_id { + bitfield1: 31 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "datediff" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + v: "year" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "datediff" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + v: "month" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 89 + } + variadic: true + } + } + symbol { + value: "df187" + } + uid: 32 + var_id { + bitfield1: 32 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "daydiff" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "daydiff" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 91 + } + variadic: true + } + } + symbol { + value: "df188" + } + uid: 33 + var_id { + bitfield1: 33 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "trunc" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "trunc" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "trunc" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "trunc" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: "B" + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + v: 7.9 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 93 + } + variadic: true + } + } + symbol { + value: "df189" + } + uid: 34 + var_id { + bitfield1: 34 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "dateadd" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "year" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "dateadd" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "year" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 95 + } + variadic: true + } + } + symbol { + value: "df190" + } + uid: 35 + var_id { + bitfield1: 35 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_part" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "year" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_part" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "year" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 97 + } + variadic: true + } + } + symbol { + value: "df191" + } + uid: 36 + var_id { + bitfield1: 36 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: 10 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: 2 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: 10 + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_from_parts" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: "B" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: 10 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 99 + } + variadic: true + } + } + symbol { + value: "df192" + } + uid: 37 + var_id { + bitfield1: 37 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_trunc" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + v: "year" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "date_trunc" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + v: "year" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 101 + } + variadic: true + } + } + symbol { + value: "df193" + } + uid: 38 + var_id { + bitfield1: 38 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "dayname" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 103 + } + variadic: true + } + } + symbol { + value: "df194" + } + uid: 39 + var_id { + bitfield1: 39 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "dayofmonth" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 105 + } + variadic: true + } + } + symbol { + value: "df195" + } + uid: 40 + var_id { + bitfield1: 40 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "dayofweek" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 107 + } + variadic: true + } + } + symbol { + value: "df196" + } + uid: 41 + var_id { + bitfield1: 41 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "dayofyear" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 109 + } + variadic: true + } + } + symbol { + value: "df197" + } + uid: 42 + var_id { + bitfield1: 42 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_array" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 111 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 111 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 111 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 111 + } + variadic: true + } + } + symbol { + value: "df198" + } + uid: 43 + var_id { + bitfield1: 43 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_boolean" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 113 + } + variadic: true + } + } + symbol { + value: "df199" + } + uid: 44 + var_id { + bitfield1: 44 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_binary" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 115 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 115 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 115 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 115 + } + variadic: true + } + } + symbol { + value: "df200" + } + uid: 45 + var_id { + bitfield1: 45 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_char" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 117 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 117 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 117 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 117 + } + variadic: true + } + } + symbol { + value: "df201" + } + uid: 46 + var_id { + bitfield1: 46 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_date" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 119 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 119 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 119 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 119 + } + variadic: true + } + } + symbol { + value: "df202" + } + uid: 47 + var_id { + bitfield1: 47 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_decimal" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 121 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 121 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 121 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 121 + } + variadic: true + } + } + symbol { + value: "df203" + } + uid: 48 + var_id { + bitfield1: 48 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_double" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 123 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 123 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 123 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 123 + } + variadic: true + } + } + symbol { + value: "df204" + } + uid: 49 + var_id { + bitfield1: 49 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_real" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 125 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 125 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 125 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 125 + } + variadic: true + } + } + symbol { + value: "df205" + } + uid: 50 + var_id { + bitfield1: 50 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_integer" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 127 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 127 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 127 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 127 + } + variadic: true + } + } + symbol { + value: "df206" + } + uid: 51 + var_id { + bitfield1: 51 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_null_value" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 129 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 129 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 129 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 129 + } + variadic: true + } + } + symbol { + value: "df207" + } + uid: 52 + var_id { + bitfield1: 52 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_object" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 131 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 131 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 131 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 131 + } + variadic: true + } + } + symbol { + value: "df208" + } + uid: 53 + var_id { + bitfield1: 53 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_time" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 133 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 133 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 133 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 133 + } + variadic: true + } + } + symbol { + value: "df209" + } + uid: 54 + var_id { + bitfield1: 54 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_timestamp_ltz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 135 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 135 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 135 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 135 + } + variadic: true + } + } + symbol { + value: "df210" + } + uid: 55 + var_id { + bitfield1: 55 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_timestamp_ntz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 137 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 137 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 137 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 137 + } + variadic: true + } + } + symbol { + value: "df211" + } + uid: 56 + var_id { + bitfield1: 56 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "is_timestamp_tz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 139 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 139 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 139 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 139 + } + variadic: true + } + } + symbol { + value: "df212" + } + uid: 57 + var_id { + bitfield1: 57 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "time_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: 1 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: 2 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: 3 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "time_from_parts" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: "B" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "time_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: 1 + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: "A" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 141 + } + variadic: true + } + } + symbol { + value: "df213" + } + uid: 58 + var_id { + bitfield1: 58 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 143 + } + variadic: true + } + } + symbol { + value: "df214" + } + uid: 59 + var_id { + bitfield1: 59 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + v: "us" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 145 + } + variadic: true + } + } + symbol { + value: "df215" + } + uid: 60 + var_id { + bitfield1: 60 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "year" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "month" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "day" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "hour" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "minute" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "second" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_from_parts" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_date" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "date" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_time" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + v: "time" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 147 + } + variadic: true + } + } + symbol { + value: "df216" + } + uid: 61 + var_id { + bitfield1: 61 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_ltz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_ltz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_ltz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_ltz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 1 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + v: 12 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 149 + } + variadic: true + } + } + symbol { + value: "df217" + } + uid: 62 + var_id { + bitfield1: 62 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_ntz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_ntz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 1 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_ntz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 1 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_ntz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 1 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + v: 12 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 151 + } + variadic: true + } + } + symbol { + value: "df218" + } + uid: 63 + var_id { + bitfield1: 63 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_tz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_tz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_tz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "timestamp_tz_from_parts" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 2000 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 12 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 3 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + v: "us" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 153 + } + variadic: true + } + } + symbol { + value: "df219" + } + uid: 64 + var_id { + bitfield1: 64 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "weekofyear" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 155 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 155 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 155 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 155 + } + variadic: true + } + } + symbol { + value: "df220" + } + uid: 65 + var_id { + bitfield1: 65 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "typeof" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 157 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 157 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 157 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 157 + } + variadic: true + } + } + symbol { + value: "df221" + } + uid: 66 + var_id { + bitfield1: 66 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "check_json" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 159 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 159 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 159 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 159 + } + variadic: true + } + } + symbol { + value: "df222" + } + uid: 67 + var_id { + bitfield1: 67 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "check_xml" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 161 + } + variadic: true + } + } + symbol { + value: "df223" + } + uid: 68 + var_id { + bitfield1: 68 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "json_extract_path_text" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "json_extract_path_text" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "json_extract_path_text" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 163 + } + variadic: true + } + } + symbol { + value: "df224" + } + uid: 69 + var_id { + bitfield1: 69 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "parse_json" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 165 + } + variadic: true + } + } + symbol { + value: "df225" + } + uid: 70 + var_id { + bitfield1: 70 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "parse_xml" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 167 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 167 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 167 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 167 + } + variadic: true + } + } + symbol { + value: "df226" + } + uid: 71 + var_id { + bitfield1: 71 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "strip_null_value" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 169 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 169 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 169 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 169 + } + variadic: true + } + } + symbol { + value: "df227" + } + uid: 72 + var_id { + bitfield1: 72 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_agg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_agg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 171 + } + variadic: true + } + } + symbol { + value: "df228" + } + uid: 73 + var_id { + bitfield1: 73 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_append" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_append" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_append" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 173 + } + variadic: true + } + } + symbol { + value: "df229" + } + uid: 74 + var_id { + bitfield1: 74 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_cat" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_cat" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_cat" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 175 + } + variadic: true + } + } + symbol { + value: "df230" + } + uid: 75 + var_id { + bitfield1: 75 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_compact" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 177 + } + variadic: true + } + } + symbol { + value: "df231" + } + uid: 76 + var_id { + bitfield1: 76 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_construct" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_construct" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_construct" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 179 + } + variadic: true + } + } + symbol { + value: "df232" + } + uid: 77 + var_id { + bitfield1: 77 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_construct_compact" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_construct_compact" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_construct_compact" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 181 + } + variadic: true + } + } + symbol { + value: "df233" + } + uid: 78 + var_id { + bitfield1: 78 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_contains" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_contains" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 183 + } + variadic: true + } + } + symbol { + value: "df234" + } + uid: 79 + var_id { + bitfield1: 79 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_insert" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_insert" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 185 + } + variadic: true + } + } + symbol { + value: "df235" + } + uid: 80 + var_id { + bitfield1: 80 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_position" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_position" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 187 + } + variadic: true + } + } + symbol { + value: "df236" + } + uid: 81 + var_id { + bitfield1: 81 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_prepend" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_prepend" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 189 + } + variadic: true + } + } + symbol { + value: "df237" + } + uid: 82 + var_id { + bitfield1: 82 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_size" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 191 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 191 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 191 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 191 + } + variadic: true + } + } + symbol { + value: "df238" + } + uid: 83 + var_id { + bitfield1: 83 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_slice" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_slice" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 193 + } + variadic: true + } + } + symbol { + value: "df239" + } + uid: 84 + var_id { + bitfield1: 84 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_to_string" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_to_string" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 195 + } + variadic: true + } + } + symbol { + value: "df240" + } + uid: 85 + var_id { + bitfield1: 85 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "array_unique_agg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 197 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 197 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 197 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 197 + } + variadic: true + } + } + symbol { + value: "df241" + } + uid: 86 + var_id { + bitfield1: 86 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_agg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_agg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 199 + } + variadic: true + } + } + symbol { + value: "df242" + } + uid: 87 + var_id { + bitfield1: 87 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_construct" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_construct" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + v: "k" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + v: "v" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_construct" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 201 + } + variadic: true + } + } + symbol { + value: "df243" + } + uid: 88 + var_id { + bitfield1: 88 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_construct_keep_null" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_construct_keep_null" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "k" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "v" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_construct_keep_null" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 203 + } + variadic: true + } + } + symbol { + value: "df244" + } + uid: 89 + var_id { + bitfield1: 89 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_delete" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_delete" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + v: "k1" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + v: "k2" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + v: "k3" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + v: "k4" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 205 + } + variadic: true + } + } + symbol { + value: "df245" + } + uid: 90 + var_id { + bitfield1: 90 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_insert" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_insert" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + v: 20 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 207 + } + variadic: true + } + } + symbol { + value: "df246" + } + uid: 91 + var_id { + bitfield1: 91 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_pick" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_pick" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + v: "k1" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + v: "k2" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + v: "k3" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + v: "k4" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 209 + } + variadic: true + } + } + symbol { + value: "df247" + } + uid: 92 + var_id { + bitfield1: 92 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "vector_cosine_distance" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 211 + } + variadic: true + } + } + symbol { + value: "df248" + } + uid: 93 + var_id { + bitfield1: 93 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "vector_l2_distance" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 213 + } + variadic: true + } + } + symbol { + value: "df249" + } + uid: 94 + var_id { + bitfield1: 94 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "vector_inner_product" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 215 + } + variadic: true + } + } + symbol { + value: "df250" + } + uid: 95 + var_id { + bitfield1: 95 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "asc" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 217 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 217 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 217 + } + variadic: true + } + } + symbol { + value: "df251" + } + uid: 96 + var_id { + bitfield1: 96 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "asc_nulls_first" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 219 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 219 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 219 + } + variadic: true + } + } + symbol { + value: "df252" + } + uid: 97 + var_id { + bitfield1: 97 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "asc_nulls_last" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 221 + } + variadic: true + } + } + symbol { + value: "df253" + } + uid: 98 + var_id { + bitfield1: 98 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "desc" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 223 + } + variadic: true + } + } + symbol { + value: "df254" + } + uid: 99 + var_id { + bitfield1: 99 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "desc_nulls_first" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 225 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 225 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 225 + } + variadic: true + } + } + symbol { + value: "df255" + } + uid: 100 + var_id { + bitfield1: 100 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "desc_nulls_last" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 227 + } + variadic: true + } + } + symbol { + value: "df256" + } + uid: 101 + var_id { + bitfield1: 101 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_array" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 229 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 229 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 229 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 229 + } + variadic: true + } + } + symbol { + value: "df257" + } + uid: 102 + var_id { + bitfield1: 102 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_binary" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 231 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 231 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 231 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 231 + } + variadic: true + } + } + symbol { + value: "df258" + } + uid: 103 + var_id { + bitfield1: 103 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_char" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 233 + } + variadic: true + } + } + symbol { + value: "df259" + } + uid: 104 + var_id { + bitfield1: 104 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_varchar" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 235 + } + variadic: true + } + } + symbol { + value: "df260" + } + uid: 105 + var_id { + bitfield1: 105 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_date" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 237 + } + variadic: true + } + } + symbol { + value: "df261" + } + uid: 106 + var_id { + bitfield1: 106 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "cast" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "int" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "cast" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + v: "A" + } + } + pos_args { + sp_datatype_val { + datatype { + sp_long_type: true + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 239 + } + variadic: true + } + } + symbol { + value: "df262" + } + uid: 107 + var_id { + bitfield1: 107 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "try_cast" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: "int" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "try_cast" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + v: "A" + } + } + pos_args { + sp_datatype_val { + datatype { + sp_long_type: true + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 241 + } + variadic: true + } + } + symbol { + value: "df263" + } + uid: 108 + var_id { + bitfield1: 108 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_decimal" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_decimal" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_decimal" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + v: 10 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_decimal" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + v: 10 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 243 + } + variadic: true + } + } + symbol { + value: "df264" + } + uid: 109 + var_id { + bitfield1: 109 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_decimal" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_decimal" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_decimal" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + v: 10 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_decimal" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + v: 10 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 245 + } + variadic: true + } + } + symbol { + value: "df265" + } + uid: 110 + var_id { + bitfield1: 110 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_double" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 247 + } + variadic: true + } + } + symbol { + value: "df266" + } + uid: 111 + var_id { + bitfield1: 111 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_real" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 249 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 249 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 249 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 249 + } + variadic: true + } + } + symbol { + value: "df267" + } + uid: 112 + var_id { + bitfield1: 112 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_integer" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 251 + } + variadic: true + } + } + symbol { + value: "df268" + } + uid: 113 + var_id { + bitfield1: 113 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_object" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 253 + } + variadic: true + } + } + symbol { + value: "df269" + } + uid: 114 + var_id { + bitfield1: 114 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_time" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 255 + } + variadic: true + } + } + symbol { + value: "df270" + } + uid: 115 + var_id { + bitfield1: 115 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_timestamp_ltz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 257 + } + variadic: true + } + } + symbol { + value: "df271" + } + uid: 116 + var_id { + bitfield1: 116 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_timestamp_ntz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 259 + } + variadic: true + } + } + symbol { + value: "df272" + } + uid: 117 + var_id { + bitfield1: 117 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "as_timestamp_tz" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 261 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 261 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 261 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 261 + } + variadic: true + } + } + symbol { + value: "df273" + } + uid: 118 + var_id { + bitfield1: 118 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_binary" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_binary" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "BASE64" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_binary" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + v: "UTF-8" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 263 + } + variadic: true + } + } + symbol { + value: "df274" + } + uid: 119 + var_id { + bitfield1: 119 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_array" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 265 + } + variadic: true + } + } + symbol { + value: "df275" + } + uid: 120 + var_id { + bitfield1: 120 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_json" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 267 + } + variadic: true + } + } + symbol { + value: "df276" + } + uid: 121 + var_id { + bitfield1: 121 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_object" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 269 + } + variadic: true + } + } + symbol { + value: "df277" + } + uid: 122 + var_id { + bitfield1: 122 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_variant" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 271 + } + variadic: true + } + } + symbol { + value: "df278" + } + uid: 123 + var_id { + bitfield1: 123 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "to_xml" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 273 + } + variadic: true + } + } + symbol { + value: "df279" + } + uid: 124 + var_id { + bitfield1: 124 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "get_ignore_case" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 275 + } + variadic: true + } + } + symbol { + value: "df280" + } + uid: 125 + var_id { + bitfield1: 125 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "object_keys" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 277 + } + variadic: true + } + } + symbol { + value: "df281" + } + uid: 126 + var_id { + bitfield1: 126 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "xmlget" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "xmlget" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "xmlget" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "123" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "xmlget" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 279 + } + variadic: true + } + } + symbol { + value: "df282" + } + uid: 127 + var_id { + bitfield1: 127 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "get_path" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 281 + } + variadic: true + } + } + symbol { + value: "df283" + } + uid: 128 + var_id { + bitfield1: 128 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "get" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: 1 + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "get" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "get" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: 3 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "get" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "get" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 283 + } + variadic: true + } + } + symbol { + value: "df284" + } + uid: 129 + var_id { + bitfield1: 129 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + sp_column_case_when { + cases { + condition { + eq { + lhs { + mod { + lhs { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + v: "a" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + rhs { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + rhs { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + value { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + v: "even" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 285 + } + variadic: true + } + } + symbol { + value: "df285" + } + uid: 130 + var_id { + bitfield1: 130 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "iff" + } + } + } + } + } + pos_args { + eq { + lhs { + mod { + lhs { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "a" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + rhs { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + rhs { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "even" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + v: "odd" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 287 + } + variadic: true + } + } + symbol { + value: "df286" + } + uid: 131 + var_id { + bitfield1: 131 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "in_" + } + } + } + } + } + pos_args { + list_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "in_" + } + } + } + } + } + pos_args { + list_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + vs { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + vs { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "B" + } + } + vs { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "A" + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "in_" + } + } + } + } + } + pos_args { + list_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + vs { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "col1" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + vs { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "col2" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + } + } + pos_args { + list_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + vs { + list_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + vs { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: 1 + } + } + vs { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "a" + } + } + } + } + vs { + list_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + vs { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: 2 + } + } + vs { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + v: "b" + } + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 289 + } + variadic: true + } + } + symbol { + value: "df287" + } + uid: 132 + var_id { + bitfield1: 132 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "cume_dist" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 291 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 291 + } + variadic: true + } + } + symbol { + value: "df288" + } + uid: 133 + var_id { + bitfield1: 133 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "rank" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 293 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 293 + } + variadic: true + } + } + symbol { + value: "df289" + } + uid: 134 + var_id { + bitfield1: 134 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "percent_rank" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 295 + } + variadic: true + } + } + symbol { + value: "df290" + } + uid: 135 + var_id { + bitfield1: 135 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "dense_rank" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 297 + } + variadic: true + } + } + symbol { + value: "df291" + } + uid: 136 + var_id { + bitfield1: 136 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "row_number" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 299 + } + variadic: true + } + } + symbol { + value: "df292" + } + uid: 137 + var_id { + bitfield1: 137 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lag" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lag" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lag" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lag" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: 1 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lag" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: 2 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: 20 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 301 + } + variadic: true + } + } + symbol { + value: "df293" + } + uid: 138 + var_id { + bitfield1: 138 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lead" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lead" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lead" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: 1 + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lead" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: 1 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lead" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: "A" + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: 2 + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: 20 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 303 + } + variadic: true + } + } + symbol { + value: "df294" + } + uid: 139 + var_id { + bitfield1: 139 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "last_value" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + v: "A" + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "last_value" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + v: "A" + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "last_value" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 305 + } + variadic: true + } + } + symbol { + value: "df295" + } + uid: 140 + var_id { + bitfield1: 140 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "first_value" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: "A" + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "first_value" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: "A" + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "first_value" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 307 + } + variadic: true + } + } + symbol { + value: "df296" + } + uid: 141 + var_id { + bitfield1: 141 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ntile" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ntile" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "ntile" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 309 + } + variadic: true + } + } + symbol { + value: "df297" + } + uid: 142 + var_id { + bitfield1: 142 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "percentile_cont" + } + } + } + } + } + pos_args { + float64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + v: 0.4 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 311 + } + variadic: true + } + } + symbol { + value: "df298" + } + uid: 143 + var_id { + bitfield1: 143 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "greatest" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "greatest" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "greatest" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "greatest" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "D" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "E" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + v: "F" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 313 + } + variadic: true + } + } + symbol { + value: "df299" + } + uid: 144 + var_id { + bitfield1: 144 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "least" + } + } + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "least" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "least" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "least" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "C" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "D" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "E" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + v: "F" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 315 + } + variadic: true + } + } + symbol { + value: "df300" + } + uid: 145 + var_id { + bitfield1: 145 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "listagg" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "listagg" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "listagg" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "," + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "listagg" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "A" + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: "|" + } + } + pos_args { + bool_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + v: true + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 317 + } + variadic: true + } + } + symbol { + value: "df301" + } + uid: 146 + var_id { + bitfield1: 146 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "call_udf" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + v: "name" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "call_udf" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + v: "test" + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + v: 10 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 319 + } + variadic: true + } + } + symbol { + value: "df302" + } + uid: 147 + var_id { + bitfield1: 147 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "unix_timestamp" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "unix_timestamp" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + v: "A" + } + } + pos_args { + null_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "unix_timestamp" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + v: "B" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + v: "YYYY" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 321 + } + variadic: true + } + } + symbol { + value: "df303" + } + uid: 148 + var_id { + bitfield1: 148 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "charindex" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + v: "needle" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + v: "expr" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + v: 1 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "charindex" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + v: "needle" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + v: "test string" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "lit" + } + } + } + } + } + pos_args { + int64_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + v: 2 + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 323 + } + variadic: true + } + } + symbol { + value: "df304" + } + uid: 149 + var_id { + bitfield1: 149 + } + } +} +body { + assign { + expr { + sp_dataframe_select__columns { + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "size" + } + } + } + } + } + pos_args { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "col" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 325 + } + v: "expr" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 325 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 325 + } + } + } + cols { + apply_expr { + fn { + builtin_fn { + name { + name { + sp_name_flat { + name: "size" + } + } + } + } + } + pos_args { + string_val { + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 325 + } + v: "A" + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 325 + } + } + } + df { + sp_dataframe_ref { + id { + bitfield1: 1 + } + } + } + src { + file: "SRC_POSITION_TEST_MODE" + start_line: 325 + } + variadic: true + } + } + symbol { + value: "df305" + } + uid: 150 + var_id { + bitfield1: 150 + } + } +} +client_ast_version: 1 +client_language { + python_language { + version { + label: "final" + major: 3 + minor: 9 + patch: 1 + } + } +} +client_version { + major: 1 + minor: 26 +} diff --git a/tests/ast/data/interval.test b/tests/ast/data/interval.test index 518915e9963..45769bba151 100644 --- a/tests/ast/data/interval.test +++ b/tests/ast/data/interval.test @@ -85,10 +85,7 @@ body { vs { list_val { src { - end_column: 13 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } vs { @@ -96,10 +93,7 @@ body { day: 1 month: 1 src { - end_column: 13 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } tz { @@ -116,10 +110,7 @@ body { day: 1 month: 1 src { - end_column: 13 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } tz { @@ -136,10 +127,7 @@ body { vs { list_val { src { - end_column: 13 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } vs { @@ -147,10 +135,7 @@ body { day: 1 month: 1 src { - end_column: 13 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } tz { @@ -167,10 +152,7 @@ body { day: 1 month: 1 src { - end_column: 13 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } tz { @@ -193,10 +175,7 @@ body { } } src { - end_column: 13 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -227,10 +206,7 @@ body { } } src { - end_column: 20 - end_line: 36 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 36 } } @@ -240,8 +216,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "make_interval" + name { + sp_name_flat { + name: "make_interval" + } } } } @@ -251,10 +229,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 2 @@ -266,10 +241,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 2 @@ -281,10 +253,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 4 @@ -296,10 +265,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 3 @@ -311,10 +277,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 3 @@ -326,10 +289,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 1 @@ -341,10 +301,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 4 @@ -356,10 +313,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 1 @@ -371,10 +325,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 3 @@ -386,10 +337,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: 2 @@ -397,19 +345,13 @@ body { } } src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } } src { - end_column: 13 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 36 } } @@ -422,10 +364,7 @@ body { } } src { - end_column: 9 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } variadic: true @@ -457,10 +396,7 @@ body { } } src { - end_column: 33 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 51 } } @@ -470,8 +406,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "make_interval" + name { + sp_name_flat { + name: "make_interval" + } } } } @@ -481,10 +419,7 @@ body { _2 { int64_val { src { - end_column: 55 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 51 } v: 1234 @@ -492,19 +427,13 @@ body { } } src { - end_column: 55 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 51 } } } src { - end_column: 55 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 51 } } @@ -517,10 +446,7 @@ body { } } src { - end_column: 56 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 51 } variadic: true @@ -552,10 +478,7 @@ body { } } src { - end_column: 20 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 54 } } @@ -565,8 +488,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "make_interval" + name { + sp_name_flat { + name: "make_interval" + } } } } @@ -576,10 +501,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 55 } v: 4 @@ -591,10 +513,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 55 } v: 5 @@ -606,10 +525,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 55 } v: 6 @@ -621,10 +537,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 55 } v: 2 @@ -636,10 +549,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 55 } v: 1 @@ -651,10 +561,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 55 } v: 7 @@ -666,10 +573,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 55 } v: 3 @@ -677,19 +581,13 @@ body { } } src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 55 } } } src { - end_column: 13 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 54 } } @@ -702,10 +600,7 @@ body { } } src { - end_column: 9 - end_line: 64 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 53 } variadic: true @@ -737,10 +632,7 @@ body { } } src { - end_column: 20 - end_line: 67 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 67 } } @@ -750,8 +642,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "make_interval" + name { + sp_name_flat { + name: "make_interval" + } } } } @@ -761,10 +655,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 4 @@ -776,10 +667,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 5 @@ -791,10 +679,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 9 @@ -806,10 +691,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 8 @@ -821,10 +703,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 6 @@ -836,10 +715,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 2 @@ -851,10 +727,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 10 @@ -866,10 +739,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 7 @@ -881,10 +751,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 3 @@ -896,10 +763,7 @@ body { _2 { int64_val { src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } v: 1 @@ -907,19 +771,13 @@ body { } } src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 68 } } } src { - end_column: 13 - end_line: 79 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 67 } } @@ -932,10 +790,7 @@ body { } } src { - end_column: 9 - end_line: 80 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 66 } variadic: true @@ -967,10 +822,7 @@ body { } } src { - end_column: 33 - end_line: 82 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 82 } } @@ -980,8 +832,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "make_interval" + name { + sp_name_flat { + name: "make_interval" + } } } } @@ -991,10 +845,7 @@ body { _2 { int64_val { src { - end_column: 67 - end_line: 82 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 82 } } @@ -1005,10 +856,7 @@ body { _2 { int64_val { src { - end_column: 67 - end_line: 82 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 82 } v: 21 @@ -1016,19 +864,13 @@ body { } } src { - end_column: 67 - end_line: 82 file: "SRC_POSITION_TEST_MODE" - start_column: 36 start_line: 82 } } } src { - end_column: 67 - end_line: 82 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 82 } } @@ -1041,10 +883,7 @@ body { } } src { - end_column: 68 - end_line: 82 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 82 } variadic: true diff --git a/tests/ast/data/select.test b/tests/ast/data/select.test index 382738ffbca..d57be83bf2c 100644 --- a/tests/ast/data/select.test +++ b/tests/ast/data/select.test @@ -18,15 +18,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -52,8 +51,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -61,20 +62,14 @@ body { pos_args { string_val { src { - end_column: 39 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } v: "STR" } } src { - end_column: 39 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } } @@ -84,8 +79,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -93,20 +90,14 @@ body { pos_args { string_val { src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 27 } v: "A" } } src { - end_column: 38 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 30 start_line: 27 } } @@ -119,10 +110,7 @@ body { } } src { - end_column: 39 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 27 } variadic: true diff --git a/tests/ast/data/session.read.test b/tests/ast/data/session.read.test index c69ac6c1e5a..c618d82ffff 100644 --- a/tests/ast/data/session.read.test +++ b/tests/ast/data/session.read.test @@ -50,19 +50,13 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } } } src { - end_column: 53 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 25 } } @@ -84,19 +78,13 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } } src { - end_column: 59 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -118,19 +106,13 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } } src { - end_column: 55 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } @@ -152,19 +134,13 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } } src { - end_column: 61 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } } @@ -186,19 +162,13 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } } src { - end_column: 53 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } @@ -220,19 +190,13 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } } src { - end_column: 53 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 35 } } @@ -260,28 +224,19 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } } src { - end_column: 55 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } value { bool_val { src { - end_column: 55 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: true @@ -290,19 +245,13 @@ body { } } src { - end_column: 84 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } value { bool_val { src { - end_column: 84 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } v: true @@ -311,10 +260,7 @@ body { } } src { - end_column: 110 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } } @@ -340,10 +286,7 @@ body { _2 { bool_val { src { - end_column: 80 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: true @@ -355,10 +298,7 @@ body { _2 { bool_val { src { - end_column: 80 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } v: true @@ -368,28 +308,19 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } } src { - end_column: 80 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } } src { - end_column: 106 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } } @@ -418,8 +349,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -427,20 +360,14 @@ body { pos_args { string_val { src { - end_column: 72 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 43 } v: "METADATA$FILE_ROW_NUMBER" } } src { - end_column: 72 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 43 } } @@ -448,10 +375,7 @@ body { args { string_val { src { - end_column: 104 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } v: "METADATA$FILE_LAST_MODIFIED" @@ -462,19 +386,13 @@ body { reader { sp_dataframe_reader_init { src { - end_column: 26 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } } } src { - end_column: 104 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } } @@ -512,19 +430,13 @@ body { } } src { - end_column: 124 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } } } src { - end_column: 150 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } } diff --git a/tests/ast/data/session.sql.test b/tests/ast/data/session.sql.test index db3374c2e08..b8118691a66 100644 --- a/tests/ast/data/session.sql.test +++ b/tests/ast/data/session.sql.test @@ -22,10 +22,7 @@ body { sp_sql { query: "select 42" src { - end_column: 37 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } } @@ -46,10 +43,7 @@ body { params { int64_val { src { - end_column: 89 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: 1 @@ -58,10 +52,7 @@ body { params { string_val { src { - end_column: 89 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: "a" @@ -70,10 +61,7 @@ body { params { int64_val { src { - end_column: 89 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: 2 @@ -82,10 +70,7 @@ body { params { string_val { src { - end_column: 89 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } v: "b" @@ -93,10 +78,7 @@ body { } query: "select * from values (?, ?), (?, ?)" src { - end_column: 89 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } } @@ -116,10 +98,7 @@ body { sp_sql { query: "select 42" src { - end_column: 42 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } } diff --git a/tests/ast/data/session_generator.test b/tests/ast/data/session_generator.test index 20457925282..935dd1394da 100644 --- a/tests/ast/data/session_generator.test +++ b/tests/ast/data/session_generator.test @@ -27,8 +27,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -36,20 +38,14 @@ body { pos_args { string_val { src { - end_column: 40 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 27 } v: "A" } } src { - end_column: 40 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 27 } } @@ -59,8 +55,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -68,29 +66,20 @@ body { pos_args { string_val { src { - end_column: 50 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 27 } v: "B" } } src { - end_column: 50 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 27 } } } src { - end_column: 51 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 27 } variadic: true @@ -114,8 +103,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "seq1" + name { + sp_name_flat { + name: "seq1" + } } } } @@ -123,20 +114,14 @@ body { pos_args { int64_val { src { - end_column: 39 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 29 } v: 1 } } src { - end_column: 39 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 29 } } @@ -146,8 +131,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "uniform" + name { + sp_name_flat { + name: "uniform" + } } } } @@ -157,8 +144,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -166,20 +155,14 @@ body { pos_args { int64_val { src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } v: 1 } } src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } } @@ -189,8 +172,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -198,20 +183,14 @@ body { pos_args { int64_val { src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } v: 10 } } src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } } @@ -221,8 +200,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -230,39 +211,27 @@ body { pos_args { int64_val { src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } v: 2 } } src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } } } src { - end_column: 58 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 29 } } } row_count: 3 src { - end_column: 71 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } variadic: true @@ -286,8 +255,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "seq8" + name { + sp_name_flat { + name: "seq8" + } } } } @@ -295,19 +266,13 @@ body { pos_args { int64_val { src { - end_column: 39 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 31 } } } src { - end_column: 39 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 31 } } @@ -317,8 +282,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "uniform" + name { + sp_name_flat { + name: "uniform" + } } } } @@ -328,8 +295,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -337,20 +306,14 @@ body { pos_args { int64_val { src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 31 } v: 1 } } src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 31 } } @@ -360,8 +323,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -369,20 +334,14 @@ body { pos_args { int64_val { src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 31 } v: 10 } } src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 31 } } @@ -392,8 +351,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -401,38 +362,26 @@ body { pos_args { int64_val { src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 31 } v: 2 } } src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 31 } } } src { - end_column: 58 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 31 } } } src { - end_column: 72 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 31 } time_limit_seconds: 1 diff --git a/tests/ast/data/session_range.test b/tests/ast/data/session_range.test index 150a9f0cfd0..c2cdbca3560 100644 --- a/tests/ast/data/session_range.test +++ b/tests/ast/data/session_range.test @@ -29,10 +29,7 @@ body { expr { sp_range { src { - end_column: 29 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 25 } start: 10 @@ -58,10 +55,7 @@ body { value: 10 } src { - end_column: 32 - end_line: 27 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 27 } start: 1 @@ -87,10 +81,7 @@ body { value: 10 } src { - end_column: 35 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 29 } start: 1 @@ -113,10 +104,7 @@ body { expr { sp_range { src { - end_column: 34 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 31 } start: 1 @@ -139,10 +127,7 @@ body { expr { sp_range { src { - end_column: 37 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 33 } start: 1 diff --git a/tests/ast/data/session_table_dq_abs_l.test b/tests/ast/data/session_table_dq_abs_l.test index 0eb47a49232..bc28138b57a 100644 --- a/tests/ast/data/session_table_dq_abs_l.test +++ b/tests/ast/data/session_table_dq_abs_l.test @@ -16,17 +16,16 @@ body { expr { sp_table { name { - sp_table_name_structured { - name: "mock_database" - name: "mock_schema" - name: "\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + name { + sp_name_structured { + name: "mock_database" + name: "mock_schema" + name: "\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + } } } src { - end_column: 88 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -52,8 +51,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -61,20 +62,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -87,10 +82,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_dq_abs_s.test b/tests/ast/data/session_table_dq_abs_s.test index d980d97ff2a..6ccdcab5633 100644 --- a/tests/ast/data/session_table_dq_abs_s.test +++ b/tests/ast/data/session_table_dq_abs_s.test @@ -16,15 +16,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "mock_database.mock_schema.\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + name { + sp_name_flat { + name: "mock_database.mock_schema.\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + } } } src { - end_column: 85 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,8 +49,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -59,20 +60,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -85,10 +80,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_dq_rs_l.test b/tests/ast/data/session_table_dq_rs_l.test index 6cbed8a7fc1..9162787cf1b 100644 --- a/tests/ast/data/session_table_dq_rs_l.test +++ b/tests/ast/data/session_table_dq_rs_l.test @@ -16,16 +16,15 @@ body { expr { sp_table { name { - sp_table_name_structured { - name: "mock_schema" - name: "\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + name { + sp_name_structured { + name: "mock_schema" + name: "\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + } } } src { - end_column: 71 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -51,8 +50,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -60,20 +61,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -86,10 +81,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_dq_rs_s.test b/tests/ast/data/session_table_dq_rs_s.test index a80667305d6..4c78f65db87 100644 --- a/tests/ast/data/session_table_dq_rs_s.test +++ b/tests/ast/data/session_table_dq_rs_s.test @@ -16,15 +16,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "mock_schema.\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + name { + sp_name_flat { + name: "mock_schema.\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + } } } src { - end_column: 71 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,8 +49,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -59,20 +60,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -85,10 +80,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_dq_rt_l.test b/tests/ast/data/session_table_dq_rt_l.test index 8491eb771f3..f59ad0e1b59 100644 --- a/tests/ast/data/session_table_dq_rt_l.test +++ b/tests/ast/data/session_table_dq_rt_l.test @@ -16,15 +16,14 @@ body { expr { sp_table { name { - sp_table_name_structured { - name: "\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + name { + sp_name_structured { + name: "\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + } } } src { - end_column: 56 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,8 +49,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -59,20 +60,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -85,10 +80,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_dq_rt_s.test b/tests/ast/data/session_table_dq_rt_s.test index 86d701c6771..05f9f23b5b1 100644 --- a/tests/ast/data/session_table_dq_rt_s.test +++ b/tests/ast/data/session_table_dq_rt_s.test @@ -16,15 +16,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + name { + sp_name_flat { + name: "\"the#qui.ck#bro.wn#\"\"Fox\"\"won\'t#jump!\"" + } } } src { - end_column: 54 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,8 +49,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -59,20 +60,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -85,10 +80,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_temp_table_cleanup.test b/tests/ast/data/session_table_temp_table_cleanup.test index faad07ce849..533012129de 100644 --- a/tests/ast/data/session_table_temp_table_cleanup.test +++ b/tests/ast/data/session_table_temp_table_cleanup.test @@ -22,8 +22,10 @@ body { sp_table { is_temp_table_for_cleanup: true name { - sp_table_name_flat { - name: "mock_schema.table1" + name { + sp_name_flat { + name: "mock_schema.table1" + } } } src { @@ -49,8 +51,10 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "mock_schema.table1" + name { + sp_name_flat { + name: "mock_schema.table1" + } } } src { @@ -113,8 +117,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } diff --git a/tests/ast/data/session_table_uq_abs_l.test b/tests/ast/data/session_table_uq_abs_l.test index 63eed45febd..db5ff14e158 100644 --- a/tests/ast/data/session_table_uq_abs_l.test +++ b/tests/ast/data/session_table_uq_abs_l.test @@ -16,17 +16,16 @@ body { expr { sp_table { name { - sp_table_name_structured { - name: "mock_database" - name: "mock_schema" - name: "table1" + name { + sp_name_structured { + name: "mock_database" + name: "mock_schema" + name: "table1" + } } } src { - end_column: 75 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -52,8 +51,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -61,20 +62,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -87,10 +82,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_uq_abs_s.test b/tests/ast/data/session_table_uq_abs_s.test index b0734323bf5..c7098058075 100644 --- a/tests/ast/data/session_table_uq_abs_s.test +++ b/tests/ast/data/session_table_uq_abs_s.test @@ -16,15 +16,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "mock_database.mock_schema.table1" + name { + sp_name_flat { + name: "mock_database.mock_schema.table1" + } } } src { - end_column: 72 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,8 +49,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -59,20 +60,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -85,10 +80,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_uq_rs_l.test b/tests/ast/data/session_table_uq_rs_l.test index d204c93f375..e2b1b99d947 100644 --- a/tests/ast/data/session_table_uq_rs_l.test +++ b/tests/ast/data/session_table_uq_rs_l.test @@ -16,16 +16,15 @@ body { expr { sp_table { name { - sp_table_name_structured { - name: "mock_schema" - name: "table1" + name { + sp_name_structured { + name: "mock_schema" + name: "table1" + } } } src { - end_column: 58 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -51,8 +50,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -60,20 +61,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -86,10 +81,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_uq_rs_s.test b/tests/ast/data/session_table_uq_rs_s.test index aea26629eb4..12d24a7a861 100644 --- a/tests/ast/data/session_table_uq_rs_s.test +++ b/tests/ast/data/session_table_uq_rs_s.test @@ -16,15 +16,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "mock_schema.table1" + name { + sp_name_flat { + name: "mock_schema.table1" + } } } src { - end_column: 58 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,8 +49,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -59,20 +60,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -85,10 +80,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_uq_rt_l.test b/tests/ast/data/session_table_uq_rt_l.test index b63cd4f230b..299a1e081c5 100644 --- a/tests/ast/data/session_table_uq_rt_l.test +++ b/tests/ast/data/session_table_uq_rt_l.test @@ -16,15 +16,14 @@ body { expr { sp_table { name { - sp_table_name_structured { - name: "table1" + name { + sp_name_structured { + name: "table1" + } } } src { - end_column: 43 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,8 +49,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -59,20 +60,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -85,10 +80,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_table_uq_rt_s.test b/tests/ast/data/session_table_uq_rt_s.test index 0717c716e75..d781425fbf1 100644 --- a/tests/ast/data/session_table_uq_rt_s.test +++ b/tests/ast/data/session_table_uq_rt_s.test @@ -16,15 +16,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -50,8 +49,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -59,20 +60,14 @@ body { pos_args { string_val { src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } v: "num" } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } } @@ -85,10 +80,7 @@ body { } } src { - end_column: 29 - end_line: 26 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 26 } variadic: true diff --git a/tests/ast/data/session_write_pandas.test b/tests/ast/data/session_write_pandas.test index 9e5528ef8b6..de35d62aac8 100644 --- a/tests/ast/data/session_write_pandas.test +++ b/tests/ast/data/session_write_pandas.test @@ -25,8 +25,10 @@ body { sp_dataframe_data__pandas { v { temp_table { - sp_table_name_flat { - name: "\"table1\"" + name { + sp_name_flat { + name: "\"table1\"" + } } } } @@ -36,15 +38,14 @@ body { parallel: 4 quote_identifiers: true src { - end_column: 53 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 29 } table_name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } } @@ -72,8 +73,10 @@ body { sp_dataframe_data__pandas { v { temp_table { - sp_table_name_flat { - name: "b.a.test" + name { + sp_name_flat { + name: "b.a.test" + } } } } @@ -84,10 +87,7 @@ body { _2 { int64_val { src { - end_column: 260 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 31 } v: 90 @@ -98,17 +98,16 @@ body { overwrite: true parallel: 10 src { - end_column: 260 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 31 } table_name { - sp_table_name_structured { - name: "b" - name: "a" - name: "test" + name { + sp_name_structured { + name: "b" + name: "a" + name: "test" + } } } table_type: "temporary" diff --git a/tests/ast/data/shadowed_local_name.test b/tests/ast/data/shadowed_local_name.test index 18df65b37ac..9e83551c642 100644 --- a/tests/ast/data/shadowed_local_name.test +++ b/tests/ast/data/shadowed_local_name.test @@ -27,15 +27,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } variant { @@ -62,8 +61,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -71,20 +72,14 @@ body { pos_args { string_val { src { - end_column: 57 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 25 } v: "NUM" } } src { - end_column: 57 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 25 } } @@ -99,10 +94,7 @@ body { } } src { - end_column: 58 - end_line: 25 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 25 } } @@ -128,10 +120,7 @@ body { } } src { - end_column: 27 - end_line: 28 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 28 } } @@ -159,10 +148,7 @@ body { input { string_val { src { - end_column: 52 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } v: "STR" @@ -176,10 +162,7 @@ body { value: "path" } src { - end_column: 52 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 33 } } diff --git a/tests/ast/data/sproc.test b/tests/ast/data/sproc.test index 9b8dc413f0e..44537a2ac60 100644 --- a/tests/ast/data/sproc.test +++ b/tests/ast/data/sproc.test @@ -196,8 +196,10 @@ body { func { name: "my_copy" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MY_COPY_SP\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MY_COPY_SP\"" + } } } } @@ -219,8 +221,10 @@ body { } } name { - fn_name_flat { - name: "my_copy_sp" + name { + sp_name_flat { + name: "my_copy_sp" + } } } parallel: 4 @@ -233,10 +237,7 @@ body { } source_code_display: true src { - end_column: 114 - end_line: 42 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 42 } } @@ -256,10 +257,7 @@ body { sp_sql { query: "create or replace temp table test_from(test_str varchar) as select randstr(20, random()) from table (generator(rowCount => 100))" src { - end_column: 155 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 43 } } @@ -283,10 +281,7 @@ body { bitfield1: 2 } src { - end_column: 165 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 43 } } @@ -316,10 +311,7 @@ body { vs { int64_val { src { - end_column: 67 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 46 } v: 1 @@ -328,10 +320,7 @@ body { vs { int64_val { src { - end_column: 67 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 46 } v: 2 @@ -340,10 +329,7 @@ body { vs { int64_val { src { - end_column: 67 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 46 } v: 3 @@ -357,10 +343,7 @@ body { } } src { - end_column: 67 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 46 } } @@ -386,10 +369,7 @@ body { } } src { - end_column: 21 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 47 } } @@ -415,15 +395,14 @@ body { sp_save_mode_overwrite: true } src { - end_column: 90 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 47 } table_name { - sp_table_name_flat { - name: "test_from" + name { + sp_name_flat { + name: "test_from" + } } } table_type: "temporary" @@ -454,10 +433,7 @@ body { vs { int64_val { src { - end_column: 64 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 48 } v: -1 @@ -466,10 +442,7 @@ body { vs { int64_val { src { - end_column: 64 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 48 } v: -2 @@ -483,10 +456,7 @@ body { } } src { - end_column: 64 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 16 start_line: 48 } } @@ -512,10 +482,7 @@ body { } } src { - end_column: 19 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 49 } } @@ -541,15 +508,14 @@ body { sp_save_mode_overwrite: true } src { - end_column: 86 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 49 } table_name { - sp_table_name_flat { - name: "test_to" + name { + sp_name_flat { + name: "test_to" + } } } table_type: "temporary" @@ -577,10 +543,7 @@ body { sp_sql { query: "call my_copy_sp(\'test_from\', \'test_to\', 10)" src { - end_column: 66 - end_line: 50 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 50 } } @@ -603,10 +566,7 @@ body { bitfield1: 13 } src { - end_column: 76 - end_line: 50 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 50 } } @@ -632,15 +592,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_to" + name { + sp_name_flat { + name: "test_to" + } } } src { - end_column: 32 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 51 } variant { @@ -665,10 +624,7 @@ body { bitfield1: 16 } src { - end_column: 40 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 51 } } @@ -695,10 +651,7 @@ body { sp_sql { query: "drop table if exists test_to" src { - end_column: 55 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 54 } } @@ -722,10 +675,7 @@ body { bitfield1: 19 } src { - end_column: 65 - end_line: 54 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 54 } } @@ -755,8 +705,10 @@ body { log_on_exception { } name { - fn_name_flat { - name: "my_copy_sp" + name { + sp_name_flat { + name: "my_copy_sp" + } } } } @@ -764,10 +716,7 @@ body { pos_args { string_val { src { - end_column: 62 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } v: "test_from" @@ -776,10 +725,7 @@ body { pos_args { string_val { src { - end_column: 62 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } v: "test_to" @@ -788,20 +734,14 @@ body { pos_args { int64_val { src { - end_column: 62 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } v: 10 } } src { - end_column: 62 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } } @@ -828,10 +768,7 @@ body { pos_args { string_val { src { - end_column: 62 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } v: "test_from" @@ -840,10 +777,7 @@ body { pos_args { string_val { src { - end_column: 62 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } v: "test_to" @@ -852,20 +786,14 @@ body { pos_args { int64_val { src { - end_column: 62 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } v: 10 } } src { - end_column: 62 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } } @@ -883,15 +811,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_from" + name { + sp_name_flat { + name: "test_from" + } } } src { - end_column: 37 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 39 } variant { @@ -920,10 +847,7 @@ body { } n: 10 src { - end_column: 50 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 39 } } @@ -948,10 +872,7 @@ body { } } src { - end_column: 56 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 39 } } @@ -977,15 +898,14 @@ body { sp_save_mode_overwrite: true } src { - end_column: 122 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 39 } table_name { - sp_table_name_flat { - name: "test_to" + name { + sp_name_flat { + name: "test_to" + } } } table_type: "temporary" @@ -1020,15 +940,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "test_to" + name { + sp_name_flat { + name: "test_to" + } } } src { - end_column: 32 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } variant { @@ -1053,10 +972,7 @@ body { bitfield1: 30 } src { - end_column: 40 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } } @@ -1086,8 +1002,10 @@ body { id: 1 name: "" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + } } } } @@ -1102,10 +1020,7 @@ body { } source_code_display: true src { - end_column: 9 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 59 } } @@ -1133,20 +1048,14 @@ body { pos_args { int64_val { src { - end_column: 21 - end_line: 66 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 66 } v: 1 } } src { - end_column: 21 - end_line: 66 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 66 } } @@ -1165,10 +1074,7 @@ body { sp_sql { query: "select 1 + 1" src { - end_column: 63 - end_line: 60 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 60 } } @@ -1191,10 +1097,7 @@ body { bitfield1: 35 } src { - end_column: 73 - end_line: 60 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 60 } } @@ -1229,10 +1132,7 @@ body { sp_sql { query: "select 1 + 2" src { - end_column: 52 - end_line: 70 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 70 } } @@ -1255,10 +1155,7 @@ body { bitfield1: 39 } src { - end_column: 62 - end_line: 70 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 70 } } @@ -1285,10 +1182,7 @@ body { sp_sql { query: "create or replace temp stage mystage" src { - end_column: 63 - end_line: 74 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 74 } } @@ -1312,10 +1206,7 @@ body { bitfield1: 42 } src { - end_column: 73 - end_line: 74 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 74 } } @@ -1345,8 +1236,10 @@ body { id: 2 name: "" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MUL_SP\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MUL_SP\"" + } } } } @@ -1360,8 +1253,10 @@ body { } is_permanent: true name { - fn_name_flat { - name: "mul_sp" + name { + sp_name_flat { + name: "mul_sp" + } } } parallel: 4 @@ -1371,10 +1266,7 @@ body { } source_code_display: true src { - end_column: 9 - end_line: 83 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 75 } stage_location: "@mystage" @@ -1395,10 +1287,7 @@ body { sp_sql { query: "call mul_sp(5, 6)" src { - end_column: 40 - end_line: 84 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 84 } } @@ -1421,10 +1310,7 @@ body { bitfield1: 46 } src { - end_column: 50 - end_line: 84 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 84 } } @@ -1454,8 +1340,10 @@ body { id: 3 name: "" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MUL_SP\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MUL_SP\"" + } } } } @@ -1470,8 +1358,10 @@ body { } is_permanent: true name { - fn_name_flat { - name: "mul_sp" + name { + sp_name_flat { + name: "mul_sp" + } } } parallel: 4 @@ -1480,10 +1370,7 @@ body { } source_code_display: true src { - end_column: 9 - end_line: 95 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 87 } stage_location: "@mystage" @@ -1504,10 +1391,7 @@ body { sp_sql { query: "call mul_sp(5, 6)" src { - end_column: 40 - end_line: 96 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 96 } } @@ -1530,10 +1414,7 @@ body { bitfield1: 50 } src { - end_column: 50 - end_line: 96 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 96 } } @@ -1564,8 +1445,10 @@ body { id: 4 name: "" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MUL_SP\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"MUL_SP\"" + } } } } @@ -1579,8 +1462,10 @@ body { } is_permanent: true name { - fn_name_flat { - name: "mul_sp" + name { + sp_name_flat { + name: "mul_sp" + } } } parallel: 4 @@ -1598,10 +1483,7 @@ body { } source_code_display: true src { - end_column: 9 - end_line: 110 file: "SRC_POSITION_TEST_MODE" - start_column: 12 start_line: 99 } stage_location: "@mystage" @@ -1623,10 +1505,7 @@ body { sp_sql { query: "call mul_sp(5, 6)" src { - end_column: 40 - end_line: 111 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 111 } } @@ -1649,10 +1528,7 @@ body { bitfield1: 54 } src { - end_column: 50 - end_line: 111 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 111 } } @@ -1682,8 +1558,10 @@ body { id: 5 name: "sin_sp" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + } } } } @@ -1700,11 +1578,8 @@ body { } source_code_display: true src { - end_column: 112 - end_line: 114 file: "SRC_POSITION_TEST_MODE" - start_column: 9 - start_line: 114 + start_line: 115 } statement_params { _1: "SF_PARTNER" @@ -1734,20 +1609,14 @@ body { pos_args { float64_val { src { - end_column: 29 - end_line: 117 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 117 } v: 1.5707963267948966 } } src { - end_column: 29 - end_line: 117 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 117 } } @@ -1777,8 +1646,10 @@ body { id: 6 name: "select_sp" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + } } } } @@ -1815,11 +1686,8 @@ body { } source_code_display: true src { - end_column: 150 - end_line: 120 file: "SRC_POSITION_TEST_MODE" - start_column: 9 - start_line: 120 + start_line: 121 } } } @@ -1845,10 +1713,7 @@ body { pos_args { int64_val { src { - end_column: 23 - end_line: 123 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 123 } v: 1 @@ -1857,20 +1722,14 @@ body { pos_args { int64_val { src { - end_column: 23 - end_line: 123 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 123 } v: 2 } } src { - end_column: 23 - end_line: 123 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 123 } } @@ -1889,10 +1748,7 @@ body { sp_sql { query: "SELECT 1 as A, 2 as B" src { - end_column: 61 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 122 } } @@ -1939,8 +1795,10 @@ body { id: 7 name: "select_sp" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + } } } } @@ -1958,11 +1816,8 @@ body { } } src { - end_column: 123 - end_line: 126 file: "SRC_POSITION_TEST_MODE" - start_column: 9 - start_line: 126 + start_line: 127 } } } @@ -1988,10 +1843,7 @@ body { pos_args { int64_val { src { - end_column: 23 - end_line: 129 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 129 } v: 1 @@ -2000,20 +1852,14 @@ body { pos_args { int64_val { src { - end_column: 23 - end_line: 129 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 129 } v: 2 } } src { - end_column: 23 - end_line: 129 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 129 } } @@ -2032,10 +1878,7 @@ body { sp_sql { query: "SELECT 1 as A, 2 as B" src { - end_column: 61 - end_line: 128 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 128 } } @@ -2082,8 +1925,10 @@ body { id: 8 name: "select_sp" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".\"SNOWPARK_TEMP_PROCEDURE_xxx\"" + } } } } @@ -2102,11 +1947,8 @@ body { } source_code_display: true src { - end_column: 14 - end_line: 132 file: "SRC_POSITION_TEST_MODE" - start_column: 9 - start_line: 132 + start_line: 133 } } } @@ -2132,10 +1974,7 @@ body { pos_args { int64_val { src { - end_column: 23 - end_line: 135 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 135 } v: 1 @@ -2144,20 +1983,14 @@ body { pos_args { int64_val { src { - end_column: 23 - end_line: 135 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 135 } v: 2 } } src { - end_column: 23 - end_line: 135 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 135 } } @@ -2176,10 +2009,7 @@ body { sp_sql { query: "SELECT 1 as A, 2 as B" src { - end_column: 61 - end_line: 134 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 134 } } diff --git a/tests/ast/data/udaf.test b/tests/ast/data/udaf.test index 02cce263c7c..ab8a21237b9 100644 --- a/tests/ast/data/udaf.test +++ b/tests/ast/data/udaf.test @@ -110,8 +110,10 @@ body { handler { name: "PythonSumUDAF" object_name { - sp_table_name_flat { - name: "sum_int" + name { + sp_name_flat { + name: "sum_int" + } } } } @@ -125,18 +127,17 @@ body { _2 { bool_val { src { - end_column: 9 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 45 } } } } name { - fn_name_flat { - name: "sum_int" + name { + sp_name_flat { + name: "sum_int" + } } } parallel: 4 @@ -145,10 +146,7 @@ body { sp_integer_type: true } src { - end_column: 9 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 19 start_line: 45 } } @@ -171,19 +169,13 @@ body { vs { list_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } vs { int64_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } v: 1 @@ -192,10 +184,7 @@ body { vs { int64_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } v: 3 @@ -206,19 +195,13 @@ body { vs { list_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } vs { int64_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } v: 1 @@ -227,10 +210,7 @@ body { vs { int64_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } v: 4 @@ -241,19 +221,13 @@ body { vs { list_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } vs { int64_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } v: 2 @@ -262,10 +236,7 @@ body { vs { int64_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } v: 5 @@ -276,19 +247,13 @@ body { vs { list_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } vs { int64_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } v: 2 @@ -297,10 +262,7 @@ body { vs { int64_val { src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } v: 6 @@ -311,10 +273,7 @@ body { } } src { - end_column: 71 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } } @@ -342,10 +301,7 @@ body { } } src { - end_column: 87 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 53 } variadic: true @@ -384,20 +340,14 @@ body { pos_args { string_val { src { - end_column: 28 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 55 } v: "a" } } src { - end_column: 28 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 55 } } @@ -405,10 +355,7 @@ body { variadic: true } src { - end_column: 29 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } } @@ -431,10 +378,7 @@ body { bitfield1: 4 } src { - end_column: 39 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 55 } } @@ -467,15 +411,19 @@ body { id: 1 name: "PythonTopK" object_name { - sp_table_name_flat { - name: "top_k" + name { + sp_name_flat { + name: "top_k" + } } } } immutable: true imports { - sp_table_name_flat { - name: "numpy" + name { + sp_name_flat { + name: "numpy" + } } } input_types { @@ -489,10 +437,7 @@ body { _2 { bool_val { src { - end_column: 90 - end_line: 108 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 105 } } @@ -503,10 +448,7 @@ body { _2 { bool_val { src { - end_column: 90 - end_line: 108 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 105 } v: true @@ -514,8 +456,10 @@ body { } } name { - fn_name_flat { - name: "top_k" + name { + sp_name_flat { + name: "top_k" + } } } packages: "numpy" @@ -533,10 +477,7 @@ body { _2: "f" } src { - end_column: 90 - end_line: 108 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 105 } stage_location { @@ -585,20 +526,14 @@ body { pos_args { string_val { src { - end_column: 22 - end_line: 110 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 110 } v: "a" } } src { - end_column: 22 - end_line: 110 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 110 } } @@ -606,10 +541,7 @@ body { variadic: true } src { - end_column: 23 - end_line: 110 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 110 } } diff --git a/tests/ast/data/udtf.test b/tests/ast/data/udtf.test index aec345c0174..f5ff5de15cd 100644 --- a/tests/ast/data/udtf.test +++ b/tests/ast/data/udtf.test @@ -138,8 +138,10 @@ body { handler { name: "PrimeSieve" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + } } } } @@ -153,10 +155,7 @@ body { _2 { bool_val { src { - end_column: 132 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 46 } } @@ -181,10 +180,7 @@ body { } parallel: 4 src { - end_column: 132 - end_line: 46 file: "SRC_POSITION_TEST_MODE" - start_column: 21 start_line: 46 } } @@ -214,8 +210,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -223,29 +221,20 @@ body { pos_args { int64_val { src { - end_column: 49 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 48 } v: 20 } } src { - end_column: 49 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 48 } } } src { - end_column: 50 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 48 } } @@ -272,19 +261,13 @@ body { } } src { - end_column: 51 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 48 } } } src { - end_column: 51 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 48 } } @@ -307,10 +290,7 @@ body { bitfield1: 3 } src { - end_column: 61 - end_line: 48 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 48 } } @@ -339,8 +319,10 @@ body { id: 1 name: "sum_udtf" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + } } } } @@ -357,11 +339,8 @@ body { _2 { bool_val { src { - end_column: 39 - end_line: 50 file: "SRC_POSITION_TEST_MODE" - start_column: 9 - start_line: 50 + start_line: 51 } } } @@ -385,11 +364,8 @@ body { } parallel: 4 src { - end_column: 39 - end_line: 50 file: "SRC_POSITION_TEST_MODE" - start_column: 9 - start_line: 50 + start_line: 51 } } } @@ -410,19 +386,13 @@ body { vs { list_val { src { - end_column: 74 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } vs { int64_val { src { - end_column: 74 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } v: 1 @@ -431,10 +401,7 @@ body { vs { int64_val { src { - end_column: 74 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } v: 2 @@ -445,19 +412,13 @@ body { vs { list_val { src { - end_column: 74 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } vs { int64_val { src { - end_column: 74 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } v: 3 @@ -466,10 +427,7 @@ body { vs { int64_val { src { - end_column: 74 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } v: 4 @@ -486,10 +444,7 @@ body { } } src { - end_column: 74 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 55 } } @@ -527,10 +482,7 @@ body { } } src { - end_column: 45 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 41 start_line: 56 } } @@ -546,19 +498,13 @@ body { } } src { - end_column: 51 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 47 start_line: 56 } } } src { - end_column: 52 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 32 start_line: 56 } } @@ -572,10 +518,7 @@ body { } } src { - end_column: 53 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } } @@ -603,10 +546,7 @@ body { } } src { - end_column: 63 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 59 start_line: 56 } } @@ -620,10 +560,7 @@ body { } } src { - end_column: 64 - end_line: 56 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 56 } } @@ -669,8 +606,10 @@ body { id: 2 name: "GeneratorUDTF" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + } } } } @@ -684,10 +623,7 @@ body { _2 { bool_val { src { - end_column: 139 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 63 } } @@ -712,10 +648,7 @@ body { } parallel: 4 src { - end_column: 139 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 63 } } @@ -745,8 +678,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "lit" + name { + sp_name_flat { + name: "lit" + } } } } @@ -754,29 +689,20 @@ body { pos_args { int64_val { src { - end_column: 52 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 46 start_line: 65 } v: 3 } } src { - end_column: 52 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 46 start_line: 65 } } } src { - end_column: 53 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 31 start_line: 65 } } @@ -803,19 +729,13 @@ body { } } src { - end_column: 54 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 65 } } } src { - end_column: 54 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 65 } } @@ -838,10 +758,7 @@ body { bitfield1: 14 } src { - end_column: 64 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 65 } } @@ -874,21 +791,27 @@ body { id: 3 name: "Foo" object_name { - sp_table_name_flat { - name: "foo" + name { + sp_name_flat { + name: "foo" + } } } } immutable: true imports { - sp_table_name_flat { - name: "numpy" + name { + sp_name_flat { + name: "numpy" + } } } imports { - sp_table_name_structured { - name: "seaborn" - name: "sns" + name { + sp_name_structured { + name: "seaborn" + name: "sns" + } } } input_types { @@ -905,10 +828,7 @@ body { _2 { bool_val { src { - end_column: 40 - end_line: 89 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 72 } } @@ -919,10 +839,7 @@ body { _2 { bool_val { src { - end_column: 40 - end_line: 89 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 72 } v: true @@ -930,8 +847,10 @@ body { } } name { - fn_name_flat { - name: "foo" + name { + sp_name_flat { + name: "foo" + } } } output_schema { @@ -969,10 +888,7 @@ body { } secure: true src { - end_column: 40 - end_line: 89 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 72 } stage_location: "@" @@ -1001,19 +917,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } vs { int64_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: 1 @@ -1022,10 +932,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: "one o one" @@ -1034,10 +941,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: 10 @@ -1048,19 +952,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } vs { int64_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: 2 @@ -1069,10 +967,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: "twenty two" @@ -1081,10 +976,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: 20 @@ -1095,19 +987,13 @@ body { vs { tuple_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } vs { int64_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: 3 @@ -1116,10 +1002,7 @@ body { vs { string_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: "thirty three" @@ -1128,10 +1011,7 @@ body { vs { int64_val { src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } v: 30 @@ -1142,10 +1022,7 @@ body { } } src { - end_column: 9 - end_line: 93 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 91 } } @@ -1174,10 +1051,7 @@ body { } } src { - end_column: 38 - end_line: 94 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 94 } } @@ -1199,8 +1073,10 @@ body { id: 4 name: "TwoXUDTF" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + } } } } @@ -1214,10 +1090,7 @@ body { _2 { bool_val { src { - end_column: 9 - end_line: 104 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 100 } } @@ -1242,10 +1115,7 @@ body { } parallel: 4 src { - end_column: 9 - end_line: 104 file: "SRC_POSITION_TEST_MODE" - start_column: 20 start_line: 100 } } @@ -1273,20 +1143,14 @@ body { pos_args { string_val { src { - end_column: 32 - end_line: 106 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 106 } v: "a" } } src { - end_column: 32 - end_line: 106 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 106 } } @@ -1313,10 +1177,7 @@ body { } } src { - end_column: 33 - end_line: 106 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 106 } } @@ -1329,10 +1190,7 @@ body { } } src { - end_column: 33 - end_line: 106 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 106 } variadic: true @@ -1356,10 +1214,7 @@ body { bitfield1: 22 } src { - end_column: 43 - end_line: 106 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 106 } } @@ -1388,8 +1243,10 @@ body { id: 5 name: "TwoXSixXUDTF" object_name { - sp_table_name_flat { - name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + name { + sp_name_flat { + name: "\"MOCK_DATABASE\".\"MOCK_SCHEMA\".SNOWPARK_TEMP_TABLE_FUNCTION_xxx" + } } } } @@ -1403,10 +1260,7 @@ body { _2 { bool_val { src { - end_column: 9 - end_line: 118 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 112 } } @@ -1440,10 +1294,7 @@ body { } parallel: 4 src { - end_column: 9 - end_line: 118 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 112 } } @@ -1479,19 +1330,13 @@ body { } } src { - end_column: 41 - end_line: 120 file: "SRC_POSITION_TEST_MODE" - start_column: 37 start_line: 120 } } } src { - end_column: 42 - end_line: 120 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 120 } } @@ -1519,10 +1364,7 @@ body { } } src { - end_column: 22 - end_line: 120 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 120 } } @@ -1537,10 +1379,7 @@ body { } } src { - end_column: 43 - end_line: 120 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 120 } } @@ -1553,10 +1392,7 @@ body { } } src { - end_column: 43 - end_line: 120 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 120 } variadic: true @@ -1580,10 +1416,7 @@ body { bitfield1: 27 } src { - end_column: 53 - end_line: 120 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 120 } } @@ -1612,10 +1445,7 @@ body { args { string_val { src { - end_column: 65 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 122 } v: "double" @@ -1624,10 +1454,7 @@ body { args { string_val { src { - end_column: 65 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 122 } v: "six_x" @@ -1647,29 +1474,20 @@ body { pos_args { string_val { src { - end_column: 40 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 122 } v: "a" } } src { - end_column: 40 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 122 } } } src { - end_column: 65 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 122 } } @@ -1691,8 +1509,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1700,20 +1520,14 @@ body { pos_args { string_val { src { - end_column: 71 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 122 } v: "a" } } src { - end_column: 71 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 122 } } @@ -1728,10 +1542,7 @@ body { } } src { - end_column: 71 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 122 } } @@ -1741,8 +1552,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1750,20 +1563,14 @@ body { pos_args { string_val { src { - end_column: 71 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 122 } v: "c" } } src { - end_column: 71 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 122 } } @@ -1776,10 +1583,7 @@ body { } } src { - end_column: 71 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 122 } variadic: true @@ -1803,10 +1607,7 @@ body { bitfield1: 31 } src { - end_column: 81 - end_line: 122 file: "SRC_POSITION_TEST_MODE" - start_column: 8 start_line: 122 } } diff --git a/tests/ast/data/windows.test b/tests/ast/data/windows.test index be96f9fff2d..49c8675bfd0 100644 --- a/tests/ast/data/windows.test +++ b/tests/ast/data/windows.test @@ -85,15 +85,14 @@ body { expr { sp_table { name { - sp_table_name_flat { - name: "table1" + name { + sp_name_flat { + name: "table1" + } } } src { - end_column: 41 - end_line: 29 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 29 } variant { @@ -121,8 +120,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -130,20 +131,14 @@ body { pos_args { string_val { src { - end_column: 33 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } v: "NUM" } } src { - end_column: 33 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -153,10 +148,7 @@ body { } name: "key" src { - end_column: 44 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 23 start_line: 31 } } @@ -168,8 +160,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -177,20 +171,14 @@ body { pos_args { string_val { src { - end_column: 56 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 46 start_line: 31 } v: "STR" } } src { - end_column: 56 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 46 start_line: 31 } } @@ -200,10 +188,7 @@ body { } name: "value" src { - end_column: 69 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 46 start_line: 31 } } @@ -216,10 +201,7 @@ body { } } src { - end_column: 70 - end_line: 31 file: "SRC_POSITION_TEST_MODE" - start_column: 13 start_line: 31 } variadic: true @@ -247,8 +229,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -258,8 +242,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -267,38 +253,26 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } v: "value" } } src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } } } src { - end_column: 36 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } } } src { - end_column: 50 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } window_spec { @@ -308,10 +282,7 @@ body { n { int64_val { src { - end_column: 98 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } v: 2 @@ -320,10 +291,7 @@ body { } } src { - end_column: 98 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } start { @@ -336,8 +304,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -345,29 +315,20 @@ body { pos_args { string_val { src { - end_column: 62 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } v: "key" } } src { - end_column: 62 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } } } src { - end_column: 62 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } wnd { @@ -377,8 +338,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -386,38 +349,26 @@ body { pos_args { string_val { src { - end_column: 46 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } v: "value" } } src { - end_column: 46 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } } } src { - end_column: 46 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } wnd { sp_window_spec_empty { src { - end_column: 46 - end_line: 33 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 33 } } @@ -435,10 +386,7 @@ body { } name: "window1" src { - end_column: 65 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 37 } } @@ -452,8 +400,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -463,8 +413,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -472,38 +424,26 @@ body { pos_args { string_val { src { - end_column: 79 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 67 start_line: 37 } v: "value" } } src { - end_column: 79 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 67 start_line: 37 } } } src { - end_column: 79 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 67 start_line: 37 } } } src { - end_column: 93 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 67 start_line: 37 } window_spec { @@ -512,10 +452,7 @@ body { sp_window_relative_position__unbounded_following: true } src { - end_column: 122 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 35 } start { @@ -530,8 +467,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -539,20 +478,14 @@ body { pos_args { string_val { src { - end_column: 44 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 35 } v: "key" } } src { - end_column: 44 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 35 } } @@ -561,28 +494,19 @@ body { sp_null_order_default: true } src { - end_column: 51 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 34 start_line: 35 } } } src { - end_column: 52 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 35 } wnd { sp_window_spec_empty { src { - end_column: 52 - end_line: 35 file: "SRC_POSITION_TEST_MODE" - start_column: 18 start_line: 35 } } @@ -598,10 +522,7 @@ body { } name: "window2" src { - end_column: 108 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 67 start_line: 37 } } @@ -614,10 +535,7 @@ body { } } src { - end_column: 109 - end_line: 37 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 37 } variadic: true @@ -643,8 +561,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "stddev" + name { + sp_name_flat { + name: "stddev" + } } } } @@ -654,8 +574,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -663,38 +585,26 @@ body { pos_args { string_val { src { - end_column: 39 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 39 } v: "value" } } src { - end_column: 39 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 39 } } } src { - end_column: 39 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 39 } } } src { - end_column: 67 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 39 } window_spec { @@ -704,8 +614,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -713,38 +625,26 @@ body { pos_args { string_val { src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 39 } v: "key" } } src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 39 } } } src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 39 } wnd { sp_window_spec_empty { src { - end_column: 66 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 39 } } @@ -761,10 +661,7 @@ body { } } src { - end_column: 68 - end_line: 39 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 39 } variadic: true @@ -790,8 +687,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "stddev" + name { + sp_name_flat { + name: "stddev" + } } } } @@ -801,8 +700,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -810,38 +711,26 @@ body { pos_args { string_val { src { - end_column: 39 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 41 } v: "value" } } src { - end_column: 39 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 41 } } } src { - end_column: 39 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 41 } } } src { - end_column: 77 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 41 } window_spec { @@ -851,8 +740,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -860,20 +751,14 @@ body { pos_args { string_val { src { - end_column: 76 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 41 } v: "key" } } src { - end_column: 76 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 41 } } @@ -883,8 +768,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -892,38 +779,26 @@ body { pos_args { string_val { src { - end_column: 76 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 41 } v: "value" } } src { - end_column: 76 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 41 } } } src { - end_column: 76 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 41 } wnd { sp_window_spec_empty { src { - end_column: 76 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 45 start_line: 41 } } @@ -940,10 +815,7 @@ body { } } src { - end_column: 78 - end_line: 41 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 41 } variadic: true @@ -969,8 +841,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -980,8 +854,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -989,38 +865,26 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 43 } v: "value" } } src { - end_column: 36 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 43 } } } src { - end_column: 36 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 43 } } } src { - end_column: 68 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 43 } window_spec { @@ -1030,8 +894,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1039,38 +905,26 @@ body { pos_args { string_val { src { - end_column: 67 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 43 } v: "key" } } src { - end_column: 67 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 43 } } } src { - end_column: 67 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 43 } wnd { sp_window_spec_empty { src { - end_column: 67 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 43 } } @@ -1087,10 +941,7 @@ body { } } src { - end_column: 69 - end_line: 43 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 43 } variadic: true @@ -1116,8 +967,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -1127,8 +980,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1136,38 +991,26 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 45 } v: "value" } } src { - end_column: 36 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 45 } } } src { - end_column: 36 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 45 } } } src { - end_column: 69 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 45 } window_spec { @@ -1177,8 +1020,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1186,38 +1031,26 @@ body { pos_args { string_val { src { - end_column: 68 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 45 } v: "key" } } src { - end_column: 68 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 45 } } } src { - end_column: 68 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 45 } wnd { sp_window_spec_empty { src { - end_column: 68 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 45 } } @@ -1234,10 +1067,7 @@ body { } } src { - end_column: 70 - end_line: 45 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 45 } variadic: true @@ -1263,8 +1093,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -1274,8 +1106,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1283,38 +1117,26 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 47 } v: "value" } } src { - end_column: 36 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 47 } } } src { - end_column: 36 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 47 } } } src { - end_column: 68 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 47 } window_spec { @@ -1324,10 +1146,7 @@ body { n { int64_val { src { - end_column: 67 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 47 } v: 2 @@ -1336,10 +1155,7 @@ body { } } src { - end_column: 67 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 47 } start { @@ -1347,10 +1163,7 @@ body { n { int64_val { src { - end_column: 67 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 47 } } @@ -1360,10 +1173,7 @@ body { wnd { sp_window_spec_empty { src { - end_column: 67 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 47 } } @@ -1380,10 +1190,7 @@ body { } } src { - end_column: 69 - end_line: 47 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 47 } variadic: true @@ -1409,8 +1216,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -1420,8 +1229,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1429,38 +1240,26 @@ body { pos_args { string_val { src { - end_column: 36 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 49 } v: "value" } } src { - end_column: 36 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 49 } } } src { - end_column: 36 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 49 } } } src { - end_column: 69 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 24 start_line: 49 } window_spec { @@ -1470,10 +1269,7 @@ body { n { int64_val { src { - end_column: 68 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 49 } v: 2 @@ -1482,10 +1278,7 @@ body { } } src { - end_column: 68 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 49 } start { @@ -1493,10 +1286,7 @@ body { n { int64_val { src { - end_column: 68 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 49 } v: 1 @@ -1507,10 +1297,7 @@ body { wnd { sp_window_spec_empty { src { - end_column: 68 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 42 start_line: 49 } } @@ -1527,10 +1314,7 @@ body { } } src { - end_column: 70 - end_line: 49 file: "SRC_POSITION_TEST_MODE" - start_column: 14 start_line: 49 } variadic: true @@ -1556,8 +1340,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -1567,8 +1353,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1576,38 +1364,26 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 51 } v: "value" } } src { - end_column: 37 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 51 } } } src { - end_column: 37 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 51 } } } src { - end_column: 68 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 51 } window_spec { @@ -1617,10 +1393,7 @@ body { n { int64_val { src { - end_column: 67 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 51 } v: 2 @@ -1629,10 +1402,7 @@ body { } } src { - end_column: 67 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 51 } start { @@ -1640,10 +1410,7 @@ body { n { int64_val { src { - end_column: 67 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 51 } } @@ -1653,10 +1420,7 @@ body { wnd { sp_window_spec_empty { src { - end_column: 67 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 51 } } @@ -1673,10 +1437,7 @@ body { } } src { - end_column: 69 - end_line: 51 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 51 } variadic: true @@ -1702,8 +1463,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -1713,8 +1476,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1722,38 +1487,26 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 53 } v: "value" } } src { - end_column: 37 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 53 } } } src { - end_column: 37 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 53 } } } src { - end_column: 69 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 53 } window_spec { @@ -1763,10 +1516,7 @@ body { n { int64_val { src { - end_column: 68 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 53 } v: 2 @@ -1775,10 +1525,7 @@ body { } } src { - end_column: 68 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 53 } start { @@ -1786,10 +1533,7 @@ body { n { int64_val { src { - end_column: 68 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 53 } v: 1 @@ -1800,10 +1544,7 @@ body { wnd { sp_window_spec_empty { src { - end_column: 68 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 53 } } @@ -1820,10 +1561,7 @@ body { } } src { - end_column: 70 - end_line: 53 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 53 } variadic: true @@ -1849,8 +1587,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -1860,8 +1600,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1869,38 +1611,26 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 55 } v: "value" } } src { - end_column: 37 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 55 } } } src { - end_column: 37 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 55 } } } src { - end_column: 111 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 55 } window_spec { @@ -1909,10 +1639,7 @@ body { sp_window_relative_position__unbounded_following: true } src { - end_column: 110 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 55 } start { @@ -1921,10 +1648,7 @@ body { wnd { sp_window_spec_empty { src { - end_column: 110 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 55 } } @@ -1941,10 +1665,7 @@ body { } } src { - end_column: 112 - end_line: 55 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 55 } variadic: true @@ -1970,8 +1691,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -1981,8 +1704,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -1990,38 +1715,26 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 57 } v: "value" } } src { - end_column: 37 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 57 } } } src { - end_column: 37 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 57 } } } src { - end_column: 110 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 57 } window_spec { @@ -2030,10 +1743,7 @@ body { sp_window_relative_position__unbounded_preceding: true } src { - end_column: 109 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 57 } start { @@ -2042,10 +1752,7 @@ body { wnd { sp_window_spec_empty { src { - end_column: 109 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 57 } } @@ -2062,10 +1769,7 @@ body { } } src { - end_column: 111 - end_line: 57 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 57 } variadic: true @@ -2091,8 +1795,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -2102,8 +1808,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2111,38 +1819,26 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 59 } v: "value" } } src { - end_column: 37 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 59 } } } src { - end_column: 37 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 59 } } } src { - end_column: 110 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 59 } window_spec { @@ -2151,10 +1847,7 @@ body { sp_window_relative_position__unbounded_following: true } src { - end_column: 109 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 59 } start { @@ -2163,10 +1856,7 @@ body { wnd { sp_window_spec_empty { src { - end_column: 109 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 59 } } @@ -2183,10 +1873,7 @@ body { } } src { - end_column: 111 - end_line: 59 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 59 } variadic: true @@ -2212,8 +1899,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -2223,8 +1912,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2232,38 +1923,26 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 61 } v: "value" } } src { - end_column: 37 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 61 } } } src { - end_column: 37 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 61 } } } src { - end_column: 109 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 61 } window_spec { @@ -2272,10 +1951,7 @@ body { sp_window_relative_position__unbounded_preceding: true } src { - end_column: 108 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 61 } start { @@ -2284,10 +1960,7 @@ body { wnd { sp_window_spec_empty { src { - end_column: 108 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 43 start_line: 61 } } @@ -2304,10 +1977,7 @@ body { } } src { - end_column: 110 - end_line: 61 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 61 } variadic: true @@ -2333,8 +2003,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -2344,8 +2016,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2353,38 +2027,26 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 63 } v: "value" } } src { - end_column: 37 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 63 } } } src { - end_column: 37 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 63 } } } src { - end_column: 44 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 63 } } @@ -2397,10 +2059,7 @@ body { } } src { - end_column: 45 - end_line: 63 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 63 } variadic: true @@ -2428,8 +2087,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "avg" + name { + sp_name_flat { + name: "avg" + } } } } @@ -2439,8 +2100,10 @@ body { fn { builtin_fn { name { - fn_name_flat { - name: "col" + name { + sp_name_flat { + name: "col" + } } } } @@ -2448,38 +2111,26 @@ body { pos_args { string_val { src { - end_column: 37 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 65 } v: "value" } } src { - end_column: 37 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 65 } } } src { - end_column: 37 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 65 } } } src { - end_column: 44 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 65 } } @@ -2489,10 +2140,7 @@ body { } name: "window1" src { - end_column: 59 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 25 start_line: 65 } } @@ -2505,10 +2153,7 @@ body { } } src { - end_column: 60 - end_line: 65 file: "SRC_POSITION_TEST_MODE" - start_column: 15 start_line: 65 } variadic: true diff --git a/tests/unit/ast/test_utils.py b/tests/unit/ast/test_utils.py index e889cd41fad..c1426fd9272 100644 --- a/tests/unit/ast/test_utils.py +++ b/tests/unit/ast/test_utils.py @@ -6,7 +6,12 @@ import pytest -from snowflake.snowpark._internal.ast.utils import build_expr_from_python_val +from snowflake.snowpark._internal.ast.utils import ( + build_expr_from_python_val, + build_sp_table_name, + build_sp_view_name, + build_sp_name, +) from snowflake.snowpark._internal.proto.generated import ast_pb2 as proto @@ -45,3 +50,38 @@ def test_build_expr_from_python_val_tuple(): assert expr.tuple_val.vs[0].int64_val.v == 1 assert expr.tuple_val.vs[1].int64_val.v == 2 assert expr.tuple_val.vs[2].int64_val.v == 3 + + +def test_build_sp_name(): + expr = proto.SpName() + build_sp_name("foo", expr) + assert expr.HasField("sp_name_flat") + assert expr.sp_name_flat.name == "foo" + expr = proto.SpName() + build_sp_name(["foo", "bar", "baz"], expr) + assert expr.HasField("sp_name_structured") + assert expr.sp_name_structured.name == ["foo", "bar", "baz"] + try: + expr = proto.SpName() + build_sp_name(123, expr) + raise AssertionError("Expected the previous call to raise an exception") + except ValueError: + pass + + +def test_build_sp_table_name_error(): + try: + expr = proto.SpNameRef() + build_sp_table_name(expr, 42) + raise AssertionError("Expected the previous call to raise an exception") + except ValueError as e: + assert "Invalid table name" in str(e) + + +def test_build_sp_view_name_error(): + try: + expr = proto.SpNameRef() + build_sp_view_name(expr, 42) + raise AssertionError("Expected the previous call to raise an exception") + except ValueError as e: + assert "Invalid view name" in str(e)