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
@@ -3,8 +3,8 @@
|
|
3
3
|
// Do not edit this file manually, your changes will be overwritten
|
4
4
|
//===----------------------------------------------------------------------===//
|
5
5
|
|
6
|
-
#include "duckdb/common/serializer/
|
7
|
-
#include "duckdb/common/serializer/
|
6
|
+
#include "duckdb/common/serializer/serializer.hpp"
|
7
|
+
#include "duckdb/common/serializer/deserializer.hpp"
|
8
8
|
#include "duckdb/parser/parsed_data/parse_info.hpp"
|
9
9
|
#include "duckdb/parser/parsed_data/alter_info.hpp"
|
10
10
|
#include "duckdb/parser/parsed_data/alter_table_info.hpp"
|
@@ -19,40 +19,40 @@
|
|
19
19
|
|
20
20
|
namespace duckdb {
|
21
21
|
|
22
|
-
void ParseInfo::
|
22
|
+
void ParseInfo::Serialize(Serializer &serializer) const {
|
23
23
|
serializer.WriteProperty(100, "info_type", info_type);
|
24
24
|
}
|
25
25
|
|
26
|
-
unique_ptr<ParseInfo> ParseInfo::
|
26
|
+
unique_ptr<ParseInfo> ParseInfo::Deserialize(Deserializer &deserializer) {
|
27
27
|
auto info_type = deserializer.ReadProperty<ParseInfoType>(100, "info_type");
|
28
28
|
unique_ptr<ParseInfo> result;
|
29
29
|
switch (info_type) {
|
30
30
|
case ParseInfoType::ALTER_INFO:
|
31
|
-
result = AlterInfo::
|
31
|
+
result = AlterInfo::Deserialize(deserializer);
|
32
32
|
break;
|
33
33
|
case ParseInfoType::ATTACH_INFO:
|
34
|
-
result = AttachInfo::
|
34
|
+
result = AttachInfo::Deserialize(deserializer);
|
35
35
|
break;
|
36
36
|
case ParseInfoType::COPY_INFO:
|
37
|
-
result = CopyInfo::
|
37
|
+
result = CopyInfo::Deserialize(deserializer);
|
38
38
|
break;
|
39
39
|
case ParseInfoType::DETACH_INFO:
|
40
|
-
result = DetachInfo::
|
40
|
+
result = DetachInfo::Deserialize(deserializer);
|
41
41
|
break;
|
42
42
|
case ParseInfoType::DROP_INFO:
|
43
|
-
result = DropInfo::
|
43
|
+
result = DropInfo::Deserialize(deserializer);
|
44
44
|
break;
|
45
45
|
case ParseInfoType::LOAD_INFO:
|
46
|
-
result = LoadInfo::
|
46
|
+
result = LoadInfo::Deserialize(deserializer);
|
47
47
|
break;
|
48
48
|
case ParseInfoType::PRAGMA_INFO:
|
49
|
-
result = PragmaInfo::
|
49
|
+
result = PragmaInfo::Deserialize(deserializer);
|
50
50
|
break;
|
51
51
|
case ParseInfoType::TRANSACTION_INFO:
|
52
|
-
result = TransactionInfo::
|
52
|
+
result = TransactionInfo::Deserialize(deserializer);
|
53
53
|
break;
|
54
54
|
case ParseInfoType::VACUUM_INFO:
|
55
|
-
result = VacuumInfo::
|
55
|
+
result = VacuumInfo::Deserialize(deserializer);
|
56
56
|
break;
|
57
57
|
default:
|
58
58
|
throw SerializationException("Unsupported type for deserialization of ParseInfo!");
|
@@ -60,8 +60,8 @@ unique_ptr<ParseInfo> ParseInfo::FormatDeserialize(FormatDeserializer &deseriali
|
|
60
60
|
return result;
|
61
61
|
}
|
62
62
|
|
63
|
-
void AlterInfo::
|
64
|
-
ParseInfo::
|
63
|
+
void AlterInfo::Serialize(Serializer &serializer) const {
|
64
|
+
ParseInfo::Serialize(serializer);
|
65
65
|
serializer.WriteProperty(200, "type", type);
|
66
66
|
serializer.WriteProperty(201, "catalog", catalog);
|
67
67
|
serializer.WriteProperty(202, "schema", schema);
|
@@ -70,7 +70,7 @@ void AlterInfo::FormatSerialize(FormatSerializer &serializer) const {
|
|
70
70
|
serializer.WriteProperty(205, "allow_internal", allow_internal);
|
71
71
|
}
|
72
72
|
|
73
|
-
unique_ptr<ParseInfo> AlterInfo::
|
73
|
+
unique_ptr<ParseInfo> AlterInfo::Deserialize(Deserializer &deserializer) {
|
74
74
|
auto type = deserializer.ReadProperty<AlterType>(200, "type");
|
75
75
|
auto catalog = deserializer.ReadProperty<string>(201, "catalog");
|
76
76
|
auto schema = deserializer.ReadProperty<string>(202, "schema");
|
@@ -80,10 +80,10 @@ unique_ptr<ParseInfo> AlterInfo::FormatDeserialize(FormatDeserializer &deseriali
|
|
80
80
|
unique_ptr<AlterInfo> result;
|
81
81
|
switch (type) {
|
82
82
|
case AlterType::ALTER_TABLE:
|
83
|
-
result = AlterTableInfo::
|
83
|
+
result = AlterTableInfo::Deserialize(deserializer);
|
84
84
|
break;
|
85
85
|
case AlterType::ALTER_VIEW:
|
86
|
-
result = AlterViewInfo::
|
86
|
+
result = AlterViewInfo::Deserialize(deserializer);
|
87
87
|
break;
|
88
88
|
default:
|
89
89
|
throw SerializationException("Unsupported type for deserialization of AlterInfo!");
|
@@ -96,41 +96,41 @@ unique_ptr<ParseInfo> AlterInfo::FormatDeserialize(FormatDeserializer &deseriali
|
|
96
96
|
return std::move(result);
|
97
97
|
}
|
98
98
|
|
99
|
-
void AlterTableInfo::
|
100
|
-
AlterInfo::
|
99
|
+
void AlterTableInfo::Serialize(Serializer &serializer) const {
|
100
|
+
AlterInfo::Serialize(serializer);
|
101
101
|
serializer.WriteProperty(300, "alter_table_type", alter_table_type);
|
102
102
|
}
|
103
103
|
|
104
|
-
unique_ptr<AlterInfo> AlterTableInfo::
|
104
|
+
unique_ptr<AlterInfo> AlterTableInfo::Deserialize(Deserializer &deserializer) {
|
105
105
|
auto alter_table_type = deserializer.ReadProperty<AlterTableType>(300, "alter_table_type");
|
106
106
|
unique_ptr<AlterTableInfo> result;
|
107
107
|
switch (alter_table_type) {
|
108
108
|
case AlterTableType::ADD_COLUMN:
|
109
|
-
result = AddColumnInfo::
|
109
|
+
result = AddColumnInfo::Deserialize(deserializer);
|
110
110
|
break;
|
111
111
|
case AlterTableType::ALTER_COLUMN_TYPE:
|
112
|
-
result = ChangeColumnTypeInfo::
|
112
|
+
result = ChangeColumnTypeInfo::Deserialize(deserializer);
|
113
113
|
break;
|
114
114
|
case AlterTableType::DROP_NOT_NULL:
|
115
|
-
result = DropNotNullInfo::
|
115
|
+
result = DropNotNullInfo::Deserialize(deserializer);
|
116
116
|
break;
|
117
117
|
case AlterTableType::FOREIGN_KEY_CONSTRAINT:
|
118
|
-
result = AlterForeignKeyInfo::
|
118
|
+
result = AlterForeignKeyInfo::Deserialize(deserializer);
|
119
119
|
break;
|
120
120
|
case AlterTableType::REMOVE_COLUMN:
|
121
|
-
result = RemoveColumnInfo::
|
121
|
+
result = RemoveColumnInfo::Deserialize(deserializer);
|
122
122
|
break;
|
123
123
|
case AlterTableType::RENAME_COLUMN:
|
124
|
-
result = RenameColumnInfo::
|
124
|
+
result = RenameColumnInfo::Deserialize(deserializer);
|
125
125
|
break;
|
126
126
|
case AlterTableType::RENAME_TABLE:
|
127
|
-
result = RenameTableInfo::
|
127
|
+
result = RenameTableInfo::Deserialize(deserializer);
|
128
128
|
break;
|
129
129
|
case AlterTableType::SET_DEFAULT:
|
130
|
-
result = SetDefaultInfo::
|
130
|
+
result = SetDefaultInfo::Deserialize(deserializer);
|
131
131
|
break;
|
132
132
|
case AlterTableType::SET_NOT_NULL:
|
133
|
-
result = SetNotNullInfo::
|
133
|
+
result = SetNotNullInfo::Deserialize(deserializer);
|
134
134
|
break;
|
135
135
|
default:
|
136
136
|
throw SerializationException("Unsupported type for deserialization of AlterTableInfo!");
|
@@ -138,17 +138,17 @@ unique_ptr<AlterInfo> AlterTableInfo::FormatDeserialize(FormatDeserializer &dese
|
|
138
138
|
return std::move(result);
|
139
139
|
}
|
140
140
|
|
141
|
-
void AlterViewInfo::
|
142
|
-
AlterInfo::
|
141
|
+
void AlterViewInfo::Serialize(Serializer &serializer) const {
|
142
|
+
AlterInfo::Serialize(serializer);
|
143
143
|
serializer.WriteProperty(300, "alter_view_type", alter_view_type);
|
144
144
|
}
|
145
145
|
|
146
|
-
unique_ptr<AlterInfo> AlterViewInfo::
|
146
|
+
unique_ptr<AlterInfo> AlterViewInfo::Deserialize(Deserializer &deserializer) {
|
147
147
|
auto alter_view_type = deserializer.ReadProperty<AlterViewType>(300, "alter_view_type");
|
148
148
|
unique_ptr<AlterViewInfo> result;
|
149
149
|
switch (alter_view_type) {
|
150
150
|
case AlterViewType::RENAME_VIEW:
|
151
|
-
result = RenameViewInfo::
|
151
|
+
result = RenameViewInfo::Deserialize(deserializer);
|
152
152
|
break;
|
153
153
|
default:
|
154
154
|
throw SerializationException("Unsupported type for deserialization of AlterViewInfo!");
|
@@ -156,21 +156,21 @@ unique_ptr<AlterInfo> AlterViewInfo::FormatDeserialize(FormatDeserializer &deser
|
|
156
156
|
return std::move(result);
|
157
157
|
}
|
158
158
|
|
159
|
-
void AddColumnInfo::
|
160
|
-
AlterTableInfo::
|
159
|
+
void AddColumnInfo::Serialize(Serializer &serializer) const {
|
160
|
+
AlterTableInfo::Serialize(serializer);
|
161
161
|
serializer.WriteProperty(400, "new_column", new_column);
|
162
162
|
serializer.WriteProperty(401, "if_column_not_exists", if_column_not_exists);
|
163
163
|
}
|
164
164
|
|
165
|
-
unique_ptr<AlterTableInfo> AddColumnInfo::
|
165
|
+
unique_ptr<AlterTableInfo> AddColumnInfo::Deserialize(Deserializer &deserializer) {
|
166
166
|
auto new_column = deserializer.ReadProperty<ColumnDefinition>(400, "new_column");
|
167
167
|
auto result = duckdb::unique_ptr<AddColumnInfo>(new AddColumnInfo(std::move(new_column)));
|
168
168
|
deserializer.ReadProperty(401, "if_column_not_exists", result->if_column_not_exists);
|
169
169
|
return std::move(result);
|
170
170
|
}
|
171
171
|
|
172
|
-
void AlterForeignKeyInfo::
|
173
|
-
AlterTableInfo::
|
172
|
+
void AlterForeignKeyInfo::Serialize(Serializer &serializer) const {
|
173
|
+
AlterTableInfo::Serialize(serializer);
|
174
174
|
serializer.WriteProperty(400, "fk_table", fk_table);
|
175
175
|
serializer.WriteProperty(401, "pk_columns", pk_columns);
|
176
176
|
serializer.WriteProperty(402, "fk_columns", fk_columns);
|
@@ -179,7 +179,7 @@ void AlterForeignKeyInfo::FormatSerialize(FormatSerializer &serializer) const {
|
|
179
179
|
serializer.WriteProperty(405, "alter_fk_type", type);
|
180
180
|
}
|
181
181
|
|
182
|
-
unique_ptr<AlterTableInfo> AlterForeignKeyInfo::
|
182
|
+
unique_ptr<AlterTableInfo> AlterForeignKeyInfo::Deserialize(Deserializer &deserializer) {
|
183
183
|
auto result = duckdb::unique_ptr<AlterForeignKeyInfo>(new AlterForeignKeyInfo());
|
184
184
|
deserializer.ReadProperty(400, "fk_table", result->fk_table);
|
185
185
|
deserializer.ReadProperty(401, "pk_columns", result->pk_columns);
|
@@ -190,14 +190,14 @@ unique_ptr<AlterTableInfo> AlterForeignKeyInfo::FormatDeserialize(FormatDeserial
|
|
190
190
|
return std::move(result);
|
191
191
|
}
|
192
192
|
|
193
|
-
void AttachInfo::
|
194
|
-
ParseInfo::
|
193
|
+
void AttachInfo::Serialize(Serializer &serializer) const {
|
194
|
+
ParseInfo::Serialize(serializer);
|
195
195
|
serializer.WriteProperty(200, "name", name);
|
196
196
|
serializer.WriteProperty(201, "path", path);
|
197
197
|
serializer.WriteProperty(202, "options", options);
|
198
198
|
}
|
199
199
|
|
200
|
-
unique_ptr<ParseInfo> AttachInfo::
|
200
|
+
unique_ptr<ParseInfo> AttachInfo::Deserialize(Deserializer &deserializer) {
|
201
201
|
auto result = duckdb::unique_ptr<AttachInfo>(new AttachInfo());
|
202
202
|
deserializer.ReadProperty(200, "name", result->name);
|
203
203
|
deserializer.ReadProperty(201, "path", result->path);
|
@@ -205,14 +205,14 @@ unique_ptr<ParseInfo> AttachInfo::FormatDeserialize(FormatDeserializer &deserial
|
|
205
205
|
return std::move(result);
|
206
206
|
}
|
207
207
|
|
208
|
-
void ChangeColumnTypeInfo::
|
209
|
-
AlterTableInfo::
|
208
|
+
void ChangeColumnTypeInfo::Serialize(Serializer &serializer) const {
|
209
|
+
AlterTableInfo::Serialize(serializer);
|
210
210
|
serializer.WriteProperty(400, "column_name", column_name);
|
211
211
|
serializer.WriteProperty(401, "target_type", target_type);
|
212
212
|
serializer.WriteProperty(402, "expression", expression);
|
213
213
|
}
|
214
214
|
|
215
|
-
unique_ptr<AlterTableInfo> ChangeColumnTypeInfo::
|
215
|
+
unique_ptr<AlterTableInfo> ChangeColumnTypeInfo::Deserialize(Deserializer &deserializer) {
|
216
216
|
auto result = duckdb::unique_ptr<ChangeColumnTypeInfo>(new ChangeColumnTypeInfo());
|
217
217
|
deserializer.ReadProperty(400, "column_name", result->column_name);
|
218
218
|
deserializer.ReadProperty(401, "target_type", result->target_type);
|
@@ -220,8 +220,8 @@ unique_ptr<AlterTableInfo> ChangeColumnTypeInfo::FormatDeserialize(FormatDeseria
|
|
220
220
|
return std::move(result);
|
221
221
|
}
|
222
222
|
|
223
|
-
void CopyInfo::
|
224
|
-
ParseInfo::
|
223
|
+
void CopyInfo::Serialize(Serializer &serializer) const {
|
224
|
+
ParseInfo::Serialize(serializer);
|
225
225
|
serializer.WriteProperty(200, "catalog", catalog);
|
226
226
|
serializer.WriteProperty(201, "schema", schema);
|
227
227
|
serializer.WriteProperty(202, "table", table);
|
@@ -232,7 +232,7 @@ void CopyInfo::FormatSerialize(FormatSerializer &serializer) const {
|
|
232
232
|
serializer.WriteProperty(207, "options", options);
|
233
233
|
}
|
234
234
|
|
235
|
-
unique_ptr<ParseInfo> CopyInfo::
|
235
|
+
unique_ptr<ParseInfo> CopyInfo::Deserialize(Deserializer &deserializer) {
|
236
236
|
auto result = duckdb::unique_ptr<CopyInfo>(new CopyInfo());
|
237
237
|
deserializer.ReadProperty(200, "catalog", result->catalog);
|
238
238
|
deserializer.ReadProperty(201, "schema", result->schema);
|
@@ -245,21 +245,21 @@ unique_ptr<ParseInfo> CopyInfo::FormatDeserialize(FormatDeserializer &deserializ
|
|
245
245
|
return std::move(result);
|
246
246
|
}
|
247
247
|
|
248
|
-
void DetachInfo::
|
249
|
-
ParseInfo::
|
248
|
+
void DetachInfo::Serialize(Serializer &serializer) const {
|
249
|
+
ParseInfo::Serialize(serializer);
|
250
250
|
serializer.WriteProperty(200, "name", name);
|
251
251
|
serializer.WriteProperty(201, "if_not_found", if_not_found);
|
252
252
|
}
|
253
253
|
|
254
|
-
unique_ptr<ParseInfo> DetachInfo::
|
254
|
+
unique_ptr<ParseInfo> DetachInfo::Deserialize(Deserializer &deserializer) {
|
255
255
|
auto result = duckdb::unique_ptr<DetachInfo>(new DetachInfo());
|
256
256
|
deserializer.ReadProperty(200, "name", result->name);
|
257
257
|
deserializer.ReadProperty(201, "if_not_found", result->if_not_found);
|
258
258
|
return std::move(result);
|
259
259
|
}
|
260
260
|
|
261
|
-
void DropInfo::
|
262
|
-
ParseInfo::
|
261
|
+
void DropInfo::Serialize(Serializer &serializer) const {
|
262
|
+
ParseInfo::Serialize(serializer);
|
263
263
|
serializer.WriteProperty(200, "type", type);
|
264
264
|
serializer.WriteProperty(201, "catalog", catalog);
|
265
265
|
serializer.WriteProperty(202, "schema", schema);
|
@@ -269,7 +269,7 @@ void DropInfo::FormatSerialize(FormatSerializer &serializer) const {
|
|
269
269
|
serializer.WriteProperty(206, "allow_drop_internal", allow_drop_internal);
|
270
270
|
}
|
271
271
|
|
272
|
-
unique_ptr<ParseInfo> DropInfo::
|
272
|
+
unique_ptr<ParseInfo> DropInfo::Deserialize(Deserializer &deserializer) {
|
273
273
|
auto result = duckdb::unique_ptr<DropInfo>(new DropInfo());
|
274
274
|
deserializer.ReadProperty(200, "type", result->type);
|
275
275
|
deserializer.ReadProperty(201, "catalog", result->catalog);
|
@@ -281,25 +281,25 @@ unique_ptr<ParseInfo> DropInfo::FormatDeserialize(FormatDeserializer &deserializ
|
|
281
281
|
return std::move(result);
|
282
282
|
}
|
283
283
|
|
284
|
-
void DropNotNullInfo::
|
285
|
-
AlterTableInfo::
|
284
|
+
void DropNotNullInfo::Serialize(Serializer &serializer) const {
|
285
|
+
AlterTableInfo::Serialize(serializer);
|
286
286
|
serializer.WriteProperty(400, "column_name", column_name);
|
287
287
|
}
|
288
288
|
|
289
|
-
unique_ptr<AlterTableInfo> DropNotNullInfo::
|
289
|
+
unique_ptr<AlterTableInfo> DropNotNullInfo::Deserialize(Deserializer &deserializer) {
|
290
290
|
auto result = duckdb::unique_ptr<DropNotNullInfo>(new DropNotNullInfo());
|
291
291
|
deserializer.ReadProperty(400, "column_name", result->column_name);
|
292
292
|
return std::move(result);
|
293
293
|
}
|
294
294
|
|
295
|
-
void LoadInfo::
|
296
|
-
ParseInfo::
|
295
|
+
void LoadInfo::Serialize(Serializer &serializer) const {
|
296
|
+
ParseInfo::Serialize(serializer);
|
297
297
|
serializer.WriteProperty(200, "filename", filename);
|
298
298
|
serializer.WriteProperty(201, "load_type", load_type);
|
299
299
|
serializer.WriteProperty(202, "repository", repository);
|
300
300
|
}
|
301
301
|
|
302
|
-
unique_ptr<ParseInfo> LoadInfo::
|
302
|
+
unique_ptr<ParseInfo> LoadInfo::Deserialize(Deserializer &deserializer) {
|
303
303
|
auto result = duckdb::unique_ptr<LoadInfo>(new LoadInfo());
|
304
304
|
deserializer.ReadProperty(200, "filename", result->filename);
|
305
305
|
deserializer.ReadProperty(201, "load_type", result->load_type);
|
@@ -307,14 +307,14 @@ unique_ptr<ParseInfo> LoadInfo::FormatDeserialize(FormatDeserializer &deserializ
|
|
307
307
|
return std::move(result);
|
308
308
|
}
|
309
309
|
|
310
|
-
void PragmaInfo::
|
311
|
-
ParseInfo::
|
310
|
+
void PragmaInfo::Serialize(Serializer &serializer) const {
|
311
|
+
ParseInfo::Serialize(serializer);
|
312
312
|
serializer.WriteProperty(200, "name", name);
|
313
313
|
serializer.WriteProperty(201, "parameters", parameters);
|
314
314
|
serializer.WriteProperty(202, "named_parameters", named_parameters);
|
315
315
|
}
|
316
316
|
|
317
|
-
unique_ptr<ParseInfo> PragmaInfo::
|
317
|
+
unique_ptr<ParseInfo> PragmaInfo::Deserialize(Deserializer &deserializer) {
|
318
318
|
auto result = duckdb::unique_ptr<PragmaInfo>(new PragmaInfo());
|
319
319
|
deserializer.ReadProperty(200, "name", result->name);
|
320
320
|
deserializer.ReadProperty(201, "parameters", result->parameters);
|
@@ -322,14 +322,14 @@ unique_ptr<ParseInfo> PragmaInfo::FormatDeserialize(FormatDeserializer &deserial
|
|
322
322
|
return std::move(result);
|
323
323
|
}
|
324
324
|
|
325
|
-
void RemoveColumnInfo::
|
326
|
-
AlterTableInfo::
|
325
|
+
void RemoveColumnInfo::Serialize(Serializer &serializer) const {
|
326
|
+
AlterTableInfo::Serialize(serializer);
|
327
327
|
serializer.WriteProperty(400, "removed_column", removed_column);
|
328
328
|
serializer.WriteProperty(401, "if_column_exists", if_column_exists);
|
329
329
|
serializer.WriteProperty(402, "cascade", cascade);
|
330
330
|
}
|
331
331
|
|
332
|
-
unique_ptr<AlterTableInfo> RemoveColumnInfo::
|
332
|
+
unique_ptr<AlterTableInfo> RemoveColumnInfo::Deserialize(Deserializer &deserializer) {
|
333
333
|
auto result = duckdb::unique_ptr<RemoveColumnInfo>(new RemoveColumnInfo());
|
334
334
|
deserializer.ReadProperty(400, "removed_column", result->removed_column);
|
335
335
|
deserializer.ReadProperty(401, "if_column_exists", result->if_column_exists);
|
@@ -337,82 +337,82 @@ unique_ptr<AlterTableInfo> RemoveColumnInfo::FormatDeserialize(FormatDeserialize
|
|
337
337
|
return std::move(result);
|
338
338
|
}
|
339
339
|
|
340
|
-
void RenameColumnInfo::
|
341
|
-
AlterTableInfo::
|
340
|
+
void RenameColumnInfo::Serialize(Serializer &serializer) const {
|
341
|
+
AlterTableInfo::Serialize(serializer);
|
342
342
|
serializer.WriteProperty(400, "old_name", old_name);
|
343
343
|
serializer.WriteProperty(401, "new_name", new_name);
|
344
344
|
}
|
345
345
|
|
346
|
-
unique_ptr<AlterTableInfo> RenameColumnInfo::
|
346
|
+
unique_ptr<AlterTableInfo> RenameColumnInfo::Deserialize(Deserializer &deserializer) {
|
347
347
|
auto result = duckdb::unique_ptr<RenameColumnInfo>(new RenameColumnInfo());
|
348
348
|
deserializer.ReadProperty(400, "old_name", result->old_name);
|
349
349
|
deserializer.ReadProperty(401, "new_name", result->new_name);
|
350
350
|
return std::move(result);
|
351
351
|
}
|
352
352
|
|
353
|
-
void RenameTableInfo::
|
354
|
-
AlterTableInfo::
|
353
|
+
void RenameTableInfo::Serialize(Serializer &serializer) const {
|
354
|
+
AlterTableInfo::Serialize(serializer);
|
355
355
|
serializer.WriteProperty(400, "new_table_name", new_table_name);
|
356
356
|
}
|
357
357
|
|
358
|
-
unique_ptr<AlterTableInfo> RenameTableInfo::
|
358
|
+
unique_ptr<AlterTableInfo> RenameTableInfo::Deserialize(Deserializer &deserializer) {
|
359
359
|
auto result = duckdb::unique_ptr<RenameTableInfo>(new RenameTableInfo());
|
360
360
|
deserializer.ReadProperty(400, "new_table_name", result->new_table_name);
|
361
361
|
return std::move(result);
|
362
362
|
}
|
363
363
|
|
364
|
-
void RenameViewInfo::
|
365
|
-
AlterViewInfo::
|
364
|
+
void RenameViewInfo::Serialize(Serializer &serializer) const {
|
365
|
+
AlterViewInfo::Serialize(serializer);
|
366
366
|
serializer.WriteProperty(400, "new_view_name", new_view_name);
|
367
367
|
}
|
368
368
|
|
369
|
-
unique_ptr<AlterViewInfo> RenameViewInfo::
|
369
|
+
unique_ptr<AlterViewInfo> RenameViewInfo::Deserialize(Deserializer &deserializer) {
|
370
370
|
auto result = duckdb::unique_ptr<RenameViewInfo>(new RenameViewInfo());
|
371
371
|
deserializer.ReadProperty(400, "new_view_name", result->new_view_name);
|
372
372
|
return std::move(result);
|
373
373
|
}
|
374
374
|
|
375
|
-
void SetDefaultInfo::
|
376
|
-
AlterTableInfo::
|
375
|
+
void SetDefaultInfo::Serialize(Serializer &serializer) const {
|
376
|
+
AlterTableInfo::Serialize(serializer);
|
377
377
|
serializer.WriteProperty(400, "column_name", column_name);
|
378
378
|
serializer.WritePropertyWithDefault(401, "expression", expression, unique_ptr<ParsedExpression>());
|
379
379
|
}
|
380
380
|
|
381
|
-
unique_ptr<AlterTableInfo> SetDefaultInfo::
|
381
|
+
unique_ptr<AlterTableInfo> SetDefaultInfo::Deserialize(Deserializer &deserializer) {
|
382
382
|
auto result = duckdb::unique_ptr<SetDefaultInfo>(new SetDefaultInfo());
|
383
383
|
deserializer.ReadProperty(400, "column_name", result->column_name);
|
384
384
|
deserializer.ReadPropertyWithDefault(401, "expression", result->expression, unique_ptr<ParsedExpression>());
|
385
385
|
return std::move(result);
|
386
386
|
}
|
387
387
|
|
388
|
-
void SetNotNullInfo::
|
389
|
-
AlterTableInfo::
|
388
|
+
void SetNotNullInfo::Serialize(Serializer &serializer) const {
|
389
|
+
AlterTableInfo::Serialize(serializer);
|
390
390
|
serializer.WriteProperty(400, "column_name", column_name);
|
391
391
|
}
|
392
392
|
|
393
|
-
unique_ptr<AlterTableInfo> SetNotNullInfo::
|
393
|
+
unique_ptr<AlterTableInfo> SetNotNullInfo::Deserialize(Deserializer &deserializer) {
|
394
394
|
auto result = duckdb::unique_ptr<SetNotNullInfo>(new SetNotNullInfo());
|
395
395
|
deserializer.ReadProperty(400, "column_name", result->column_name);
|
396
396
|
return std::move(result);
|
397
397
|
}
|
398
398
|
|
399
|
-
void TransactionInfo::
|
400
|
-
ParseInfo::
|
399
|
+
void TransactionInfo::Serialize(Serializer &serializer) const {
|
400
|
+
ParseInfo::Serialize(serializer);
|
401
401
|
serializer.WriteProperty(200, "type", type);
|
402
402
|
}
|
403
403
|
|
404
|
-
unique_ptr<ParseInfo> TransactionInfo::
|
404
|
+
unique_ptr<ParseInfo> TransactionInfo::Deserialize(Deserializer &deserializer) {
|
405
405
|
auto result = duckdb::unique_ptr<TransactionInfo>(new TransactionInfo());
|
406
406
|
deserializer.ReadProperty(200, "type", result->type);
|
407
407
|
return std::move(result);
|
408
408
|
}
|
409
409
|
|
410
|
-
void VacuumInfo::
|
411
|
-
ParseInfo::
|
410
|
+
void VacuumInfo::Serialize(Serializer &serializer) const {
|
411
|
+
ParseInfo::Serialize(serializer);
|
412
412
|
serializer.WriteProperty(200, "options", options);
|
413
413
|
}
|
414
414
|
|
415
|
-
unique_ptr<ParseInfo> VacuumInfo::
|
415
|
+
unique_ptr<ParseInfo> VacuumInfo::Deserialize(Deserializer &deserializer) {
|
416
416
|
auto options = deserializer.ReadProperty<VacuumOptions>(200, "options");
|
417
417
|
auto result = duckdb::unique_ptr<VacuumInfo>(new VacuumInfo(options));
|
418
418
|
return std::move(result);
|