duckdb 0.7.2-dev314.0 → 0.7.2-dev3154.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binding.gyp +36 -19
- package/lib/duckdb.d.ts +55 -2
- package/lib/duckdb.js +20 -1
- package/package.json +2 -2
- package/src/connection.cpp +14 -15
- package/src/data_chunk.cpp +14 -2
- package/src/database.cpp +15 -16
- package/src/duckdb/extension/icu/icu-dateadd.cpp +5 -5
- package/src/duckdb/extension/icu/icu-datefunc.cpp +23 -11
- package/src/duckdb/extension/icu/icu-datepart.cpp +76 -22
- package/src/duckdb/extension/icu/icu-datesub.cpp +4 -4
- package/src/duckdb/extension/icu/icu-datetrunc.cpp +2 -2
- package/src/duckdb/extension/icu/icu-extension.cpp +37 -34
- package/src/duckdb/extension/icu/icu-list-range.cpp +207 -0
- package/src/duckdb/extension/icu/icu-makedate.cpp +54 -2
- package/src/duckdb/extension/icu/icu-strptime.cpp +138 -50
- package/src/duckdb/extension/icu/icu-table-range.cpp +12 -12
- package/src/duckdb/extension/icu/icu-timebucket.cpp +7 -7
- package/src/duckdb/extension/icu/icu-timezone.cpp +23 -22
- package/src/duckdb/extension/icu/include/icu-datefunc.hpp +10 -8
- package/src/duckdb/extension/icu/include/icu-list-range.hpp +17 -0
- package/src/duckdb/extension/icu/third_party/icu/common/unicode/localpointer.h +22 -22
- package/src/duckdb/extension/icu/third_party/icu/i18n/calendar.cpp +4 -0
- package/src/duckdb/extension/icu/third_party/icu/i18n/dangical.cpp +28 -28
- package/src/duckdb/extension/icu/third_party/icu/i18n/dangical.h +4 -4
- package/src/duckdb/extension/icu/third_party/icu/i18n/unicode/numberformatter.h +1 -1
- package/src/duckdb/extension/icu/third_party/icu/stubdata/stubdata.cpp +1 -1
- package/src/duckdb/extension/json/buffered_json_reader.cpp +3 -3
- package/src/duckdb/extension/json/include/buffered_json_reader.hpp +5 -5
- package/src/duckdb/extension/json/include/json_common.hpp +2 -1
- package/src/duckdb/extension/json/include/json_deserializer.hpp +93 -0
- package/src/duckdb/extension/json/include/json_executors.hpp +2 -2
- package/src/duckdb/extension/json/include/json_functions.hpp +37 -32
- package/src/duckdb/extension/json/include/json_scan.hpp +10 -11
- package/src/duckdb/extension/json/include/json_serializer.hpp +89 -0
- package/src/duckdb/extension/json/include/json_structure.hpp +1 -1
- package/src/duckdb/extension/json/include/json_transform.hpp +1 -1
- package/src/duckdb/extension/json/json-extension.cpp +14 -18
- package/src/duckdb/extension/json/json_deserializer.cpp +306 -0
- package/src/duckdb/extension/json/json_functions/copy_json.cpp +21 -21
- package/src/duckdb/extension/json/json_functions/json_array_length.cpp +2 -3
- package/src/duckdb/extension/json/json_functions/json_contains.cpp +2 -2
- package/src/duckdb/extension/json/json_functions/json_create.cpp +48 -47
- package/src/duckdb/extension/json/json_functions/json_extract.cpp +4 -6
- package/src/duckdb/extension/json/json_functions/json_keys.cpp +2 -3
- package/src/duckdb/extension/json/json_functions/json_merge_patch.cpp +4 -4
- package/src/duckdb/extension/json/json_functions/json_serialize_sql.cpp +277 -0
- package/src/duckdb/extension/json/json_functions/json_structure.cpp +6 -6
- package/src/duckdb/extension/json/json_functions/json_transform.cpp +11 -10
- package/src/duckdb/extension/json/json_functions/json_type.cpp +2 -3
- package/src/duckdb/extension/json/json_functions/json_valid.cpp +2 -2
- package/src/duckdb/extension/json/json_functions/read_json.cpp +30 -39
- package/src/duckdb/extension/json/json_functions/read_json_objects.cpp +4 -4
- package/src/duckdb/extension/json/json_functions.cpp +41 -24
- package/src/duckdb/extension/json/json_scan.cpp +9 -32
- package/src/duckdb/extension/json/json_serializer.cpp +253 -0
- package/src/duckdb/extension/parquet/column_reader.cpp +158 -94
- package/src/duckdb/extension/parquet/column_writer.cpp +109 -108
- package/src/duckdb/extension/parquet/include/boolean_column_reader.hpp +5 -3
- package/src/duckdb/extension/parquet/include/callback_column_reader.hpp +3 -0
- package/src/duckdb/extension/parquet/include/cast_column_reader.hpp +7 -4
- package/src/duckdb/extension/parquet/include/column_reader.hpp +25 -8
- package/src/duckdb/extension/parquet/include/column_writer.hpp +7 -8
- package/src/duckdb/extension/parquet/include/decode_utils.hpp +5 -4
- package/src/duckdb/extension/parquet/include/list_column_reader.hpp +6 -4
- package/src/duckdb/extension/parquet/include/parquet_dbp_decoder.hpp +3 -3
- package/src/duckdb/extension/parquet/include/parquet_decimal_utils.hpp +3 -3
- package/src/duckdb/extension/parquet/include/parquet_file_metadata_cache.hpp +2 -2
- package/src/duckdb/extension/parquet/include/parquet_metadata.hpp +1 -0
- package/src/duckdb/extension/parquet/include/parquet_reader.hpp +27 -52
- package/src/duckdb/extension/parquet/include/parquet_statistics.hpp +2 -2
- package/src/duckdb/extension/parquet/include/parquet_support.hpp +10 -9
- package/src/duckdb/extension/parquet/include/parquet_timestamp.hpp +2 -1
- package/src/duckdb/extension/parquet/include/parquet_writer.hpp +10 -3
- package/src/duckdb/extension/parquet/include/row_number_column_reader.hpp +6 -3
- package/src/duckdb/extension/parquet/include/string_column_reader.hpp +4 -1
- package/src/duckdb/extension/parquet/include/struct_column_reader.hpp +7 -3
- package/src/duckdb/extension/parquet/include/templated_column_reader.hpp +3 -0
- package/src/duckdb/extension/parquet/include/zstd_file_system.hpp +2 -2
- package/src/duckdb/extension/parquet/parquet-extension.cpp +175 -282
- package/src/duckdb/extension/parquet/parquet_metadata.cpp +57 -39
- package/src/duckdb/extension/parquet/parquet_reader.cpp +120 -255
- package/src/duckdb/extension/parquet/parquet_statistics.cpp +31 -9
- package/src/duckdb/extension/parquet/parquet_timestamp.cpp +16 -6
- package/src/duckdb/extension/parquet/parquet_writer.cpp +24 -10
- package/src/duckdb/extension/parquet/zstd_file_system.cpp +4 -4
- package/src/duckdb/src/catalog/catalog.cpp +211 -142
- package/src/duckdb/src/catalog/catalog_entry/copy_function_catalog_entry.cpp +3 -3
- package/src/duckdb/src/catalog/catalog_entry/duck_index_entry.cpp +4 -4
- package/src/duckdb/src/catalog/catalog_entry/duck_schema_entry.cpp +100 -92
- package/src/duckdb/src/catalog/catalog_entry/duck_table_entry.cpp +100 -125
- package/src/duckdb/src/catalog/catalog_entry/index_catalog_entry.cpp +8 -8
- package/src/duckdb/src/catalog/catalog_entry/pragma_function_catalog_entry.cpp +3 -4
- package/src/duckdb/src/catalog/catalog_entry/scalar_function_catalog_entry.cpp +8 -8
- package/src/duckdb/src/catalog/catalog_entry/scalar_macro_catalog_entry.cpp +19 -19
- package/src/duckdb/src/catalog/catalog_entry/schema_catalog_entry.cpp +9 -9
- package/src/duckdb/src/catalog/catalog_entry/sequence_catalog_entry.cpp +9 -9
- package/src/duckdb/src/catalog/catalog_entry/table_catalog_entry.cpp +30 -20
- package/src/duckdb/src/catalog/catalog_entry/table_function_catalog_entry.cpp +8 -9
- package/src/duckdb/src/catalog/catalog_entry/type_catalog_entry.cpp +16 -10
- package/src/duckdb/src/catalog/catalog_entry/view_catalog_entry.cpp +27 -27
- package/src/duckdb/src/catalog/catalog_entry.cpp +29 -8
- package/src/duckdb/src/catalog/catalog_search_path.cpp +2 -2
- package/src/duckdb/src/catalog/catalog_set.cpp +132 -132
- package/src/duckdb/src/catalog/catalog_transaction.cpp +5 -1
- package/src/duckdb/src/catalog/default/default_functions.cpp +17 -11
- package/src/duckdb/src/catalog/default/default_schemas.cpp +1 -1
- package/src/duckdb/src/catalog/default/default_types.cpp +4 -4
- package/src/duckdb/src/catalog/default/default_views.cpp +5 -5
- package/src/duckdb/src/catalog/dependency_list.cpp +15 -2
- package/src/duckdb/src/catalog/dependency_manager.cpp +51 -46
- package/src/duckdb/src/catalog/duck_catalog.cpp +64 -26
- package/src/duckdb/src/catalog/similar_catalog_entry.cpp +1 -1
- package/src/duckdb/src/common/adbc/adbc.cpp +444 -0
- package/src/duckdb/src/common/adbc/driver_manager.cpp +749 -0
- package/src/duckdb/src/common/allocator.cpp +2 -2
- package/src/duckdb/src/common/arrow/arrow_appender.cpp +125 -56
- package/src/duckdb/src/common/arrow/arrow_converter.cpp +7 -7
- package/src/duckdb/src/common/arrow/arrow_wrapper.cpp +21 -3
- package/src/duckdb/src/common/box_renderer.cpp +113 -25
- package/src/duckdb/src/common/compressed_file_system.cpp +15 -0
- package/src/duckdb/src/common/constants.cpp +10 -1
- package/src/duckdb/src/common/enum_util.cpp +5908 -0
- package/src/duckdb/src/common/enums/date_part_specifier.cpp +82 -0
- package/src/duckdb/src/common/enums/expression_type.cpp +83 -85
- package/src/duckdb/src/common/enums/join_type.cpp +6 -24
- package/src/duckdb/src/common/enums/logical_operator_type.cpp +4 -0
- package/src/duckdb/src/common/enums/physical_operator_type.cpp +8 -0
- package/src/duckdb/src/common/exception.cpp +20 -2
- package/src/duckdb/src/common/exception_format_value.cpp +1 -1
- package/src/duckdb/src/common/field_writer.cpp +2 -1
- package/src/duckdb/src/common/file_buffer.cpp +8 -0
- package/src/duckdb/src/common/file_system.cpp +5 -3
- package/src/duckdb/src/common/filename_pattern.cpp +41 -0
- package/src/duckdb/src/common/gzip_file_system.cpp +69 -5
- package/src/duckdb/src/common/hive_partitioning.cpp +150 -19
- package/src/duckdb/src/common/local_file_system.cpp +80 -14
- package/src/duckdb/src/common/multi_file_reader.cpp +390 -0
- package/src/duckdb/src/common/operator/cast_operators.cpp +25 -26
- package/src/duckdb/src/common/pipe_file_system.cpp +2 -1
- package/src/duckdb/src/common/preserved_error.cpp +7 -5
- package/src/duckdb/src/common/progress_bar/progress_bar.cpp +8 -1
- package/src/duckdb/src/common/radix_partitioning.cpp +115 -349
- package/src/duckdb/src/common/random_engine.cpp +1 -1
- package/src/duckdb/src/common/re2_regex.cpp +4 -4
- package/src/duckdb/src/common/row_operations/row_aggregate.cpp +22 -17
- package/src/duckdb/src/common/row_operations/row_external.cpp +1 -1
- package/src/duckdb/src/common/row_operations/row_gather.cpp +5 -3
- package/src/duckdb/src/common/row_operations/row_heap_scatter.cpp +2 -2
- package/src/duckdb/src/common/row_operations/row_match.cpp +117 -22
- package/src/duckdb/src/common/row_operations/row_scatter.cpp +7 -5
- package/src/duckdb/src/common/serializer/binary_deserializer.cpp +143 -0
- package/src/duckdb/src/common/serializer/binary_serializer.cpp +160 -0
- package/src/duckdb/src/common/serializer/buffered_deserializer.cpp +4 -0
- package/src/duckdb/src/common/serializer/buffered_file_reader.cpp +21 -3
- package/src/duckdb/src/common/sort/comparators.cpp +14 -5
- package/src/duckdb/src/common/sort/merge_sorter.cpp +3 -3
- package/src/duckdb/src/common/sort/partition_state.cpp +564 -0
- package/src/duckdb/src/common/sort/sort_state.cpp +13 -12
- package/src/duckdb/src/common/sort/sorted_block.cpp +23 -18
- package/src/duckdb/src/common/string_util.cpp +49 -4
- package/src/duckdb/src/common/tree_renderer.cpp +7 -9
- package/src/duckdb/src/common/types/batched_data_collection.cpp +5 -4
- package/src/duckdb/src/common/types/bit.cpp +107 -65
- package/src/duckdb/src/common/types/blob.cpp +10 -10
- package/src/duckdb/src/common/types/chunk_collection.cpp +4 -4
- package/src/duckdb/src/common/types/{column_data_allocator.cpp → column/column_data_allocator.cpp} +4 -3
- package/src/duckdb/src/common/types/{column_data_collection.cpp → column/column_data_collection.cpp} +68 -8
- package/src/duckdb/src/common/types/{column_data_collection_segment.cpp → column/column_data_collection_segment.cpp} +14 -11
- package/src/duckdb/src/common/types/{column_data_consumer.cpp → column/column_data_consumer.cpp} +1 -1
- package/src/duckdb/src/common/types/{partitioned_column_data.cpp → column/partitioned_column_data.cpp} +14 -12
- package/src/duckdb/src/common/types/conflict_manager.cpp +5 -4
- package/src/duckdb/src/common/types/data_chunk.cpp +1 -1
- package/src/duckdb/src/common/types/hash.cpp +1 -1
- package/src/duckdb/src/common/types/hyperloglog.cpp +3 -3
- package/src/duckdb/src/common/types/interval.cpp +0 -41
- package/src/duckdb/src/common/types/list_segment.cpp +658 -0
- package/src/duckdb/src/common/types/row/partitioned_tuple_data.cpp +316 -0
- package/src/duckdb/src/common/types/{row_data_collection.cpp → row/row_data_collection.cpp} +2 -2
- package/src/duckdb/src/common/types/{row_data_collection_scanner.cpp → row/row_data_collection_scanner.cpp} +3 -3
- package/src/duckdb/src/common/types/{row_layout.cpp → row/row_layout.cpp} +1 -1
- package/src/duckdb/src/common/types/row/tuple_data_allocator.cpp +465 -0
- package/src/duckdb/src/common/types/row/tuple_data_collection.cpp +511 -0
- package/src/duckdb/src/common/types/row/tuple_data_iterator.cpp +96 -0
- package/src/duckdb/src/common/types/row/tuple_data_layout.cpp +119 -0
- package/src/duckdb/src/common/types/row/tuple_data_scatter_gather.cpp +1200 -0
- package/src/duckdb/src/common/types/row/tuple_data_segment.cpp +170 -0
- package/src/duckdb/src/common/types/string_heap.cpp +3 -3
- package/src/duckdb/src/common/types/string_type.cpp +3 -3
- package/src/duckdb/src/common/types/time.cpp +13 -0
- package/src/duckdb/src/common/types/timestamp.cpp +1 -1
- package/src/duckdb/src/common/types/validity_mask.cpp +24 -7
- package/src/duckdb/src/common/types/value.cpp +184 -101
- package/src/duckdb/src/common/types/vector.cpp +347 -154
- package/src/duckdb/src/common/types/vector_buffer.cpp +4 -4
- package/src/duckdb/src/common/types/vector_cache.cpp +4 -4
- package/src/duckdb/src/common/types.cpp +326 -175
- package/src/duckdb/src/common/value_operations/comparison_operations.cpp +14 -22
- package/src/duckdb/src/common/vector_operations/comparison_operators.cpp +10 -10
- package/src/duckdb/src/common/vector_operations/is_distinct_from.cpp +13 -12
- package/src/duckdb/src/common/vector_operations/vector_cast.cpp +2 -1
- package/src/duckdb/src/common/vector_operations/vector_copy.cpp +14 -11
- package/src/duckdb/src/common/virtual_file_system.cpp +1 -1
- package/src/duckdb/src/{function → core_functions}/aggregate/algebraic/avg.cpp +13 -16
- package/src/duckdb/src/core_functions/aggregate/algebraic/corr.cpp +13 -0
- package/src/duckdb/src/core_functions/aggregate/algebraic/covar.cpp +21 -0
- package/src/duckdb/src/core_functions/aggregate/algebraic/stddev.cpp +34 -0
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/approx_count.cpp +4 -4
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/arg_min_max.cpp +10 -26
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/bitagg.cpp +13 -13
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/bitstring_agg.cpp +33 -18
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/bool.cpp +3 -17
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/entropy.cpp +6 -5
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/kurtosis.cpp +8 -8
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/minmax.cpp +30 -30
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/product.cpp +2 -11
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/skew.cpp +10 -7
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/string_agg.cpp +13 -15
- package/src/duckdb/src/{function → core_functions}/aggregate/distributive/sum.cpp +44 -44
- package/src/duckdb/src/{function → core_functions}/aggregate/holistic/approximate_quantile.cpp +14 -12
- package/src/duckdb/src/{function → core_functions}/aggregate/holistic/mode.cpp +6 -7
- package/src/duckdb/src/{function → core_functions}/aggregate/holistic/quantile.cpp +56 -33
- package/src/duckdb/src/{function → core_functions}/aggregate/holistic/reservoir_quantile.cpp +10 -11
- package/src/duckdb/src/{function → core_functions}/aggregate/nested/histogram.cpp +6 -6
- package/src/duckdb/src/core_functions/aggregate/nested/list.cpp +190 -0
- package/src/duckdb/src/{function → core_functions}/aggregate/regression/regr_avg.cpp +7 -11
- package/src/duckdb/src/{function → core_functions}/aggregate/regression/regr_count.cpp +4 -4
- package/src/duckdb/src/{function → core_functions}/aggregate/regression/regr_intercept.cpp +5 -8
- package/src/duckdb/src/{function → core_functions}/aggregate/regression/regr_r2.cpp +5 -7
- package/src/duckdb/src/{function → core_functions}/aggregate/regression/regr_slope.cpp +5 -7
- package/src/duckdb/src/{function → core_functions}/aggregate/regression/regr_sxx_syy.cpp +8 -12
- package/src/duckdb/src/{function → core_functions}/aggregate/regression/regr_sxy.cpp +6 -8
- package/src/duckdb/src/core_functions/core_functions.cpp +50 -0
- package/src/duckdb/src/core_functions/function_list.cpp +355 -0
- package/src/duckdb/src/{function → core_functions}/scalar/bit/bitstring.cpp +16 -18
- package/src/duckdb/src/{function → core_functions}/scalar/blob/base64.cpp +6 -6
- package/src/duckdb/src/{function → core_functions}/scalar/blob/encode.cpp +8 -7
- package/src/duckdb/src/{function → core_functions}/scalar/date/age.cpp +3 -3
- package/src/duckdb/src/{function → core_functions}/scalar/date/current.cpp +8 -10
- package/src/duckdb/src/{function → core_functions}/scalar/date/date_diff.cpp +3 -6
- package/src/duckdb/src/{function → core_functions}/scalar/date/date_part.cpp +153 -156
- package/src/duckdb/src/{function → core_functions}/scalar/date/date_sub.cpp +3 -6
- package/src/duckdb/src/{function → core_functions}/scalar/date/date_trunc.cpp +5 -8
- package/src/duckdb/src/{function → core_functions}/scalar/date/epoch.cpp +7 -8
- package/src/duckdb/src/{function → core_functions}/scalar/date/make_date.cpp +14 -14
- package/src/duckdb/src/core_functions/scalar/date/strftime.cpp +251 -0
- package/src/duckdb/src/{function → core_functions}/scalar/date/time_bucket.cpp +4 -5
- package/src/duckdb/src/{function → core_functions}/scalar/date/to_interval.cpp +39 -19
- package/src/duckdb/src/{function/scalar/enum/enum_functions_implementation.cpp → core_functions/scalar/enum/enum_functions.cpp} +18 -22
- package/src/duckdb/src/{function → core_functions}/scalar/generic/alias.cpp +5 -5
- package/src/duckdb/src/{function → core_functions}/scalar/generic/current_setting.cpp +9 -10
- package/src/duckdb/src/core_functions/scalar/generic/error.cpp +21 -0
- package/src/duckdb/src/{function → core_functions}/scalar/generic/hash.cpp +4 -4
- package/src/duckdb/src/{function → core_functions}/scalar/generic/least.cpp +8 -9
- package/src/duckdb/src/{function → core_functions}/scalar/generic/stats.cpp +9 -9
- package/src/duckdb/src/{function/scalar/system → core_functions/scalar/generic}/system_functions.cpp +24 -13
- package/src/duckdb/src/{function → core_functions}/scalar/generic/typeof.cpp +4 -4
- package/src/duckdb/src/{function → core_functions}/scalar/list/array_slice.cpp +4 -14
- package/src/duckdb/src/{function → core_functions}/scalar/list/flatten.cpp +7 -7
- package/src/duckdb/src/{function → core_functions}/scalar/list/list_aggregates.cpp +18 -29
- package/src/duckdb/src/{function → core_functions}/scalar/list/list_lambdas.cpp +18 -29
- package/src/duckdb/src/{function → core_functions}/scalar/list/list_sort.cpp +47 -81
- package/src/duckdb/src/{function → core_functions}/scalar/list/list_value.cpp +6 -7
- package/src/duckdb/src/{function → core_functions}/scalar/list/range.cpp +8 -6
- package/src/duckdb/src/{function → core_functions}/scalar/map/cardinality.cpp +6 -5
- package/src/duckdb/src/{function → core_functions}/scalar/map/map.cpp +54 -65
- package/src/duckdb/src/core_functions/scalar/map/map_concat.cpp +186 -0
- package/src/duckdb/src/{function → core_functions}/scalar/map/map_entries.cpp +7 -6
- package/src/duckdb/src/core_functions/scalar/map/map_extract.cpp +152 -0
- package/src/duckdb/src/{function → core_functions}/scalar/map/map_from_entries.cpp +7 -6
- package/src/duckdb/src/{function → core_functions}/scalar/map/map_keys_values.cpp +9 -8
- package/src/duckdb/src/{function → core_functions}/scalar/math/numeric.cpp +242 -126
- package/src/duckdb/src/{function → core_functions}/scalar/operators/bitwise.cpp +19 -20
- package/src/duckdb/src/{function/scalar/math → core_functions/scalar/random}/random.cpp +8 -9
- package/src/duckdb/src/{function/scalar/math → core_functions/scalar/random}/setseed.cpp +7 -7
- package/src/duckdb/src/{function → core_functions}/scalar/string/ascii.cpp +5 -6
- package/src/duckdb/src/{function → core_functions}/scalar/string/bar.cpp +4 -4
- package/src/duckdb/src/{function → core_functions}/scalar/string/chr.cpp +5 -6
- package/src/duckdb/src/core_functions/scalar/string/damerau_levenshtein.cpp +104 -0
- package/src/duckdb/src/core_functions/scalar/string/format_bytes.cpp +29 -0
- package/src/duckdb/src/{function/scalar/string/mismatches.cpp → core_functions/scalar/string/hamming.cpp} +5 -14
- package/src/duckdb/src/core_functions/scalar/string/hex.cpp +374 -0
- package/src/duckdb/src/{function → core_functions}/scalar/string/instr.cpp +7 -14
- package/src/duckdb/src/{function → core_functions}/scalar/string/jaccard.cpp +4 -7
- package/src/duckdb/src/{function → core_functions}/scalar/string/jaro_winkler.cpp +12 -11
- package/src/duckdb/src/{function → core_functions}/scalar/string/left_right.cpp +18 -11
- package/src/duckdb/src/{function → core_functions}/scalar/string/levenshtein.cpp +7 -16
- package/src/duckdb/src/{function → core_functions}/scalar/string/md5.cpp +15 -21
- package/src/duckdb/src/{function → core_functions}/scalar/string/pad.cpp +10 -16
- package/src/duckdb/src/{function → core_functions}/scalar/string/printf.cpp +15 -15
- package/src/duckdb/src/{function → core_functions}/scalar/string/repeat.cpp +4 -7
- package/src/duckdb/src/{function → core_functions}/scalar/string/replace.cpp +7 -10
- package/src/duckdb/src/{function → core_functions}/scalar/string/reverse.cpp +4 -4
- package/src/duckdb/src/{function → core_functions}/scalar/string/starts_with.cpp +6 -10
- package/src/duckdb/src/{function → core_functions}/scalar/string/string_split.cpp +17 -17
- package/src/duckdb/src/{function → core_functions}/scalar/string/translate.cpp +7 -10
- package/src/duckdb/src/{function → core_functions}/scalar/string/trim.cpp +22 -17
- package/src/duckdb/src/core_functions/scalar/string/unicode.cpp +28 -0
- package/src/duckdb/src/{function → core_functions}/scalar/struct/struct_insert.cpp +6 -6
- package/src/duckdb/src/{function → core_functions}/scalar/struct/struct_pack.cpp +7 -8
- package/src/duckdb/src/{function → core_functions}/scalar/union/union_extract.cpp +9 -13
- package/src/duckdb/src/{function → core_functions}/scalar/union/union_tag.cpp +4 -8
- package/src/duckdb/src/{function → core_functions}/scalar/union/union_value.cpp +6 -61
- package/src/duckdb/src/execution/adaptive_filter.cpp +1 -1
- package/src/duckdb/src/execution/aggregate_hashtable.cpp +332 -340
- package/src/duckdb/src/execution/column_binding_resolver.cpp +22 -12
- package/src/duckdb/src/execution/expression_executor/execute_between.cpp +1 -1
- package/src/duckdb/src/execution/expression_executor/execute_case.cpp +1 -1
- package/src/duckdb/src/execution/expression_executor/execute_cast.cpp +3 -2
- package/src/duckdb/src/execution/expression_executor/execute_comparison.cpp +3 -3
- package/src/duckdb/src/execution/expression_executor/execute_conjunction.cpp +6 -6
- package/src/duckdb/src/execution/expression_executor/execute_constant.cpp +1 -1
- package/src/duckdb/src/execution/expression_executor/execute_function.cpp +1 -1
- package/src/duckdb/src/execution/expression_executor/execute_operator.cpp +1 -1
- package/src/duckdb/src/execution/expression_executor/execute_parameter.cpp +1 -1
- package/src/duckdb/src/execution/expression_executor/execute_reference.cpp +1 -1
- package/src/duckdb/src/execution/expression_executor.cpp +5 -4
- package/src/duckdb/src/execution/expression_executor_state.cpp +3 -4
- package/src/duckdb/src/execution/index/art/art.cpp +309 -276
- package/src/duckdb/src/execution/index/art/art_key.cpp +24 -34
- package/src/duckdb/src/execution/index/art/fixed_size_allocator.cpp +224 -0
- package/src/duckdb/src/execution/index/art/iterator.cpp +142 -123
- package/src/duckdb/src/execution/index/art/leaf.cpp +319 -170
- package/src/duckdb/src/execution/index/art/leaf_segment.cpp +42 -0
- package/src/duckdb/src/execution/index/art/node.cpp +444 -379
- package/src/duckdb/src/execution/index/art/node16.cpp +178 -114
- package/src/duckdb/src/execution/index/art/node256.cpp +117 -79
- package/src/duckdb/src/execution/index/art/node4.cpp +169 -114
- package/src/duckdb/src/execution/index/art/node48.cpp +175 -105
- package/src/duckdb/src/execution/index/art/prefix.cpp +405 -127
- package/src/duckdb/src/execution/index/art/prefix_segment.cpp +42 -0
- package/src/duckdb/src/execution/index/art/swizzleable_pointer.cpp +10 -85
- package/src/duckdb/src/execution/join_hashtable.cpp +203 -337
- package/src/duckdb/src/execution/operator/aggregate/aggregate_object.cpp +12 -3
- package/src/duckdb/src/execution/operator/aggregate/distinct_aggregate_data.cpp +13 -13
- package/src/duckdb/src/execution/operator/aggregate/grouped_aggregate_data.cpp +4 -4
- package/src/duckdb/src/execution/operator/aggregate/physical_hash_aggregate.cpp +103 -83
- package/src/duckdb/src/execution/operator/aggregate/physical_perfecthash_aggregate.cpp +34 -28
- package/src/duckdb/src/execution/operator/aggregate/physical_streaming_window.cpp +13 -9
- package/src/duckdb/src/execution/operator/aggregate/physical_ungrouped_aggregate.cpp +71 -64
- package/src/duckdb/src/execution/operator/aggregate/physical_window.cpp +250 -816
- package/src/duckdb/src/execution/operator/filter/physical_filter.cpp +4 -4
- package/src/duckdb/src/execution/operator/helper/physical_batch_collector.cpp +12 -12
- package/src/duckdb/src/execution/operator/helper/physical_execute.cpp +3 -8
- package/src/duckdb/src/execution/operator/helper/physical_explain_analyze.cpp +8 -23
- package/src/duckdb/src/execution/operator/helper/physical_limit.cpp +22 -19
- package/src/duckdb/src/execution/operator/helper/physical_limit_percent.cpp +21 -21
- package/src/duckdb/src/execution/operator/helper/physical_load.cpp +3 -2
- package/src/duckdb/src/execution/operator/helper/physical_materialized_collector.cpp +17 -13
- package/src/duckdb/src/execution/operator/helper/physical_pragma.cpp +4 -2
- package/src/duckdb/src/execution/operator/helper/physical_prepare.cpp +4 -2
- package/src/duckdb/src/execution/operator/helper/physical_reservoir_sample.cpp +14 -12
- package/src/duckdb/src/execution/operator/helper/physical_reset.cpp +4 -3
- package/src/duckdb/src/execution/operator/helper/physical_result_collector.cpp +8 -14
- package/src/duckdb/src/execution/operator/helper/physical_set.cpp +7 -6
- package/src/duckdb/src/execution/operator/helper/physical_streaming_limit.cpp +6 -6
- package/src/duckdb/src/execution/operator/helper/physical_streaming_sample.cpp +5 -4
- package/src/duckdb/src/execution/operator/helper/physical_transaction.cpp +4 -2
- package/src/duckdb/src/execution/operator/helper/physical_vacuum.cpp +17 -14
- package/src/duckdb/src/execution/operator/join/perfect_hash_join_executor.cpp +37 -22
- package/src/duckdb/src/execution/operator/join/physical_asof_join.cpp +699 -0
- package/src/duckdb/src/execution/operator/join/physical_blockwise_nl_join.cpp +66 -42
- package/src/duckdb/src/execution/operator/join/physical_comparison_join.cpp +2 -1
- package/src/duckdb/src/execution/operator/join/physical_cross_product.cpp +9 -10
- package/src/duckdb/src/execution/operator/join/physical_delim_join.cpp +22 -21
- package/src/duckdb/src/execution/operator/join/physical_hash_join.cpp +205 -180
- package/src/duckdb/src/execution/operator/join/physical_iejoin.cpp +51 -46
- package/src/duckdb/src/execution/operator/join/physical_index_join.cpp +33 -22
- package/src/duckdb/src/execution/operator/join/physical_join.cpp +9 -20
- package/src/duckdb/src/execution/operator/join/physical_nested_loop_join.cpp +31 -29
- package/src/duckdb/src/execution/operator/join/physical_piecewise_merge_join.cpp +39 -42
- package/src/duckdb/src/execution/operator/join/physical_positional_join.cpp +13 -12
- package/src/duckdb/src/execution/operator/join/physical_range_join.cpp +5 -3
- package/src/duckdb/src/execution/operator/order/physical_order.cpp +26 -26
- package/src/duckdb/src/execution/operator/order/physical_top_n.cpp +20 -20
- package/src/duckdb/src/execution/operator/persistent/base_csv_reader.cpp +58 -50
- package/src/duckdb/src/execution/operator/persistent/buffered_csv_reader.cpp +97 -44
- package/src/duckdb/src/execution/operator/persistent/csv_buffer.cpp +17 -13
- package/src/duckdb/src/execution/operator/persistent/csv_reader_options.cpp +14 -19
- package/src/duckdb/src/execution/operator/persistent/parallel_csv_reader.cpp +139 -31
- package/src/duckdb/src/execution/operator/persistent/physical_batch_copy_to_file.cpp +209 -0
- package/src/duckdb/src/execution/operator/persistent/physical_batch_insert.cpp +196 -175
- package/src/duckdb/src/execution/operator/persistent/physical_copy_to_file.cpp +39 -52
- package/src/duckdb/src/execution/operator/persistent/physical_delete.cpp +22 -28
- package/src/duckdb/src/execution/operator/persistent/physical_export.cpp +44 -41
- package/src/duckdb/src/execution/operator/persistent/physical_fixed_batch_copy.cpp +494 -0
- package/src/duckdb/src/execution/operator/persistent/physical_insert.cpp +78 -81
- package/src/duckdb/src/execution/operator/persistent/physical_update.cpp +26 -29
- package/src/duckdb/src/execution/operator/projection/physical_pivot.cpp +81 -0
- package/src/duckdb/src/execution/operator/projection/physical_projection.cpp +37 -3
- package/src/duckdb/src/execution/operator/projection/physical_tableinout_function.cpp +7 -7
- package/src/duckdb/src/execution/operator/projection/physical_unnest.cpp +5 -6
- package/src/duckdb/src/execution/operator/scan/physical_column_data_scan.cpp +19 -11
- package/src/duckdb/src/execution/operator/scan/physical_dummy_scan.cpp +4 -19
- package/src/duckdb/src/execution/operator/scan/physical_empty_result.cpp +3 -2
- package/src/duckdb/src/execution/operator/scan/physical_expression_scan.cpp +1 -1
- package/src/duckdb/src/execution/operator/scan/physical_positional_scan.cpp +39 -15
- package/src/duckdb/src/execution/operator/scan/physical_table_scan.cpp +31 -17
- package/src/duckdb/src/execution/operator/schema/physical_alter.cpp +4 -20
- package/src/duckdb/src/execution/operator/schema/physical_attach.cpp +13 -25
- package/src/duckdb/src/execution/operator/schema/physical_create_function.cpp +5 -20
- package/src/duckdb/src/execution/operator/schema/physical_create_index.cpp +36 -36
- package/src/duckdb/src/execution/operator/schema/physical_create_schema.cpp +5 -20
- package/src/duckdb/src/execution/operator/schema/physical_create_sequence.cpp +5 -20
- package/src/duckdb/src/execution/operator/schema/physical_create_table.cpp +6 -21
- package/src/duckdb/src/execution/operator/schema/physical_create_type.cpp +41 -68
- package/src/duckdb/src/execution/operator/schema/physical_create_view.cpp +5 -20
- package/src/duckdb/src/execution/operator/schema/physical_detach.cpp +5 -20
- package/src/duckdb/src/execution/operator/schema/physical_drop.cpp +5 -21
- package/src/duckdb/src/execution/operator/set/physical_recursive_cte.cpp +27 -30
- package/src/duckdb/src/execution/operator/set/physical_union.cpp +15 -4
- package/src/duckdb/src/execution/partitionable_hashtable.cpp +32 -45
- package/src/duckdb/src/execution/perfect_aggregate_hashtable.cpp +35 -39
- package/src/duckdb/src/execution/physical_operator.cpp +33 -42
- package/src/duckdb/src/execution/physical_plan/plan_aggregate.cpp +28 -22
- package/src/duckdb/src/execution/physical_plan/plan_any_join.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_asof_join.cpp +103 -0
- package/src/duckdb/src/execution/physical_plan/plan_column_data_get.cpp +2 -4
- package/src/duckdb/src/execution/physical_plan/plan_comparison_join.cpp +103 -60
- package/src/duckdb/src/execution/physical_plan/plan_copy_to_file.cpp +38 -7
- package/src/duckdb/src/execution/physical_plan/plan_create.cpp +9 -9
- package/src/duckdb/src/execution/physical_plan/plan_create_index.cpp +16 -16
- package/src/duckdb/src/execution/physical_plan/plan_create_table.cpp +8 -7
- package/src/duckdb/src/execution/physical_plan/plan_cross_product.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_delete.cpp +4 -4
- package/src/duckdb/src/execution/physical_plan/plan_delim_get.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_delim_join.cpp +12 -13
- package/src/duckdb/src/execution/physical_plan/plan_distinct.cpp +15 -16
- package/src/duckdb/src/execution/physical_plan/plan_dummy_scan.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_empty_result.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_execute.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_explain.cpp +9 -12
- package/src/duckdb/src/execution/physical_plan/plan_export.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_expression_get.cpp +6 -6
- package/src/duckdb/src/execution/physical_plan/plan_filter.cpp +3 -3
- package/src/duckdb/src/execution/physical_plan/plan_get.cpp +12 -13
- package/src/duckdb/src/execution/physical_plan/plan_insert.cpp +28 -8
- package/src/duckdb/src/execution/physical_plan/plan_limit.cpp +6 -7
- package/src/duckdb/src/execution/physical_plan/plan_limit_percent.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_order.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_pivot.cpp +14 -0
- package/src/duckdb/src/execution/physical_plan/plan_positional_join.cpp +14 -5
- package/src/duckdb/src/execution/physical_plan/plan_pragma.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_prepare.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_projection.cpp +2 -2
- package/src/duckdb/src/execution/physical_plan/plan_recursive_cte.cpp +7 -7
- package/src/duckdb/src/execution/physical_plan/plan_reset.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_sample.cpp +6 -5
- package/src/duckdb/src/execution/physical_plan/plan_set.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_set_operation.cpp +5 -5
- package/src/duckdb/src/execution/physical_plan/plan_show_select.cpp +3 -5
- package/src/duckdb/src/execution/physical_plan/plan_simple.cpp +14 -14
- package/src/duckdb/src/execution/physical_plan/plan_top_n.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_unnest.cpp +1 -1
- package/src/duckdb/src/execution/physical_plan/plan_update.cpp +3 -3
- package/src/duckdb/src/execution/physical_plan/plan_window.cpp +13 -13
- package/src/duckdb/src/execution/physical_plan_generator.cpp +53 -43
- package/src/duckdb/src/execution/radix_partitioned_hashtable.cpp +96 -66
- package/src/duckdb/src/execution/reservoir_sample.cpp +3 -3
- package/src/duckdb/src/execution/window_segment_tree.cpp +200 -26
- package/src/duckdb/src/function/aggregate/distributive/count.cpp +1 -0
- package/src/duckdb/src/function/aggregate/distributive/first.cpp +12 -10
- package/src/duckdb/src/function/aggregate/distributive_functions.cpp +0 -17
- package/src/duckdb/src/function/aggregate/sorted_aggregate_function.cpp +289 -98
- package/src/duckdb/src/function/built_in_functions.cpp +10 -10
- package/src/duckdb/src/function/cast/cast_function_set.cpp +3 -2
- package/src/duckdb/src/function/cast/enum_casts.cpp +28 -6
- package/src/duckdb/src/function/cast/list_casts.cpp +20 -7
- package/src/duckdb/src/function/cast/map_cast.cpp +6 -3
- package/src/duckdb/src/function/cast/string_cast.cpp +40 -14
- package/src/duckdb/src/function/cast/struct_cast.cpp +28 -8
- package/src/duckdb/src/function/cast/time_casts.cpp +2 -2
- package/src/duckdb/src/function/cast/union_casts.cpp +40 -14
- package/src/duckdb/src/function/cast/vector_cast_helpers.cpp +5 -6
- package/src/duckdb/src/function/cast_rules.cpp +9 -4
- package/src/duckdb/src/function/compression_config.cpp +9 -9
- package/src/duckdb/src/function/function.cpp +4 -12
- package/src/duckdb/src/function/function_binder.cpp +10 -16
- package/src/duckdb/src/function/function_set.cpp +25 -0
- package/src/duckdb/src/function/macro_function.cpp +3 -3
- package/src/duckdb/src/function/pragma/pragma_queries.cpp +25 -2
- package/src/duckdb/src/function/pragma_function.cpp +1 -1
- package/src/duckdb/src/function/scalar/generic/constant_or_null.cpp +6 -6
- package/src/duckdb/src/function/scalar/generic_functions.cpp +1 -8
- package/src/duckdb/src/function/scalar/list/contains_or_position.cpp +5 -147
- package/src/duckdb/src/function/scalar/list/list_concat.cpp +6 -5
- package/src/duckdb/src/function/scalar/list/list_extract.cpp +1 -1
- package/src/duckdb/src/function/scalar/nested_functions.cpp +0 -22
- package/src/duckdb/src/function/scalar/operators/arithmetic.cpp +38 -31
- package/src/duckdb/src/function/scalar/operators/multiply.cpp +5 -0
- package/src/duckdb/src/function/scalar/operators.cpp +0 -6
- package/src/duckdb/src/function/scalar/sequence/nextval.cpp +41 -40
- package/src/duckdb/src/function/scalar/{date/strftime.cpp → strftime_format.cpp} +22 -173
- package/src/duckdb/src/function/scalar/string/caseconvert.cpp +2 -2
- package/src/duckdb/src/function/scalar/string/concat.cpp +6 -6
- package/src/duckdb/src/function/scalar/string/contains.cpp +2 -2
- package/src/duckdb/src/function/scalar/string/length.cpp +0 -19
- package/src/duckdb/src/function/scalar/string/like.cpp +14 -15
- package/src/duckdb/src/function/scalar/string/nfc_normalize.cpp +1 -1
- package/src/duckdb/src/function/scalar/string/prefix.cpp +2 -2
- package/src/duckdb/src/function/scalar/string/regexp/regexp_extract_all.cpp +243 -0
- package/src/duckdb/src/function/scalar/string/regexp/regexp_util.cpp +79 -0
- package/src/duckdb/src/function/scalar/string/regexp.cpp +183 -125
- package/src/duckdb/src/function/scalar/string/strip_accents.cpp +2 -2
- package/src/duckdb/src/function/scalar/string/substring.cpp +3 -3
- package/src/duckdb/src/function/scalar/string/suffix.cpp +2 -2
- package/src/duckdb/src/function/scalar/string_functions.cpp +0 -38
- package/src/duckdb/src/function/scalar/struct/struct_extract.cpp +6 -6
- package/src/duckdb/src/function/scalar/system/aggregate_export.cpp +28 -25
- package/src/duckdb/src/function/scalar_macro_function.cpp +4 -4
- package/src/duckdb/src/function/table/arrow.cpp +48 -44
- package/src/duckdb/src/function/table/arrow_conversion.cpp +104 -64
- package/src/duckdb/src/function/table/checkpoint.cpp +12 -8
- package/src/duckdb/src/function/table/copy_csv.cpp +106 -46
- package/src/duckdb/src/function/table/glob.cpp +7 -12
- package/src/duckdb/src/function/table/pragma_detailed_profiling_output.cpp +15 -14
- package/src/duckdb/src/function/table/pragma_last_profiling_output.cpp +13 -11
- package/src/duckdb/src/function/table/range.cpp +11 -10
- package/src/duckdb/src/function/table/read_csv.cpp +329 -276
- package/src/duckdb/src/function/table/repeat.cpp +4 -4
- package/src/duckdb/src/function/table/repeat_row.cpp +60 -0
- package/src/duckdb/src/function/table/summary.cpp +1 -1
- package/src/duckdb/src/function/table/system/duckdb_columns.cpp +31 -30
- package/src/duckdb/src/function/table/system/duckdb_constraints.cpp +31 -30
- package/src/duckdb/src/function/table/system/duckdb_databases.cpp +4 -4
- package/src/duckdb/src/function/table/system/duckdb_dependencies.cpp +13 -13
- package/src/duckdb/src/function/table/system/duckdb_extensions.cpp +4 -4
- package/src/duckdb/src/function/table/system/duckdb_functions.cpp +56 -68
- package/src/duckdb/src/function/table/system/duckdb_indexes.cpp +15 -14
- package/src/duckdb/src/function/table/system/duckdb_keywords.cpp +2 -2
- package/src/duckdb/src/function/table/system/duckdb_schemas.cpp +9 -9
- package/src/duckdb/src/function/table/system/duckdb_sequences.cpp +10 -11
- package/src/duckdb/src/function/table/system/duckdb_settings.cpp +4 -3
- package/src/duckdb/src/function/table/system/duckdb_tables.cpp +13 -12
- package/src/duckdb/src/function/table/system/duckdb_temporary_files.cpp +2 -2
- package/src/duckdb/src/function/table/system/duckdb_types.cpp +17 -16
- package/src/duckdb/src/function/table/system/duckdb_views.cpp +12 -11
- package/src/duckdb/src/function/table/system/pragma_collations.cpp +4 -4
- package/src/duckdb/src/function/table/system/pragma_database_size.cpp +7 -7
- package/src/duckdb/src/function/table/system/pragma_storage_info.cpp +11 -9
- package/src/duckdb/src/function/table/system/pragma_table_info.cpp +23 -24
- package/src/duckdb/src/function/table/system/test_all_types.cpp +6 -6
- package/src/duckdb/src/function/table/system/test_vector_types.cpp +6 -6
- package/src/duckdb/src/function/table/table_scan.cpp +87 -92
- package/src/duckdb/src/function/table/unnest.cpp +10 -10
- package/src/duckdb/src/function/table/version/pragma_version.cpp +6 -4
- package/src/duckdb/src/function/table_function.cpp +11 -11
- package/src/duckdb/src/function/table_macro_function.cpp +3 -3
- package/src/duckdb/src/function/udf_function.cpp +2 -2
- package/src/duckdb/src/include/duckdb/catalog/catalog.hpp +144 -84
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/aggregate_function_catalog_entry.hpp +4 -5
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/collate_catalog_entry.hpp +3 -3
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/copy_function_catalog_entry.hpp +1 -1
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/duck_index_entry.hpp +3 -3
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/duck_schema_entry.hpp +24 -20
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/duck_table_entry.hpp +6 -7
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/function_entry.hpp +33 -0
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/index_catalog_entry.hpp +6 -6
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/macro_catalog_entry.hpp +7 -6
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/pragma_function_catalog_entry.hpp +3 -3
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/scalar_function_catalog_entry.hpp +4 -4
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/scalar_macro_catalog_entry.hpp +2 -2
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp +24 -19
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/sequence_catalog_entry.hpp +3 -3
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/table_catalog_entry.hpp +10 -5
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/table_function_catalog_entry.hpp +4 -4
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/table_macro_catalog_entry.hpp +2 -2
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/type_catalog_entry.hpp +3 -3
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/view_catalog_entry.hpp +6 -6
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry.hpp +42 -10
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry_map.hpp +38 -0
- package/src/duckdb/src/include/duckdb/catalog/catalog_set.hpp +25 -24
- package/src/duckdb/src/include/duckdb/catalog/catalog_transaction.hpp +6 -3
- package/src/duckdb/src/include/duckdb/catalog/default/default_functions.hpp +2 -2
- package/src/duckdb/src/include/duckdb/catalog/default/default_types.hpp +2 -2
- package/src/duckdb/src/include/duckdb/catalog/default/default_views.hpp +2 -2
- package/src/duckdb/src/include/duckdb/catalog/dependency.hpp +4 -5
- package/src/duckdb/src/include/duckdb/catalog/dependency_list.hpp +6 -4
- package/src/duckdb/src/include/duckdb/catalog/dependency_manager.hpp +10 -9
- package/src/duckdb/src/include/duckdb/catalog/duck_catalog.hpp +9 -8
- package/src/duckdb/src/include/duckdb/catalog/similar_catalog_entry.hpp +2 -1
- package/src/duckdb/src/include/duckdb/catalog/standard_entry.hpp +10 -4
- package/src/duckdb/src/include/duckdb/common/adbc/adbc-init.hpp +37 -0
- package/src/duckdb/src/include/duckdb/common/adbc/adbc.h +1088 -0
- package/src/duckdb/src/include/duckdb/common/adbc/adbc.hpp +85 -0
- package/src/duckdb/src/include/duckdb/common/adbc/driver_manager.h +84 -0
- package/src/duckdb/src/include/duckdb/common/algorithm.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/allocator.hpp +2 -1
- package/src/duckdb/src/include/duckdb/common/arrow/arrow_appender.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/bit_utils.hpp +147 -0
- package/src/duckdb/src/include/duckdb/common/box_renderer.hpp +8 -2
- package/src/duckdb/src/include/duckdb/common/case_insensitive_map.hpp +2 -3
- package/src/duckdb/src/include/duckdb/common/common.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/compressed_file_system.hpp +1 -0
- package/src/duckdb/src/include/duckdb/common/constants.hpp +9 -29
- package/src/duckdb/src/include/duckdb/common/crypto/md5.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/enum_util.hpp +958 -0
- package/src/duckdb/src/include/duckdb/common/enums/aggregate_handling.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/enums/debug_initialize.hpp +17 -0
- package/src/duckdb/src/include/duckdb/common/enums/expression_type.hpp +2 -3
- package/src/duckdb/src/include/duckdb/{function/scalar/uuid_functions.hpp → common/enums/file_glob_options.hpp} +5 -5
- package/src/duckdb/src/include/duckdb/common/enums/join_type.hpp +3 -3
- package/src/duckdb/src/include/duckdb/common/enums/joinref_type.hpp +7 -4
- package/src/duckdb/src/include/duckdb/common/enums/logical_operator_type.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/enums/on_entry_not_found.hpp +17 -0
- package/src/duckdb/src/include/duckdb/common/enums/operator_result_type.hpp +16 -4
- package/src/duckdb/src/include/duckdb/common/enums/order_preservation_type.hpp +24 -0
- package/src/duckdb/src/include/duckdb/common/enums/order_type.hpp +10 -0
- package/src/duckdb/src/include/duckdb/common/enums/physical_operator_type.hpp +5 -0
- package/src/duckdb/src/include/duckdb/common/enums/set_operation_type.hpp +2 -1
- package/src/duckdb/src/include/duckdb/common/exception.hpp +81 -9
- package/src/duckdb/src/include/duckdb/common/exception_format_value.hpp +8 -3
- package/src/duckdb/src/include/duckdb/common/fast_mem.hpp +528 -0
- package/src/duckdb/src/include/duckdb/common/field_writer.hpp +12 -4
- package/src/duckdb/src/include/duckdb/common/file_buffer.hpp +3 -0
- package/src/duckdb/src/include/duckdb/common/file_system.hpp +3 -2
- package/src/duckdb/src/include/duckdb/common/filename_pattern.hpp +34 -0
- package/src/duckdb/src/include/duckdb/common/gzip_file_system.hpp +4 -1
- package/src/duckdb/src/include/duckdb/common/helper.hpp +70 -9
- package/src/duckdb/src/include/duckdb/common/hive_partitioning.hpp +16 -6
- package/src/duckdb/src/include/duckdb/common/{http_stats.hpp → http_state.hpp} +18 -4
- package/src/duckdb/src/include/duckdb/common/hugeint.hpp +63 -0
- package/src/duckdb/src/include/duckdb/common/multi_file_reader.hpp +200 -0
- package/src/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp +72 -0
- package/src/duckdb/src/include/duckdb/common/operator/comparison_operators.hpp +45 -149
- package/src/duckdb/src/include/duckdb/common/operator/multiply.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/optional_idx.hpp +45 -0
- package/src/duckdb/src/include/duckdb/common/optional_ptr.hpp +76 -0
- package/src/duckdb/src/include/duckdb/common/perfect_map_set.hpp +34 -0
- package/src/duckdb/src/include/duckdb/common/preserved_error.hpp +6 -1
- package/src/duckdb/src/include/duckdb/common/progress_bar/progress_bar.hpp +2 -0
- package/src/duckdb/src/include/duckdb/common/queue.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/radix.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/radix_partitioning.hpp +83 -27
- package/src/duckdb/src/include/duckdb/common/re2_regex.hpp +3 -3
- package/src/duckdb/src/include/duckdb/common/reference_map.hpp +38 -0
- package/src/duckdb/src/include/duckdb/common/row_operations/row_operations.hpp +21 -9
- package/src/duckdb/src/include/duckdb/common/serializer/binary_deserializer.hpp +93 -0
- package/src/duckdb/src/include/duckdb/common/serializer/binary_serializer.hpp +92 -0
- package/src/duckdb/src/include/duckdb/common/serializer/buffered_deserializer.hpp +4 -2
- package/src/duckdb/src/include/duckdb/common/serializer/buffered_file_reader.hpp +9 -2
- package/src/duckdb/src/include/duckdb/common/serializer/format_deserializer.hpp +377 -0
- package/src/duckdb/src/include/duckdb/common/serializer/format_serializer.hpp +248 -0
- package/src/duckdb/src/include/duckdb/common/serializer/serialization_traits.hpp +109 -0
- package/src/duckdb/src/include/duckdb/common/serializer.hpp +13 -0
- package/src/duckdb/src/include/duckdb/common/set.hpp +2 -1
- package/src/duckdb/src/include/duckdb/common/shared_ptr.hpp +11 -0
- package/src/duckdb/src/include/duckdb/common/sort/comparators.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/sort/partition_state.hpp +198 -0
- package/src/duckdb/src/include/duckdb/common/sort/sort.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/sort/sorted_block.hpp +2 -2
- package/src/duckdb/src/include/duckdb/common/string_util.hpp +39 -0
- package/src/duckdb/src/include/duckdb/common/typedefs.hpp +31 -0
- package/src/duckdb/src/include/duckdb/common/types/batched_data_collection.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/bit.hpp +7 -6
- package/src/duckdb/src/include/duckdb/common/types/{column_data_allocator.hpp → column/column_data_allocator.hpp} +4 -4
- package/src/duckdb/src/include/duckdb/common/types/{column_data_collection.hpp → column/column_data_collection.hpp} +4 -4
- package/src/duckdb/src/include/duckdb/common/types/{column_data_collection_iterators.hpp → column/column_data_collection_iterators.hpp} +2 -2
- package/src/duckdb/src/include/duckdb/common/types/{column_data_collection_segment.hpp → column/column_data_collection_segment.hpp} +3 -3
- package/src/duckdb/src/include/duckdb/common/types/{column_data_consumer.hpp → column/column_data_consumer.hpp} +8 -4
- package/src/duckdb/src/include/duckdb/common/types/{column_data_scan_states.hpp → column/column_data_scan_states.hpp} +1 -1
- package/src/duckdb/src/include/duckdb/common/types/{partitioned_column_data.hpp → column/partitioned_column_data.hpp} +16 -8
- package/src/duckdb/src/include/duckdb/common/types/conflict_manager.hpp +3 -2
- package/src/duckdb/src/include/duckdb/common/types/interval.hpp +39 -3
- package/src/duckdb/src/include/duckdb/common/types/list_segment.hpp +62 -0
- package/src/duckdb/src/include/duckdb/common/types/row/partitioned_tuple_data.hpp +140 -0
- package/src/duckdb/src/include/duckdb/common/types/{row_data_collection.hpp → row/row_data_collection.hpp} +4 -3
- package/src/duckdb/src/include/duckdb/common/types/{row_data_collection_scanner.hpp → row/row_data_collection_scanner.hpp} +2 -2
- package/src/duckdb/src/include/duckdb/common/types/{row_layout.hpp → row/row_layout.hpp} +3 -1
- package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_allocator.hpp +116 -0
- package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_collection.hpp +239 -0
- package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_iterator.hpp +64 -0
- package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_layout.hpp +113 -0
- package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_segment.hpp +124 -0
- package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_states.hpp +74 -0
- package/src/duckdb/src/include/duckdb/common/types/selection_vector.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/string_type.hpp +79 -7
- package/src/duckdb/src/include/duckdb/common/types/time.hpp +3 -0
- package/src/duckdb/src/include/duckdb/common/types/validity_mask.hpp +7 -1
- package/src/duckdb/src/include/duckdb/common/types/value.hpp +20 -53
- package/src/duckdb/src/include/duckdb/common/types/value_map.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types/vector.hpp +14 -2
- package/src/duckdb/src/include/duckdb/common/types/vector_buffer.hpp +1 -1
- package/src/duckdb/src/include/duckdb/common/types.hpp +47 -63
- package/src/duckdb/src/include/duckdb/common/union_by_name.hpp +17 -66
- package/src/duckdb/src/include/duckdb/common/unique_ptr.hpp +61 -0
- package/src/duckdb/src/include/duckdb/common/vector.hpp +92 -2
- package/src/duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp +2 -2
- package/src/duckdb/src/include/duckdb/common/vector_operations/unary_executor.hpp +2 -2
- package/src/duckdb/src/include/duckdb/{function → core_functions}/aggregate/algebraic/corr.hpp +3 -4
- package/src/duckdb/src/include/duckdb/{function → core_functions}/aggregate/algebraic/covar.hpp +1 -1
- package/src/duckdb/src/include/duckdb/{function → core_functions}/aggregate/algebraic/stddev.hpp +1 -1
- package/src/duckdb/src/include/duckdb/core_functions/aggregate/algebraic_functions.hpp +124 -0
- package/src/duckdb/src/include/duckdb/core_functions/aggregate/distributive_functions.hpp +229 -0
- package/src/duckdb/src/include/duckdb/core_functions/aggregate/holistic_functions.hpp +85 -0
- package/src/duckdb/src/include/duckdb/core_functions/aggregate/nested_functions.hpp +41 -0
- package/src/duckdb/src/include/duckdb/{function → core_functions}/aggregate/regression/regr_count.hpp +3 -4
- package/src/duckdb/src/include/duckdb/{function → core_functions}/aggregate/regression/regr_slope.hpp +2 -2
- package/src/duckdb/src/include/duckdb/core_functions/aggregate/regression_functions.hpp +97 -0
- package/src/duckdb/src/include/duckdb/{function → core_functions}/aggregate/sum_helpers.hpp +1 -1
- package/src/duckdb/src/include/duckdb/core_functions/core_functions.hpp +22 -0
- package/src/duckdb/src/include/duckdb/core_functions/function_list.hpp +33 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/bit_functions.hpp +52 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/blob_functions.hpp +58 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/date_functions.hpp +544 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/enum_functions.hpp +61 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/generic_functions.hpp +142 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/list_functions.hpp +220 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/map_functions.hpp +98 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/math_functions.hpp +394 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/operators_functions.hpp +70 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/random_functions.hpp +49 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/string_functions.hpp +454 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/struct_functions.hpp +40 -0
- package/src/duckdb/src/include/duckdb/core_functions/scalar/union_functions.hpp +43 -0
- package/src/duckdb/src/include/duckdb/execution/aggregate_hashtable.hpp +70 -47
- package/src/duckdb/src/include/duckdb/execution/base_aggregate_hashtable.hpp +2 -2
- package/src/duckdb/src/include/duckdb/execution/execution_context.hpp +3 -2
- package/src/duckdb/src/include/duckdb/execution/executor.hpp +17 -8
- package/src/duckdb/src/include/duckdb/execution/expression_executor.hpp +1 -1
- package/src/duckdb/src/include/duckdb/execution/expression_executor_state.hpp +1 -3
- package/src/duckdb/src/include/duckdb/execution/index/art/art.hpp +56 -59
- package/src/duckdb/src/include/duckdb/execution/index/art/art_key.hpp +29 -24
- package/src/duckdb/src/include/duckdb/execution/index/art/fixed_size_allocator.hpp +114 -0
- package/src/duckdb/src/include/duckdb/execution/index/art/iterator.hpp +26 -20
- package/src/duckdb/src/include/duckdb/execution/index/art/leaf.hpp +63 -39
- package/src/duckdb/src/include/duckdb/execution/index/art/leaf_segment.hpp +36 -0
- package/src/duckdb/src/include/duckdb/execution/index/art/node.hpp +98 -116
- package/src/duckdb/src/include/duckdb/execution/index/art/node16.hpp +48 -36
- package/src/duckdb/src/include/duckdb/execution/index/art/node256.hpp +52 -35
- package/src/duckdb/src/include/duckdb/execution/index/art/node4.hpp +46 -36
- package/src/duckdb/src/include/duckdb/execution/index/art/node48.hpp +57 -35
- package/src/duckdb/src/include/duckdb/execution/index/art/prefix.hpp +57 -50
- package/src/duckdb/src/include/duckdb/execution/index/art/prefix_segment.hpp +40 -0
- package/src/duckdb/src/include/duckdb/execution/index/art/swizzleable_pointer.hpp +38 -31
- package/src/duckdb/src/include/duckdb/execution/join_hashtable.hpp +41 -67
- package/src/duckdb/src/include/duckdb/execution/nested_loop_join.hpp +1 -1
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/aggregate_object.hpp +15 -2
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/distinct_aggregate_data.hpp +2 -2
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/grouped_aggregate_data.hpp +2 -2
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_hash_aggregate.hpp +20 -13
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_perfecthash_aggregate.hpp +13 -5
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_streaming_window.hpp +5 -2
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_ungrouped_aggregate.hpp +12 -7
- package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_window.hpp +11 -7
- package/src/duckdb/src/include/duckdb/execution/operator/filter/physical_filter.hpp +3 -0
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_batch_collector.hpp +1 -2
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_execute.hpp +6 -4
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_explain_analyze.hpp +9 -5
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_limit.hpp +10 -5
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_limit_percent.hpp +10 -5
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_load.hpp +8 -2
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_materialized_collector.hpp +2 -2
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_pragma.hpp +8 -2
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_prepare.hpp +8 -2
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_reservoir_sample.hpp +6 -4
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_reset.hpp +8 -2
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_result_collector.hpp +6 -3
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_set.hpp +8 -2
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_streaming_limit.hpp +4 -1
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_streaming_sample.hpp +3 -0
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_transaction.hpp +8 -2
- package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_vacuum.hpp +9 -4
- package/src/duckdb/src/include/duckdb/execution/operator/join/outer_join_marker.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/join/perfect_hash_join_executor.hpp +2 -2
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_asof_join.hpp +91 -0
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_blockwise_nl_join.hpp +5 -4
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_cross_product.hpp +14 -9
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_delim_join.hpp +11 -6
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_hash_join.hpp +5 -6
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_iejoin.hpp +5 -4
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_index_join.hpp +9 -7
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_join.hpp +11 -2
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_nested_loop_join.hpp +5 -8
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_piecewise_merge_join.hpp +5 -4
- package/src/duckdb/src/include/duckdb/execution/operator/join/physical_positional_join.hpp +7 -6
- package/src/duckdb/src/include/duckdb/execution/operator/order/physical_order.hpp +13 -5
- package/src/duckdb/src/include/duckdb/execution/operator/order/physical_top_n.hpp +12 -4
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/base_csv_reader.hpp +16 -11
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/buffered_csv_reader.hpp +4 -1
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/csv_buffer.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/csv_file_handle.hpp +4 -1
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/csv_reader_options.hpp +22 -16
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/parallel_csv_reader.hpp +5 -1
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_batch_copy_to_file.hpp +81 -0
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_batch_insert.hpp +14 -9
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_copy_to_file.hpp +16 -7
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_delete.hpp +9 -4
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_export.hpp +10 -5
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_fixed_batch_copy.hpp +72 -0
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_insert.hpp +22 -12
- package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_update.hpp +9 -4
- package/src/duckdb/src/include/duckdb/execution/operator/projection/physical_pivot.hpp +38 -0
- package/src/duckdb/src/include/duckdb/execution/operator/projection/physical_projection.hpp +8 -0
- package/src/duckdb/src/include/duckdb/execution/operator/projection/physical_tableinout_function.hpp +4 -2
- package/src/duckdb/src/include/duckdb/execution/operator/projection/physical_unnest.hpp +3 -1
- package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_column_data_scan.hpp +12 -7
- package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_dummy_scan.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_empty_result.hpp +8 -2
- package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_expression_scan.hpp +3 -0
- package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_positional_scan.hpp +8 -2
- package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_table_scan.hpp +7 -2
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_alter.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_attach.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_function.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_index.hpp +9 -4
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_schema.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_sequence.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_table.hpp +10 -5
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_type.hpp +13 -5
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_view.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_detach.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_drop.hpp +8 -3
- package/src/duckdb/src/include/duckdb/execution/operator/set/physical_recursive_cte.hpp +11 -6
- package/src/duckdb/src/include/duckdb/execution/operator/set/physical_union.hpp +5 -1
- package/src/duckdb/src/include/duckdb/execution/partitionable_hashtable.hpp +10 -6
- package/src/duckdb/src/include/duckdb/execution/perfect_aggregate_hashtable.hpp +4 -0
- package/src/duckdb/src/include/duckdb/execution/physical_operator.hpp +44 -74
- package/src/duckdb/src/include/duckdb/execution/physical_operator_states.hpp +170 -0
- package/src/duckdb/src/include/duckdb/execution/physical_plan_generator.hpp +2 -3
- package/src/duckdb/src/include/duckdb/execution/radix_partitioned_hashtable.hpp +6 -6
- package/src/duckdb/src/include/duckdb/execution/window_segment_tree.hpp +55 -5
- package/src/duckdb/src/include/duckdb/function/aggregate/distributive_functions.hpp +0 -85
- package/src/duckdb/src/include/duckdb/function/aggregate_function.hpp +11 -7
- package/src/duckdb/src/include/duckdb/function/built_in_functions.hpp +0 -8
- package/src/duckdb/src/include/duckdb/function/cast/bound_cast_data.hpp +84 -0
- package/src/duckdb/src/include/duckdb/function/cast/cast_function_set.hpp +3 -3
- package/src/duckdb/src/include/duckdb/function/cast/default_casts.hpp +42 -65
- package/src/duckdb/src/include/duckdb/function/cast/vector_cast_helpers.hpp +2 -2
- package/src/duckdb/src/include/duckdb/function/copy_function.hpp +56 -4
- package/src/duckdb/src/include/duckdb/function/function.hpp +22 -4
- package/src/duckdb/src/include/duckdb/function/function_binder.hpp +3 -6
- package/src/duckdb/src/include/duckdb/function/function_serialization.hpp +4 -4
- package/src/duckdb/src/include/duckdb/function/function_set.hpp +7 -2
- package/src/duckdb/src/include/duckdb/function/macro_function.hpp +20 -3
- package/src/duckdb/src/include/duckdb/function/pragma_function.hpp +1 -1
- package/src/duckdb/src/include/duckdb/function/scalar/generic_functions.hpp +1 -32
- package/src/duckdb/src/include/duckdb/function/scalar/list/contains_or_position.hpp +138 -0
- package/src/duckdb/src/include/duckdb/function/scalar/nested_functions.hpp +33 -106
- package/src/duckdb/src/include/duckdb/function/scalar/operators.hpp +0 -24
- package/src/duckdb/src/include/duckdb/function/scalar/regexp.hpp +81 -1
- package/src/duckdb/src/include/duckdb/function/scalar/{strftime.hpp → strftime_format.hpp} +4 -0
- package/src/duckdb/src/include/duckdb/function/scalar/string_functions.hpp +3 -91
- package/src/duckdb/src/include/duckdb/function/scalar_function.hpp +14 -2
- package/src/duckdb/src/include/duckdb/function/scalar_macro_function.hpp +5 -2
- package/src/duckdb/src/include/duckdb/function/table/arrow.hpp +13 -2
- package/src/duckdb/src/include/duckdb/function/table/range.hpp +4 -0
- package/src/duckdb/src/include/duckdb/function/table/read_csv.hpp +44 -7
- package/src/duckdb/src/include/duckdb/function/table/table_scan.hpp +5 -4
- package/src/duckdb/src/include/duckdb/function/table_function.hpp +58 -16
- package/src/duckdb/src/include/duckdb/function/table_macro_function.hpp +6 -3
- package/src/duckdb/src/include/duckdb/main/attached_database.hpp +2 -0
- package/src/duckdb/src/include/duckdb/main/capi/cast/utils.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/client_config.hpp +14 -2
- package/src/duckdb/src/include/duckdb/main/client_context.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/client_data.hpp +6 -3
- package/src/duckdb/src/include/duckdb/main/config.hpp +15 -8
- package/src/duckdb/src/include/duckdb/main/connection_manager.hpp +2 -0
- package/src/duckdb/src/include/duckdb/main/database.hpp +1 -2
- package/src/duckdb/src/include/duckdb/main/database_manager.hpp +9 -4
- package/src/duckdb/src/include/duckdb/main/database_path_and_type.hpp +24 -0
- package/src/duckdb/src/include/duckdb/main/extension_entries.hpp +5 -0
- package/src/duckdb/src/include/duckdb/main/extension_helper.hpp +0 -2
- package/src/duckdb/src/include/duckdb/main/extension_util.hpp +48 -0
- package/src/duckdb/src/include/duckdb/main/materialized_query_result.hpp +1 -1
- package/src/duckdb/src/include/duckdb/main/prepared_statement.hpp +2 -0
- package/src/duckdb/src/include/duckdb/main/query_profiler.hpp +10 -9
- package/src/duckdb/src/include/duckdb/main/query_result.hpp +19 -5
- package/src/duckdb/src/include/duckdb/main/relation/explain_relation.hpp +2 -1
- package/src/duckdb/src/include/duckdb/main/relation/setop_relation.hpp +1 -0
- package/src/duckdb/src/include/duckdb/main/relation.hpp +2 -1
- package/src/duckdb/src/include/duckdb/main/settings.hpp +39 -0
- package/src/duckdb/src/include/duckdb/optimizer/cse_optimizer.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/expression_rewriter.hpp +3 -3
- package/src/duckdb/src/include/duckdb/optimizer/filter_combiner.hpp +9 -9
- package/src/duckdb/src/include/duckdb/optimizer/filter_pushdown.hpp +2 -0
- package/src/duckdb/src/include/duckdb/optimizer/join_order/cardinality_estimator.hpp +16 -16
- package/src/duckdb/src/include/duckdb/optimizer/join_order/join_node.hpp +8 -8
- package/src/duckdb/src/include/duckdb/optimizer/join_order/join_order_optimizer.hpp +23 -15
- package/src/duckdb/src/include/duckdb/optimizer/join_order/join_relation.hpp +9 -10
- package/src/duckdb/src/include/duckdb/optimizer/join_order/query_graph.hpp +18 -11
- package/src/duckdb/src/include/duckdb/optimizer/matcher/expression_matcher.hpp +11 -11
- package/src/duckdb/src/include/duckdb/optimizer/matcher/set_matcher.hpp +8 -8
- package/src/duckdb/src/include/duckdb/optimizer/rule/arithmetic_simplification.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/case_simplification.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/comparison_simplification.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/conjunction_simplification.hpp +2 -2
- package/src/duckdb/src/include/duckdb/optimizer/rule/constant_folding.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/date_part_simplification.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/distributivity.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/empty_needle_removal.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/enum_comparison.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/equal_or_null_simplification.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/in_clause_simplification.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/like_optimizations.hpp +2 -2
- package/src/duckdb/src/include/duckdb/optimizer/rule/list.hpp +1 -0
- package/src/duckdb/src/include/duckdb/optimizer/rule/move_constants.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule/ordered_aggregate_optimizer.hpp +24 -0
- package/src/duckdb/src/include/duckdb/optimizer/rule/regex_optimizations.hpp +1 -1
- package/src/duckdb/src/include/duckdb/optimizer/rule.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parallel/concurrentqueue.hpp +2 -0
- package/src/duckdb/src/include/duckdb/parallel/event.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parallel/interrupt.hpp +63 -0
- package/src/duckdb/src/include/duckdb/parallel/meta_pipeline.hpp +5 -5
- package/src/duckdb/src/include/duckdb/parallel/pipeline.hpp +34 -20
- package/src/duckdb/src/include/duckdb/parallel/pipeline_executor.hpp +53 -9
- package/src/duckdb/src/include/duckdb/parallel/task.hpp +21 -2
- package/src/duckdb/src/include/duckdb/parallel/task_counter.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parallel/task_scheduler.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/base_expression.hpp +19 -1
- package/src/duckdb/src/include/duckdb/parser/common_table_expression_info.hpp +2 -0
- package/src/duckdb/src/include/duckdb/parser/constraint.hpp +18 -0
- package/src/duckdb/src/include/duckdb/parser/constraints/check_constraint.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/constraints/foreign_key_constraint.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/constraints/not_null_constraint.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/constraints/unique_constraint.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/expression/between_expression.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/expression/bound_expression.hpp +7 -0
- package/src/duckdb/src/include/duckdb/parser/expression/case_expression.hpp +8 -0
- package/src/duckdb/src/include/duckdb/parser/expression/cast_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/collate_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/columnref_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/comparison_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/conjunction_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/constant_expression.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/expression/default_expression.hpp +4 -0
- package/src/duckdb/src/include/duckdb/parser/expression/function_expression.hpp +7 -2
- package/src/duckdb/src/include/duckdb/parser/expression/lambda_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/operator_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/parameter_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/positional_reference_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/star_expression.hpp +7 -2
- package/src/duckdb/src/include/duckdb/parser/expression/subquery_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/expression/window_expression.hpp +14 -2
- package/src/duckdb/src/include/duckdb/parser/expression_map.hpp +19 -6
- package/src/duckdb/src/include/duckdb/parser/expression_util.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/keyword_helper.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_info.hpp +10 -5
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_table_info.hpp +7 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/attach_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/copy_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_database_info.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_function_info.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_macro_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_schema_info.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_sequence_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_table_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_type_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_view_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/detach_info.hpp +4 -3
- package/src/duckdb/src/include/duckdb/parser/parsed_data/drop_info.hpp +7 -7
- package/src/duckdb/src/include/duckdb/parser/parsed_data/exported_table_data.hpp +6 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/load_info.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/parse_info.hpp +13 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/pragma_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/sample_options.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/parsed_data/show_select_info.hpp +1 -1
- package/src/duckdb/src/include/duckdb/parser/parsed_data/vacuum_info.hpp +4 -3
- package/src/duckdb/src/include/duckdb/parser/parsed_expression.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/parser.hpp +1 -7
- package/src/duckdb/src/include/duckdb/parser/parser_options.hpp +23 -0
- package/src/duckdb/src/include/duckdb/parser/query_error_context.hpp +4 -2
- package/src/duckdb/src/include/duckdb/parser/query_node/list.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/query_node/recursive_cte_node.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/query_node/select_node.hpp +8 -0
- package/src/duckdb/src/include/duckdb/parser/query_node/set_operation_node.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/query_node.hpp +29 -1
- package/src/duckdb/src/include/duckdb/parser/result_modifier.hpp +24 -1
- package/src/duckdb/src/include/duckdb/parser/sql_statement.hpp +20 -1
- package/src/duckdb/src/include/duckdb/parser/statement/alter_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/attach_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/call_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/copy_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/create_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/delete_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/detach_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/drop_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/execute_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/explain_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/export_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/extension_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/insert_statement.hpp +7 -1
- package/src/duckdb/src/include/duckdb/parser/statement/list.hpp +1 -0
- package/src/duckdb/src/include/duckdb/parser/statement/load_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/logical_plan_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/multi_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/pragma_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/prepare_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/relation_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/select_statement.hpp +9 -1
- package/src/duckdb/src/include/duckdb/parser/statement/set_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/show_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/transaction_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/update_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/statement/vacuum_statement.hpp +3 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/basetableref.hpp +7 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/emptytableref.hpp +5 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/expressionlistref.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/joinref.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/pivotref.hpp +30 -2
- package/src/duckdb/src/include/duckdb/parser/tableref/subqueryref.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/tableref/table_function_ref.hpp +6 -0
- package/src/duckdb/src/include/duckdb/parser/tableref.hpp +23 -1
- package/src/duckdb/src/include/duckdb/parser/transformer.hpp +33 -42
- package/src/duckdb/src/include/duckdb/planner/bind_context.hpp +16 -17
- package/src/duckdb/src/include/duckdb/planner/binder.hpp +41 -35
- package/src/duckdb/src/include/duckdb/planner/bound_constraint.hpp +19 -1
- package/src/duckdb/src/include/duckdb/planner/bound_query_node.hpp +17 -0
- package/src/duckdb/src/include/duckdb/planner/bound_result_modifier.hpp +8 -1
- package/src/duckdb/src/include/duckdb/planner/bound_tableref.hpp +17 -0
- package/src/duckdb/src/include/duckdb/planner/bound_tokens.hpp +1 -0
- package/src/duckdb/src/include/duckdb/planner/column_binding.hpp +6 -0
- package/src/duckdb/src/include/duckdb/planner/constraints/bound_check_constraint.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/constraints/bound_foreign_key_constraint.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/constraints/bound_not_null_constraint.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/constraints/bound_unique_constraint.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_aggregate_expression.hpp +7 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_between_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_case_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_cast_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_columnref_expression.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_comparison_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_conjunction_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_constant_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_default_expression.hpp +4 -1
- package/src/duckdb/src/include/duckdb/planner/expression/bound_function_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_lambda_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_lambdaref_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_operator_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_parameter_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_reference_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_subquery_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_unnest_expression.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/expression/bound_window_expression.hpp +4 -1
- package/src/duckdb/src/include/duckdb/planner/expression.hpp +5 -2
- package/src/duckdb/src/include/duckdb/planner/expression_binder/aggregate_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/alter_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/base_select_binder.hpp +66 -0
- package/src/duckdb/src/include/duckdb/planner/expression_binder/check_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/constant_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/group_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/having_binder.hpp +4 -4
- package/src/duckdb/src/include/duckdb/planner/expression_binder/index_binder.hpp +5 -5
- package/src/duckdb/src/include/duckdb/planner/expression_binder/insert_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/lateral_binder.hpp +2 -2
- package/src/duckdb/src/include/duckdb/planner/expression_binder/order_binder.hpp +7 -4
- package/src/duckdb/src/include/duckdb/planner/expression_binder/qualify_binder.hpp +4 -4
- package/src/duckdb/src/include/duckdb/planner/expression_binder/relation_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/returning_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/select_binder.hpp +9 -38
- package/src/duckdb/src/include/duckdb/planner/expression_binder/table_function_binder.hpp +2 -2
- package/src/duckdb/src/include/duckdb/planner/expression_binder/update_binder.hpp +1 -1
- package/src/duckdb/src/include/duckdb/planner/expression_binder/where_binder.hpp +4 -4
- package/src/duckdb/src/include/duckdb/planner/expression_binder.hpp +17 -13
- package/src/duckdb/src/include/duckdb/planner/logical_operator.hpp +17 -0
- package/src/duckdb/src/include/duckdb/planner/logical_tokens.hpp +2 -0
- package/src/duckdb/src/include/duckdb/planner/operator/list.hpp +2 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_aggregate.hpp +5 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_any_join.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_asof_join.hpp +27 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_column_data_get.hpp +5 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_comparison_join.hpp +8 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_copy_to_file.hpp +6 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_create.hpp +6 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_create_index.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_create_table.hpp +5 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_cross_product.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_cteref.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_delete.hpp +6 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_delim_get.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_delim_join.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_distinct.hpp +15 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_dummy_scan.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_empty_result.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_execute.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_explain.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_export.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_expression_get.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_extension_operator.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_filter.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_get.hpp +4 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_insert.hpp +6 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_join.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_limit.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_limit_percent.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_order.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_pivot.hpp +37 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_positional_join.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_pragma.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_prepare.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_projection.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_recursive_cte.hpp +10 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_reset.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_sample.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_set.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_set_operation.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_show.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_simple.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_top_n.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_unconditional_join.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_unnest.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator/logical_update.hpp +6 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_window.hpp +4 -0
- package/src/duckdb/src/include/duckdb/planner/operator_extension.hpp +2 -2
- package/src/duckdb/src/include/duckdb/planner/parsed_data/bound_create_function_info.hpp +3 -2
- package/src/duckdb/src/include/duckdb/planner/parsed_data/bound_create_table_info.hpp +3 -2
- package/src/duckdb/src/include/duckdb/planner/pragma_handler.hpp +3 -2
- package/src/duckdb/src/include/duckdb/planner/query_node/bound_recursive_cte_node.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/query_node/bound_select_node.hpp +12 -3
- package/src/duckdb/src/include/duckdb/planner/query_node/bound_set_operation_node.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/query_node/list.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/table_binding.hpp +6 -5
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_basetableref.hpp +5 -2
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_cteref.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_dummytableref.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_expressionlistref.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_joinref.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_pivotref.hpp +43 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_pos_join_ref.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_subqueryref.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_table_function.hpp +3 -0
- package/src/duckdb/src/include/duckdb/planner/tableref/list.hpp +1 -0
- package/src/duckdb/src/include/duckdb/storage/arena_allocator.hpp +7 -0
- package/src/duckdb/src/include/duckdb/storage/block_manager.hpp +1 -0
- package/src/duckdb/src/include/duckdb/storage/buffer/block_handle.hpp +16 -9
- package/src/duckdb/src/include/duckdb/storage/buffer/buffer_pool.hpp +80 -0
- package/src/duckdb/src/include/duckdb/storage/buffer/temporary_file_information.hpp +12 -0
- package/src/duckdb/src/include/duckdb/storage/buffer_manager.hpp +47 -185
- package/src/duckdb/src/include/duckdb/storage/checkpoint_manager.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/algorithm/chimp128.hpp +1 -0
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/algorithm/chimp_utils.hpp +0 -97
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/chimp_analyze.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/chimp_compress.hpp +4 -8
- package/src/duckdb/src/include/duckdb/storage/compression/chimp/chimp_scan.hpp +2 -1
- package/src/duckdb/src/include/duckdb/storage/compression/patas/algorithm/patas.hpp +1 -0
- package/src/duckdb/src/include/duckdb/storage/compression/patas/patas_analyze.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/compression/patas/patas_compress.hpp +4 -8
- package/src/duckdb/src/include/duckdb/storage/compression/patas/patas_scan.hpp +2 -1
- package/src/duckdb/src/include/duckdb/storage/data_pointer.hpp +0 -2
- package/src/duckdb/src/include/duckdb/storage/data_table.hpp +7 -4
- package/src/duckdb/src/include/duckdb/storage/in_memory_block_manager.hpp +3 -0
- package/src/duckdb/src/include/duckdb/storage/index.hpp +33 -34
- package/src/duckdb/src/include/duckdb/storage/meta_block_reader.hpp +7 -0
- package/src/duckdb/src/include/duckdb/storage/optimistic_data_writer.hpp +46 -0
- package/src/duckdb/src/include/duckdb/storage/partial_block_manager.hpp +26 -4
- package/src/duckdb/src/include/duckdb/storage/single_file_block_manager.hpp +11 -5
- package/src/duckdb/src/include/duckdb/storage/standard_buffer_manager.hpp +157 -0
- package/src/duckdb/src/include/duckdb/storage/statistics/distinct_statistics.hpp +2 -0
- package/src/duckdb/src/include/duckdb/storage/statistics/node_statistics.hpp +3 -3
- package/src/duckdb/src/include/duckdb/storage/statistics/numeric_stats.hpp +9 -52
- package/src/duckdb/src/include/duckdb/storage/statistics/numeric_stats_union.hpp +62 -0
- package/src/duckdb/src/include/duckdb/storage/storage_manager.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/string_uncompressed.hpp +3 -3
- package/src/duckdb/src/include/duckdb/storage/table/column_checkpoint_state.hpp +48 -2
- package/src/duckdb/src/include/duckdb/storage/table/column_data.hpp +29 -16
- package/src/duckdb/src/include/duckdb/storage/table/column_data_checkpointer.hpp +5 -3
- package/src/duckdb/src/include/duckdb/storage/table/column_segment.hpp +7 -7
- package/src/duckdb/src/include/duckdb/storage/table/column_segment_tree.hpp +18 -0
- package/src/duckdb/src/include/duckdb/storage/table/list_column_data.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/table/persistent_table_data.hpp +4 -2
- package/src/duckdb/src/include/duckdb/storage/table/row_group.hpp +39 -44
- package/src/duckdb/src/include/duckdb/storage/table/row_group_collection.hpp +22 -6
- package/src/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp +35 -0
- package/src/duckdb/src/include/duckdb/storage/table/scan_state.hpp +19 -29
- package/src/duckdb/src/include/duckdb/storage/table/segment_base.hpp +7 -7
- package/src/duckdb/src/include/duckdb/storage/table/segment_tree.hpp +303 -26
- package/src/duckdb/src/include/duckdb/storage/table/standard_column_data.hpp +3 -7
- package/src/duckdb/src/include/duckdb/storage/table/struct_column_data.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/table/table_index_list.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/table/update_segment.hpp +4 -7
- package/src/duckdb/src/include/duckdb/storage/table/validity_column_data.hpp +1 -2
- package/src/duckdb/src/include/duckdb/storage/write_ahead_log.hpp +21 -21
- package/src/duckdb/src/include/duckdb/transaction/cleanup_state.hpp +8 -3
- package/src/duckdb/src/include/duckdb/transaction/commit_state.hpp +6 -6
- package/src/duckdb/src/include/duckdb/transaction/duck_transaction.hpp +3 -3
- package/src/duckdb/src/include/duckdb/transaction/local_storage.hpp +43 -64
- package/src/duckdb/src/include/duckdb/transaction/meta_transaction.hpp +6 -5
- package/src/duckdb/src/include/duckdb/transaction/transaction.hpp +12 -0
- package/src/duckdb/src/include/duckdb/transaction/transaction_data.hpp +2 -1
- package/src/duckdb/src/include/duckdb/transaction/undo_buffer.hpp +1 -1
- package/src/duckdb/src/include/duckdb/verification/deserialized_statement_verifier_v2.hpp +26 -0
- package/src/duckdb/src/include/duckdb/verification/no_operator_caching_verifier.hpp +25 -0
- package/src/duckdb/src/include/duckdb/verification/statement_verifier.hpp +6 -0
- package/src/duckdb/src/include/duckdb.h +48 -1
- package/src/duckdb/src/main/appender.cpp +9 -9
- package/src/duckdb/src/main/attached_database.cpp +23 -16
- package/src/duckdb/src/main/capi/appender-c.cpp +1 -1
- package/src/duckdb/src/main/capi/cast/from_decimal-c.cpp +1 -1
- package/src/duckdb/src/main/capi/duckdb-c.cpp +1 -1
- package/src/duckdb/src/main/capi/helper-c.cpp +7 -0
- package/src/duckdb/src/main/capi/pending-c.cpp +4 -4
- package/src/duckdb/src/main/capi/replacement_scan-c.cpp +4 -4
- package/src/duckdb/src/main/capi/result-c.cpp +3 -3
- package/src/duckdb/src/main/capi/table_function-c.cpp +53 -29
- package/src/duckdb/src/main/capi/threading-c.cpp +1 -1
- package/src/duckdb/src/main/client_context.cpp +98 -97
- package/src/duckdb/src/main/client_data.cpp +11 -10
- package/src/duckdb/src/main/client_verify.cpp +7 -2
- package/src/duckdb/src/main/config.cpp +38 -1
- package/src/duckdb/src/main/connection.cpp +3 -3
- package/src/duckdb/src/main/database.cpp +80 -85
- package/src/duckdb/src/main/database_manager.cpp +17 -16
- package/src/duckdb/src/main/database_path_and_type.cpp +23 -0
- package/src/duckdb/src/main/extension/extension_helper.cpp +19 -3
- package/src/duckdb/src/main/extension/extension_install.cpp +18 -2
- package/src/duckdb/src/main/extension/extension_load.cpp +97 -44
- package/src/duckdb/src/main/extension/extension_util.cpp +90 -0
- package/src/duckdb/src/main/materialized_query_result.cpp +2 -2
- package/src/duckdb/src/main/pending_query_result.cpp +1 -1
- package/src/duckdb/src/main/prepared_statement.cpp +5 -1
- package/src/duckdb/src/main/query_profiler.cpp +48 -44
- package/src/duckdb/src/main/query_result.cpp +14 -1
- package/src/duckdb/src/main/relation/aggregate_relation.cpp +2 -2
- package/src/duckdb/src/main/relation/create_table_relation.cpp +2 -2
- package/src/duckdb/src/main/relation/create_view_relation.cpp +2 -2
- package/src/duckdb/src/main/relation/cross_product_relation.cpp +3 -3
- package/src/duckdb/src/main/relation/delete_relation.cpp +1 -1
- package/src/duckdb/src/main/relation/explain_relation.cpp +4 -4
- package/src/duckdb/src/main/relation/filter_relation.cpp +4 -4
- package/src/duckdb/src/main/relation/insert_relation.cpp +1 -1
- package/src/duckdb/src/main/relation/join_relation.cpp +5 -4
- package/src/duckdb/src/main/relation/limit_relation.cpp +3 -3
- package/src/duckdb/src/main/relation/order_relation.cpp +3 -3
- package/src/duckdb/src/main/relation/projection_relation.cpp +2 -2
- package/src/duckdb/src/main/relation/query_relation.cpp +1 -1
- package/src/duckdb/src/main/relation/read_csv_relation.cpp +4 -2
- package/src/duckdb/src/main/relation/setop_relation.cpp +4 -5
- package/src/duckdb/src/main/relation/table_function_relation.cpp +11 -11
- package/src/duckdb/src/main/relation/table_relation.cpp +3 -3
- package/src/duckdb/src/main/relation/update_relation.cpp +2 -2
- package/src/duckdb/src/main/relation/value_relation.cpp +4 -4
- package/src/duckdb/src/main/relation/view_relation.cpp +3 -3
- package/src/duckdb/src/main/relation/write_csv_relation.cpp +1 -1
- package/src/duckdb/src/main/relation/write_parquet_relation.cpp +1 -1
- package/src/duckdb/src/main/relation.cpp +8 -7
- package/src/duckdb/src/main/settings/settings.cpp +108 -22
- package/src/duckdb/src/main/stream_query_result.cpp +5 -5
- package/src/duckdb/src/optimizer/column_lifetime_analyzer.cpp +4 -3
- package/src/duckdb/src/optimizer/common_aggregate_optimizer.cpp +3 -3
- package/src/duckdb/src/optimizer/cse_optimizer.cpp +16 -15
- package/src/duckdb/src/optimizer/deliminator.cpp +28 -27
- package/src/duckdb/src/optimizer/expression_heuristics.cpp +11 -11
- package/src/duckdb/src/optimizer/expression_rewriter.cpp +10 -10
- package/src/duckdb/src/optimizer/filter_combiner.cpp +139 -138
- package/src/duckdb/src/optimizer/filter_pullup.cpp +6 -4
- package/src/duckdb/src/optimizer/filter_pushdown.cpp +17 -11
- package/src/duckdb/src/optimizer/in_clause_rewriter.cpp +12 -12
- package/src/duckdb/src/optimizer/join_order/cardinality_estimator.cpp +102 -111
- package/src/duckdb/src/optimizer/join_order/join_node.cpp +8 -11
- package/src/duckdb/src/optimizer/join_order/join_order_optimizer.cpp +224 -213
- package/src/duckdb/src/optimizer/join_order/join_relation_set.cpp +30 -30
- package/src/duckdb/src/optimizer/join_order/query_graph.cpp +37 -38
- package/src/duckdb/src/optimizer/matcher/expression_matcher.cpp +28 -26
- package/src/duckdb/src/optimizer/optimizer.cpp +15 -14
- package/src/duckdb/src/optimizer/pullup/pullup_filter.cpp +1 -1
- package/src/duckdb/src/optimizer/pullup/pullup_from_left.cpp +2 -2
- package/src/duckdb/src/optimizer/pullup/pullup_projection.cpp +3 -3
- package/src/duckdb/src/optimizer/pullup/pullup_set_operation.cpp +3 -3
- package/src/duckdb/src/optimizer/pushdown/pushdown_aggregate.cpp +36 -8
- package/src/duckdb/src/optimizer/pushdown/pushdown_cross_product.cpp +1 -1
- package/src/duckdb/src/optimizer/pushdown/pushdown_filter.cpp +2 -2
- package/src/duckdb/src/optimizer/pushdown/pushdown_get.cpp +2 -2
- package/src/duckdb/src/optimizer/pushdown/pushdown_inner_join.cpp +9 -6
- package/src/duckdb/src/optimizer/pushdown/pushdown_left_join.cpp +11 -18
- package/src/duckdb/src/optimizer/pushdown/pushdown_limit.cpp +2 -2
- package/src/duckdb/src/optimizer/pushdown/pushdown_mark_join.cpp +5 -5
- package/src/duckdb/src/optimizer/pushdown/pushdown_projection.cpp +4 -4
- package/src/duckdb/src/optimizer/pushdown/pushdown_set_operation.cpp +8 -8
- package/src/duckdb/src/optimizer/pushdown/pushdown_single_join.cpp +2 -2
- package/src/duckdb/src/optimizer/regex_range_filter.cpp +9 -9
- package/src/duckdb/src/optimizer/remove_unused_columns.cpp +17 -12
- package/src/duckdb/src/optimizer/rule/arithmetic_simplification.cpp +31 -30
- package/src/duckdb/src/optimizer/rule/case_simplification.cpp +10 -10
- package/src/duckdb/src/optimizer/rule/comparison_simplification.cpp +22 -23
- package/src/duckdb/src/optimizer/rule/conjunction_simplification.cpp +17 -16
- package/src/duckdb/src/optimizer/rule/constant_folding.cpp +9 -9
- package/src/duckdb/src/optimizer/rule/date_part_simplification.cpp +8 -8
- package/src/duckdb/src/optimizer/rule/distributivity.cpp +23 -23
- package/src/duckdb/src/optimizer/rule/empty_needle_removal.cpp +14 -15
- package/src/duckdb/src/optimizer/rule/enum_comparison.cpp +15 -16
- package/src/duckdb/src/optimizer/rule/equal_or_null_simplification.cpp +35 -38
- package/src/duckdb/src/optimizer/rule/in_clause_simplification_rule.cpp +16 -17
- package/src/duckdb/src/optimizer/rule/like_optimizations.cpp +22 -22
- package/src/duckdb/src/optimizer/rule/move_constants.cpp +46 -40
- package/src/duckdb/src/optimizer/rule/ordered_aggregate_optimizer.cpp +30 -0
- package/src/duckdb/src/optimizer/rule/regex_optimizations.cpp +25 -17
- package/src/duckdb/src/optimizer/statistics/expression/propagate_and_compress.cpp +3 -3
- package/src/duckdb/src/optimizer/statistics/expression/propagate_between.cpp +6 -6
- package/src/duckdb/src/optimizer/statistics/expression/propagate_comparison.cpp +2 -2
- package/src/duckdb/src/optimizer/statistics/expression/propagate_conjunction.cpp +2 -2
- package/src/duckdb/src/optimizer/statistics/expression/propagate_operator.cpp +4 -4
- package/src/duckdb/src/optimizer/statistics/operator/propagate_filter.cpp +12 -11
- package/src/duckdb/src/optimizer/statistics/operator/propagate_get.cpp +1 -1
- package/src/duckdb/src/optimizer/statistics/operator/propagate_join.cpp +5 -4
- package/src/duckdb/src/optimizer/statistics/operator/propagate_limit.cpp +1 -1
- package/src/duckdb/src/optimizer/statistics_propagator.cpp +33 -21
- package/src/duckdb/src/optimizer/topn_optimizer.cpp +3 -3
- package/src/duckdb/src/optimizer/unnest_rewriter.cpp +16 -16
- package/src/duckdb/src/parallel/event.cpp +1 -1
- package/src/duckdb/src/parallel/executor.cpp +98 -56
- package/src/duckdb/src/parallel/executor_task.cpp +11 -0
- package/src/duckdb/src/parallel/interrupt.cpp +57 -0
- package/src/duckdb/src/parallel/meta_pipeline.cpp +8 -15
- package/src/duckdb/src/parallel/pipeline.cpp +116 -41
- package/src/duckdb/src/parallel/pipeline_executor.cpp +267 -88
- package/src/duckdb/src/parallel/pipeline_initialize_event.cpp +2 -2
- package/src/duckdb/src/parallel/task_scheduler.cpp +62 -27
- package/src/duckdb/src/parser/base_expression.cpp +6 -0
- package/src/duckdb/src/parser/column_definition.cpp +6 -6
- package/src/duckdb/src/parser/common_table_expression_info.cpp +19 -0
- package/src/duckdb/src/parser/constraints/check_constraint.cpp +2 -2
- package/src/duckdb/src/parser/constraints/foreign_key_constraint.cpp +2 -2
- package/src/duckdb/src/parser/constraints/not_null_constraint.cpp +2 -2
- package/src/duckdb/src/parser/constraints/unique_constraint.cpp +4 -4
- package/src/duckdb/src/parser/expression/between_expression.cpp +19 -2
- package/src/duckdb/src/parser/expression/case_expression.cpp +30 -2
- package/src/duckdb/src/parser/expression/cast_expression.cpp +19 -2
- package/src/duckdb/src/parser/expression/collate_expression.cpp +18 -2
- package/src/duckdb/src/parser/expression/columnref_expression.cpp +19 -7
- package/src/duckdb/src/parser/expression/comparison_expression.cpp +18 -2
- package/src/duckdb/src/parser/expression/conjunction_expression.cpp +20 -3
- package/src/duckdb/src/parser/expression/constant_expression.cpp +17 -3
- package/src/duckdb/src/parser/expression/default_expression.cpp +9 -2
- package/src/duckdb/src/parser/expression/function_expression.cpp +42 -6
- package/src/duckdb/src/parser/expression/lambda_expression.cpp +18 -2
- package/src/duckdb/src/parser/expression/operator_expression.cpp +17 -2
- package/src/duckdb/src/parser/expression/parameter_expression.cpp +17 -2
- package/src/duckdb/src/parser/expression/positional_reference_expression.cpp +16 -2
- package/src/duckdb/src/parser/expression/star_expression.cpp +30 -8
- package/src/duckdb/src/parser/expression/subquery_expression.cpp +22 -2
- package/src/duckdb/src/parser/expression/window_expression.cpp +72 -2
- package/src/duckdb/src/parser/expression_util.cpp +6 -6
- package/src/duckdb/src/parser/parsed_data/alter_info.cpp +3 -3
- package/src/duckdb/src/parser/parsed_data/alter_scalar_function_info.cpp +3 -3
- package/src/duckdb/src/parser/parsed_data/alter_table_function_info.cpp +3 -3
- package/src/duckdb/src/parser/parsed_data/alter_table_info.cpp +35 -36
- package/src/duckdb/src/parser/parsed_data/create_aggregate_function_info.cpp +1 -1
- package/src/duckdb/src/parser/parsed_data/create_collation_info.cpp +1 -1
- package/src/duckdb/src/parser/parsed_data/create_copy_function_info.cpp +1 -1
- package/src/duckdb/src/parser/parsed_data/create_index_info.cpp +2 -2
- package/src/duckdb/src/parser/parsed_data/create_pragma_function_info.cpp +1 -1
- package/src/duckdb/src/parser/parsed_data/create_scalar_function_info.cpp +3 -3
- package/src/duckdb/src/parser/parsed_data/create_table_function_info.cpp +3 -3
- package/src/duckdb/src/parser/parsed_data/create_table_info.cpp +4 -4
- package/src/duckdb/src/parser/parsed_data/create_view_info.cpp +5 -5
- package/src/duckdb/src/parser/parsed_data/sample_options.cpp +24 -12
- package/src/duckdb/src/parser/parsed_expression.cpp +72 -0
- package/src/duckdb/src/parser/parsed_expression_iterator.cpp +26 -20
- package/src/duckdb/src/parser/parser.cpp +12 -12
- package/src/duckdb/src/parser/query_node/recursive_cte_node.cpp +27 -6
- package/src/duckdb/src/parser/query_node/select_node.cpp +44 -13
- package/src/duckdb/src/parser/query_node/set_operation_node.cpp +23 -6
- package/src/duckdb/src/parser/query_node.cpp +54 -4
- package/src/duckdb/src/parser/result_modifier.cpp +97 -8
- package/src/duckdb/src/parser/statement/copy_statement.cpp +1 -1
- package/src/duckdb/src/parser/statement/drop_statement.cpp +1 -1
- package/src/duckdb/src/parser/statement/extension_statement.cpp +1 -1
- package/src/duckdb/src/parser/statement/insert_statement.cpp +16 -7
- package/src/duckdb/src/parser/statement/pragma_statement.cpp +1 -1
- package/src/duckdb/src/parser/statement/select_statement.cpp +15 -3
- package/src/duckdb/src/parser/statement/show_statement.cpp +1 -1
- package/src/duckdb/src/parser/statement/transaction_statement.cpp +2 -2
- package/src/duckdb/src/parser/statement/vacuum_statement.cpp +1 -1
- package/src/duckdb/src/parser/tableref/basetableref.cpp +23 -2
- package/src/duckdb/src/parser/tableref/emptytableref.cpp +6 -2
- package/src/duckdb/src/parser/tableref/expressionlistref.cpp +19 -2
- package/src/duckdb/src/parser/tableref/joinref.cpp +33 -4
- package/src/duckdb/src/parser/tableref/pivotref.cpp +88 -11
- package/src/duckdb/src/parser/tableref/subqueryref.cpp +17 -2
- package/src/duckdb/src/parser/tableref/table_function.cpp +19 -2
- package/src/duckdb/src/parser/tableref.cpp +47 -1
- package/src/duckdb/src/parser/transform/constraint/transform_constraint.cpp +8 -8
- package/src/duckdb/src/parser/transform/expression/transform_array_access.cpp +16 -5
- package/src/duckdb/src/parser/transform/expression/transform_bool_expr.cpp +6 -6
- package/src/duckdb/src/parser/transform/expression/transform_boolean_test.cpp +39 -0
- package/src/duckdb/src/parser/transform/expression/transform_case.cpp +3 -3
- package/src/duckdb/src/parser/transform/expression/transform_cast.cpp +2 -2
- package/src/duckdb/src/parser/transform/expression/transform_coalesce.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_columnref.cpp +19 -4
- package/src/duckdb/src/parser/transform/expression/transform_constant.cpp +7 -7
- package/src/duckdb/src/parser/transform/expression/transform_expression.cpp +5 -2
- package/src/duckdb/src/parser/transform/expression/transform_function.cpp +111 -121
- package/src/duckdb/src/parser/transform/expression/transform_grouping_function.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_interval.cpp +5 -5
- package/src/duckdb/src/parser/transform/expression/transform_lambda.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_operator.cpp +29 -25
- package/src/duckdb/src/parser/transform/expression/transform_param_ref.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_positional_reference.cpp +1 -1
- package/src/duckdb/src/parser/transform/expression/transform_subquery.cpp +11 -11
- package/src/duckdb/src/parser/transform/helpers/transform_cte.cpp +5 -5
- package/src/duckdb/src/parser/transform/helpers/transform_groupby.cpp +11 -4
- package/src/duckdb/src/parser/transform/helpers/transform_orderby.cpp +0 -7
- package/src/duckdb/src/parser/transform/helpers/transform_sample.cpp +1 -1
- package/src/duckdb/src/parser/transform/helpers/transform_typename.cpp +3 -2
- package/src/duckdb/src/parser/transform/statement/transform_alter_sequence.cpp +5 -4
- package/src/duckdb/src/parser/transform/statement/transform_alter_table.cpp +15 -11
- package/src/duckdb/src/parser/transform/statement/transform_attach.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_call.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_checkpoint.cpp +3 -3
- package/src/duckdb/src/parser/transform/statement/transform_copy.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_create_database.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_create_function.cpp +5 -8
- package/src/duckdb/src/parser/transform/statement/transform_create_index.cpp +4 -4
- package/src/duckdb/src/parser/transform/statement/transform_create_schema.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_create_sequence.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_create_table.cpp +3 -3
- package/src/duckdb/src/parser/transform/statement/transform_create_table_as.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_create_type.cpp +2 -3
- package/src/duckdb/src/parser/transform/statement/transform_create_view.cpp +4 -6
- package/src/duckdb/src/parser/transform/statement/transform_delete.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_detach.cpp +3 -3
- package/src/duckdb/src/parser/transform/statement/transform_drop.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_explain.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_export.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_import.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_insert.cpp +7 -9
- package/src/duckdb/src/parser/transform/statement/transform_load.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_pivot_stmt.cpp +91 -38
- package/src/duckdb/src/parser/transform/statement/transform_pragma.cpp +7 -7
- package/src/duckdb/src/parser/transform/statement/transform_prepare.cpp +3 -3
- package/src/duckdb/src/parser/transform/statement/transform_rename.cpp +8 -9
- package/src/duckdb/src/parser/transform/statement/transform_select.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_select_node.cpp +57 -54
- package/src/duckdb/src/parser/transform/statement/transform_set.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_show.cpp +5 -5
- package/src/duckdb/src/parser/transform/statement/transform_show_select.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_transaction.cpp +3 -3
- package/src/duckdb/src/parser/transform/statement/transform_update.cpp +2 -2
- package/src/duckdb/src/parser/transform/statement/transform_upsert.cpp +3 -3
- package/src/duckdb/src/parser/transform/statement/transform_use.cpp +1 -1
- package/src/duckdb/src/parser/transform/statement/transform_vacuum.cpp +1 -1
- package/src/duckdb/src/parser/transform/tableref/transform_base_tableref.cpp +1 -1
- package/src/duckdb/src/parser/transform/tableref/transform_from.cpp +3 -3
- package/src/duckdb/src/parser/transform/tableref/transform_join.cpp +9 -2
- package/src/duckdb/src/parser/transform/tableref/transform_pivot.cpp +26 -7
- package/src/duckdb/src/parser/transform/tableref/transform_subquery.cpp +2 -2
- package/src/duckdb/src/parser/transform/tableref/transform_table_function.cpp +1 -1
- package/src/duckdb/src/parser/transformer.cpp +54 -12
- package/src/duckdb/src/planner/bind_context.cpp +89 -105
- package/src/duckdb/src/planner/binder/expression/bind_aggregate_expression.cpp +38 -39
- package/src/duckdb/src/planner/binder/expression/bind_between_expression.cpp +21 -21
- package/src/duckdb/src/planner/binder/expression/bind_case_expression.cpp +10 -10
- package/src/duckdb/src/planner/binder/expression/bind_cast_expression.cpp +7 -7
- package/src/duckdb/src/planner/binder/expression/bind_collate_expression.cpp +7 -7
- package/src/duckdb/src/planner/binder/expression/bind_columnref_expression.cpp +68 -18
- package/src/duckdb/src/planner/binder/expression/bind_comparison_expression.cpp +22 -22
- package/src/duckdb/src/planner/binder/expression/bind_conjunction_expression.cpp +3 -4
- package/src/duckdb/src/planner/binder/expression/bind_constant_expression.cpp +1 -1
- package/src/duckdb/src/planner/binder/expression/bind_function_expression.cpp +62 -51
- package/src/duckdb/src/planner/binder/expression/bind_lambda.cpp +14 -13
- package/src/duckdb/src/planner/binder/expression/bind_macro_expression.cpp +11 -11
- package/src/duckdb/src/planner/binder/expression/bind_operator_expression.cpp +35 -22
- package/src/duckdb/src/planner/binder/expression/bind_parameter_expression.cpp +2 -2
- package/src/duckdb/src/planner/binder/expression/bind_star_expression.cpp +176 -0
- package/src/duckdb/src/planner/binder/expression/bind_subquery_expression.cpp +13 -9
- package/src/duckdb/src/planner/binder/expression/bind_unnest_expression.cpp +167 -28
- package/src/duckdb/src/planner/binder/expression/bind_window_expression.cpp +35 -43
- package/src/duckdb/src/planner/binder/query_node/bind_recursive_cte_node.cpp +1 -1
- package/src/duckdb/src/planner/binder/query_node/bind_select_node.cpp +135 -137
- package/src/duckdb/src/planner/binder/query_node/bind_setop_node.cpp +18 -18
- package/src/duckdb/src/planner/binder/query_node/bind_table_macro_node.cpp +5 -5
- package/src/duckdb/src/planner/binder/query_node/plan_query_node.cpp +17 -6
- package/src/duckdb/src/planner/binder/query_node/plan_recursive_cte_node.cpp +4 -5
- package/src/duckdb/src/planner/binder/query_node/plan_select_node.cpp +28 -24
- package/src/duckdb/src/planner/binder/query_node/plan_setop.cpp +6 -7
- package/src/duckdb/src/planner/binder/query_node/plan_subquery.cpp +34 -36
- package/src/duckdb/src/planner/binder/statement/bind_attach.cpp +1 -1
- package/src/duckdb/src/planner/binder/statement/bind_call.cpp +3 -2
- package/src/duckdb/src/planner/binder/statement/bind_copy.cpp +38 -25
- package/src/duckdb/src/planner/binder/statement/bind_create.cpp +113 -111
- package/src/duckdb/src/planner/binder/statement/bind_create_table.cpp +37 -30
- package/src/duckdb/src/planner/binder/statement/bind_delete.cpp +10 -10
- package/src/duckdb/src/planner/binder/statement/bind_detach.cpp +1 -1
- package/src/duckdb/src/planner/binder/statement/bind_drop.cpp +5 -5
- package/src/duckdb/src/planner/binder/statement/bind_execute.cpp +2 -2
- package/src/duckdb/src/planner/binder/statement/bind_explain.cpp +1 -1
- package/src/duckdb/src/planner/binder/statement/bind_export.cpp +30 -31
- package/src/duckdb/src/planner/binder/statement/bind_extension.cpp +1 -1
- package/src/duckdb/src/planner/binder/statement/bind_insert.cpp +52 -44
- package/src/duckdb/src/planner/binder/statement/bind_load.cpp +1 -1
- package/src/duckdb/src/planner/binder/statement/bind_pragma.cpp +5 -5
- package/src/duckdb/src/planner/binder/statement/bind_prepare.cpp +1 -1
- package/src/duckdb/src/planner/binder/statement/bind_set.cpp +4 -4
- package/src/duckdb/src/planner/binder/statement/bind_show.cpp +1 -1
- package/src/duckdb/src/planner/binder/statement/bind_simple.cpp +7 -6
- package/src/duckdb/src/planner/binder/statement/bind_summarize.cpp +28 -28
- package/src/duckdb/src/planner/binder/statement/bind_update.cpp +29 -27
- package/src/duckdb/src/planner/binder/statement/bind_vacuum.cpp +10 -9
- package/src/duckdb/src/planner/binder/tableref/bind_basetableref.cpp +40 -37
- package/src/duckdb/src/planner/binder/tableref/bind_emptytableref.cpp +1 -1
- package/src/duckdb/src/planner/binder/tableref/bind_expressionlistref.cpp +1 -1
- package/src/duckdb/src/planner/binder/tableref/bind_joinref.cpp +36 -27
- package/src/duckdb/src/planner/binder/tableref/bind_named_parameters.cpp +1 -1
- package/src/duckdb/src/planner/binder/tableref/bind_pivot.cpp +324 -98
- package/src/duckdb/src/planner/binder/tableref/bind_subqueryref.cpp +7 -7
- package/src/duckdb/src/planner/binder/tableref/bind_table_function.cpp +49 -31
- package/src/duckdb/src/planner/binder/tableref/plan_cteref.cpp +2 -1
- package/src/duckdb/src/planner/binder/tableref/plan_dummytableref.cpp +1 -1
- package/src/duckdb/src/planner/binder/tableref/plan_expressionlistref.cpp +3 -3
- package/src/duckdb/src/planner/binder/tableref/plan_joinref.cpp +78 -30
- package/src/duckdb/src/planner/binder/tableref/plan_pivotref.cpp +13 -0
- package/src/duckdb/src/planner/binder.cpp +86 -96
- package/src/duckdb/src/planner/bound_result_modifier.cpp +26 -0
- package/src/duckdb/src/planner/expression/bound_aggregate_expression.cpp +20 -13
- package/src/duckdb/src/planner/expression/bound_between_expression.cpp +9 -9
- package/src/duckdb/src/planner/expression/bound_case_expression.cpp +3 -3
- package/src/duckdb/src/planner/expression/bound_cast_expression.cpp +8 -9
- package/src/duckdb/src/planner/expression/bound_columnref_expression.cpp +21 -7
- package/src/duckdb/src/planner/expression/bound_comparison_expression.cpp +5 -6
- package/src/duckdb/src/planner/expression/bound_conjunction_expression.cpp +4 -4
- package/src/duckdb/src/planner/expression/bound_constant_expression.cpp +4 -4
- package/src/duckdb/src/planner/expression/bound_expression.cpp +15 -2
- package/src/duckdb/src/planner/expression/bound_function_expression.cpp +8 -8
- package/src/duckdb/src/planner/expression/bound_lambda_expression.cpp +5 -5
- package/src/duckdb/src/planner/expression/bound_lambdaref_expression.cpp +5 -5
- package/src/duckdb/src/planner/expression/bound_operator_expression.cpp +4 -4
- package/src/duckdb/src/planner/expression/bound_parameter_expression.cpp +5 -5
- package/src/duckdb/src/planner/expression/bound_reference_expression.cpp +12 -6
- package/src/duckdb/src/planner/expression/bound_unnest_expression.cpp +4 -4
- package/src/duckdb/src/planner/expression/bound_window_expression.cpp +20 -21
- package/src/duckdb/src/planner/expression.cpp +2 -1
- package/src/duckdb/src/planner/expression_binder/aggregate_binder.cpp +2 -2
- package/src/duckdb/src/planner/expression_binder/alter_binder.cpp +4 -4
- package/src/duckdb/src/planner/expression_binder/base_select_binder.cpp +153 -0
- package/src/duckdb/src/planner/expression_binder/check_binder.cpp +7 -7
- package/src/duckdb/src/planner/expression_binder/column_alias_binder.cpp +1 -1
- package/src/duckdb/src/planner/expression_binder/constant_binder.cpp +13 -3
- package/src/duckdb/src/planner/expression_binder/group_binder.cpp +6 -6
- package/src/duckdb/src/planner/expression_binder/having_binder.cpp +11 -8
- package/src/duckdb/src/planner/expression_binder/index_binder.cpp +6 -5
- package/src/duckdb/src/planner/expression_binder/insert_binder.cpp +2 -2
- package/src/duckdb/src/planner/expression_binder/lateral_binder.cpp +6 -6
- package/src/duckdb/src/planner/expression_binder/order_binder.cpp +8 -8
- package/src/duckdb/src/planner/expression_binder/qualify_binder.cpp +9 -8
- package/src/duckdb/src/planner/expression_binder/relation_binder.cpp +2 -2
- package/src/duckdb/src/planner/expression_binder/returning_binder.cpp +2 -2
- package/src/duckdb/src/planner/expression_binder/select_binder.cpp +1 -132
- package/src/duckdb/src/planner/expression_binder/table_function_binder.cpp +10 -6
- package/src/duckdb/src/planner/expression_binder/update_binder.cpp +2 -2
- package/src/duckdb/src/planner/expression_binder/where_binder.cpp +6 -5
- package/src/duckdb/src/planner/expression_binder.cpp +50 -51
- package/src/duckdb/src/planner/expression_iterator.cpp +34 -27
- package/src/duckdb/src/planner/filter/conjunction_filter.cpp +2 -2
- package/src/duckdb/src/planner/filter/constant_filter.cpp +1 -1
- package/src/duckdb/src/planner/filter/null_filter.cpp +2 -2
- package/src/duckdb/src/planner/joinside.cpp +5 -5
- package/src/duckdb/src/planner/logical_operator.cpp +10 -2
- package/src/duckdb/src/planner/logical_operator_visitor.cpp +32 -26
- package/src/duckdb/src/planner/operator/logical_aggregate.cpp +15 -3
- package/src/duckdb/src/planner/operator/logical_any_join.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_asof_join.cpp +14 -0
- package/src/duckdb/src/planner/operator/logical_column_data_get.cpp +13 -2
- package/src/duckdb/src/planner/operator/logical_comparison_join.cpp +5 -5
- package/src/duckdb/src/planner/operator/logical_copy_to_file.cpp +6 -9
- package/src/duckdb/src/planner/operator/logical_create.cpp +2 -2
- package/src/duckdb/src/planner/operator/logical_create_index.cpp +4 -4
- package/src/duckdb/src/planner/operator/logical_create_table.cpp +2 -2
- package/src/duckdb/src/planner/operator/logical_cross_product.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_cteref.cpp +12 -1
- package/src/duckdb/src/planner/operator/logical_delete.cpp +20 -8
- package/src/duckdb/src/planner/operator/logical_delim_get.cpp +13 -2
- package/src/duckdb/src/planner/operator/logical_delim_join.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_distinct.cpp +6 -1
- package/src/duckdb/src/planner/operator/logical_dummy_scan.cpp +13 -2
- package/src/duckdb/src/planner/operator/logical_expression_get.cpp +13 -2
- package/src/duckdb/src/planner/operator/logical_filter.cpp +2 -2
- package/src/duckdb/src/planner/operator/logical_get.cpp +12 -6
- package/src/duckdb/src/planner/operator/logical_insert.cpp +19 -14
- package/src/duckdb/src/planner/operator/logical_join.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_limit.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_limit_percent.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_order.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_pivot.cpp +46 -0
- package/src/duckdb/src/planner/operator/logical_positional_join.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_projection.cpp +12 -1
- package/src/duckdb/src/planner/operator/logical_recursive_cte.cpp +12 -1
- package/src/duckdb/src/planner/operator/logical_reset.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_sample.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_set.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_set_operation.cpp +11 -0
- package/src/duckdb/src/planner/operator/logical_simple.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_top_n.cpp +1 -1
- package/src/duckdb/src/planner/operator/logical_unnest.cpp +13 -2
- package/src/duckdb/src/planner/operator/logical_update.cpp +19 -12
- package/src/duckdb/src/planner/operator/logical_window.cpp +12 -1
- package/src/duckdb/src/planner/parsed_data/bound_create_table_info.cpp +6 -28
- package/src/duckdb/src/planner/planner.cpp +2 -1
- package/src/duckdb/src/planner/pragma_handler.cpp +12 -11
- package/src/duckdb/src/planner/subquery/flatten_dependent_join.cpp +64 -60
- package/src/duckdb/src/planner/subquery/rewrite_correlated_expressions.cpp +5 -6
- package/src/duckdb/src/planner/table_binding.cpp +18 -17
- package/src/duckdb/src/planner/table_filter.cpp +2 -2
- package/src/duckdb/src/storage/arena_allocator.cpp +34 -2
- package/src/duckdb/src/storage/buffer/block_handle.cpp +129 -0
- package/src/duckdb/src/storage/buffer/block_manager.cpp +82 -0
- package/src/duckdb/src/storage/buffer/buffer_handle.cpp +1 -0
- package/src/duckdb/src/storage/buffer/buffer_pool.cpp +136 -0
- package/src/duckdb/src/storage/buffer/buffer_pool_reservation.cpp +35 -0
- package/src/duckdb/src/storage/buffer_manager.cpp +35 -1077
- package/src/duckdb/src/storage/checkpoint/table_data_reader.cpp +4 -12
- package/src/duckdb/src/storage/checkpoint/table_data_writer.cpp +9 -3
- package/src/duckdb/src/storage/checkpoint/write_overflow_strings_to_disk.cpp +2 -2
- package/src/duckdb/src/storage/checkpoint_manager.cpp +84 -76
- package/src/duckdb/src/storage/compression/bitpacking.cpp +9 -10
- package/src/duckdb/src/storage/compression/dictionary_compression.cpp +12 -13
- package/src/duckdb/src/storage/compression/fixed_size_uncompressed.cpp +6 -5
- package/src/duckdb/src/storage/compression/fsst.cpp +15 -17
- package/src/duckdb/src/storage/compression/numeric_constant.cpp +3 -3
- package/src/duckdb/src/storage/compression/rle.cpp +8 -9
- package/src/duckdb/src/storage/compression/string_uncompressed.cpp +7 -7
- package/src/duckdb/src/storage/compression/validity_uncompressed.cpp +4 -4
- package/src/duckdb/src/storage/data_table.cpp +59 -52
- package/src/duckdb/src/storage/index.cpp +32 -10
- package/src/duckdb/src/storage/local_storage.cpp +134 -191
- package/src/duckdb/src/storage/meta_block_reader.cpp +23 -0
- package/src/duckdb/src/storage/meta_block_writer.cpp +4 -0
- package/src/duckdb/src/storage/optimistic_data_writer.cpp +96 -0
- package/src/duckdb/src/storage/partial_block_manager.cpp +83 -12
- package/src/duckdb/src/storage/single_file_block_manager.cpp +19 -10
- package/src/duckdb/src/storage/standard_buffer_manager.cpp +800 -0
- package/src/duckdb/src/storage/statistics/base_statistics.cpp +3 -0
- package/src/duckdb/src/storage/statistics/column_statistics.cpp +2 -3
- package/src/duckdb/src/storage/statistics/distinct_statistics.cpp +7 -3
- package/src/duckdb/src/storage/statistics/list_stats.cpp +6 -2
- package/src/duckdb/src/storage/statistics/numeric_stats.cpp +145 -83
- package/src/duckdb/src/storage/statistics/numeric_stats_union.cpp +65 -0
- package/src/duckdb/src/storage/statistics/string_stats.cpp +2 -2
- package/src/duckdb/src/storage/statistics/struct_stats.cpp +3 -1
- package/src/duckdb/src/storage/storage_info.cpp +2 -2
- package/src/duckdb/src/storage/storage_lock.cpp +2 -2
- package/src/duckdb/src/storage/storage_manager.cpp +25 -21
- package/src/duckdb/src/storage/table/chunk_info.cpp +2 -2
- package/src/duckdb/src/storage/table/column_checkpoint_state.cpp +96 -73
- package/src/duckdb/src/storage/table/column_data.cpp +118 -93
- package/src/duckdb/src/storage/table/column_data_checkpointer.cpp +32 -18
- package/src/duckdb/src/storage/table/column_segment.cpp +52 -66
- package/src/duckdb/src/storage/table/list_column_data.cpp +20 -27
- package/src/duckdb/src/storage/table/persistent_table_data.cpp +2 -1
- package/src/duckdb/src/storage/table/row_group.cpp +220 -152
- package/src/duckdb/src/storage/table/row_group_collection.cpp +150 -98
- package/src/duckdb/src/storage/table/scan_state.cpp +46 -34
- package/src/duckdb/src/storage/table/standard_column_data.cpp +13 -18
- package/src/duckdb/src/storage/table/struct_column_data.cpp +22 -34
- package/src/duckdb/src/storage/table/table_statistics.cpp +1 -1
- package/src/duckdb/src/storage/table/update_segment.cpp +22 -40
- package/src/duckdb/src/storage/table/validity_column_data.cpp +2 -6
- package/src/duckdb/src/storage/table_index_list.cpp +3 -3
- package/src/duckdb/src/storage/wal_replay.cpp +38 -37
- package/src/duckdb/src/storage/write_ahead_log.cpp +47 -47
- package/src/duckdb/src/transaction/cleanup_state.cpp +17 -11
- package/src/duckdb/src/transaction/commit_state.cpp +72 -69
- package/src/duckdb/src/transaction/duck_transaction.cpp +9 -9
- package/src/duckdb/src/transaction/duck_transaction_manager.cpp +4 -4
- package/src/duckdb/src/transaction/meta_transaction.cpp +13 -13
- package/src/duckdb/src/transaction/rollback_state.cpp +2 -2
- package/src/duckdb/src/transaction/transaction.cpp +1 -1
- package/src/duckdb/src/transaction/transaction_context.cpp +2 -2
- package/src/duckdb/src/transaction/undo_buffer.cpp +10 -1
- package/src/duckdb/src/verification/copied_statement_verifier.cpp +1 -1
- package/src/duckdb/src/verification/deserialized_statement_verifier.cpp +4 -4
- package/src/duckdb/src/verification/deserialized_statement_verifier_v2.cpp +20 -0
- package/src/duckdb/src/verification/external_statement_verifier.cpp +1 -1
- package/src/duckdb/src/verification/no_operator_caching_verifier.cpp +13 -0
- package/src/duckdb/src/verification/parsed_statement_verifier.cpp +1 -1
- package/src/duckdb/src/verification/prepared_statement_verifier.cpp +7 -7
- package/src/duckdb/src/verification/statement_verifier.cpp +10 -3
- package/src/duckdb/src/verification/unoptimized_statement_verifier.cpp +1 -1
- package/src/duckdb/third_party/fmt/format.cc +0 -5
- package/src/duckdb/third_party/fmt/include/fmt/core.h +10 -12
- package/src/duckdb/third_party/fmt/include/fmt/format-inl.h +2 -33
- package/src/duckdb/third_party/fmt/include/fmt/format.h +61 -24
- package/src/duckdb/third_party/fmt/include/fmt/printf.h +15 -1
- package/src/duckdb/third_party/libpg_query/include/nodes/nodes.hpp +32 -0
- package/src/duckdb/third_party/libpg_query/include/nodes/parsenodes.hpp +3 -1
- package/src/duckdb/third_party/libpg_query/include/nodes/primnodes.hpp +3 -3
- package/src/duckdb/third_party/libpg_query/include/parser/gram.hpp +949 -965
- package/src/duckdb/third_party/libpg_query/include/parser/kwlist.hpp +2 -11
- package/src/duckdb/third_party/libpg_query/include/postgres_parser.hpp +3 -2
- package/src/duckdb/third_party/libpg_query/postgres_parser.cpp +5 -6
- package/src/duckdb/third_party/libpg_query/src_backend_parser_gram.cpp +18482 -17953
- package/src/duckdb/third_party/libpg_query/src_backend_parser_scan.cpp +503 -493
- package/src/duckdb/third_party/parquet/parquet_types.cpp +32 -32
- package/src/duckdb/third_party/parquet/parquet_types.h +34 -32
- package/src/duckdb/third_party/re2/re2/re2.cc +9 -0
- package/src/duckdb/third_party/re2/re2/re2.h +2 -0
- package/src/duckdb/third_party/thrift/thrift/TToString.h +3 -3
- package/src/duckdb/third_party/thrift/thrift/protocol/TProtocol.h +1 -1
- package/src/duckdb/third_party/thrift/thrift/protocol/TProtocolDecorator.h +2 -1
- package/src/duckdb/third_party/thrift/thrift/protocol/TVirtualProtocol.h +5 -4
- package/src/duckdb/third_party/utf8proc/include/utf8proc_wrapper.hpp +1 -0
- package/src/duckdb/ub_extension_icu_third_party_icu_i18n.cpp +6 -6
- package/src/duckdb/ub_extension_json_json_functions.cpp +2 -0
- package/src/duckdb/ub_src_common.cpp +6 -0
- package/src/duckdb/ub_src_common_adbc.cpp +4 -0
- package/src/duckdb/ub_src_common_enums.cpp +2 -0
- package/src/duckdb/ub_src_common_serializer.cpp +4 -0
- package/src/duckdb/ub_src_common_sort.cpp +2 -0
- package/src/duckdb/ub_src_common_types.cpp +1 -15
- package/src/duckdb/ub_src_common_types_column.cpp +10 -0
- package/src/duckdb/ub_src_common_types_row.cpp +20 -0
- package/src/duckdb/ub_src_core_functions.cpp +4 -0
- package/src/duckdb/ub_src_core_functions_aggregate_algebraic.cpp +8 -0
- package/src/duckdb/ub_src_core_functions_aggregate_distributive.cpp +24 -0
- package/src/duckdb/ub_src_core_functions_aggregate_holistic.cpp +8 -0
- package/src/duckdb/ub_src_core_functions_aggregate_nested.cpp +4 -0
- package/src/duckdb/ub_src_core_functions_aggregate_regression.cpp +14 -0
- package/src/duckdb/ub_src_core_functions_scalar_bit.cpp +2 -0
- package/src/duckdb/ub_src_core_functions_scalar_blob.cpp +4 -0
- package/src/duckdb/ub_src_core_functions_scalar_date.cpp +22 -0
- package/src/duckdb/ub_src_core_functions_scalar_enum.cpp +2 -0
- package/src/duckdb/ub_src_core_functions_scalar_generic.cpp +16 -0
- package/src/duckdb/ub_src_core_functions_scalar_list.cpp +14 -0
- package/src/duckdb/ub_src_core_functions_scalar_map.cpp +14 -0
- package/src/duckdb/ub_src_core_functions_scalar_math.cpp +2 -0
- package/src/duckdb/ub_src_core_functions_scalar_operators.cpp +2 -0
- package/src/duckdb/ub_src_core_functions_scalar_random.cpp +4 -0
- package/src/duckdb/ub_src_core_functions_scalar_string.cpp +46 -0
- package/src/duckdb/ub_src_core_functions_scalar_struct.cpp +4 -0
- package/src/duckdb/ub_src_core_functions_scalar_union.cpp +6 -0
- package/src/duckdb/ub_src_execution_index_art.cpp +7 -1
- package/src/duckdb/ub_src_execution_operator_join.cpp +2 -0
- package/src/duckdb/ub_src_execution_operator_persistent.cpp +4 -0
- package/src/duckdb/ub_src_execution_operator_projection.cpp +2 -0
- package/src/duckdb/ub_src_execution_physical_plan.cpp +4 -0
- package/src/duckdb/ub_src_function_aggregate.cpp +0 -8
- package/src/duckdb/ub_src_function_aggregate_distributive.cpp +0 -24
- package/src/duckdb/ub_src_function_scalar.cpp +2 -8
- package/src/duckdb/ub_src_function_scalar_generic.cpp +0 -12
- package/src/duckdb/ub_src_function_scalar_list.cpp +0 -14
- package/src/duckdb/ub_src_function_scalar_operators.cpp +0 -2
- package/src/duckdb/ub_src_function_scalar_string.cpp +0 -38
- package/src/duckdb/ub_src_function_scalar_string_regexp.cpp +4 -0
- package/src/duckdb/ub_src_function_scalar_struct.cpp +0 -4
- package/src/duckdb/ub_src_function_scalar_system.cpp +0 -2
- package/src/duckdb/ub_src_function_table.cpp +2 -0
- package/src/duckdb/ub_src_main.cpp +2 -0
- package/src/duckdb/ub_src_main_extension.cpp +2 -0
- package/src/duckdb/ub_src_optimizer_rule.cpp +2 -0
- package/src/duckdb/ub_src_parallel.cpp +2 -0
- package/src/duckdb/ub_src_parser.cpp +2 -0
- package/src/duckdb/ub_src_parser_transform_expression.cpp +2 -0
- package/src/duckdb/ub_src_planner_binder_expression.cpp +2 -0
- package/src/duckdb/ub_src_planner_binder_tableref.cpp +2 -0
- package/src/duckdb/ub_src_planner_expression_binder.cpp +2 -0
- package/src/duckdb/ub_src_planner_operator.cpp +4 -0
- package/src/duckdb/ub_src_storage.cpp +4 -0
- package/src/duckdb/ub_src_storage_buffer.cpp +8 -0
- package/src/duckdb/ub_src_storage_statistics.cpp +2 -0
- package/src/duckdb/ub_src_storage_table.cpp +0 -2
- package/src/duckdb_node.hpp +15 -10
- package/src/statement.cpp +31 -27
- package/src/utils.cpp +27 -2
- package/test/extension.test.ts +44 -26
- package/test/syntax_error.test.ts +3 -1
- package/test/udf.test.ts +9 -0
- package/filelist.cache +0 -0
- package/src/duckdb/extension/parquet/include/generated_column_reader.hpp +0 -55
- package/src/duckdb/src/function/aggregate/algebraic/corr.cpp +0 -14
- package/src/duckdb/src/function/aggregate/algebraic/covar.cpp +0 -25
- package/src/duckdb/src/function/aggregate/algebraic/stddev.cpp +0 -54
- package/src/duckdb/src/function/aggregate/algebraic_functions.cpp +0 -21
- package/src/duckdb/src/function/aggregate/holistic_functions.cpp +0 -12
- package/src/duckdb/src/function/aggregate/nested/list.cpp +0 -956
- package/src/duckdb/src/function/aggregate/nested_functions.cpp +0 -10
- package/src/duckdb/src/function/aggregate/regression_functions.cpp +0 -21
- package/src/duckdb/src/function/scalar/date_functions.cpp +0 -22
- package/src/duckdb/src/function/scalar/enum_functions.cpp +0 -13
- package/src/duckdb/src/function/scalar/map/map_extract.cpp +0 -95
- package/src/duckdb/src/function/scalar/math_functions.cpp +0 -46
- package/src/duckdb/src/function/scalar/trigonometrics_functions.cpp +0 -18
- package/src/duckdb/src/include/duckdb/common/single_thread_ptr.hpp +0 -183
- package/src/duckdb/src/include/duckdb/function/aggregate/algebraic_functions.hpp +0 -56
- package/src/duckdb/src/include/duckdb/function/aggregate/holistic_functions.hpp +0 -33
- package/src/duckdb/src/include/duckdb/function/aggregate/nested_functions.hpp +0 -26
- package/src/duckdb/src/include/duckdb/function/aggregate/regression_functions.hpp +0 -53
- package/src/duckdb/src/include/duckdb/function/scalar/bit_functions.hpp +0 -32
- package/src/duckdb/src/include/duckdb/function/scalar/blob_functions.hpp +0 -24
- package/src/duckdb/src/include/duckdb/function/scalar/date_functions.hpp +0 -73
- package/src/duckdb/src/include/duckdb/function/scalar/enum_functions.hpp +0 -37
- package/src/duckdb/src/include/duckdb/function/scalar/math_functions.hpp +0 -125
- package/src/duckdb/src/include/duckdb/function/scalar/trigonometric_functions.hpp +0 -49
- package/src/duckdb/src/storage/table/segment_tree.cpp +0 -179
- package/src/duckdb/ub_src_function_aggregate_algebraic.cpp +0 -8
- package/src/duckdb/ub_src_function_aggregate_holistic.cpp +0 -8
- package/src/duckdb/ub_src_function_aggregate_nested.cpp +0 -4
- package/src/duckdb/ub_src_function_aggregate_regression.cpp +0 -14
- package/src/duckdb/ub_src_function_scalar_bit.cpp +0 -2
- package/src/duckdb/ub_src_function_scalar_blob.cpp +0 -4
- package/src/duckdb/ub_src_function_scalar_date.cpp +0 -22
- package/src/duckdb/ub_src_function_scalar_enum.cpp +0 -2
- package/src/duckdb/ub_src_function_scalar_map.cpp +0 -12
- package/src/duckdb/ub_src_function_scalar_math.cpp +0 -6
- package/src/duckdb/ub_src_function_scalar_union.cpp +0 -6
@@ -615,8 +615,8 @@ static void yynoreturn yy_fatal_error ( const char* msg , yyscan_t yyscanner );
|
|
615
615
|
yyg->yy_hold_char = *yy_cp; \
|
616
616
|
*yy_cp = '\0'; \
|
617
617
|
yyg->yy_c_buf_p = yy_cp;
|
618
|
-
#define YY_NUM_RULES
|
619
|
-
#define YY_END_OF_BUFFER
|
618
|
+
#define YY_NUM_RULES 84
|
619
|
+
#define YY_END_OF_BUFFER 85
|
620
620
|
/* This struct is not used in this scanner,
|
621
621
|
but its presence is necessary. */
|
622
622
|
struct yy_trans_info
|
@@ -624,40 +624,40 @@ struct yy_trans_info
|
|
624
624
|
flex_int32_t yy_verify;
|
625
625
|
flex_int32_t yy_nxt;
|
626
626
|
};
|
627
|
-
static const flex_int16_t yy_accept[
|
627
|
+
static const flex_int16_t yy_accept[297] =
|
628
628
|
{ 0,
|
629
629
|
0, 0, 12, 12, 0, 0, 0, 0, 11, 11,
|
630
630
|
0, 0, 0, 0, 0, 0, 0, 0, 55, 55,
|
631
|
-
0, 0, 28, 28, 0, 0,
|
632
|
-
|
633
|
-
|
634
|
-
|
631
|
+
0, 0, 28, 28, 0, 0, 85, 83, 1, 1,
|
632
|
+
73, 49, 83, 72, 73, 19, 72, 72, 72, 72,
|
633
|
+
72, 76, 72, 72, 72, 72, 83, 82, 82, 82,
|
634
|
+
82, 82, 82, 12, 9, 5, 5, 6, 6, 58,
|
635
635
|
51, 11, 16, 32, 32, 22, 42, 31, 22, 46,
|
636
636
|
46, 48, 52, 54, 53, 53, 54, 54, 24, 27,
|
637
|
-
26, 26, 27, 27, 35, 36, 35, 1,
|
638
|
-
43,
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
7, 4, 3, 58, 57, 11, 16, 16, 17,
|
643
|
-
22, 22, 30, 23, 38, 39, 37, 37, 38,
|
644
|
-
46, 45, 47, 53, 53, 55, 24, 24, 25,
|
645
|
-
26, 28, 37, 37, 44, 1, 1, 64, 2,
|
646
|
-
|
647
|
-
|
648
|
-
37, 40, 47, 53, 55, 24, 25, 24, 26,
|
649
|
-
37, 37, 9, 9, 9, 9, 16, 16, 16,
|
650
|
-
|
651
|
-
22, 22, 22, 22, 39, 37, 37, 40, 55,
|
652
|
-
24, 24, 24, 28, 37, 37, 9, 9, 9,
|
653
|
-
9, 16, 16, 16, 16, 16, 22, 22, 22,
|
654
|
-
22, 37, 37, 55, 24, 24, 24, 24, 24,
|
655
|
-
37, 37, 9, 16, 22, 37, 33, 55, 24,
|
656
|
-
37, 34, 37, 55, 28, 37, 37, 55, 55,
|
657
|
-
28, 28, 28, 37, 37, 55, 55, 28, 28,
|
658
|
-
56, 55, 55, 55, 55, 29, 28, 28, 28,
|
659
|
-
|
660
|
-
55, 55, 28, 28, 0
|
637
|
+
26, 26, 27, 27, 35, 36, 35, 1, 73, 71,
|
638
|
+
43, 74, 44, 65, 1, 63, 61, 77, 2, 66,
|
639
|
+
|
640
|
+
77, 76, 80, 60, 62, 68, 70, 67, 69, 75,
|
641
|
+
82, 8, 20, 18, 59, 15, 12, 9, 9, 10,
|
642
|
+
5, 7, 4, 3, 58, 57, 11, 16, 16, 17,
|
643
|
+
32, 22, 22, 30, 23, 38, 39, 37, 37, 38,
|
644
|
+
31, 46, 45, 47, 53, 53, 55, 24, 24, 25,
|
645
|
+
26, 26, 28, 37, 37, 44, 1, 1, 64, 2,
|
646
|
+
78, 77, 81, 79, 50, 21, 9, 14, 10, 9,
|
647
|
+
3, 16, 13, 17, 16, 22, 41, 23, 22, 39,
|
648
|
+
37, 37, 40, 47, 53, 55, 24, 25, 24, 26,
|
649
|
+
28, 37, 37, 9, 9, 9, 9, 16, 16, 16,
|
650
|
+
|
651
|
+
16, 22, 22, 22, 22, 39, 37, 37, 40, 55,
|
652
|
+
24, 24, 24, 24, 28, 37, 37, 9, 9, 9,
|
653
|
+
9, 9, 16, 16, 16, 16, 16, 22, 22, 22,
|
654
|
+
22, 22, 37, 37, 55, 24, 24, 24, 24, 24,
|
655
|
+
28, 37, 37, 9, 16, 22, 37, 33, 55, 24,
|
656
|
+
28, 37, 34, 37, 55, 28, 37, 37, 55, 55,
|
657
|
+
55, 28, 28, 28, 37, 37, 55, 55, 28, 28,
|
658
|
+
37, 56, 55, 55, 55, 55, 29, 28, 28, 28,
|
659
|
+
28, 55, 55, 55, 55, 55, 28, 28, 28, 28,
|
660
|
+
28, 55, 55, 28, 28, 0
|
661
661
|
|
662
662
|
} ;
|
663
663
|
|
@@ -701,374 +701,376 @@ static const YY_CHAR yy_meta[39] =
|
|
701
701
|
10, 10, 10, 10, 10, 11, 10, 10
|
702
702
|
} ;
|
703
703
|
|
704
|
-
static const flex_int16_t yy_base[
|
704
|
+
static const flex_int16_t yy_base[364] =
|
705
705
|
{ 0,
|
706
|
-
0, 0,
|
707
|
-
41, 50,
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
0,
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
0,
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
0, 0,
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
706
|
+
0, 0, 415, 409, 34, 54, 412, 400, 395, 393,
|
707
|
+
41, 50, 392, 380, 38, 54, 383, 378, 85, 121,
|
708
|
+
373, 367, 157, 193, 37, 46, 376, 1215, 77, 81,
|
709
|
+
343, 1215, 83, 0, 0, 1215, 1215, 351, 50, 76,
|
710
|
+
53, 80, 83, 84, 339, 339, 90, 0, 338, 337,
|
711
|
+
332, 332, 324, 0, 112, 0, 0, 80, 315, 0,
|
712
|
+
315, 0, 125, 0, 0, 128, 103, 0, 142, 0,
|
713
|
+
0, 312, 312, 1215, 108, 145, 297, 275, 160, 1215,
|
714
|
+
163, 173, 283, 260, 1215, 1215, 84, 176, 0, 0,
|
715
|
+
1215, 116, 278, 0, 226, 262, 1215, 155, 0, 0,
|
716
|
+
|
717
|
+
170, 175, 188, 1215, 1215, 0, 0, 0, 0, 133,
|
718
|
+
0, 1215, 1215, 1215, 107, 1215, 0, 206, 209, 267,
|
719
|
+
0, 141, 1215, 0, 0, 1215, 0, 212, 241, 266,
|
720
|
+
0, 250, 255, 1215, 259, 1215, 254, 0, 0, 0,
|
721
|
+
0, 0, 1215, 263, 179, 0, 230, 258, 264, 242,
|
722
|
+
273, 0, 216, 0, 0, 234, 0, 274, 0, 0,
|
723
|
+
1215, 200, 151, 204, 1215, 1215, 289, 1215, 223, 298,
|
724
|
+
0, 303, 1215, 222, 306, 312, 1215, 219, 321, 215,
|
725
|
+
0, 0, 0, 221, 0, 198, 326, 210, 329, 0,
|
726
|
+
176, 0, 0, 335, 342, 348, 351, 355, 364, 368,
|
727
|
+
|
728
|
+
371, 377, 384, 390, 393, 1215, 0, 0, 1215, 175,
|
729
|
+
397, 406, 410, 413, 173, 0, 0, 419, 426, 432,
|
730
|
+
435, 441, 448, 454, 457, 461, 470, 474, 477, 483,
|
731
|
+
492, 496, 0, 0, 157, 499, 505, 512, 521, 525,
|
732
|
+
154, 0, 0, 528, 534, 541, 0, 1215, 125, 547,
|
733
|
+
114, 0, 1215, 0, 550, 555, 0, 0, 564, 0,
|
734
|
+
122, 569, 0, 89, 0, 0, 61, 578, 42, 583,
|
735
|
+
0, 1215, 592, 597, 606, 611, 1215, 620, 625, 634,
|
736
|
+
639, 648, 653, 662, 667, 676, 681, 690, 695, 704,
|
737
|
+
709, 718, 0, 723, 0, 1215, 737, 748, 759, 770,
|
738
|
+
|
739
|
+
781, 792, 803, 814, 825, 836, 845, 848, 854, 864,
|
740
|
+
875, 886, 897, 908, 918, 929, 940, 947, 953, 963,
|
741
|
+
972, 977, 977, 979, 981, 986, 996, 1007, 1011, 1013,
|
742
|
+
1022, 1033, 1044, 1048, 1050, 1052, 1061, 1065, 1067, 1076,
|
743
|
+
1087, 1098, 1102, 1104, 1113, 1117, 1119, 1121, 1123, 1125,
|
744
|
+
1127, 1129, 1131, 1133, 1135, 1137, 1146, 1157, 1161, 1170,
|
745
|
+
1181, 1192, 1203
|
746
746
|
} ;
|
747
747
|
|
748
|
-
static const flex_int16_t yy_def[
|
748
|
+
static const flex_int16_t yy_def[364] =
|
749
749
|
{ 0,
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
316,
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
334, 335,
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
361,
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
750
|
+
296, 1, 297, 297, 298, 298, 299, 299, 300, 300,
|
751
|
+
301, 301, 302, 302, 303, 303, 299, 299, 304, 304,
|
752
|
+
302, 302, 305, 305, 306, 306, 296, 296, 296, 296,
|
753
|
+
307, 296, 308, 307, 307, 296, 296, 307, 307, 296,
|
754
|
+
307, 296, 296, 307, 307, 307, 296, 309, 309, 309,
|
755
|
+
309, 309, 309, 310, 296, 311, 311, 296, 296, 312,
|
756
|
+
296, 313, 296, 314, 314, 296, 315, 316, 296, 317,
|
757
|
+
317, 318, 296, 296, 296, 296, 296, 296, 296, 296,
|
758
|
+
296, 296, 296, 296, 296, 296, 296, 296, 307, 307,
|
759
|
+
296, 296, 319, 307, 320, 307, 296, 296, 321, 307,
|
760
|
+
|
761
|
+
296, 296, 296, 296, 296, 307, 307, 307, 307, 296,
|
762
|
+
309, 296, 296, 296, 296, 296, 310, 296, 296, 296,
|
763
|
+
311, 296, 296, 322, 312, 296, 313, 296, 296, 296,
|
764
|
+
314, 296, 296, 296, 296, 296, 296, 323, 324, 325,
|
765
|
+
316, 317, 296, 326, 296, 327, 296, 296, 296, 296,
|
766
|
+
296, 328, 296, 329, 330, 319, 320, 320, 307, 321,
|
767
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 331,
|
768
|
+
322, 296, 296, 296, 332, 296, 296, 296, 333, 296,
|
769
|
+
334, 335, 336, 326, 327, 296, 296, 296, 337, 328,
|
770
|
+
296, 338, 339, 340, 331, 331, 331, 341, 332, 332,
|
771
|
+
|
772
|
+
332, 342, 333, 333, 333, 296, 343, 344, 296, 296,
|
773
|
+
345, 337, 337, 337, 296, 346, 347, 340, 340, 296,
|
774
|
+
340, 331, 341, 341, 296, 341, 332, 342, 342, 296,
|
775
|
+
342, 333, 348, 349, 296, 345, 345, 296, 345, 337,
|
776
|
+
296, 350, 351, 340, 341, 342, 352, 296, 296, 345,
|
777
|
+
296, 353, 296, 354, 296, 296, 355, 356, 296, 357,
|
778
|
+
296, 296, 358, 296, 359, 349, 296, 360, 296, 361,
|
779
|
+
351, 296, 360, 360, 362, 360, 296, 361, 361, 363,
|
780
|
+
361, 360, 360, 296, 360, 360, 361, 361, 296, 361,
|
781
|
+
361, 362, 357, 363, 358, 0, 296, 296, 296, 296,
|
782
|
+
|
783
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
784
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
785
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
786
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
787
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
788
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
789
|
+
296, 296, 296
|
790
790
|
} ;
|
791
791
|
|
792
|
-
static const flex_int16_t yy_nxt[
|
792
|
+
static const flex_int16_t yy_nxt[1254] =
|
793
793
|
{ 0,
|
794
794
|
28, 29, 30, 29, 31, 32, 33, 34, 35, 36,
|
795
795
|
37, 38, 34, 39, 40, 41, 42, 42, 43, 44,
|
796
796
|
45, 46, 47, 35, 48, 49, 48, 48, 50, 48,
|
797
797
|
51, 48, 48, 52, 53, 28, 52, 53, 57, 86,
|
798
798
|
71, 57, 57, 65, 72, 58, 57, 57, 86, 59,
|
799
|
-
66,
|
800
|
-
72, 57, 57, 95,
|
801
|
-
|
799
|
+
66, 277, 65, 57, 57, 57, 71, 57, 57, 66,
|
800
|
+
72, 57, 57, 95, 99, 58, 57, 57, 100, 59,
|
801
|
+
272, 96, 87, 57, 57, 57, 67, 57, 88, 88,
|
802
802
|
88, 87, 88, 88, 88, 67, 75, 76, 75, 91,
|
803
|
-
97,
|
804
|
-
|
805
|
-
92,
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
81,
|
812
|
-
83,
|
813
|
-
|
814
|
-
84,
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
204,
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
230,
|
847
|
-
|
848
|
-
|
849
|
-
237,
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
54,
|
876
|
-
56, 56,
|
877
|
-
60, 60, 60,
|
878
|
-
62, 62, 62, 62,
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
156, 156, 156,
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
803
|
+
97, 122, 98, 98, 101, 123, 102, 102, 77, 92,
|
804
|
+
|
805
|
+
92, 104, 270, 105, 106, 107, 110, 110, 103, 145,
|
806
|
+
145, 145, 165, 118, 119, 119, 166, 154, 78, 137,
|
807
|
+
155, 78, 75, 76, 75, 120, 128, 129, 129, 132,
|
808
|
+
133, 133, 92, 92, 77, 268, 138, 134, 130, 139,
|
809
|
+
140, 135, 256, 132, 133, 133, 145, 145, 145, 110,
|
810
|
+
110, 134, 122, 255, 78, 135, 123, 78, 81, 82,
|
811
|
+
81, 148, 149, 149, 151, 151, 151, 164, 164, 134,
|
812
|
+
83, 98, 98, 150, 151, 151, 151, 88, 88, 88,
|
813
|
+
145, 145, 145, 103, 161, 251, 162, 162, 249, 101,
|
814
|
+
84, 102, 102, 84, 81, 82, 81, 241, 103, 235,
|
815
|
+
|
816
|
+
163, 163, 215, 103, 164, 164, 83, 118, 119, 119,
|
817
|
+
167, 167, 167, 128, 129, 129, 162, 162, 168, 120,
|
818
|
+
164, 164, 169, 211, 210, 130, 84, 143, 103, 84,
|
819
|
+
158, 206, 202, 158, 158, 198, 194, 158, 158, 158,
|
820
|
+
91, 158, 172, 172, 172, 158, 158, 158, 191, 158,
|
821
|
+
173, 132, 133, 133, 174, 189, 176, 176, 176, 148,
|
822
|
+
149, 149, 186, 135, 177, 187, 187, 187, 178, 143,
|
823
|
+
180, 150, 179, 177, 151, 151, 151, 188, 158, 175,
|
824
|
+
170, 158, 158, 159, 91, 158, 158, 158, 153, 158,
|
825
|
+
167, 167, 167, 158, 158, 158, 152, 158, 168, 196,
|
826
|
+
|
827
|
+
119, 119, 169, 147, 172, 172, 172, 200, 129, 129,
|
828
|
+
146, 197, 173, 176, 176, 176, 174, 126, 143, 201,
|
829
|
+
126, 177, 204, 133, 133, 178, 124, 187, 187, 187,
|
830
|
+
213, 149, 149, 116, 205, 177, 219, 220, 220, 188,
|
831
|
+
115, 114, 214, 196, 119, 119, 113, 112, 221, 196,
|
832
|
+
119, 119, 196, 119, 119, 197, 224, 225, 225, 109,
|
833
|
+
108, 197, 94, 90, 222, 200, 129, 129, 226, 200,
|
834
|
+
129, 129, 200, 129, 129, 296, 79, 201, 229, 230,
|
835
|
+
230, 201, 79, 73, 227, 204, 133, 133, 73, 69,
|
836
|
+
231, 204, 133, 133, 204, 133, 133, 205, 237, 238,
|
837
|
+
|
838
|
+
238, 69, 63, 205, 63, 61, 232, 213, 149, 149,
|
839
|
+
239, 213, 149, 149, 213, 149, 149, 61, 55, 214,
|
840
|
+
219, 220, 220, 214, 55, 296, 240, 219, 220, 220,
|
841
|
+
296, 296, 221, 167, 167, 167, 219, 220, 220, 221,
|
842
|
+
296, 168, 196, 119, 119, 169, 296, 296, 244, 224,
|
843
|
+
225, 225, 296, 296, 222, 224, 225, 225, 172, 172,
|
844
|
+
172, 226, 224, 225, 225, 296, 173, 226, 296, 296,
|
845
|
+
174, 200, 129, 129, 245, 229, 230, 230, 229, 230,
|
846
|
+
230, 296, 296, 227, 176, 176, 176, 231, 296, 296,
|
847
|
+
231, 296, 177, 229, 230, 230, 178, 204, 133, 133,
|
848
|
+
|
849
|
+
237, 238, 238, 296, 296, 246, 237, 238, 238, 232,
|
850
|
+
296, 296, 239, 187, 187, 187, 296, 296, 239, 296,
|
851
|
+
296, 177, 237, 238, 238, 188, 213, 149, 149, 219,
|
852
|
+
220, 220, 296, 296, 250, 224, 225, 225, 240, 296,
|
853
|
+
296, 244, 229, 230, 230, 296, 296, 245, 237, 238,
|
854
|
+
238, 259, 259, 259, 246, 296, 262, 262, 262, 260,
|
855
|
+
250, 296, 296, 261, 263, 259, 259, 259, 264, 296,
|
856
|
+
262, 262, 262, 260, 296, 296, 296, 261, 263, 274,
|
857
|
+
259, 259, 264, 296, 279, 262, 262, 275, 296, 296,
|
858
|
+
296, 276, 280, 274, 259, 259, 281, 296, 274, 259,
|
859
|
+
|
860
|
+
259, 275, 296, 296, 296, 276, 275, 283, 284, 284,
|
861
|
+
276, 296, 274, 259, 259, 275, 296, 296, 296, 285,
|
862
|
+
275, 279, 262, 262, 286, 296, 279, 262, 262, 280,
|
863
|
+
296, 296, 296, 281, 280, 288, 289, 289, 281, 296,
|
864
|
+
279, 262, 262, 280, 296, 296, 296, 290, 280, 274,
|
865
|
+
259, 259, 291, 296, 274, 259, 259, 292, 296, 296,
|
866
|
+
296, 276, 292, 259, 259, 259, 276, 296, 274, 259,
|
867
|
+
259, 293, 296, 296, 296, 261, 292, 274, 259, 259,
|
868
|
+
286, 296, 279, 262, 262, 275, 296, 296, 296, 286,
|
869
|
+
294, 279, 262, 262, 281, 296, 262, 262, 262, 294,
|
870
|
+
|
871
|
+
296, 296, 296, 281, 295, 279, 262, 262, 264, 296,
|
872
|
+
279, 262, 262, 294, 296, 296, 296, 291, 280, 283,
|
873
|
+
284, 284, 291, 296, 288, 289, 289, 275, 296, 296,
|
874
|
+
296, 285, 280, 296, 296, 296, 290, 54, 54, 54,
|
875
|
+
54, 54, 54, 54, 54, 54, 54, 54, 56, 56,
|
876
|
+
56, 56, 56, 56, 56, 56, 56, 56, 56, 60,
|
877
|
+
60, 60, 60, 60, 60, 60, 60, 60, 60, 60,
|
878
|
+
62, 62, 62, 62, 62, 62, 62, 62, 62, 62,
|
879
|
+
62, 64, 64, 64, 64, 64, 64, 64, 64, 64,
|
880
|
+
64, 64, 68, 68, 68, 68, 68, 68, 68, 68,
|
881
|
+
|
882
|
+
68, 68, 68, 70, 70, 70, 70, 70, 70, 70,
|
883
|
+
70, 70, 70, 70, 74, 74, 74, 74, 74, 74,
|
884
|
+
74, 74, 74, 74, 74, 80, 80, 80, 80, 80,
|
885
|
+
80, 80, 80, 80, 80, 80, 85, 85, 85, 85,
|
886
|
+
85, 85, 85, 85, 85, 85, 85, 89, 296, 296,
|
887
|
+
296, 89, 93, 296, 296, 93, 93, 93, 111, 296,
|
888
|
+
296, 111, 111, 111, 117, 117, 117, 117, 117, 296,
|
889
|
+
117, 117, 117, 117, 117, 121, 121, 121, 121, 121,
|
890
|
+
121, 296, 121, 121, 121, 121, 125, 125, 125, 296,
|
891
|
+
125, 125, 125, 125, 125, 125, 125, 127, 127, 127,
|
892
|
+
|
893
|
+
127, 127, 296, 127, 127, 127, 127, 127, 131, 131,
|
894
|
+
131, 131, 131, 296, 131, 131, 131, 131, 136, 136,
|
895
|
+
136, 136, 136, 136, 136, 136, 136, 136, 136, 141,
|
896
|
+
141, 141, 141, 141, 296, 141, 141, 141, 141, 141,
|
897
|
+
142, 142, 142, 142, 296, 142, 142, 142, 142, 142,
|
898
|
+
142, 144, 296, 296, 296, 144, 144, 156, 296, 296,
|
899
|
+
156, 156, 156, 157, 296, 157, 157, 157, 157, 157,
|
900
|
+
157, 157, 157, 157, 160, 296, 296, 296, 160, 171,
|
901
|
+
296, 296, 296, 171, 181, 181, 182, 182, 183, 183,
|
902
|
+
184, 296, 296, 184, 184, 184, 185, 296, 185, 185,
|
903
|
+
|
904
|
+
185, 185, 185, 185, 185, 185, 185, 190, 296, 190,
|
905
|
+
190, 190, 190, 190, 190, 190, 190, 190, 192, 192,
|
906
|
+
193, 193, 195, 195, 195, 195, 195, 195, 195, 195,
|
907
|
+
195, 195, 195, 199, 199, 199, 199, 199, 199, 199,
|
908
|
+
199, 199, 199, 199, 203, 203, 203, 203, 203, 203,
|
909
|
+
203, 203, 203, 203, 203, 207, 207, 208, 208, 209,
|
910
|
+
209, 212, 212, 212, 212, 212, 212, 212, 212, 212,
|
911
|
+
212, 212, 216, 216, 217, 217, 218, 218, 218, 218,
|
912
|
+
218, 218, 218, 218, 218, 218, 218, 223, 223, 223,
|
913
|
+
223, 223, 223, 223, 223, 223, 223, 223, 228, 228,
|
914
|
+
|
915
|
+
228, 228, 228, 228, 228, 228, 228, 228, 228, 233,
|
916
|
+
233, 234, 234, 236, 236, 236, 236, 236, 236, 236,
|
917
|
+
236, 236, 236, 236, 242, 242, 243, 243, 247, 247,
|
918
|
+
248, 248, 252, 252, 253, 253, 254, 254, 257, 257,
|
919
|
+
258, 258, 265, 265, 266, 266, 267, 267, 267, 267,
|
920
|
+
267, 296, 267, 267, 267, 267, 267, 269, 269, 269,
|
921
|
+
269, 269, 296, 269, 269, 269, 269, 269, 271, 271,
|
922
|
+
273, 273, 273, 273, 273, 273, 273, 273, 273, 273,
|
923
|
+
273, 278, 278, 278, 278, 278, 278, 278, 278, 278,
|
924
|
+
278, 278, 282, 282, 282, 282, 282, 282, 282, 282,
|
925
|
+
|
926
|
+
282, 282, 282, 287, 287, 287, 287, 287, 287, 287,
|
927
|
+
287, 287, 287, 287, 27, 296, 296, 296, 296, 296,
|
928
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
929
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
930
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
931
|
+
296, 296, 296
|
931
932
|
} ;
|
932
933
|
|
933
|
-
static const flex_int16_t yy_chk[
|
934
|
+
static const flex_int16_t yy_chk[1254] =
|
934
935
|
{ 0,
|
935
936
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
936
937
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
937
938
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
|
938
939
|
1, 1, 1, 1, 1, 1, 1, 1, 5, 25,
|
939
940
|
15, 5, 5, 11, 15, 5, 5, 5, 26, 5,
|
940
|
-
11,
|
941
|
-
16, 6, 6, 39,
|
942
|
-
|
941
|
+
11, 269, 12, 5, 5, 5, 16, 5, 6, 12,
|
942
|
+
16, 6, 6, 39, 41, 6, 6, 6, 41, 6,
|
943
|
+
267, 39, 25, 6, 6, 6, 11, 6, 29, 29,
|
943
944
|
29, 26, 30, 30, 30, 12, 19, 19, 19, 33,
|
944
945
|
40, 58, 40, 40, 42, 58, 42, 42, 19, 33,
|
945
946
|
|
946
|
-
33,
|
947
|
-
75, 75,
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
23, 79, 79, 79,
|
953
|
-
23,
|
954
|
-
|
955
|
-
23,
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
95,
|
961
|
-
|
962
|
-
|
963
|
-
148,
|
964
|
-
148,
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
197, 197,
|
974
|
-
|
975
|
-
|
976
|
-
202,
|
977
|
-
202,
|
978
|
-
|
979
|
-
211,
|
980
|
-
|
981
|
-
218, 218, 218,
|
982
|
-
|
983
|
-
|
984
|
-
223,
|
985
|
-
|
986
|
-
227,
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
236, 236,
|
991
|
-
0,
|
992
|
-
|
993
|
-
244,
|
994
|
-
|
995
|
-
255, 255,
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
0, 273, 273, 273,
|
1000
|
-
|
1001
|
-
274,
|
1002
|
-
|
1003
|
-
278, 278,
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
0, 284, 284, 284, 283, 0,
|
1008
|
-
285,
|
1009
|
-
|
1010
|
-
288, 288, 287, 0,
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
291, 0,
|
947
|
+
33, 43, 264, 43, 44, 44, 47, 47, 42, 75,
|
948
|
+
75, 75, 115, 55, 55, 55, 115, 87, 19, 67,
|
949
|
+
87, 19, 20, 20, 20, 55, 63, 63, 63, 66,
|
950
|
+
66, 66, 92, 92, 20, 261, 67, 66, 63, 67,
|
951
|
+
67, 66, 251, 69, 69, 69, 76, 76, 76, 110,
|
952
|
+
110, 69, 122, 249, 20, 69, 122, 20, 23, 23,
|
953
|
+
23, 79, 79, 79, 81, 81, 81, 163, 163, 79,
|
954
|
+
23, 98, 98, 79, 82, 82, 82, 88, 88, 88,
|
955
|
+
145, 145, 145, 98, 101, 241, 101, 101, 235, 102,
|
956
|
+
23, 102, 102, 23, 24, 24, 24, 215, 101, 210,
|
957
|
+
|
958
|
+
103, 103, 191, 102, 103, 103, 24, 118, 118, 118,
|
959
|
+
119, 119, 119, 128, 128, 128, 162, 162, 119, 118,
|
960
|
+
164, 164, 119, 188, 186, 128, 24, 184, 162, 24,
|
961
|
+
95, 180, 178, 95, 95, 174, 169, 95, 95, 95,
|
962
|
+
156, 95, 129, 129, 129, 95, 95, 95, 153, 95,
|
963
|
+
129, 132, 132, 132, 129, 150, 133, 133, 133, 148,
|
964
|
+
148, 148, 147, 132, 133, 149, 149, 149, 133, 144,
|
965
|
+
137, 148, 135, 149, 151, 151, 151, 149, 158, 130,
|
966
|
+
120, 158, 158, 96, 93, 158, 158, 158, 84, 158,
|
967
|
+
167, 167, 167, 158, 158, 158, 83, 158, 167, 170,
|
968
|
+
|
969
|
+
170, 170, 167, 78, 172, 172, 172, 175, 175, 175,
|
970
|
+
77, 170, 172, 176, 176, 176, 172, 73, 72, 175,
|
971
|
+
61, 176, 179, 179, 179, 176, 59, 187, 187, 187,
|
972
|
+
189, 189, 189, 53, 179, 187, 194, 194, 194, 187,
|
973
|
+
52, 51, 189, 195, 195, 195, 50, 49, 194, 196,
|
974
|
+
196, 196, 197, 197, 197, 195, 198, 198, 198, 46,
|
975
|
+
45, 196, 38, 31, 197, 199, 199, 199, 198, 200,
|
976
|
+
200, 200, 201, 201, 201, 27, 22, 199, 202, 202,
|
977
|
+
202, 200, 21, 18, 201, 203, 203, 203, 17, 14,
|
978
|
+
202, 204, 204, 204, 205, 205, 205, 203, 211, 211,
|
979
|
+
|
980
|
+
211, 13, 10, 204, 9, 8, 205, 212, 212, 212,
|
981
|
+
211, 213, 213, 213, 214, 214, 214, 7, 4, 212,
|
982
|
+
218, 218, 218, 213, 3, 0, 214, 219, 219, 219,
|
983
|
+
0, 0, 218, 220, 220, 220, 221, 221, 221, 219,
|
984
|
+
0, 220, 222, 222, 222, 220, 0, 0, 221, 223,
|
985
|
+
223, 223, 0, 0, 222, 224, 224, 224, 225, 225,
|
986
|
+
225, 223, 226, 226, 226, 0, 225, 224, 0, 0,
|
987
|
+
225, 227, 227, 227, 226, 228, 228, 228, 229, 229,
|
988
|
+
229, 0, 0, 227, 230, 230, 230, 228, 0, 0,
|
989
|
+
229, 0, 230, 231, 231, 231, 230, 232, 232, 232,
|
990
|
+
|
991
|
+
236, 236, 236, 0, 0, 231, 237, 237, 237, 232,
|
992
|
+
0, 0, 236, 238, 238, 238, 0, 0, 237, 0,
|
993
|
+
0, 238, 239, 239, 239, 238, 240, 240, 240, 244,
|
994
|
+
244, 244, 0, 0, 239, 245, 245, 245, 240, 0,
|
995
|
+
0, 244, 246, 246, 246, 0, 0, 245, 250, 250,
|
996
|
+
250, 255, 255, 255, 246, 0, 256, 256, 256, 255,
|
997
|
+
250, 0, 0, 255, 256, 259, 259, 259, 256, 0,
|
998
|
+
262, 262, 262, 259, 0, 0, 0, 259, 262, 268,
|
999
|
+
268, 268, 262, 0, 270, 270, 270, 268, 0, 0,
|
1000
|
+
0, 268, 270, 273, 273, 273, 270, 0, 274, 274,
|
1001
|
+
|
1002
|
+
274, 273, 0, 0, 0, 273, 274, 275, 275, 275,
|
1003
|
+
274, 0, 276, 276, 276, 275, 0, 0, 0, 275,
|
1004
|
+
276, 278, 278, 278, 276, 0, 279, 279, 279, 278,
|
1005
|
+
0, 0, 0, 278, 279, 280, 280, 280, 279, 0,
|
1006
|
+
281, 281, 281, 280, 0, 0, 0, 280, 281, 282,
|
1007
|
+
282, 282, 281, 0, 283, 283, 283, 282, 0, 0,
|
1008
|
+
0, 282, 283, 284, 284, 284, 283, 0, 285, 285,
|
1009
|
+
285, 284, 0, 0, 0, 284, 285, 286, 286, 286,
|
1010
|
+
285, 0, 287, 287, 287, 286, 0, 0, 0, 286,
|
1011
|
+
287, 288, 288, 288, 287, 0, 289, 289, 289, 288,
|
1012
|
+
|
1013
|
+
0, 0, 0, 288, 289, 290, 290, 290, 289, 0,
|
1014
|
+
291, 291, 291, 290, 0, 0, 0, 290, 291, 292,
|
1015
|
+
292, 292, 291, 0, 294, 294, 294, 292, 0, 0,
|
1016
|
+
0, 292, 294, 0, 0, 0, 294, 297, 297, 297,
|
1017
|
+
297, 297, 297, 297, 297, 297, 297, 297, 298, 298,
|
1018
|
+
298, 298, 298, 298, 298, 298, 298, 298, 298, 299,
|
1019
|
+
299, 299, 299, 299, 299, 299, 299, 299, 299, 299,
|
1020
|
+
300, 300, 300, 300, 300, 300, 300, 300, 300, 300,
|
1021
|
+
300, 301, 301, 301, 301, 301, 301, 301, 301, 301,
|
1022
|
+
301, 301, 302, 302, 302, 302, 302, 302, 302, 302,
|
1023
|
+
|
1024
|
+
302, 302, 302, 303, 303, 303, 303, 303, 303, 303,
|
1025
|
+
303, 303, 303, 303, 304, 304, 304, 304, 304, 304,
|
1026
|
+
304, 304, 304, 304, 304, 305, 305, 305, 305, 305,
|
1027
|
+
305, 305, 305, 305, 305, 305, 306, 306, 306, 306,
|
1028
|
+
306, 306, 306, 306, 306, 306, 306, 307, 0, 0,
|
1029
|
+
0, 307, 308, 0, 0, 308, 308, 308, 309, 0,
|
1030
|
+
0, 309, 309, 309, 310, 310, 310, 310, 310, 0,
|
1031
|
+
310, 310, 310, 310, 310, 311, 311, 311, 311, 311,
|
1032
|
+
311, 0, 311, 311, 311, 311, 312, 312, 312, 0,
|
1033
|
+
312, 312, 312, 312, 312, 312, 312, 313, 313, 313,
|
1034
|
+
|
1035
|
+
313, 313, 0, 313, 313, 313, 313, 313, 314, 314,
|
1036
|
+
314, 314, 314, 0, 314, 314, 314, 314, 315, 315,
|
1037
|
+
315, 315, 315, 315, 315, 315, 315, 315, 315, 316,
|
1038
|
+
316, 316, 316, 316, 0, 316, 316, 316, 316, 316,
|
1039
|
+
317, 317, 317, 317, 0, 317, 317, 317, 317, 317,
|
1040
|
+
317, 318, 0, 0, 0, 318, 318, 319, 0, 0,
|
1041
|
+
319, 319, 319, 320, 0, 320, 320, 320, 320, 320,
|
1042
|
+
320, 320, 320, 320, 321, 0, 0, 0, 321, 322,
|
1043
|
+
0, 0, 0, 322, 323, 323, 324, 324, 325, 325,
|
1044
|
+
326, 0, 0, 326, 326, 326, 327, 0, 327, 327,
|
1045
|
+
|
1046
|
+
327, 327, 327, 327, 327, 327, 327, 328, 0, 328,
|
1047
|
+
328, 328, 328, 328, 328, 328, 328, 328, 329, 329,
|
1048
|
+
330, 330, 331, 331, 331, 331, 331, 331, 331, 331,
|
1049
|
+
331, 331, 331, 332, 332, 332, 332, 332, 332, 332,
|
1050
|
+
332, 332, 332, 332, 333, 333, 333, 333, 333, 333,
|
1051
|
+
333, 333, 333, 333, 333, 334, 334, 335, 335, 336,
|
1052
|
+
336, 337, 337, 337, 337, 337, 337, 337, 337, 337,
|
1053
|
+
337, 337, 338, 338, 339, 339, 340, 340, 340, 340,
|
1054
|
+
340, 340, 340, 340, 340, 340, 340, 341, 341, 341,
|
1055
|
+
341, 341, 341, 341, 341, 341, 341, 341, 342, 342,
|
1056
|
+
|
1057
|
+
342, 342, 342, 342, 342, 342, 342, 342, 342, 343,
|
1058
|
+
343, 344, 344, 345, 345, 345, 345, 345, 345, 345,
|
1059
|
+
345, 345, 345, 345, 346, 346, 347, 347, 348, 348,
|
1060
|
+
349, 349, 350, 350, 351, 351, 352, 352, 353, 353,
|
1061
|
+
354, 354, 355, 355, 356, 356, 357, 357, 357, 357,
|
1062
|
+
357, 0, 357, 357, 357, 357, 357, 358, 358, 358,
|
1063
|
+
358, 358, 0, 358, 358, 358, 358, 358, 359, 359,
|
1064
|
+
360, 360, 360, 360, 360, 360, 360, 360, 360, 360,
|
1065
|
+
360, 361, 361, 361, 361, 361, 361, 361, 361, 361,
|
1066
|
+
361, 361, 362, 362, 362, 362, 362, 362, 362, 362,
|
1067
|
+
|
1068
|
+
362, 362, 362, 363, 363, 363, 363, 363, 363, 363,
|
1069
|
+
363, 363, 363, 363, 296, 296, 296, 296, 296, 296,
|
1070
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
1071
|
+
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
1015
1072
|
296, 296, 296, 296, 296, 296, 296, 296, 296, 296,
|
1016
|
-
296,
|
1017
|
-
297, 297, 298, 298, 298, 298, 298, 298, 298, 298,
|
1018
|
-
298, 298, 298, 299, 299, 299, 299, 299, 299, 299,
|
1019
|
-
299, 299, 299, 299, 300, 300, 300, 300, 300, 300,
|
1020
|
-
300, 300, 300, 300, 300, 301, 301, 301, 301, 301,
|
1021
|
-
301, 301, 301, 301, 301, 301, 302, 302, 302, 302,
|
1022
|
-
|
1023
|
-
302, 302, 302, 302, 302, 302, 302, 303, 303, 303,
|
1024
|
-
303, 303, 303, 303, 303, 303, 303, 303, 304, 304,
|
1025
|
-
304, 304, 304, 304, 304, 304, 304, 304, 304, 305,
|
1026
|
-
305, 305, 305, 305, 305, 305, 305, 305, 305, 305,
|
1027
|
-
306, 0, 0, 0, 306, 307, 0, 0, 307, 307,
|
1028
|
-
307, 308, 0, 0, 308, 308, 308, 309, 309, 309,
|
1029
|
-
309, 309, 0, 309, 309, 309, 309, 309, 310, 310,
|
1030
|
-
310, 310, 310, 310, 0, 310, 310, 310, 310, 311,
|
1031
|
-
311, 311, 0, 311, 311, 311, 311, 311, 311, 311,
|
1032
|
-
312, 312, 312, 312, 312, 0, 312, 312, 312, 312,
|
1033
|
-
|
1034
|
-
312, 313, 313, 313, 313, 313, 0, 313, 313, 313,
|
1035
|
-
313, 314, 314, 314, 314, 314, 314, 314, 314, 314,
|
1036
|
-
314, 314, 315, 315, 315, 315, 315, 0, 315, 315,
|
1037
|
-
315, 315, 315, 316, 316, 316, 316, 0, 316, 316,
|
1038
|
-
316, 316, 316, 316, 317, 0, 0, 0, 317, 317,
|
1039
|
-
318, 0, 0, 318, 318, 318, 319, 0, 319, 319,
|
1040
|
-
319, 319, 319, 319, 319, 319, 319, 320, 0, 0,
|
1041
|
-
0, 320, 321, 0, 0, 0, 321, 322, 322, 323,
|
1042
|
-
323, 324, 324, 325, 0, 0, 325, 325, 325, 326,
|
1043
|
-
0, 326, 326, 326, 326, 326, 326, 326, 326, 326,
|
1044
|
-
|
1045
|
-
327, 0, 327, 327, 327, 327, 327, 327, 327, 327,
|
1046
|
-
327, 328, 328, 329, 329, 330, 330, 330, 330, 330,
|
1047
|
-
330, 330, 330, 330, 330, 330, 331, 331, 331, 331,
|
1048
|
-
331, 331, 331, 331, 331, 331, 331, 332, 332, 332,
|
1049
|
-
332, 332, 332, 332, 332, 332, 332, 332, 333, 333,
|
1050
|
-
334, 334, 335, 335, 336, 336, 336, 336, 336, 336,
|
1051
|
-
336, 336, 336, 336, 336, 337, 337, 338, 338, 339,
|
1052
|
-
339, 339, 339, 339, 339, 339, 339, 339, 339, 339,
|
1053
|
-
340, 340, 340, 340, 340, 340, 340, 340, 340, 340,
|
1054
|
-
340, 341, 341, 341, 341, 341, 341, 341, 341, 341,
|
1055
|
-
|
1056
|
-
341, 341, 342, 342, 343, 343, 344, 344, 344, 344,
|
1057
|
-
344, 344, 344, 344, 344, 344, 344, 345, 345, 346,
|
1058
|
-
346, 347, 347, 348, 348, 349, 349, 350, 350, 351,
|
1059
|
-
351, 352, 352, 353, 353, 354, 354, 355, 355, 356,
|
1060
|
-
356, 356, 356, 356, 0, 356, 356, 356, 356, 356,
|
1061
|
-
357, 357, 357, 357, 357, 0, 357, 357, 357, 357,
|
1062
|
-
357, 358, 358, 359, 359, 359, 359, 359, 359, 359,
|
1063
|
-
359, 359, 359, 359, 360, 360, 360, 360, 360, 360,
|
1064
|
-
360, 360, 360, 360, 360, 361, 361, 361, 361, 361,
|
1065
|
-
361, 361, 361, 361, 361, 361, 362, 362, 362, 362,
|
1066
|
-
|
1067
|
-
362, 362, 362, 362, 362, 362, 362, 295, 295, 295,
|
1068
|
-
295, 295, 295, 295, 295, 295, 295, 295, 295, 295,
|
1069
|
-
295, 295, 295, 295, 295, 295, 295, 295, 295, 295,
|
1070
|
-
295, 295, 295, 295, 295, 295, 295, 295, 295, 295,
|
1071
|
-
295, 295, 295, 295, 295, 295
|
1073
|
+
296, 296, 296
|
1072
1074
|
} ;
|
1073
1075
|
|
1074
1076
|
/* The intent behind this definition is that it'll catch
|
@@ -1149,7 +1151,7 @@ static void check_escape_warning(core_yyscan_t yyscanner);
|
|
1149
1151
|
extern int core_yyget_column(yyscan_t yyscanner);
|
1150
1152
|
extern void core_yyset_column(int column_no, yyscan_t yyscanner);
|
1151
1153
|
|
1152
|
-
#line
|
1154
|
+
#line 1153 "third_party/libpg_query/src_backend_parser_scan.cpp"
|
1153
1155
|
#define YY_NO_INPUT 1
|
1154
1156
|
/*
|
1155
1157
|
* OK, here is a short description of lex/flex rules behavior.
|
@@ -1303,7 +1305,7 @@ extern void core_yyset_column(int column_no, yyscan_t yyscanner);
|
|
1303
1305
|
* Note that xcstart must appear before operator, as explained above!
|
1304
1306
|
* Also whitespace (comment) must appear before operator.
|
1305
1307
|
*/
|
1306
|
-
#line
|
1308
|
+
#line 1307 "third_party/libpg_query/src_backend_parser_scan.cpp"
|
1307
1309
|
|
1308
1310
|
#define INITIAL 0
|
1309
1311
|
#define xb 1
|
@@ -1582,10 +1584,10 @@ YY_DECL
|
|
1582
1584
|
}
|
1583
1585
|
|
1584
1586
|
{
|
1585
|
-
#line
|
1587
|
+
#line 404 "third_party/libpg_query/scan.l"
|
1586
1588
|
|
1587
1589
|
|
1588
|
-
#line
|
1590
|
+
#line 1596 "third_party/libpg_query/src_backend_parser_scan.cpp"
|
1589
1591
|
|
1590
1592
|
while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */
|
1591
1593
|
{
|
@@ -1612,13 +1614,13 @@ yy_match:
|
|
1612
1614
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
1613
1615
|
{
|
1614
1616
|
yy_current_state = (int) yy_def[yy_current_state];
|
1615
|
-
if ( yy_current_state >=
|
1617
|
+
if ( yy_current_state >= 297 )
|
1616
1618
|
yy_c = yy_meta[yy_c];
|
1617
1619
|
}
|
1618
1620
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
|
1619
1621
|
++yy_cp;
|
1620
1622
|
}
|
1621
|
-
while ( yy_current_state !=
|
1623
|
+
while ( yy_current_state != 296 );
|
1622
1624
|
yy_cp = yyg->yy_last_accepting_cpos;
|
1623
1625
|
yy_current_state = yyg->yy_last_accepting_state;
|
1624
1626
|
|
@@ -1641,14 +1643,14 @@ do_action: /* This label is used only to access EOF actions. */
|
|
1641
1643
|
case 1:
|
1642
1644
|
/* rule 1 can match eol */
|
1643
1645
|
YY_RULE_SETUP
|
1644
|
-
#line
|
1646
|
+
#line 406 "third_party/libpg_query/scan.l"
|
1645
1647
|
{
|
1646
1648
|
/* ignore */
|
1647
1649
|
}
|
1648
1650
|
YY_BREAK
|
1649
1651
|
case 2:
|
1650
1652
|
YY_RULE_SETUP
|
1651
|
-
#line
|
1653
|
+
#line 410 "third_party/libpg_query/scan.l"
|
1652
1654
|
{
|
1653
1655
|
/* Set location in case of syntax error in comment */
|
1654
1656
|
SET_YYLLOC();
|
@@ -1660,7 +1662,7 @@ YY_RULE_SETUP
|
|
1660
1662
|
YY_BREAK
|
1661
1663
|
case 3:
|
1662
1664
|
YY_RULE_SETUP
|
1663
|
-
#line
|
1665
|
+
#line 419 "third_party/libpg_query/scan.l"
|
1664
1666
|
{
|
1665
1667
|
(yyextra->xcdepth)++;
|
1666
1668
|
/* Put back any characters past slash-star; see above */
|
@@ -1669,7 +1671,7 @@ YY_RULE_SETUP
|
|
1669
1671
|
YY_BREAK
|
1670
1672
|
case 4:
|
1671
1673
|
YY_RULE_SETUP
|
1672
|
-
#line
|
1674
|
+
#line 425 "third_party/libpg_query/scan.l"
|
1673
1675
|
{
|
1674
1676
|
if (yyextra->xcdepth <= 0)
|
1675
1677
|
BEGIN(INITIAL);
|
@@ -1680,32 +1682,32 @@ YY_RULE_SETUP
|
|
1680
1682
|
case 5:
|
1681
1683
|
/* rule 5 can match eol */
|
1682
1684
|
YY_RULE_SETUP
|
1683
|
-
#line
|
1685
|
+
#line 432 "third_party/libpg_query/scan.l"
|
1684
1686
|
{
|
1685
1687
|
/* ignore */
|
1686
1688
|
}
|
1687
1689
|
YY_BREAK
|
1688
1690
|
case 6:
|
1689
1691
|
YY_RULE_SETUP
|
1690
|
-
#line
|
1692
|
+
#line 436 "third_party/libpg_query/scan.l"
|
1691
1693
|
{
|
1692
1694
|
/* ignore */
|
1693
1695
|
}
|
1694
1696
|
YY_BREAK
|
1695
1697
|
case 7:
|
1696
1698
|
YY_RULE_SETUP
|
1697
|
-
#line
|
1699
|
+
#line 440 "third_party/libpg_query/scan.l"
|
1698
1700
|
{
|
1699
1701
|
/* ignore */
|
1700
1702
|
}
|
1701
1703
|
YY_BREAK
|
1702
1704
|
case YY_STATE_EOF(xc):
|
1703
|
-
#line
|
1705
|
+
#line 444 "third_party/libpg_query/scan.l"
|
1704
1706
|
{ yyerror("unterminated /* comment"); }
|
1705
1707
|
YY_BREAK
|
1706
1708
|
case 8:
|
1707
1709
|
YY_RULE_SETUP
|
1708
|
-
#line
|
1710
|
+
#line 446 "third_party/libpg_query/scan.l"
|
1709
1711
|
{
|
1710
1712
|
/* Binary bit type.
|
1711
1713
|
* At some point we should simply pass the string
|
@@ -1721,11 +1723,11 @@ YY_RULE_SETUP
|
|
1721
1723
|
YY_BREAK
|
1722
1724
|
case 9:
|
1723
1725
|
/* rule 9 can match eol */
|
1724
|
-
#line
|
1726
|
+
#line 459 "third_party/libpg_query/scan.l"
|
1725
1727
|
case 10:
|
1726
1728
|
/* rule 10 can match eol */
|
1727
1729
|
YY_RULE_SETUP
|
1728
|
-
#line
|
1730
|
+
#line 459 "third_party/libpg_query/scan.l"
|
1729
1731
|
{
|
1730
1732
|
yyless(1);
|
1731
1733
|
BEGIN(INITIAL);
|
@@ -1735,33 +1737,33 @@ YY_RULE_SETUP
|
|
1735
1737
|
YY_BREAK
|
1736
1738
|
case 11:
|
1737
1739
|
/* rule 11 can match eol */
|
1738
|
-
#line
|
1740
|
+
#line 466 "third_party/libpg_query/scan.l"
|
1739
1741
|
case 12:
|
1740
1742
|
/* rule 12 can match eol */
|
1741
1743
|
YY_RULE_SETUP
|
1742
|
-
#line
|
1744
|
+
#line 466 "third_party/libpg_query/scan.l"
|
1743
1745
|
{
|
1744
1746
|
addlit(yytext, yyleng, yyscanner);
|
1745
1747
|
}
|
1746
1748
|
YY_BREAK
|
1747
1749
|
case 13:
|
1748
1750
|
/* rule 13 can match eol */
|
1749
|
-
#line
|
1751
|
+
#line 470 "third_party/libpg_query/scan.l"
|
1750
1752
|
case 14:
|
1751
1753
|
/* rule 14 can match eol */
|
1752
1754
|
YY_RULE_SETUP
|
1753
|
-
#line
|
1755
|
+
#line 470 "third_party/libpg_query/scan.l"
|
1754
1756
|
{
|
1755
1757
|
/* ignore */
|
1756
1758
|
}
|
1757
1759
|
YY_BREAK
|
1758
1760
|
case YY_STATE_EOF(xb):
|
1759
|
-
#line
|
1761
|
+
#line 473 "third_party/libpg_query/scan.l"
|
1760
1762
|
{ yyerror("unterminated bit string literal"); }
|
1761
1763
|
YY_BREAK
|
1762
1764
|
case 15:
|
1763
1765
|
YY_RULE_SETUP
|
1764
|
-
#line
|
1766
|
+
#line 475 "third_party/libpg_query/scan.l"
|
1765
1767
|
{
|
1766
1768
|
/* Hexadecimal bit type.
|
1767
1769
|
* At some point we should simply pass the string
|
@@ -1777,11 +1779,11 @@ YY_RULE_SETUP
|
|
1777
1779
|
YY_BREAK
|
1778
1780
|
case 16:
|
1779
1781
|
/* rule 16 can match eol */
|
1780
|
-
#line
|
1782
|
+
#line 488 "third_party/libpg_query/scan.l"
|
1781
1783
|
case 17:
|
1782
1784
|
/* rule 17 can match eol */
|
1783
1785
|
YY_RULE_SETUP
|
1784
|
-
#line
|
1786
|
+
#line 488 "third_party/libpg_query/scan.l"
|
1785
1787
|
{
|
1786
1788
|
yyless(1);
|
1787
1789
|
BEGIN(INITIAL);
|
@@ -1790,12 +1792,12 @@ YY_RULE_SETUP
|
|
1790
1792
|
}
|
1791
1793
|
YY_BREAK
|
1792
1794
|
case YY_STATE_EOF(xh):
|
1793
|
-
#line
|
1795
|
+
#line 494 "third_party/libpg_query/scan.l"
|
1794
1796
|
{ yyerror("unterminated hexadecimal string literal"); }
|
1795
1797
|
YY_BREAK
|
1796
1798
|
case 18:
|
1797
1799
|
YY_RULE_SETUP
|
1798
|
-
#line
|
1800
|
+
#line 496 "third_party/libpg_query/scan.l"
|
1799
1801
|
{
|
1800
1802
|
/* National character.
|
1801
1803
|
* We will pass this along as a normal character string,
|
@@ -1824,7 +1826,7 @@ YY_RULE_SETUP
|
|
1824
1826
|
YY_BREAK
|
1825
1827
|
case 19:
|
1826
1828
|
YY_RULE_SETUP
|
1827
|
-
#line
|
1829
|
+
#line 522 "third_party/libpg_query/scan.l"
|
1828
1830
|
{
|
1829
1831
|
yyextra->warn_on_first_escape = true;
|
1830
1832
|
yyextra->saw_non_ascii = false;
|
@@ -1838,7 +1840,7 @@ YY_RULE_SETUP
|
|
1838
1840
|
YY_BREAK
|
1839
1841
|
case 20:
|
1840
1842
|
YY_RULE_SETUP
|
1841
|
-
#line
|
1843
|
+
#line 532 "third_party/libpg_query/scan.l"
|
1842
1844
|
{
|
1843
1845
|
yyextra->warn_on_first_escape = false;
|
1844
1846
|
yyextra->saw_non_ascii = false;
|
@@ -1849,7 +1851,7 @@ YY_RULE_SETUP
|
|
1849
1851
|
YY_BREAK
|
1850
1852
|
case 21:
|
1851
1853
|
YY_RULE_SETUP
|
1852
|
-
#line
|
1854
|
+
#line 539 "third_party/libpg_query/scan.l"
|
1853
1855
|
{
|
1854
1856
|
SET_YYLLOC();
|
1855
1857
|
if (!yyextra->standard_conforming_strings)
|
@@ -1864,11 +1866,11 @@ YY_RULE_SETUP
|
|
1864
1866
|
YY_BREAK
|
1865
1867
|
case 22:
|
1866
1868
|
/* rule 22 can match eol */
|
1867
|
-
#line
|
1869
|
+
#line 551 "third_party/libpg_query/scan.l"
|
1868
1870
|
case 23:
|
1869
1871
|
/* rule 23 can match eol */
|
1870
1872
|
YY_RULE_SETUP
|
1871
|
-
#line
|
1873
|
+
#line 551 "third_party/libpg_query/scan.l"
|
1872
1874
|
{
|
1873
1875
|
yyless(1);
|
1874
1876
|
BEGIN(INITIAL);
|
@@ -1886,11 +1888,11 @@ YY_RULE_SETUP
|
|
1886
1888
|
YY_BREAK
|
1887
1889
|
case 24:
|
1888
1890
|
/* rule 24 can match eol */
|
1889
|
-
#line
|
1891
|
+
#line 566 "third_party/libpg_query/scan.l"
|
1890
1892
|
case 25:
|
1891
1893
|
/* rule 25 can match eol */
|
1892
1894
|
YY_RULE_SETUP
|
1893
|
-
#line
|
1895
|
+
#line 566 "third_party/libpg_query/scan.l"
|
1894
1896
|
{
|
1895
1897
|
/* throw back all but the quote */
|
1896
1898
|
yyless(1);
|
@@ -1901,20 +1903,20 @@ YY_RULE_SETUP
|
|
1901
1903
|
case 26:
|
1902
1904
|
/* rule 26 can match eol */
|
1903
1905
|
YY_RULE_SETUP
|
1904
|
-
#line
|
1906
|
+
#line 572 "third_party/libpg_query/scan.l"
|
1905
1907
|
{
|
1906
1908
|
/* stay in xusend state over whitespace */
|
1907
1909
|
}
|
1908
1910
|
YY_BREAK
|
1909
1911
|
case YY_STATE_EOF(xusend):
|
1910
|
-
#line
|
1912
|
+
#line 575 "third_party/libpg_query/scan.l"
|
1911
1913
|
case 27:
|
1912
1914
|
/* rule 27 can match eol */
|
1913
|
-
#line
|
1915
|
+
#line 577 "third_party/libpg_query/scan.l"
|
1914
1916
|
case 28:
|
1915
1917
|
/* rule 28 can match eol */
|
1916
1918
|
YY_RULE_SETUP
|
1917
|
-
#line
|
1919
|
+
#line 577 "third_party/libpg_query/scan.l"
|
1918
1920
|
{
|
1919
1921
|
/* no UESCAPE after the quote, throw back everything */
|
1920
1922
|
yyless(0);
|
@@ -1926,7 +1928,7 @@ YY_RULE_SETUP
|
|
1926
1928
|
case 29:
|
1927
1929
|
/* rule 29 can match eol */
|
1928
1930
|
YY_RULE_SETUP
|
1929
|
-
#line
|
1931
|
+
#line 584 "third_party/libpg_query/scan.l"
|
1930
1932
|
{
|
1931
1933
|
/* found UESCAPE after the end quote */
|
1932
1934
|
BEGIN(INITIAL);
|
@@ -1943,7 +1945,7 @@ YY_RULE_SETUP
|
|
1943
1945
|
YY_BREAK
|
1944
1946
|
case 30:
|
1945
1947
|
YY_RULE_SETUP
|
1946
|
-
#line
|
1948
|
+
#line 597 "third_party/libpg_query/scan.l"
|
1947
1949
|
{
|
1948
1950
|
addlitchar('\'', yyscanner);
|
1949
1951
|
}
|
@@ -1951,7 +1953,7 @@ YY_RULE_SETUP
|
|
1951
1953
|
case 31:
|
1952
1954
|
/* rule 31 can match eol */
|
1953
1955
|
YY_RULE_SETUP
|
1954
|
-
#line
|
1956
|
+
#line 600 "third_party/libpg_query/scan.l"
|
1955
1957
|
{
|
1956
1958
|
addlit(yytext, yyleng, yyscanner);
|
1957
1959
|
}
|
@@ -1959,14 +1961,14 @@ YY_RULE_SETUP
|
|
1959
1961
|
case 32:
|
1960
1962
|
/* rule 32 can match eol */
|
1961
1963
|
YY_RULE_SETUP
|
1962
|
-
#line
|
1964
|
+
#line 603 "third_party/libpg_query/scan.l"
|
1963
1965
|
{
|
1964
1966
|
addlit(yytext, yyleng, yyscanner);
|
1965
1967
|
}
|
1966
1968
|
YY_BREAK
|
1967
1969
|
case 33:
|
1968
1970
|
YY_RULE_SETUP
|
1969
|
-
#line
|
1971
|
+
#line 606 "third_party/libpg_query/scan.l"
|
1970
1972
|
{
|
1971
1973
|
pg_wchar c = strtoul(yytext + 2, NULL, 16);
|
1972
1974
|
|
@@ -1985,7 +1987,7 @@ YY_RULE_SETUP
|
|
1985
1987
|
YY_BREAK
|
1986
1988
|
case 34:
|
1987
1989
|
YY_RULE_SETUP
|
1988
|
-
#line
|
1990
|
+
#line 621 "third_party/libpg_query/scan.l"
|
1989
1991
|
{
|
1990
1992
|
pg_wchar c = strtoul(yytext + 2, NULL, 16);
|
1991
1993
|
|
@@ -2001,22 +2003,22 @@ YY_RULE_SETUP
|
|
2001
2003
|
YY_BREAK
|
2002
2004
|
case 35:
|
2003
2005
|
YY_RULE_SETUP
|
2004
|
-
#line
|
2006
|
+
#line 633 "third_party/libpg_query/scan.l"
|
2005
2007
|
{ yyerror("invalid Unicode surrogate pair"); }
|
2006
2008
|
YY_BREAK
|
2007
2009
|
case 36:
|
2008
2010
|
/* rule 36 can match eol */
|
2009
2011
|
YY_RULE_SETUP
|
2010
|
-
#line
|
2012
|
+
#line 634 "third_party/libpg_query/scan.l"
|
2011
2013
|
{ yyerror("invalid Unicode surrogate pair"); }
|
2012
2014
|
YY_BREAK
|
2013
2015
|
case YY_STATE_EOF(xeu):
|
2014
|
-
#line
|
2016
|
+
#line 635 "third_party/libpg_query/scan.l"
|
2015
2017
|
{ yyerror("invalid Unicode surrogate pair"); }
|
2016
2018
|
YY_BREAK
|
2017
2019
|
case 37:
|
2018
2020
|
YY_RULE_SETUP
|
2019
|
-
#line
|
2021
|
+
#line 636 "third_party/libpg_query/scan.l"
|
2020
2022
|
{
|
2021
2023
|
ereport(ERROR,
|
2022
2024
|
(errcode(PG_ERRCODE_INVALID_ESCAPE_SEQUENCE),
|
@@ -2028,7 +2030,7 @@ YY_RULE_SETUP
|
|
2028
2030
|
case 38:
|
2029
2031
|
/* rule 38 can match eol */
|
2030
2032
|
YY_RULE_SETUP
|
2031
|
-
#line
|
2033
|
+
#line 643 "third_party/libpg_query/scan.l"
|
2032
2034
|
{
|
2033
2035
|
// if (yytext[1] == '\'')
|
2034
2036
|
// {
|
@@ -2048,7 +2050,7 @@ YY_RULE_SETUP
|
|
2048
2050
|
YY_BREAK
|
2049
2051
|
case 39:
|
2050
2052
|
YY_RULE_SETUP
|
2051
|
-
#line
|
2053
|
+
#line 659 "third_party/libpg_query/scan.l"
|
2052
2054
|
{
|
2053
2055
|
unsigned char c = strtoul(yytext + 1, NULL, 8);
|
2054
2056
|
|
@@ -2060,7 +2062,7 @@ YY_RULE_SETUP
|
|
2060
2062
|
YY_BREAK
|
2061
2063
|
case 40:
|
2062
2064
|
YY_RULE_SETUP
|
2063
|
-
#line
|
2065
|
+
#line 667 "third_party/libpg_query/scan.l"
|
2064
2066
|
{
|
2065
2067
|
unsigned char c = strtoul(yytext + 2, NULL, 16);
|
2066
2068
|
|
@@ -2073,14 +2075,14 @@ YY_RULE_SETUP
|
|
2073
2075
|
case 41:
|
2074
2076
|
/* rule 41 can match eol */
|
2075
2077
|
YY_RULE_SETUP
|
2076
|
-
#line
|
2078
|
+
#line 675 "third_party/libpg_query/scan.l"
|
2077
2079
|
{
|
2078
2080
|
/* ignore */
|
2079
2081
|
}
|
2080
2082
|
YY_BREAK
|
2081
2083
|
case 42:
|
2082
2084
|
YY_RULE_SETUP
|
2083
|
-
#line
|
2085
|
+
#line 678 "third_party/libpg_query/scan.l"
|
2084
2086
|
{
|
2085
2087
|
/* This is only needed for \ just before EOF */
|
2086
2088
|
addlitchar(yytext[0], yyscanner);
|
@@ -2089,12 +2091,12 @@ YY_RULE_SETUP
|
|
2089
2091
|
case YY_STATE_EOF(xq):
|
2090
2092
|
case YY_STATE_EOF(xe):
|
2091
2093
|
case YY_STATE_EOF(xus):
|
2092
|
-
#line
|
2094
|
+
#line 682 "third_party/libpg_query/scan.l"
|
2093
2095
|
{ yyerror("unterminated quoted string"); }
|
2094
2096
|
YY_BREAK
|
2095
2097
|
case 43:
|
2096
2098
|
YY_RULE_SETUP
|
2097
|
-
#line
|
2099
|
+
#line 684 "third_party/libpg_query/scan.l"
|
2098
2100
|
{
|
2099
2101
|
SET_YYLLOC();
|
2100
2102
|
yyextra->dolqstart = pstrdup(yytext);
|
@@ -2104,7 +2106,7 @@ YY_RULE_SETUP
|
|
2104
2106
|
YY_BREAK
|
2105
2107
|
case 44:
|
2106
2108
|
YY_RULE_SETUP
|
2107
|
-
#line
|
2109
|
+
#line 690 "third_party/libpg_query/scan.l"
|
2108
2110
|
{
|
2109
2111
|
SET_YYLLOC();
|
2110
2112
|
/* throw back all but the initial "$" */
|
@@ -2115,7 +2117,7 @@ YY_RULE_SETUP
|
|
2115
2117
|
YY_BREAK
|
2116
2118
|
case 45:
|
2117
2119
|
YY_RULE_SETUP
|
2118
|
-
#line
|
2120
|
+
#line 697 "third_party/libpg_query/scan.l"
|
2119
2121
|
{
|
2120
2122
|
if (strcmp(yytext, yyextra->dolqstart) == 0)
|
2121
2123
|
{
|
@@ -2140,33 +2142,33 @@ YY_RULE_SETUP
|
|
2140
2142
|
case 46:
|
2141
2143
|
/* rule 46 can match eol */
|
2142
2144
|
YY_RULE_SETUP
|
2143
|
-
#line
|
2145
|
+
#line 717 "third_party/libpg_query/scan.l"
|
2144
2146
|
{
|
2145
2147
|
addlit(yytext, yyleng, yyscanner);
|
2146
2148
|
}
|
2147
2149
|
YY_BREAK
|
2148
2150
|
case 47:
|
2149
2151
|
YY_RULE_SETUP
|
2150
|
-
#line
|
2152
|
+
#line 720 "third_party/libpg_query/scan.l"
|
2151
2153
|
{
|
2152
2154
|
addlit(yytext, yyleng, yyscanner);
|
2153
2155
|
}
|
2154
2156
|
YY_BREAK
|
2155
2157
|
case 48:
|
2156
2158
|
YY_RULE_SETUP
|
2157
|
-
#line
|
2159
|
+
#line 723 "third_party/libpg_query/scan.l"
|
2158
2160
|
{
|
2159
2161
|
/* This is only needed for $ inside the quoted text */
|
2160
2162
|
addlitchar(yytext[0], yyscanner);
|
2161
2163
|
}
|
2162
2164
|
YY_BREAK
|
2163
2165
|
case YY_STATE_EOF(xdolq):
|
2164
|
-
#line
|
2166
|
+
#line 727 "third_party/libpg_query/scan.l"
|
2165
2167
|
{ yyerror("unterminated dollar-quoted string"); }
|
2166
2168
|
YY_BREAK
|
2167
2169
|
case 49:
|
2168
2170
|
YY_RULE_SETUP
|
2169
|
-
#line
|
2171
|
+
#line 729 "third_party/libpg_query/scan.l"
|
2170
2172
|
{
|
2171
2173
|
SET_YYLLOC();
|
2172
2174
|
BEGIN(xd);
|
@@ -2175,7 +2177,7 @@ YY_RULE_SETUP
|
|
2175
2177
|
YY_BREAK
|
2176
2178
|
case 50:
|
2177
2179
|
YY_RULE_SETUP
|
2178
|
-
#line
|
2180
|
+
#line 734 "third_party/libpg_query/scan.l"
|
2179
2181
|
{
|
2180
2182
|
SET_YYLLOC();
|
2181
2183
|
BEGIN(xui);
|
@@ -2184,7 +2186,7 @@ YY_RULE_SETUP
|
|
2184
2186
|
YY_BREAK
|
2185
2187
|
case 51:
|
2186
2188
|
YY_RULE_SETUP
|
2187
|
-
#line
|
2189
|
+
#line 739 "third_party/libpg_query/scan.l"
|
2188
2190
|
{
|
2189
2191
|
char *ident;
|
2190
2192
|
|
@@ -2198,7 +2200,7 @@ YY_RULE_SETUP
|
|
2198
2200
|
YY_BREAK
|
2199
2201
|
case 52:
|
2200
2202
|
YY_RULE_SETUP
|
2201
|
-
#line
|
2203
|
+
#line 749 "third_party/libpg_query/scan.l"
|
2202
2204
|
{
|
2203
2205
|
yyless(1);
|
2204
2206
|
/* xuiend state looks for possible UESCAPE */
|
@@ -2208,20 +2210,20 @@ YY_RULE_SETUP
|
|
2208
2210
|
case 53:
|
2209
2211
|
/* rule 53 can match eol */
|
2210
2212
|
YY_RULE_SETUP
|
2211
|
-
#line
|
2213
|
+
#line 754 "third_party/libpg_query/scan.l"
|
2212
2214
|
{
|
2213
2215
|
/* stay in xuiend state over whitespace */
|
2214
2216
|
}
|
2215
2217
|
YY_BREAK
|
2216
2218
|
case YY_STATE_EOF(xuiend):
|
2217
|
-
#line
|
2219
|
+
#line 757 "third_party/libpg_query/scan.l"
|
2218
2220
|
case 54:
|
2219
2221
|
/* rule 54 can match eol */
|
2220
|
-
#line
|
2222
|
+
#line 759 "third_party/libpg_query/scan.l"
|
2221
2223
|
case 55:
|
2222
2224
|
/* rule 55 can match eol */
|
2223
2225
|
YY_RULE_SETUP
|
2224
|
-
#line
|
2226
|
+
#line 759 "third_party/libpg_query/scan.l"
|
2225
2227
|
{
|
2226
2228
|
/* no UESCAPE after the quote, throw back everything */
|
2227
2229
|
char *ident;
|
@@ -2239,7 +2241,7 @@ YY_RULE_SETUP
|
|
2239
2241
|
case 56:
|
2240
2242
|
/* rule 56 can match eol */
|
2241
2243
|
YY_RULE_SETUP
|
2242
|
-
#line
|
2244
|
+
#line 772 "third_party/libpg_query/scan.l"
|
2243
2245
|
{
|
2244
2246
|
/* found UESCAPE after the end quote */
|
2245
2247
|
char *ident;
|
@@ -2260,7 +2262,7 @@ YY_RULE_SETUP
|
|
2260
2262
|
YY_BREAK
|
2261
2263
|
case 57:
|
2262
2264
|
YY_RULE_SETUP
|
2263
|
-
#line
|
2265
|
+
#line 789 "third_party/libpg_query/scan.l"
|
2264
2266
|
{
|
2265
2267
|
addlitchar('"', yyscanner);
|
2266
2268
|
}
|
@@ -2268,19 +2270,19 @@ YY_RULE_SETUP
|
|
2268
2270
|
case 58:
|
2269
2271
|
/* rule 58 can match eol */
|
2270
2272
|
YY_RULE_SETUP
|
2271
|
-
#line
|
2273
|
+
#line 792 "third_party/libpg_query/scan.l"
|
2272
2274
|
{
|
2273
2275
|
addlit(yytext, yyleng, yyscanner);
|
2274
2276
|
}
|
2275
2277
|
YY_BREAK
|
2276
2278
|
case YY_STATE_EOF(xd):
|
2277
2279
|
case YY_STATE_EOF(xui):
|
2278
|
-
#line
|
2280
|
+
#line 795 "third_party/libpg_query/scan.l"
|
2279
2281
|
{ yyerror("unterminated quoted identifier"); }
|
2280
2282
|
YY_BREAK
|
2281
2283
|
case 59:
|
2282
2284
|
YY_RULE_SETUP
|
2283
|
-
#line
|
2285
|
+
#line 797 "third_party/libpg_query/scan.l"
|
2284
2286
|
{
|
2285
2287
|
char *ident;
|
2286
2288
|
|
@@ -2295,7 +2297,7 @@ YY_RULE_SETUP
|
|
2295
2297
|
YY_BREAK
|
2296
2298
|
case 60:
|
2297
2299
|
YY_RULE_SETUP
|
2298
|
-
#line
|
2300
|
+
#line 809 "third_party/libpg_query/scan.l"
|
2299
2301
|
{
|
2300
2302
|
SET_YYLLOC();
|
2301
2303
|
return TYPECAST;
|
@@ -2303,7 +2305,7 @@ YY_RULE_SETUP
|
|
2303
2305
|
YY_BREAK
|
2304
2306
|
case 61:
|
2305
2307
|
YY_RULE_SETUP
|
2306
|
-
#line
|
2308
|
+
#line 814 "third_party/libpg_query/scan.l"
|
2307
2309
|
{
|
2308
2310
|
SET_YYLLOC();
|
2309
2311
|
return DOT_DOT;
|
@@ -2311,7 +2313,7 @@ YY_RULE_SETUP
|
|
2311
2313
|
YY_BREAK
|
2312
2314
|
case 62:
|
2313
2315
|
YY_RULE_SETUP
|
2314
|
-
#line
|
2316
|
+
#line 819 "third_party/libpg_query/scan.l"
|
2315
2317
|
{
|
2316
2318
|
SET_YYLLOC();
|
2317
2319
|
return COLON_EQUALS;
|
@@ -2319,7 +2321,7 @@ YY_RULE_SETUP
|
|
2319
2321
|
YY_BREAK
|
2320
2322
|
case 63:
|
2321
2323
|
YY_RULE_SETUP
|
2322
|
-
#line
|
2324
|
+
#line 824 "third_party/libpg_query/scan.l"
|
2323
2325
|
{
|
2324
2326
|
SET_YYLLOC();
|
2325
2327
|
return LAMBDA_ARROW;
|
@@ -2327,7 +2329,7 @@ YY_RULE_SETUP
|
|
2327
2329
|
YY_BREAK
|
2328
2330
|
case 64:
|
2329
2331
|
YY_RULE_SETUP
|
2330
|
-
#line
|
2332
|
+
#line 829 "third_party/libpg_query/scan.l"
|
2331
2333
|
{
|
2332
2334
|
SET_YYLLOC();
|
2333
2335
|
return DOUBLE_ARROW;
|
@@ -2335,7 +2337,7 @@ YY_RULE_SETUP
|
|
2335
2337
|
YY_BREAK
|
2336
2338
|
case 65:
|
2337
2339
|
YY_RULE_SETUP
|
2338
|
-
#line
|
2340
|
+
#line 834 "third_party/libpg_query/scan.l"
|
2339
2341
|
{
|
2340
2342
|
SET_YYLLOC();
|
2341
2343
|
return POWER_OF;
|
@@ -2343,35 +2345,34 @@ YY_RULE_SETUP
|
|
2343
2345
|
YY_BREAK
|
2344
2346
|
case 66:
|
2345
2347
|
YY_RULE_SETUP
|
2346
|
-
#line
|
2348
|
+
#line 839 "third_party/libpg_query/scan.l"
|
2347
2349
|
{
|
2348
2350
|
SET_YYLLOC();
|
2349
|
-
return
|
2351
|
+
return INTEGER_DIVISION;
|
2350
2352
|
}
|
2351
2353
|
YY_BREAK
|
2352
2354
|
case 67:
|
2353
2355
|
YY_RULE_SETUP
|
2354
|
-
#line
|
2356
|
+
#line 844 "third_party/libpg_query/scan.l"
|
2355
2357
|
{
|
2356
2358
|
SET_YYLLOC();
|
2357
|
-
return
|
2359
|
+
return EQUALS_GREATER;
|
2358
2360
|
}
|
2359
2361
|
YY_BREAK
|
2360
2362
|
case 68:
|
2361
2363
|
YY_RULE_SETUP
|
2362
|
-
#line
|
2364
|
+
#line 849 "third_party/libpg_query/scan.l"
|
2363
2365
|
{
|
2364
2366
|
SET_YYLLOC();
|
2365
|
-
return
|
2367
|
+
return LESS_EQUALS;
|
2366
2368
|
}
|
2367
2369
|
YY_BREAK
|
2368
2370
|
case 69:
|
2369
2371
|
YY_RULE_SETUP
|
2370
|
-
#line
|
2372
|
+
#line 854 "third_party/libpg_query/scan.l"
|
2371
2373
|
{
|
2372
|
-
/* We accept both "<>" and "!=" as meaning NOT_EQUALS */
|
2373
2374
|
SET_YYLLOC();
|
2374
|
-
return
|
2375
|
+
return GREATER_EQUALS;
|
2375
2376
|
}
|
2376
2377
|
YY_BREAK
|
2377
2378
|
case 70:
|
@@ -2387,13 +2388,22 @@ case 71:
|
|
2387
2388
|
YY_RULE_SETUP
|
2388
2389
|
#line 865 "third_party/libpg_query/scan.l"
|
2389
2390
|
{
|
2391
|
+
/* We accept both "<>" and "!=" as meaning NOT_EQUALS */
|
2390
2392
|
SET_YYLLOC();
|
2391
|
-
return
|
2393
|
+
return NOT_EQUALS;
|
2392
2394
|
}
|
2393
2395
|
YY_BREAK
|
2394
2396
|
case 72:
|
2395
2397
|
YY_RULE_SETUP
|
2396
|
-
#line
|
2398
|
+
#line 871 "third_party/libpg_query/scan.l"
|
2399
|
+
{
|
2400
|
+
SET_YYLLOC();
|
2401
|
+
return yytext[0];
|
2402
|
+
}
|
2403
|
+
YY_BREAK
|
2404
|
+
case 73:
|
2405
|
+
YY_RULE_SETUP
|
2406
|
+
#line 876 "third_party/libpg_query/scan.l"
|
2397
2407
|
{
|
2398
2408
|
/*
|
2399
2409
|
* Check for embedded slash-star or dash-dash; those
|
@@ -2511,44 +2521,44 @@ YY_RULE_SETUP
|
|
2511
2521
|
return Op;
|
2512
2522
|
}
|
2513
2523
|
YY_BREAK
|
2514
|
-
case
|
2524
|
+
case 74:
|
2515
2525
|
YY_RULE_SETUP
|
2516
|
-
#line
|
2526
|
+
#line 993 "third_party/libpg_query/scan.l"
|
2517
2527
|
{
|
2518
2528
|
SET_YYLLOC();
|
2519
2529
|
yylval->ival = atol(yytext + 1);
|
2520
2530
|
return PARAM;
|
2521
2531
|
}
|
2522
2532
|
YY_BREAK
|
2523
|
-
case
|
2533
|
+
case 75:
|
2524
2534
|
YY_RULE_SETUP
|
2525
|
-
#line
|
2535
|
+
#line 999 "third_party/libpg_query/scan.l"
|
2526
2536
|
{
|
2527
2537
|
SET_YYLLOC();
|
2528
2538
|
yylval->ival = atol(yytext + 1);
|
2529
2539
|
return PARAM;
|
2530
2540
|
}
|
2531
2541
|
YY_BREAK
|
2532
|
-
case
|
2542
|
+
case 76:
|
2533
2543
|
YY_RULE_SETUP
|
2534
|
-
#line
|
2544
|
+
#line 1005 "third_party/libpg_query/scan.l"
|
2535
2545
|
{
|
2536
2546
|
SET_YYLLOC();
|
2537
2547
|
return process_integer_literal(yytext, yylval);
|
2538
2548
|
}
|
2539
2549
|
YY_BREAK
|
2540
|
-
case
|
2550
|
+
case 77:
|
2541
2551
|
YY_RULE_SETUP
|
2542
|
-
#line
|
2552
|
+
#line 1009 "third_party/libpg_query/scan.l"
|
2543
2553
|
{
|
2544
2554
|
SET_YYLLOC();
|
2545
2555
|
yylval->str = pstrdup(yytext);
|
2546
2556
|
return FCONST;
|
2547
2557
|
}
|
2548
2558
|
YY_BREAK
|
2549
|
-
case
|
2559
|
+
case 78:
|
2550
2560
|
YY_RULE_SETUP
|
2551
|
-
#line
|
2561
|
+
#line 1014 "third_party/libpg_query/scan.l"
|
2552
2562
|
{
|
2553
2563
|
/* throw back the .., and treat as integer */
|
2554
2564
|
yyless(yyleng - 2);
|
@@ -2556,18 +2566,18 @@ YY_RULE_SETUP
|
|
2556
2566
|
return process_integer_literal(yytext, yylval);
|
2557
2567
|
}
|
2558
2568
|
YY_BREAK
|
2559
|
-
case
|
2569
|
+
case 79:
|
2560
2570
|
YY_RULE_SETUP
|
2561
|
-
#line
|
2571
|
+
#line 1020 "third_party/libpg_query/scan.l"
|
2562
2572
|
{
|
2563
2573
|
SET_YYLLOC();
|
2564
2574
|
yylval->str = pstrdup(yytext);
|
2565
2575
|
return FCONST;
|
2566
2576
|
}
|
2567
2577
|
YY_BREAK
|
2568
|
-
case
|
2578
|
+
case 80:
|
2569
2579
|
YY_RULE_SETUP
|
2570
|
-
#line
|
2580
|
+
#line 1025 "third_party/libpg_query/scan.l"
|
2571
2581
|
{
|
2572
2582
|
/*
|
2573
2583
|
* throw back the [Ee], and treat as {decimal}. Note
|
@@ -2581,9 +2591,9 @@ YY_RULE_SETUP
|
|
2581
2591
|
return FCONST;
|
2582
2592
|
}
|
2583
2593
|
YY_BREAK
|
2584
|
-
case
|
2594
|
+
case 81:
|
2585
2595
|
YY_RULE_SETUP
|
2586
|
-
#line
|
2596
|
+
#line 1037 "third_party/libpg_query/scan.l"
|
2587
2597
|
{
|
2588
2598
|
/* throw back the [Ee][+-], and proceed as above */
|
2589
2599
|
yyless(yyleng - 2);
|
@@ -2592,9 +2602,9 @@ YY_RULE_SETUP
|
|
2592
2602
|
return FCONST;
|
2593
2603
|
}
|
2594
2604
|
YY_BREAK
|
2595
|
-
case
|
2605
|
+
case 82:
|
2596
2606
|
YY_RULE_SETUP
|
2597
|
-
#line
|
2607
|
+
#line 1046 "third_party/libpg_query/scan.l"
|
2598
2608
|
{
|
2599
2609
|
const PGScanKeyword *keyword;
|
2600
2610
|
char *ident;
|
@@ -2628,27 +2638,27 @@ YY_RULE_SETUP
|
|
2628
2638
|
return IDENT;
|
2629
2639
|
}
|
2630
2640
|
YY_BREAK
|
2631
|
-
case
|
2641
|
+
case 83:
|
2632
2642
|
YY_RULE_SETUP
|
2633
|
-
#line
|
2643
|
+
#line 1079 "third_party/libpg_query/scan.l"
|
2634
2644
|
{
|
2635
2645
|
SET_YYLLOC();
|
2636
2646
|
return yytext[0];
|
2637
2647
|
}
|
2638
2648
|
YY_BREAK
|
2639
2649
|
case YY_STATE_EOF(INITIAL):
|
2640
|
-
#line
|
2650
|
+
#line 1084 "third_party/libpg_query/scan.l"
|
2641
2651
|
{
|
2642
2652
|
SET_YYLLOC();
|
2643
2653
|
yyterminate();
|
2644
2654
|
}
|
2645
2655
|
YY_BREAK
|
2646
|
-
case
|
2656
|
+
case 84:
|
2647
2657
|
YY_RULE_SETUP
|
2648
|
-
#line
|
2658
|
+
#line 1089 "third_party/libpg_query/scan.l"
|
2649
2659
|
YY_FATAL_ERROR( "flex scanner jammed" );
|
2650
2660
|
YY_BREAK
|
2651
|
-
#line
|
2661
|
+
#line 2667 "third_party/libpg_query/src_backend_parser_scan.cpp"
|
2652
2662
|
|
2653
2663
|
case YY_END_OF_BUFFER:
|
2654
2664
|
{
|
@@ -2946,7 +2956,7 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
|
|
2946
2956
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
2947
2957
|
{
|
2948
2958
|
yy_current_state = (int) yy_def[yy_current_state];
|
2949
|
-
if ( yy_current_state >=
|
2959
|
+
if ( yy_current_state >= 297 )
|
2950
2960
|
yy_c = yy_meta[yy_c];
|
2951
2961
|
}
|
2952
2962
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
|
@@ -2975,11 +2985,11 @@ static int yy_get_next_buffer (yyscan_t yyscanner)
|
|
2975
2985
|
while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
|
2976
2986
|
{
|
2977
2987
|
yy_current_state = (int) yy_def[yy_current_state];
|
2978
|
-
if ( yy_current_state >=
|
2988
|
+
if ( yy_current_state >= 297 )
|
2979
2989
|
yy_c = yy_meta[yy_c];
|
2980
2990
|
}
|
2981
2991
|
yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
|
2982
|
-
yy_is_jam = (yy_current_state ==
|
2992
|
+
yy_is_jam = (yy_current_state == 296);
|
2983
2993
|
|
2984
2994
|
(void)yyg;
|
2985
2995
|
return yy_is_jam ? 0 : yy_current_state;
|
@@ -3773,7 +3783,7 @@ static int yy_flex_strlen (const char * s , yyscan_t yyscanner)
|
|
3773
3783
|
|
3774
3784
|
#define YYTABLES_NAME "yytables"
|
3775
3785
|
|
3776
|
-
#line
|
3786
|
+
#line 1089 "third_party/libpg_query/scan.l"
|
3777
3787
|
|
3778
3788
|
|
3779
3789
|
/* LCOV_EXCL_STOP */
|