duckdb 0.8.2-dev4142.0 → 0.8.2-dev4314.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 +0 -2
- package/lib/duckdb.js +3 -3
- package/package.json +1 -1
- package/src/connection.cpp +9 -8
- package/src/database.cpp +5 -8
- package/src/duckdb/extension/icu/icu-datepart.cpp +2 -2
- package/src/duckdb/extension/icu/icu-strptime.cpp +0 -9
- package/src/duckdb/extension/icu/icu_extension.cpp +3 -3
- package/src/duckdb/extension/icu/third_party/icu/i18n/unicode/gregocal.h +1 -1
- package/src/duckdb/extension/json/buffered_json_reader.cpp +3 -17
- package/src/duckdb/extension/json/include/buffered_json_reader.hpp +2 -5
- package/src/duckdb/extension/json/include/json_deserializer.hpp +2 -2
- package/src/duckdb/extension/json/include/json_scan.hpp +5 -12
- package/src/duckdb/extension/json/include/json_serializer.hpp +3 -3
- package/src/duckdb/extension/json/include/json_transform.hpp +2 -5
- package/src/duckdb/extension/json/json_functions/json_serialize_sql.cpp +1 -1
- package/src/duckdb/extension/json/json_functions/json_transform.cpp +2 -18
- package/src/duckdb/extension/json/json_scan.cpp +7 -76
- package/src/duckdb/extension/json/serialize_json.cpp +8 -8
- package/src/duckdb/extension/parquet/column_writer.cpp +46 -45
- package/src/duckdb/extension/parquet/include/column_writer.hpp +2 -2
- package/src/duckdb/extension/parquet/include/parquet_reader.hpp +2 -5
- package/src/duckdb/extension/parquet/include/parquet_rle_bp_encoder.hpp +4 -4
- package/src/duckdb/extension/parquet/parquet_extension.cpp +74 -55
- package/src/duckdb/extension/parquet/parquet_writer.cpp +3 -2
- package/src/duckdb/extension/parquet/serialize_parquet.cpp +4 -4
- package/src/duckdb/src/catalog/catalog_entry/index_catalog_entry.cpp +0 -1
- package/src/duckdb/src/catalog/catalog_entry/macro_catalog_entry.cpp +0 -1
- package/src/duckdb/src/catalog/catalog_entry/schema_catalog_entry.cpp +0 -1
- package/src/duckdb/src/catalog/catalog_entry/sequence_catalog_entry.cpp +0 -1
- package/src/duckdb/src/catalog/catalog_entry/table_catalog_entry.cpp +0 -2
- package/src/duckdb/src/catalog/catalog_entry/type_catalog_entry.cpp +1 -3
- package/src/duckdb/src/catalog/catalog_entry/view_catalog_entry.cpp +0 -1
- package/src/duckdb/src/catalog/catalog_entry.cpp +2 -11
- package/src/duckdb/src/catalog/catalog_set.cpp +16 -14
- package/src/duckdb/src/catalog/default/default_functions.cpp +2 -2
- package/src/duckdb/src/common/arrow/arrow_converter.cpp +0 -1
- package/src/duckdb/src/common/constants.cpp +0 -1
- package/src/duckdb/src/common/enum_util.cpp +0 -10
- package/src/duckdb/src/common/exception.cpp +1 -1
- package/src/duckdb/src/common/extra_type_info.cpp +20 -192
- package/src/duckdb/src/common/multi_file_reader.cpp +0 -68
- package/src/duckdb/src/common/serializer/binary_serializer.cpp +9 -4
- package/src/duckdb/src/common/serializer/buffered_file_reader.cpp +3 -11
- package/src/duckdb/src/common/serializer/buffered_file_writer.cpp +1 -1
- package/src/duckdb/src/common/serializer/memory_stream.cpp +61 -0
- package/src/duckdb/src/common/serializer/{format_serializer.cpp → serializer.cpp} +2 -2
- package/src/duckdb/src/common/sort/partition_state.cpp +107 -29
- package/src/duckdb/src/common/types/column/column_data_collection.cpp +4 -4
- package/src/duckdb/src/common/types/data_chunk.cpp +11 -43
- package/src/duckdb/src/common/types/hyperloglog.cpp +4 -23
- package/src/duckdb/src/common/types/interval.cpp +2 -2
- package/src/duckdb/src/common/types/value.cpp +10 -135
- package/src/duckdb/src/common/types/vector.cpp +17 -149
- package/src/duckdb/src/common/types.cpp +2 -20
- package/src/duckdb/src/core_functions/aggregate/algebraic/avg.cpp +0 -1
- package/src/duckdb/src/core_functions/aggregate/distributive/string_agg.cpp +6 -7
- package/src/duckdb/src/core_functions/aggregate/holistic/approximate_quantile.cpp +5 -28
- package/src/duckdb/src/core_functions/aggregate/holistic/quantile.cpp +30 -78
- package/src/duckdb/src/core_functions/aggregate/holistic/reservoir_quantile.cpp +5 -30
- package/src/duckdb/src/core_functions/scalar/date/date_part.cpp +6 -9
- package/src/duckdb/src/core_functions/scalar/list/list_aggregates.cpp +21 -16
- package/src/duckdb/src/core_functions/scalar/list/list_lambdas.cpp +15 -23
- package/src/duckdb/src/execution/index/art/art.cpp +5 -1
- package/src/duckdb/src/execution/index/art/leaf.cpp +13 -10
- package/src/duckdb/src/execution/index/art/node48.cpp +0 -2
- package/src/duckdb/src/execution/index/fixed_size_allocator.cpp +38 -73
- package/src/duckdb/src/execution/index/fixed_size_buffer.cpp +245 -27
- package/src/duckdb/src/execution/operator/aggregate/physical_window.cpp +2 -3
- package/src/duckdb/src/execution/operator/join/physical_asof_join.cpp +35 -20
- package/src/duckdb/src/function/macro_function.cpp +0 -42
- package/src/duckdb/src/function/scalar/compressed_materialization/compress_integral.cpp +10 -8
- package/src/duckdb/src/function/scalar/compressed_materialization/compress_string.cpp +13 -12
- package/src/duckdb/src/function/scalar/operators/arithmetic.cpp +9 -11
- package/src/duckdb/src/function/scalar/system/aggregate_export.cpp +7 -33
- package/src/duckdb/src/function/scalar_function.cpp +1 -2
- package/src/duckdb/src/function/scalar_macro_function.cpp +0 -10
- package/src/duckdb/src/function/table/copy_csv.cpp +38 -38
- package/src/duckdb/src/function/table/read_csv.cpp +5 -174
- package/src/duckdb/src/function/table/table_scan.cpp +5 -42
- package/src/duckdb/src/function/table/version/pragma_version.cpp +2 -2
- package/src/duckdb/src/function/table_function.cpp +3 -4
- package/src/duckdb/src/function/table_macro_function.cpp +0 -10
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp +0 -2
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/sequence_catalog_entry.hpp +0 -2
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry/type_catalog_entry.hpp +0 -2
- package/src/duckdb/src/include/duckdb/catalog/catalog_entry.hpp +3 -8
- package/src/duckdb/src/include/duckdb/common/constants.hpp +4 -2
- package/src/duckdb/src/include/duckdb/common/extra_type_info.hpp +16 -46
- package/src/duckdb/src/include/duckdb/common/index_vector.hpp +4 -4
- package/src/duckdb/src/include/duckdb/common/multi_file_reader.hpp +2 -6
- package/src/duckdb/src/include/duckdb/common/multi_file_reader_options.hpp +0 -4
- package/src/duckdb/src/include/duckdb/common/serializer/binary_deserializer.hpp +44 -23
- package/src/duckdb/src/include/duckdb/common/serializer/binary_serializer.hpp +31 -23
- package/src/duckdb/src/include/duckdb/common/serializer/buffered_file_reader.hpp +4 -6
- package/src/duckdb/src/include/duckdb/common/serializer/buffered_file_writer.hpp +3 -3
- package/src/duckdb/src/include/duckdb/common/serializer/deserialization_data.hpp +17 -0
- package/src/duckdb/src/include/duckdb/common/serializer/{format_deserializer.hpp → deserializer.hpp} +13 -13
- package/src/duckdb/src/include/duckdb/common/serializer/memory_stream.hpp +62 -0
- package/src/duckdb/src/include/duckdb/common/serializer/read_stream.hpp +38 -0
- package/src/duckdb/src/include/duckdb/common/serializer/serialization_traits.hpp +15 -13
- package/src/duckdb/src/include/duckdb/common/serializer/{format_serializer.hpp → serializer.hpp} +13 -12
- package/src/duckdb/src/include/duckdb/common/serializer/write_stream.hpp +36 -0
- package/src/duckdb/src/include/duckdb/common/sort/partition_state.hpp +14 -4
- package/src/duckdb/src/include/duckdb/common/types/column/column_data_collection.hpp +2 -2
- package/src/duckdb/src/include/duckdb/common/types/data_chunk.hpp +3 -8
- package/src/duckdb/src/include/duckdb/common/types/hyperloglog.hpp +4 -10
- package/src/duckdb/src/include/duckdb/common/types/interval.hpp +4 -4
- package/src/duckdb/src/include/duckdb/common/types/value.hpp +1 -5
- package/src/duckdb/src/include/duckdb/common/types/vector.hpp +2 -7
- package/src/duckdb/src/include/duckdb/common/types.hpp +1 -10
- package/src/duckdb/src/include/duckdb/execution/index/art/leaf.hpp +2 -0
- package/src/duckdb/src/include/duckdb/execution/index/fixed_size_allocator.hpp +1 -7
- package/src/duckdb/src/include/duckdb/execution/index/fixed_size_buffer.hpp +38 -8
- package/src/duckdb/src/include/duckdb/execution/operator/scan/csv/csv_reader_options.hpp +2 -11
- package/src/duckdb/src/include/duckdb/function/aggregate_function.hpp +4 -14
- package/src/duckdb/src/include/duckdb/function/copy_function.hpp +3 -3
- package/src/duckdb/src/include/duckdb/function/function_serialization.hpp +15 -98
- package/src/duckdb/src/include/duckdb/function/macro_function.hpp +1 -7
- package/src/duckdb/src/include/duckdb/function/scalar/nested_functions.hpp +9 -10
- package/src/duckdb/src/include/duckdb/function/scalar/strftime_format.hpp +2 -2
- package/src/duckdb/src/include/duckdb/function/scalar_function.hpp +2 -12
- package/src/duckdb/src/include/duckdb/function/scalar_macro_function.hpp +2 -7
- package/src/duckdb/src/include/duckdb/function/table/read_csv.hpp +4 -16
- package/src/duckdb/src/include/duckdb/function/table_function.hpp +2 -11
- package/src/duckdb/src/include/duckdb/function/table_macro_function.hpp +2 -7
- package/src/duckdb/src/include/duckdb/main/relation.hpp +9 -2
- package/src/duckdb/src/include/duckdb/parser/column_definition.hpp +1 -4
- package/src/duckdb/src/include/duckdb/parser/column_list.hpp +2 -6
- package/src/duckdb/src/include/duckdb/parser/common_table_expression_info.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/constraint.hpp +2 -12
- package/src/duckdb/src/include/duckdb/parser/constraints/check_constraint.hpp +2 -5
- package/src/duckdb/src/include/duckdb/parser/constraints/foreign_key_constraint.hpp +2 -7
- package/src/duckdb/src/include/duckdb/parser/constraints/not_null_constraint.hpp +2 -7
- package/src/duckdb/src/include/duckdb/parser/constraints/unique_constraint.hpp +2 -7
- package/src/duckdb/src/include/duckdb/parser/expression/between_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/parser/expression/bound_expression.hpp +1 -4
- package/src/duckdb/src/include/duckdb/parser/expression/case_expression.hpp +4 -6
- package/src/duckdb/src/include/duckdb/parser/expression/cast_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/collate_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/columnref_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/comparison_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/conjunction_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/constant_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/parser/expression/default_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/function_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/lambda_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/operator_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/parameter_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/positional_reference_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/star_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/subquery_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/expression/window_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_info.hpp +2 -5
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_scalar_function_info.hpp +0 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_table_function_info.hpp +0 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_table_info.hpp +24 -51
- package/src/duckdb/src/include/duckdb/parser/parsed_data/attach_info.hpp +1 -4
- package/src/duckdb/src/include/duckdb/parser/parsed_data/copy_info.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_collation_info.hpp +0 -3
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_copy_function_info.hpp +0 -3
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_function_info.hpp +0 -5
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_index_info.hpp +2 -7
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_info.hpp +1 -13
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_macro_info.hpp +2 -8
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_schema_info.hpp +2 -12
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_sequence_info.hpp +2 -7
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_table_info.hpp +2 -7
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_type_info.hpp +2 -7
- package/src/duckdb/src/include/duckdb/parser/parsed_data/create_view_info.hpp +2 -7
- package/src/duckdb/src/include/duckdb/parser/parsed_data/detach_info.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/parsed_data/drop_info.hpp +2 -5
- package/src/duckdb/src/include/duckdb/parser/parsed_data/load_info.hpp +2 -21
- package/src/duckdb/src/include/duckdb/parser/parsed_data/parse_info.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/pragma_info.hpp +2 -2
- package/src/duckdb/src/include/duckdb/parser/parsed_data/sample_options.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/parsed_data/transaction_info.hpp +1 -4
- package/src/duckdb/src/include/duckdb/parser/parsed_data/vacuum_info.hpp +5 -7
- package/src/duckdb/src/include/duckdb/parser/parsed_expression.hpp +3 -16
- package/src/duckdb/src/include/duckdb/parser/query_node/cte_node.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/query_node/recursive_cte_node.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/query_node/select_node.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/query_node/set_operation_node.hpp +2 -4
- package/src/duckdb/src/include/duckdb/parser/query_node.hpp +7 -14
- package/src/duckdb/src/include/duckdb/parser/result_modifier.hpp +14 -32
- package/src/duckdb/src/include/duckdb/parser/statement/select_statement.hpp +4 -9
- package/src/duckdb/src/include/duckdb/parser/tableref/basetableref.hpp +2 -6
- package/src/duckdb/src/include/duckdb/parser/tableref/emptytableref.hpp +2 -6
- package/src/duckdb/src/include/duckdb/parser/tableref/expressionlistref.hpp +2 -6
- package/src/duckdb/src/include/duckdb/parser/tableref/joinref.hpp +2 -6
- package/src/duckdb/src/include/duckdb/parser/tableref/pivotref.hpp +6 -14
- package/src/duckdb/src/include/duckdb/parser/tableref/subqueryref.hpp +2 -6
- package/src/duckdb/src/include/duckdb/parser/tableref/table_function_ref.hpp +2 -6
- package/src/duckdb/src/include/duckdb/parser/tableref.hpp +2 -10
- package/src/duckdb/src/include/duckdb/parser/transformer.hpp +1 -0
- package/src/duckdb/src/include/duckdb/planner/bound_constraint.hpp +0 -1
- package/src/duckdb/src/include/duckdb/planner/bound_result_modifier.hpp +2 -8
- package/src/duckdb/src/include/duckdb/planner/column_binding.hpp +4 -4
- package/src/duckdb/src/include/duckdb/planner/expression/bound_aggregate_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/expression/bound_between_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/expression/bound_case_expression.hpp +3 -9
- package/src/duckdb/src/include/duckdb/planner/expression/bound_cast_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_columnref_expression.hpp +2 -8
- package/src/duckdb/src/include/duckdb/planner/expression/bound_comparison_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/expression/bound_conjunction_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_constant_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_default_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_function_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_lambda_expression.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/expression/bound_lambdaref_expression.hpp +2 -8
- package/src/duckdb/src/include/duckdb/planner/expression/bound_operator_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_parameter_data.hpp +2 -19
- package/src/duckdb/src/include/duckdb/planner/expression/bound_parameter_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_reference_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_subquery_expression.hpp +0 -3
- package/src/duckdb/src/include/duckdb/planner/expression/bound_unnest_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression/bound_window_expression.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/expression.hpp +2 -14
- package/src/duckdb/src/include/duckdb/planner/filter/conjunction_filter.hpp +4 -8
- package/src/duckdb/src/include/duckdb/planner/filter/constant_filter.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/filter/null_filter.hpp +4 -8
- package/src/duckdb/src/include/duckdb/planner/joinside.hpp +1 -6
- package/src/duckdb/src/include/duckdb/planner/logical_operator.hpp +2 -17
- package/src/duckdb/src/include/duckdb/planner/operator/logical_aggregate.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_any_join.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_column_data_get.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_comparison_join.hpp +2 -6
- package/src/duckdb/src/include/duckdb/planner/operator/logical_copy_to_file.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_create.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_create_index.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_create_table.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_cross_product.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_cteref.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_delete.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_delim_get.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_dependent_join.hpp +0 -1
- package/src/duckdb/src/include/duckdb/planner/operator/logical_distinct.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_dummy_scan.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_empty_result.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_execute.hpp +0 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_explain.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_export.hpp +0 -3
- package/src/duckdb/src/include/duckdb/planner/operator/logical_expression_get.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_extension_operator.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_filter.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_get.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_insert.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_join.hpp +0 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_limit.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_limit_percent.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_materialized_cte.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_order.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_pivot.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_positional_join.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_pragma.hpp +0 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_prepare.hpp +0 -2
- package/src/duckdb/src/include/duckdb/planner/operator/logical_projection.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_recursive_cte.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_reset.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_sample.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_set.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_set_operation.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_show.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_simple.hpp +2 -5
- package/src/duckdb/src/include/duckdb/planner/operator/logical_top_n.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_unnest.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_update.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator/logical_window.hpp +2 -4
- package/src/duckdb/src/include/duckdb/planner/operator_extension.hpp +1 -3
- package/src/duckdb/src/include/duckdb/planner/parsed_data/bound_create_table_info.hpp +0 -5
- package/src/duckdb/src/include/duckdb/planner/table_filter.hpp +3 -12
- package/src/duckdb/src/include/duckdb/planner/tableref/bound_pivotref.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/block.hpp +7 -4
- package/src/duckdb/src/include/duckdb/storage/checkpoint/row_group_writer.hpp +3 -2
- package/src/duckdb/src/include/duckdb/storage/checkpoint/table_data_writer.hpp +6 -6
- package/src/duckdb/src/include/duckdb/storage/checkpoint_manager.hpp +18 -18
- package/src/duckdb/src/include/duckdb/storage/data_pointer.hpp +6 -0
- package/src/duckdb/src/include/duckdb/storage/data_table.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp +4 -5
- package/src/duckdb/src/include/duckdb/storage/metadata/metadata_reader.hpp +2 -1
- package/src/duckdb/src/include/duckdb/storage/metadata/metadata_writer.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/partial_block_manager.hpp +35 -19
- package/src/duckdb/src/include/duckdb/storage/statistics/base_statistics.hpp +2 -11
- package/src/duckdb/src/include/duckdb/storage/statistics/column_statistics.hpp +3 -5
- package/src/duckdb/src/include/duckdb/storage/statistics/distinct_statistics.hpp +3 -11
- package/src/duckdb/src/include/duckdb/storage/statistics/list_stats.hpp +2 -7
- package/src/duckdb/src/include/duckdb/storage/statistics/node_statistics.hpp +0 -26
- package/src/duckdb/src/include/duckdb/storage/statistics/numeric_stats.hpp +2 -7
- package/src/duckdb/src/include/duckdb/storage/statistics/string_stats.hpp +2 -7
- package/src/duckdb/src/include/duckdb/storage/statistics/struct_stats.hpp +2 -7
- package/src/duckdb/src/include/duckdb/storage/storage_info.hpp +4 -6
- package/src/duckdb/src/include/duckdb/storage/table/chunk_info.hpp +8 -17
- package/src/duckdb/src/include/duckdb/storage/table/column_checkpoint_state.hpp +5 -20
- package/src/duckdb/src/include/duckdb/storage/table/column_data.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/table/list_column_data.hpp +1 -1
- package/src/duckdb/src/include/duckdb/storage/table/row_group.hpp +2 -7
- package/src/duckdb/src/include/duckdb/storage/table/standard_column_data.hpp +2 -2
- package/src/duckdb/src/include/duckdb/storage/table/table_statistics.hpp +4 -7
- package/src/duckdb/src/include/duckdb/storage/write_ahead_log.hpp +27 -29
- package/src/duckdb/src/include/duckdb/verification/statement_verifier.hpp +0 -2
- package/src/duckdb/src/main/client_context.cpp +0 -6
- package/src/duckdb/src/main/client_verify.cpp +0 -2
- package/src/duckdb/src/main/extension/extension_helper.cpp +1 -0
- package/src/duckdb/src/main/relation.cpp +15 -2
- package/src/duckdb/src/parser/column_definition.cpp +0 -25
- package/src/duckdb/src/parser/column_list.cpp +0 -13
- package/src/duckdb/src/parser/constraint.cpp +0 -33
- package/src/duckdb/src/parser/constraints/check_constraint.cpp +0 -11
- package/src/duckdb/src/parser/constraints/foreign_key_constraint.cpp +0 -27
- package/src/duckdb/src/parser/constraints/not_null_constraint.cpp +0 -11
- package/src/duckdb/src/parser/constraints/unique_constraint.cpp +0 -24
- package/src/duckdb/src/parser/expression/between_expression.cpp +2 -16
- package/src/duckdb/src/parser/expression/case_expression.cpp +2 -29
- package/src/duckdb/src/parser/expression/cast_expression.cpp +2 -16
- package/src/duckdb/src/parser/expression/collate_expression.cpp +2 -14
- package/src/duckdb/src/parser/expression/columnref_expression.cpp +2 -13
- package/src/duckdb/src/parser/expression/comparison_expression.cpp +2 -14
- package/src/duckdb/src/parser/expression/conjunction_expression.cpp +2 -13
- package/src/duckdb/src/parser/expression/constant_expression.cpp +2 -12
- package/src/duckdb/src/parser/expression/default_expression.cpp +2 -9
- package/src/duckdb/src/parser/expression/function_expression.cpp +2 -32
- package/src/duckdb/src/parser/expression/lambda_expression.cpp +2 -14
- package/src/duckdb/src/parser/expression/operator_expression.cpp +2 -13
- package/src/duckdb/src/parser/expression/parameter_expression.cpp +2 -13
- package/src/duckdb/src/parser/expression/positional_reference_expression.cpp +2 -12
- package/src/duckdb/src/parser/expression/star_expression.cpp +2 -43
- package/src/duckdb/src/parser/expression/subquery_expression.cpp +2 -28
- package/src/duckdb/src/parser/expression/window_expression.cpp +2 -53
- package/src/duckdb/src/parser/parsed_data/alter_info.cpp +0 -35
- package/src/duckdb/src/parser/parsed_data/alter_scalar_function_info.cpp +0 -18
- package/src/duckdb/src/parser/parsed_data/alter_table_function_info.cpp +0 -13
- package/src/duckdb/src/parser/parsed_data/alter_table_info.cpp +1 -189
- package/src/duckdb/src/parser/parsed_data/attach_info.cpp +0 -29
- package/src/duckdb/src/parser/parsed_data/create_collation_info.cpp +0 -4
- package/src/duckdb/src/parser/parsed_data/create_copy_function_info.cpp +0 -4
- package/src/duckdb/src/parser/parsed_data/create_index_info.cpp +0 -48
- package/src/duckdb/src/parser/parsed_data/create_info.cpp +0 -47
- package/src/duckdb/src/parser/parsed_data/create_macro_info.cpp +1 -28
- package/src/duckdb/src/parser/parsed_data/create_sequence_info.cpp +0 -31
- package/src/duckdb/src/parser/parsed_data/create_table_info.cpp +0 -23
- package/src/duckdb/src/parser/parsed_data/create_type_info.cpp +0 -22
- package/src/duckdb/src/parser/parsed_data/create_view_info.cpp +0 -23
- package/src/duckdb/src/parser/parsed_data/detach_info.cpp +0 -19
- package/src/duckdb/src/parser/parsed_data/drop_info.cpp +0 -26
- package/src/duckdb/src/parser/parsed_data/sample_options.cpp +2 -25
- package/src/duckdb/src/parser/parsed_data/transaction_info.cpp +0 -16
- package/src/duckdb/src/parser/parsed_data/vacuum_info.cpp +0 -20
- package/src/duckdb/src/parser/parsed_expression.cpp +2 -79
- package/src/duckdb/src/parser/query_node/cte_node.cpp +2 -19
- package/src/duckdb/src/parser/query_node/recursive_cte_node.cpp +2 -21
- package/src/duckdb/src/parser/query_node/select_node.cpp +2 -47
- package/src/duckdb/src/parser/query_node/set_operation_node.cpp +2 -17
- package/src/duckdb/src/parser/query_node.cpp +2 -62
- package/src/duckdb/src/parser/result_modifier.cpp +2 -96
- package/src/duckdb/src/parser/statement/select_statement.cpp +2 -13
- package/src/duckdb/src/parser/tableref/basetableref.cpp +2 -21
- package/src/duckdb/src/parser/tableref/emptytableref.cpp +0 -9
- package/src/duckdb/src/parser/tableref/expressionlistref.cpp +2 -28
- package/src/duckdb/src/parser/tableref/joinref.cpp +2 -23
- package/src/duckdb/src/parser/tableref/pivotref.cpp +0 -61
- package/src/duckdb/src/parser/tableref/subqueryref.cpp +2 -15
- package/src/duckdb/src/parser/tableref/table_function.cpp +2 -17
- package/src/duckdb/src/parser/tableref.cpp +2 -52
- package/src/duckdb/src/planner/binder/expression/bind_subquery_expression.cpp +1 -4
- package/src/duckdb/src/planner/bound_result_modifier.cpp +0 -33
- package/src/duckdb/src/planner/expression/bound_aggregate_expression.cpp +6 -30
- package/src/duckdb/src/planner/expression/bound_between_expression.cpp +0 -19
- package/src/duckdb/src/planner/expression/bound_case_expression.cpp +0 -36
- package/src/duckdb/src/planner/expression/bound_cast_expression.cpp +0 -15
- package/src/duckdb/src/planner/expression/bound_columnref_expression.cpp +0 -20
- package/src/duckdb/src/planner/expression/bound_comparison_expression.cpp +0 -13
- package/src/duckdb/src/planner/expression/bound_conjunction_expression.cpp +0 -13
- package/src/duckdb/src/planner/expression/bound_constant_expression.cpp +0 -11
- package/src/duckdb/src/planner/expression/bound_expression.cpp +1 -5
- package/src/duckdb/src/planner/expression/bound_function_expression.cpp +8 -28
- package/src/duckdb/src/planner/expression/bound_lambda_expression.cpp +0 -4
- package/src/duckdb/src/planner/expression/bound_lambdaref_expression.cpp +0 -23
- package/src/duckdb/src/planner/expression/bound_operator_expression.cpp +0 -16
- package/src/duckdb/src/planner/expression/bound_parameter_expression.cpp +0 -18
- package/src/duckdb/src/planner/expression/bound_reference_expression.cpp +0 -16
- package/src/duckdb/src/planner/expression/bound_subquery_expression.cpp +0 -4
- package/src/duckdb/src/planner/expression/bound_unnest_expression.cpp +0 -15
- package/src/duckdb/src/planner/expression/bound_window_expression.cpp +7 -60
- package/src/duckdb/src/planner/expression.cpp +0 -74
- package/src/duckdb/src/planner/filter/conjunction_filter.cpp +0 -21
- package/src/duckdb/src/planner/filter/constant_filter.cpp +0 -12
- package/src/duckdb/src/planner/filter/null_filter.cpp +0 -14
- package/src/duckdb/src/planner/joinside.cpp +0 -24
- package/src/duckdb/src/planner/logical_operator.cpp +15 -215
- package/src/duckdb/src/planner/operator/logical_aggregate.cpp +0 -46
- package/src/duckdb/src/planner/operator/logical_any_join.cpp +0 -14
- package/src/duckdb/src/planner/operator/logical_column_data_get.cpp +0 -23
- package/src/duckdb/src/planner/operator/logical_comparison_join.cpp +0 -23
- package/src/duckdb/src/planner/operator/logical_copy_to_file.cpp +2 -56
- package/src/duckdb/src/planner/operator/logical_create.cpp +0 -12
- package/src/duckdb/src/planner/operator/logical_create_index.cpp +0 -25
- package/src/duckdb/src/planner/operator/logical_create_table.cpp +0 -10
- package/src/duckdb/src/planner/operator/logical_cross_product.cpp +0 -9
- package/src/duckdb/src/planner/operator/logical_cteref.cpp +0 -18
- package/src/duckdb/src/planner/operator/logical_delete.cpp +0 -22
- package/src/duckdb/src/planner/operator/logical_delim_get.cpp +0 -12
- package/src/duckdb/src/planner/operator/logical_dependent_join.cpp +0 -4
- package/src/duckdb/src/planner/operator/logical_distinct.cpp +0 -16
- package/src/duckdb/src/planner/operator/logical_dummy_scan.cpp +0 -10
- package/src/duckdb/src/planner/operator/logical_empty_result.cpp +0 -15
- package/src/duckdb/src/planner/operator/logical_expression_get.cpp +0 -24
- package/src/duckdb/src/planner/operator/logical_extension_operator.cpp +6 -19
- package/src/duckdb/src/planner/operator/logical_filter.cpp +0 -15
- package/src/duckdb/src/planner/operator/logical_get.cpp +12 -97
- package/src/duckdb/src/planner/operator/logical_insert.cpp +0 -77
- package/src/duckdb/src/planner/operator/logical_join.cpp +0 -17
- package/src/duckdb/src/planner/operator/logical_limit.cpp +0 -16
- package/src/duckdb/src/planner/operator/logical_limit_percent.cpp +0 -16
- package/src/duckdb/src/planner/operator/logical_materialized_cte.cpp +0 -13
- package/src/duckdb/src/planner/operator/logical_order.cpp +0 -15
- package/src/duckdb/src/planner/operator/logical_pivot.cpp +0 -20
- package/src/duckdb/src/planner/operator/logical_positional_join.cpp +0 -10
- package/src/duckdb/src/planner/operator/logical_pragma.cpp +0 -8
- package/src/duckdb/src/planner/operator/logical_prepare.cpp +0 -8
- package/src/duckdb/src/planner/operator/logical_projection.cpp +0 -12
- package/src/duckdb/src/planner/operator/logical_recursive_cte.cpp +0 -15
- package/src/duckdb/src/planner/operator/logical_reset.cpp +0 -12
- package/src/duckdb/src/planner/operator/logical_sample.cpp +0 -11
- package/src/duckdb/src/planner/operator/logical_set.cpp +0 -14
- package/src/duckdb/src/planner/operator/logical_set_operation.cpp +0 -13
- package/src/duckdb/src/planner/operator/logical_simple.cpp +0 -60
- package/src/duckdb/src/planner/operator/logical_top_n.cpp +0 -14
- package/src/duckdb/src/planner/operator/logical_unnest.cpp +0 -14
- package/src/duckdb/src/planner/operator/logical_update.cpp +0 -28
- package/src/duckdb/src/planner/operator/logical_window.cpp +0 -13
- package/src/duckdb/src/planner/planner.cpp +13 -22
- package/src/duckdb/src/planner/table_filter.cpp +0 -59
- package/src/duckdb/src/storage/checkpoint/row_group_writer.cpp +7 -17
- package/src/duckdb/src/storage/checkpoint/table_data_reader.cpp +7 -4
- package/src/duckdb/src/storage/checkpoint/table_data_writer.cpp +24 -22
- package/src/duckdb/src/storage/checkpoint_manager.cpp +203 -180
- package/src/duckdb/src/storage/data_table.cpp +2 -2
- package/src/duckdb/src/storage/metadata/metadata_manager.cpp +11 -9
- package/src/duckdb/src/storage/partial_block_manager.cpp +42 -15
- package/src/duckdb/src/storage/serialization/serialize_constraint.cpp +20 -20
- package/src/duckdb/src/storage/serialization/serialize_create_info.cpp +46 -42
- package/src/duckdb/src/storage/serialization/serialize_expression.cpp +63 -63
- package/src/duckdb/src/storage/serialization/serialize_logical_operator.cpp +167 -165
- package/src/duckdb/src/storage/serialization/serialize_macro_function.cpp +12 -12
- package/src/duckdb/src/storage/serialization/serialize_nodes.cpp +54 -54
- package/src/duckdb/src/storage/serialization/serialize_parse_info.cpp +88 -88
- package/src/duckdb/src/storage/serialization/serialize_parsed_expression.cpp +72 -72
- package/src/duckdb/src/storage/serialization/serialize_query_node.cpp +20 -20
- package/src/duckdb/src/storage/serialization/serialize_result_modifier.cpp +22 -22
- package/src/duckdb/src/storage/serialization/serialize_statement.cpp +4 -4
- package/src/duckdb/src/storage/serialization/serialize_storage.cpp +41 -6
- package/src/duckdb/src/storage/serialization/serialize_table_filter.cpp +24 -24
- package/src/duckdb/src/storage/serialization/serialize_tableref.cpp +32 -32
- package/src/duckdb/src/storage/serialization/serialize_types.cpp +29 -29
- package/src/duckdb/src/storage/single_file_block_manager.cpp +17 -22
- package/src/duckdb/src/storage/statistics/base_statistics.cpp +31 -85
- package/src/duckdb/src/storage/statistics/column_statistics.cpp +6 -19
- package/src/duckdb/src/storage/statistics/distinct_statistics.cpp +0 -26
- package/src/duckdb/src/storage/statistics/list_stats.cpp +6 -22
- package/src/duckdb/src/storage/statistics/numeric_stats.cpp +20 -135
- package/src/duckdb/src/storage/statistics/string_stats.cpp +5 -28
- package/src/duckdb/src/storage/statistics/struct_stats.cpp +8 -30
- package/src/duckdb/src/storage/storage_info.cpp +1 -1
- package/src/duckdb/src/storage/table/chunk_info.cpp +9 -88
- package/src/duckdb/src/storage/table/column_checkpoint_state.cpp +28 -34
- package/src/duckdb/src/storage/table/column_data.cpp +20 -25
- package/src/duckdb/src/storage/table/list_column_data.cpp +16 -9
- package/src/duckdb/src/storage/table/row_group.cpp +16 -92
- package/src/duckdb/src/storage/table/row_group_collection.cpp +5 -1
- package/src/duckdb/src/storage/table/standard_column_data.cpp +10 -7
- package/src/duckdb/src/storage/table/struct_column_data.cpp +17 -11
- package/src/duckdb/src/storage/table/table_statistics.cpp +13 -22
- package/src/duckdb/src/storage/wal_replay.cpp +108 -106
- package/src/duckdb/src/storage/write_ahead_log.cpp +135 -64
- package/src/duckdb/src/transaction/commit_state.cpp +22 -8
- package/src/duckdb/src/verification/deserialized_statement_verifier.cpp +11 -6
- package/src/duckdb/src/verification/statement_verifier.cpp +0 -5
- package/src/duckdb/third_party/parquet/parquet_types.h +1 -1
- package/src/duckdb/ub_src_common.cpp +0 -4
- package/src/duckdb/ub_src_common_serializer.cpp +2 -4
- package/src/duckdb/ub_src_planner.cpp +0 -2
- package/src/duckdb/ub_src_planner_expression.cpp +0 -2
- package/src/duckdb/ub_src_planner_operator.cpp +0 -8
- package/src/duckdb_node.cpp +6 -12
- package/src/duckdb_node.hpp +23 -13
- package/src/statement.cpp +15 -16
- package/test/database_fail.test.ts +20 -0
- package/test/worker.js +7 -0
- package/src/duckdb/src/common/field_writer.cpp +0 -97
- package/src/duckdb/src/common/serializer/buffered_deserializer.cpp +0 -27
- package/src/duckdb/src/common/serializer/buffered_serializer.cpp +0 -36
- package/src/duckdb/src/common/serializer.cpp +0 -24
- package/src/duckdb/src/include/duckdb/common/field_writer.hpp +0 -379
- package/src/duckdb/src/include/duckdb/common/serializer/buffered_deserializer.hpp +0 -41
- package/src/duckdb/src/include/duckdb/common/serializer/buffered_serializer.hpp +0 -50
- package/src/duckdb/src/include/duckdb/common/serializer.hpp +0 -151
- package/src/duckdb/src/include/duckdb/planner/plan_serialization.hpp +0 -44
- package/src/duckdb/src/include/duckdb/verification/deserialized_statement_verifier_v2.hpp +0 -32
- package/src/duckdb/src/planner/expression/bound_default_expression.cpp +0 -16
- package/src/duckdb/src/planner/operator/logical_execute.cpp +0 -12
- package/src/duckdb/src/planner/operator/logical_explain.cpp +0 -22
- package/src/duckdb/src/planner/operator/logical_export.cpp +0 -13
- package/src/duckdb/src/planner/operator/logical_show.cpp +0 -21
- package/src/duckdb/src/planner/parsed_data/bound_create_table_info.cpp +0 -22
- package/src/duckdb/src/planner/plan_serialization.cpp +0 -20
- package/src/duckdb/src/verification/deserialized_statement_verifier_v2.cpp +0 -34
- package/src/duckdb/ub_src_planner_parsed_data.cpp +0 -2
@@ -22,12 +22,10 @@ struct PivotColumnEntry {
|
|
22
22
|
string alias;
|
23
23
|
|
24
24
|
bool Equals(const PivotColumnEntry &other) const;
|
25
|
-
void Serialize(Serializer &serializer) const;
|
26
25
|
PivotColumnEntry Copy() const;
|
27
|
-
static PivotColumnEntry Deserialize(Deserializer &source);
|
28
26
|
|
29
|
-
void
|
30
|
-
static PivotColumnEntry
|
27
|
+
void Serialize(Serializer &serializer) const;
|
28
|
+
static PivotColumnEntry Deserialize(Deserializer &source);
|
31
29
|
};
|
32
30
|
|
33
31
|
struct PivotValueElement {
|
@@ -49,12 +47,10 @@ struct PivotColumn {
|
|
49
47
|
|
50
48
|
string ToString() const;
|
51
49
|
bool Equals(const PivotColumn &other) const;
|
52
|
-
void Serialize(Serializer &serializer) const;
|
53
50
|
PivotColumn Copy() const;
|
54
|
-
static PivotColumn Deserialize(Deserializer &source);
|
55
51
|
|
56
|
-
void
|
57
|
-
static PivotColumn
|
52
|
+
void Serialize(Serializer &serializer) const;
|
53
|
+
static PivotColumn Deserialize(Deserializer &source);
|
58
54
|
};
|
59
55
|
|
60
56
|
//! Represents a PIVOT or UNPIVOT expression
|
@@ -93,12 +89,8 @@ public:
|
|
93
89
|
|
94
90
|
unique_ptr<TableRef> Copy() override;
|
95
91
|
|
96
|
-
//! Serializes a blob into a PivotRef
|
97
|
-
void Serialize(FieldWriter &serializer) const override;
|
98
92
|
//! Deserializes a blob back into a PivotRef
|
99
|
-
|
100
|
-
|
101
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
102
|
-
static unique_ptr<TableRef> FormatDeserialize(FormatDeserializer &source);
|
93
|
+
void Serialize(Serializer &serializer) const override;
|
94
|
+
static unique_ptr<TableRef> Deserialize(Deserializer &source);
|
103
95
|
};
|
104
96
|
} // namespace duckdb
|
@@ -34,12 +34,8 @@ public:
|
|
34
34
|
|
35
35
|
unique_ptr<TableRef> Copy() override;
|
36
36
|
|
37
|
-
//! Serializes a blob into a SubqueryRef
|
38
|
-
void Serialize(FieldWriter &serializer) const override;
|
39
37
|
//! Deserializes a blob back into a SubqueryRef
|
40
|
-
|
41
|
-
|
42
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
43
|
-
static unique_ptr<TableRef> FormatDeserialize(FormatDeserializer &source);
|
38
|
+
void Serialize(Serializer &serializer) const override;
|
39
|
+
static unique_ptr<TableRef> Deserialize(Deserializer &source);
|
44
40
|
};
|
45
41
|
} // namespace duckdb
|
@@ -39,12 +39,8 @@ public:
|
|
39
39
|
|
40
40
|
unique_ptr<TableRef> Copy() override;
|
41
41
|
|
42
|
-
//! Serializes a blob into a BaseTableRef
|
43
|
-
void Serialize(FieldWriter &serializer) const override;
|
44
42
|
//! Deserializes a blob back into a BaseTableRef
|
45
|
-
|
46
|
-
|
47
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
48
|
-
static unique_ptr<TableRef> FormatDeserialize(FormatDeserializer &source);
|
43
|
+
void Serialize(Serializer &serializer) const override;
|
44
|
+
static unique_ptr<TableRef> Deserialize(Deserializer &source);
|
49
45
|
};
|
50
46
|
} // namespace duckdb
|
@@ -13,8 +13,6 @@
|
|
13
13
|
#include "duckdb/parser/parsed_data/sample_options.hpp"
|
14
14
|
|
15
15
|
namespace duckdb {
|
16
|
-
class Deserializer;
|
17
|
-
class Serializer;
|
18
16
|
|
19
17
|
//! Represents a generic expression that returns a table.
|
20
18
|
class TableRef {
|
@@ -46,17 +44,11 @@ public:
|
|
46
44
|
|
47
45
|
virtual unique_ptr<TableRef> Copy() = 0;
|
48
46
|
|
49
|
-
//! Serializes a TableRef to a stand-alone binary blob
|
50
|
-
DUCKDB_API void Serialize(Serializer &serializer) const;
|
51
|
-
//! Serializes a TableRef to a stand-alone binary blob
|
52
|
-
DUCKDB_API virtual void Serialize(FieldWriter &writer) const = 0;
|
53
|
-
//! Deserializes a blob back into a TableRef
|
54
|
-
DUCKDB_API static unique_ptr<TableRef> Deserialize(Deserializer &source);
|
55
47
|
//! Copy the properties of this table ref to the target
|
56
48
|
void CopyProperties(TableRef &target) const;
|
57
49
|
|
58
|
-
virtual void
|
59
|
-
static unique_ptr<TableRef>
|
50
|
+
virtual void Serialize(Serializer &serializer) const;
|
51
|
+
static unique_ptr<TableRef> Deserialize(Deserializer &deserializer);
|
60
52
|
|
61
53
|
public:
|
62
54
|
template <class TARGET>
|
@@ -62,10 +62,7 @@ public:
|
|
62
62
|
string ToString() const;
|
63
63
|
|
64
64
|
void Serialize(Serializer &serializer) const;
|
65
|
-
static BoundOrderByNode Deserialize(Deserializer &
|
66
|
-
|
67
|
-
void FormatSerialize(FormatSerializer &serializer) const;
|
68
|
-
static BoundOrderByNode FormatDeserialize(FormatDeserializer &deserializer);
|
65
|
+
static BoundOrderByNode Deserialize(Deserializer &deserializer);
|
69
66
|
};
|
70
67
|
|
71
68
|
class BoundLimitModifier : public BoundResultModifier {
|
@@ -100,10 +97,7 @@ public:
|
|
100
97
|
static bool Equals(const unique_ptr<BoundOrderModifier> &left, const unique_ptr<BoundOrderModifier> &right);
|
101
98
|
|
102
99
|
void Serialize(Serializer &serializer) const;
|
103
|
-
static unique_ptr<BoundOrderModifier> Deserialize(Deserializer &
|
104
|
-
|
105
|
-
void FormatSerialize(FormatSerializer &serializer) const;
|
106
|
-
static unique_ptr<BoundOrderModifier> FormatDeserialize(FormatDeserializer &deserializer);
|
100
|
+
static unique_ptr<BoundOrderModifier> Deserialize(Deserializer &deserializer);
|
107
101
|
};
|
108
102
|
|
109
103
|
enum class DistinctType : uint8_t { DISTINCT = 0, DISTINCT_ON = 1 };
|
@@ -14,8 +14,8 @@
|
|
14
14
|
#include <functional>
|
15
15
|
|
16
16
|
namespace duckdb {
|
17
|
-
class
|
18
|
-
class
|
17
|
+
class Serializer;
|
18
|
+
class Deserializer;
|
19
19
|
|
20
20
|
struct ColumnBinding {
|
21
21
|
idx_t table_index;
|
@@ -39,8 +39,8 @@ struct ColumnBinding {
|
|
39
39
|
return !(*this == rhs);
|
40
40
|
}
|
41
41
|
|
42
|
-
void
|
43
|
-
static ColumnBinding
|
42
|
+
void Serialize(Serializer &serializer) const;
|
43
|
+
static ColumnBinding Deserialize(Deserializer &deserializer);
|
44
44
|
};
|
45
45
|
|
46
46
|
} // namespace duckdb
|
@@ -55,10 +55,8 @@ public:
|
|
55
55
|
hash_t Hash() const override;
|
56
56
|
bool Equals(const BaseExpression &other) const override;
|
57
57
|
unique_ptr<Expression> Copy() override;
|
58
|
-
void Serialize(FieldWriter &writer) const override;
|
59
|
-
static unique_ptr<Expression> Deserialize(ExpressionDeserializationState &state, FieldReader &reader);
|
60
58
|
|
61
|
-
void
|
62
|
-
static unique_ptr<Expression>
|
59
|
+
void Serialize(Serializer &serializer) const override;
|
60
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
63
61
|
};
|
64
62
|
} // namespace duckdb
|
@@ -32,11 +32,9 @@ public:
|
|
32
32
|
bool Equals(const BaseExpression &other) const override;
|
33
33
|
|
34
34
|
unique_ptr<Expression> Copy() override;
|
35
|
-
void Serialize(FieldWriter &writer) const override;
|
36
|
-
static unique_ptr<Expression> Deserialize(ExpressionDeserializationState &state, FieldReader &reader);
|
37
35
|
|
38
|
-
void
|
39
|
-
static unique_ptr<Expression>
|
36
|
+
void Serialize(Serializer &serializer) const override;
|
37
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
40
38
|
|
41
39
|
public:
|
42
40
|
ExpressionType LowerComparisonType() {
|
@@ -17,10 +17,7 @@ struct BoundCaseCheck {
|
|
17
17
|
unique_ptr<Expression> then_expr;
|
18
18
|
|
19
19
|
void Serialize(Serializer &serializer) const;
|
20
|
-
static BoundCaseCheck Deserialize(Deserializer &
|
21
|
-
|
22
|
-
void FormatSerialize(FormatSerializer &serializer) const;
|
23
|
-
static BoundCaseCheck FormatDeserialize(FormatDeserializer &deserializer);
|
20
|
+
static BoundCaseCheck Deserialize(Deserializer &deserializer);
|
24
21
|
};
|
25
22
|
|
26
23
|
class BoundCaseExpression : public Expression {
|
@@ -42,10 +39,7 @@ public:
|
|
42
39
|
|
43
40
|
unique_ptr<Expression> Copy() override;
|
44
41
|
|
45
|
-
void Serialize(
|
46
|
-
static unique_ptr<Expression> Deserialize(
|
47
|
-
|
48
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
49
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
42
|
+
void Serialize(Serializer &serializer) const override;
|
43
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
50
44
|
};
|
51
45
|
} // namespace duckdb
|
@@ -50,11 +50,8 @@ public:
|
|
50
50
|
|
51
51
|
unique_ptr<Expression> Copy() override;
|
52
52
|
|
53
|
-
void Serialize(
|
54
|
-
static unique_ptr<Expression> Deserialize(
|
55
|
-
|
56
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
57
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
53
|
+
void Serialize(Serializer &serializer) const override;
|
54
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
58
55
|
|
59
56
|
private:
|
60
57
|
BoundCastExpression(ClientContext &context, unique_ptr<Expression> child, LogicalType target_type);
|
@@ -13,9 +13,6 @@
|
|
13
13
|
|
14
14
|
namespace duckdb {
|
15
15
|
|
16
|
-
class FieldReader;
|
17
|
-
class FieldWriter;
|
18
|
-
|
19
16
|
//! A BoundColumnRef expression represents a ColumnRef expression that was bound to an actual table and column index. It
|
20
17
|
//! is not yet executable, however. The ColumnBindingResolver transforms the BoundColumnRefExpressions into
|
21
18
|
//! BoundExpressions, which refer to indexes into the physical chunks that pass through the executor.
|
@@ -49,10 +46,7 @@ public:
|
|
49
46
|
|
50
47
|
unique_ptr<Expression> Copy() override;
|
51
48
|
|
52
|
-
void Serialize(
|
53
|
-
static unique_ptr<Expression> Deserialize(
|
54
|
-
|
55
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
56
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
49
|
+
void Serialize(Serializer &serializer) const override;
|
50
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
57
51
|
};
|
58
52
|
} // namespace duckdb
|
@@ -28,11 +28,9 @@ public:
|
|
28
28
|
bool Equals(const BaseExpression &other) const override;
|
29
29
|
|
30
30
|
unique_ptr<Expression> Copy() override;
|
31
|
-
void Serialize(FieldWriter &writer) const override;
|
32
|
-
static unique_ptr<Expression> Deserialize(ExpressionDeserializationState &state, FieldReader &reader);
|
33
31
|
|
34
|
-
void
|
35
|
-
static unique_ptr<Expression>
|
32
|
+
void Serialize(Serializer &serializer) const override;
|
33
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
36
34
|
|
37
35
|
public:
|
38
36
|
static LogicalType BindComparison(LogicalType left_type, LogicalType right_type);
|
@@ -31,10 +31,7 @@ public:
|
|
31
31
|
|
32
32
|
unique_ptr<Expression> Copy() override;
|
33
33
|
|
34
|
-
void Serialize(
|
35
|
-
static unique_ptr<Expression> Deserialize(
|
36
|
-
|
37
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
38
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
34
|
+
void Serialize(Serializer &serializer) const override;
|
35
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
39
36
|
};
|
40
37
|
} // namespace duckdb
|
@@ -30,10 +30,7 @@ public:
|
|
30
30
|
|
31
31
|
unique_ptr<Expression> Copy() override;
|
32
32
|
|
33
|
-
void Serialize(
|
34
|
-
static unique_ptr<Expression> Deserialize(
|
35
|
-
|
36
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
37
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
33
|
+
void Serialize(Serializer &serializer) const override;
|
34
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
38
35
|
};
|
39
36
|
} // namespace duckdb
|
@@ -37,10 +37,7 @@ public:
|
|
37
37
|
return make_uniq<BoundDefaultExpression>(return_type);
|
38
38
|
}
|
39
39
|
|
40
|
-
void Serialize(
|
41
|
-
static unique_ptr<Expression> Deserialize(
|
42
|
-
|
43
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
44
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
40
|
+
void Serialize(Serializer &serializer) const override;
|
41
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
45
42
|
};
|
46
43
|
} // namespace duckdb
|
@@ -44,11 +44,8 @@ public:
|
|
44
44
|
unique_ptr<Expression> Copy() override;
|
45
45
|
void Verify() const override;
|
46
46
|
|
47
|
-
void Serialize(
|
48
|
-
static unique_ptr<Expression> Deserialize(
|
49
|
-
|
50
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
51
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
47
|
+
void Serialize(Serializer &serializer) const override;
|
48
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
52
49
|
};
|
53
50
|
|
54
51
|
} // namespace duckdb
|
@@ -32,9 +32,7 @@ public:
|
|
32
32
|
|
33
33
|
unique_ptr<Expression> Copy() override;
|
34
34
|
|
35
|
-
void Serialize(
|
36
|
-
|
37
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
38
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
35
|
+
void Serialize(Serializer &serializer) const override;
|
36
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
39
37
|
};
|
40
38
|
} // namespace duckdb
|
@@ -13,9 +13,6 @@
|
|
13
13
|
|
14
14
|
namespace duckdb {
|
15
15
|
|
16
|
-
class FieldReader;
|
17
|
-
class FieldWriter;
|
18
|
-
|
19
16
|
//! A BoundLambdaRef expression represents a LambdaRef expression that was bound to an lambda parameter
|
20
17
|
//! in the lambda bindings vector. When capturing lambdas the BoundLambdaRef becomes a
|
21
18
|
//! BoundReferenceExpresssion, indexing the corresponding lambda parameter in the lambda bindings vector,
|
@@ -51,10 +48,7 @@ public:
|
|
51
48
|
|
52
49
|
unique_ptr<Expression> Copy() override;
|
53
50
|
|
54
|
-
void Serialize(
|
55
|
-
static unique_ptr<Expression> Deserialize(
|
56
|
-
|
57
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
58
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
51
|
+
void Serialize(Serializer &serializer) const override;
|
52
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
59
53
|
};
|
60
54
|
} // namespace duckdb
|
@@ -28,10 +28,7 @@ public:
|
|
28
28
|
|
29
29
|
unique_ptr<Expression> Copy() override;
|
30
30
|
|
31
|
-
void Serialize(
|
32
|
-
static unique_ptr<Expression> Deserialize(
|
33
|
-
|
34
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
35
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
31
|
+
void Serialize(Serializer &serializer) const override;
|
32
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
36
33
|
};
|
37
34
|
} // namespace duckdb
|
@@ -10,7 +10,6 @@
|
|
10
10
|
|
11
11
|
#include "duckdb/common/types/value.hpp"
|
12
12
|
#include "duckdb/planner/bound_parameter_map.hpp"
|
13
|
-
#include "duckdb/common/field_writer.hpp"
|
14
13
|
#include "duckdb/common/case_insensitive_map.hpp"
|
15
14
|
|
16
15
|
namespace duckdb {
|
@@ -37,24 +36,8 @@ public:
|
|
37
36
|
return value;
|
38
37
|
}
|
39
38
|
|
40
|
-
void Serialize(Serializer &serializer) const
|
41
|
-
|
42
|
-
value.Serialize(writer.GetSerializer());
|
43
|
-
writer.WriteSerializable(return_type);
|
44
|
-
writer.Finalize();
|
45
|
-
}
|
46
|
-
|
47
|
-
static shared_ptr<BoundParameterData> Deserialize(Deserializer &source) {
|
48
|
-
FieldReader reader(source);
|
49
|
-
auto value = Value::Deserialize(reader.GetSource());
|
50
|
-
auto result = make_shared<BoundParameterData>(std::move(value));
|
51
|
-
result->return_type = reader.ReadRequiredSerializable<LogicalType, LogicalType>();
|
52
|
-
reader.Finalize();
|
53
|
-
return result;
|
54
|
-
}
|
55
|
-
|
56
|
-
void FormatSerialize(FormatSerializer &serializer) const;
|
57
|
-
static shared_ptr<BoundParameterData> FormatDeserialize(FormatDeserializer &deserializer);
|
39
|
+
void Serialize(Serializer &serializer) const;
|
40
|
+
static shared_ptr<BoundParameterData> Deserialize(Deserializer &deserializer);
|
58
41
|
};
|
59
42
|
|
60
43
|
struct BoundParameterMap {
|
@@ -40,11 +40,8 @@ public:
|
|
40
40
|
|
41
41
|
unique_ptr<Expression> Copy() override;
|
42
42
|
|
43
|
-
void Serialize(
|
44
|
-
static unique_ptr<Expression> Deserialize(
|
45
|
-
|
46
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
47
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
43
|
+
void Serialize(Serializer &serializer) const override;
|
44
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
48
45
|
|
49
46
|
private:
|
50
47
|
BoundParameterExpression(bound_parameter_map_t &global_parameter_set, string identifier, LogicalType return_type,
|
@@ -39,10 +39,7 @@ public:
|
|
39
39
|
|
40
40
|
unique_ptr<Expression> Copy() override;
|
41
41
|
|
42
|
-
void Serialize(
|
43
|
-
static unique_ptr<Expression> Deserialize(
|
44
|
-
|
45
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
46
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
42
|
+
void Serialize(Serializer &serializer) const override;
|
43
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
47
44
|
};
|
48
45
|
} // namespace duckdb
|
@@ -60,8 +60,5 @@ public:
|
|
60
60
|
unique_ptr<Expression> Copy() override;
|
61
61
|
|
62
62
|
bool PropagatesNullValues() const override;
|
63
|
-
|
64
|
-
void Serialize(FieldWriter &writer) const override;
|
65
|
-
static unique_ptr<Expression> Deserialize(ExpressionDeserializationState &state, FieldReader &reader);
|
66
63
|
};
|
67
64
|
} // namespace duckdb
|
@@ -31,10 +31,7 @@ public:
|
|
31
31
|
|
32
32
|
unique_ptr<Expression> Copy() override;
|
33
33
|
|
34
|
-
void Serialize(
|
35
|
-
static unique_ptr<Expression> Deserialize(
|
36
|
-
|
37
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
38
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
34
|
+
void Serialize(Serializer &serializer) const override;
|
35
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
39
36
|
};
|
40
37
|
} // namespace duckdb
|
@@ -65,10 +65,7 @@ public:
|
|
65
65
|
|
66
66
|
unique_ptr<Expression> Copy() override;
|
67
67
|
|
68
|
-
void Serialize(
|
69
|
-
static unique_ptr<Expression> Deserialize(
|
70
|
-
|
71
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
72
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
68
|
+
void Serialize(Serializer &serializer) const override;
|
69
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
73
70
|
};
|
74
71
|
} // namespace duckdb
|
@@ -10,12 +10,9 @@
|
|
10
10
|
|
11
11
|
#include "duckdb/parser/base_expression.hpp"
|
12
12
|
#include "duckdb/common/types.hpp"
|
13
|
-
#include "duckdb/planner/plan_serialization.hpp"
|
14
13
|
|
15
14
|
namespace duckdb {
|
16
15
|
class BaseStatistics;
|
17
|
-
class FieldWriter;
|
18
|
-
class FieldReader;
|
19
16
|
class ClientContext;
|
20
17
|
|
21
18
|
//! The Expression class represents a bound Expression with a return type
|
@@ -55,17 +52,8 @@ public:
|
|
55
52
|
//! Create a copy of this expression
|
56
53
|
virtual unique_ptr<Expression> Copy() = 0;
|
57
54
|
|
58
|
-
|
59
|
-
|
60
|
-
//! Serializes an Expression to a stand-alone binary blob
|
61
|
-
virtual void Serialize(FieldWriter &writer) const = 0;
|
62
|
-
|
63
|
-
//! Deserializes a blob back into an Expression [CAN THROW:
|
64
|
-
//! SerializationException]
|
65
|
-
static unique_ptr<Expression> Deserialize(Deserializer &source, PlanDeserializationState &state);
|
66
|
-
|
67
|
-
virtual void FormatSerialize(FormatSerializer &serializer) const;
|
68
|
-
static unique_ptr<Expression> FormatDeserialize(FormatDeserializer &deserializer);
|
55
|
+
virtual void Serialize(Serializer &serializer) const;
|
56
|
+
static unique_ptr<Expression> Deserialize(Deserializer &deserializer);
|
69
57
|
|
70
58
|
protected:
|
71
59
|
//! Copy base Expression properties from another expression to this one,
|
@@ -43,10 +43,8 @@ public:
|
|
43
43
|
FilterPropagateResult CheckStatistics(BaseStatistics &stats) override;
|
44
44
|
string ToString(const string &column_name) override;
|
45
45
|
bool Equals(const TableFilter &other) const override;
|
46
|
-
void Serialize(
|
47
|
-
static unique_ptr<TableFilter> Deserialize(
|
48
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
49
|
-
static unique_ptr<TableFilter> FormatDeserialize(FormatDeserializer &deserializer);
|
46
|
+
void Serialize(Serializer &serializer) const override;
|
47
|
+
static unique_ptr<TableFilter> Deserialize(Deserializer &deserializer);
|
50
48
|
};
|
51
49
|
|
52
50
|
class ConjunctionAndFilter : public ConjunctionFilter {
|
@@ -60,10 +58,8 @@ public:
|
|
60
58
|
FilterPropagateResult CheckStatistics(BaseStatistics &stats) override;
|
61
59
|
string ToString(const string &column_name) override;
|
62
60
|
bool Equals(const TableFilter &other) const override;
|
63
|
-
void Serialize(
|
64
|
-
static unique_ptr<TableFilter> Deserialize(
|
65
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
66
|
-
static unique_ptr<TableFilter> FormatDeserialize(FormatDeserializer &deserializer);
|
61
|
+
void Serialize(Serializer &serializer) const override;
|
62
|
+
static unique_ptr<TableFilter> Deserialize(Deserializer &deserializer);
|
67
63
|
};
|
68
64
|
|
69
65
|
} // namespace duckdb
|
@@ -30,10 +30,8 @@ public:
|
|
30
30
|
FilterPropagateResult CheckStatistics(BaseStatistics &stats) override;
|
31
31
|
string ToString(const string &column_name) override;
|
32
32
|
bool Equals(const TableFilter &other) const override;
|
33
|
-
void Serialize(
|
34
|
-
static unique_ptr<TableFilter> Deserialize(
|
35
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
36
|
-
static unique_ptr<TableFilter> FormatDeserialize(FormatDeserializer &deserializer);
|
33
|
+
void Serialize(Serializer &serializer) const override;
|
34
|
+
static unique_ptr<TableFilter> Deserialize(Deserializer &deserializer);
|
37
35
|
};
|
38
36
|
|
39
37
|
} // namespace duckdb
|
@@ -22,10 +22,8 @@ public:
|
|
22
22
|
public:
|
23
23
|
FilterPropagateResult CheckStatistics(BaseStatistics &stats) override;
|
24
24
|
string ToString(const string &column_name) override;
|
25
|
-
void Serialize(
|
26
|
-
static unique_ptr<TableFilter> Deserialize(
|
27
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
28
|
-
static unique_ptr<TableFilter> FormatDeserialize(FormatDeserializer &deserializer);
|
25
|
+
void Serialize(Serializer &serializer) const override;
|
26
|
+
static unique_ptr<TableFilter> Deserialize(Deserializer &deserializer);
|
29
27
|
};
|
30
28
|
|
31
29
|
class IsNotNullFilter : public TableFilter {
|
@@ -38,10 +36,8 @@ public:
|
|
38
36
|
public:
|
39
37
|
FilterPropagateResult CheckStatistics(BaseStatistics &stats) override;
|
40
38
|
string ToString(const string &column_name) override;
|
41
|
-
void Serialize(
|
42
|
-
static unique_ptr<TableFilter> Deserialize(
|
43
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
44
|
-
static unique_ptr<TableFilter> FormatDeserialize(FormatDeserializer &deserializer);
|
39
|
+
void Serialize(Serializer &serializer) const override;
|
40
|
+
static unique_ptr<TableFilter> Deserialize(Deserializer &deserializer);
|
45
41
|
};
|
46
42
|
|
47
43
|
} // namespace duckdb
|
@@ -24,13 +24,8 @@ public:
|
|
24
24
|
static unique_ptr<Expression> CreateExpression(JoinCondition cond);
|
25
25
|
static unique_ptr<Expression> CreateExpression(vector<JoinCondition> conditions);
|
26
26
|
|
27
|
-
//! Serializes a JoinCondition to a stand-alone binary blob
|
28
27
|
void Serialize(Serializer &serializer) const;
|
29
|
-
|
30
|
-
static JoinCondition Deserialize(Deserializer &source, PlanDeserializationState &state);
|
31
|
-
|
32
|
-
void FormatSerialize(FormatSerializer &serializer) const;
|
33
|
-
static JoinCondition FormatDeserialize(FormatDeserializer &deserializer);
|
28
|
+
static JoinCondition Deserialize(Deserializer &deserializer);
|
34
29
|
|
35
30
|
public:
|
36
31
|
unique_ptr<Expression> left;
|