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
@@ -34,13 +34,8 @@ public:
|
|
34
34
|
|
35
35
|
DUCKDB_API unique_ptr<Constraint> Copy() const override;
|
36
36
|
|
37
|
-
|
38
|
-
DUCKDB_API
|
39
|
-
//! Deserializes a ParsedConstraint
|
40
|
-
DUCKDB_API static unique_ptr<Constraint> Deserialize(FieldReader &source);
|
41
|
-
|
42
|
-
DUCKDB_API void FormatSerialize(FormatSerializer &serializer) const override;
|
43
|
-
DUCKDB_API static unique_ptr<Constraint> FormatDeserialize(FormatDeserializer &deserializer);
|
37
|
+
DUCKDB_API void Serialize(Serializer &serializer) const override;
|
38
|
+
DUCKDB_API static unique_ptr<Constraint> Deserialize(Deserializer &deserializer);
|
44
39
|
|
45
40
|
private:
|
46
41
|
UniqueConstraint();
|
@@ -31,11 +31,8 @@ public:
|
|
31
31
|
|
32
32
|
unique_ptr<ParsedExpression> Copy() const override;
|
33
33
|
|
34
|
-
void Serialize(
|
35
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
36
|
-
|
37
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
38
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
34
|
+
void Serialize(Serializer &serializer) const override;
|
35
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
39
36
|
|
40
37
|
public:
|
41
38
|
template <class T, class BASE>
|
@@ -9,7 +9,6 @@
|
|
9
9
|
#pragma once
|
10
10
|
|
11
11
|
#include "duckdb/common/exception.hpp"
|
12
|
-
#include "duckdb/common/field_writer.hpp"
|
13
12
|
#include "duckdb/parser/parsed_expression.hpp"
|
14
13
|
#include "duckdb/planner/expression.hpp"
|
15
14
|
|
@@ -37,9 +36,7 @@ public:
|
|
37
36
|
|
38
37
|
unique_ptr<ParsedExpression> Copy() const override;
|
39
38
|
|
40
|
-
void Serialize(
|
41
|
-
|
42
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
39
|
+
void Serialize(Serializer &serializer) const override;
|
43
40
|
};
|
44
41
|
|
45
42
|
} // namespace duckdb
|
@@ -17,8 +17,8 @@ struct CaseCheck {
|
|
17
17
|
unique_ptr<ParsedExpression> when_expr;
|
18
18
|
unique_ptr<ParsedExpression> then_expr;
|
19
19
|
|
20
|
-
void
|
21
|
-
static CaseCheck
|
20
|
+
void Serialize(Serializer &serializer) const;
|
21
|
+
static CaseCheck Deserialize(Deserializer &deserializer);
|
22
22
|
};
|
23
23
|
|
24
24
|
//! The CaseExpression represents a CASE expression in the query
|
@@ -39,10 +39,8 @@ public:
|
|
39
39
|
|
40
40
|
unique_ptr<ParsedExpression> Copy() const override;
|
41
41
|
|
42
|
-
void Serialize(
|
43
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
44
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
45
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
42
|
+
void Serialize(Serializer &serializer) const override;
|
43
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
46
44
|
|
47
45
|
public:
|
48
46
|
template <class T, class BASE>
|
@@ -35,10 +35,8 @@ public:
|
|
35
35
|
|
36
36
|
unique_ptr<ParsedExpression> Copy() const override;
|
37
37
|
|
38
|
-
void Serialize(
|
39
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
40
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
41
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
38
|
+
void Serialize(Serializer &serializer) const override;
|
39
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
42
40
|
|
43
41
|
public:
|
44
42
|
template <class T, class BASE>
|
@@ -32,10 +32,8 @@ public:
|
|
32
32
|
|
33
33
|
unique_ptr<ParsedExpression> Copy() const override;
|
34
34
|
|
35
|
-
void Serialize(
|
36
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
37
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
38
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
35
|
+
void Serialize(Serializer &serializer) const override;
|
36
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
39
37
|
|
40
38
|
private:
|
41
39
|
CollateExpression();
|
@@ -46,10 +46,8 @@ public:
|
|
46
46
|
|
47
47
|
unique_ptr<ParsedExpression> Copy() const override;
|
48
48
|
|
49
|
-
void Serialize(
|
50
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
51
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
52
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
49
|
+
void Serialize(Serializer &serializer) const override;
|
50
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
53
51
|
|
54
52
|
private:
|
55
53
|
ColumnRefExpression();
|
@@ -31,10 +31,8 @@ public:
|
|
31
31
|
|
32
32
|
unique_ptr<ParsedExpression> Copy() const override;
|
33
33
|
|
34
|
-
void Serialize(
|
35
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
36
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
37
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
34
|
+
void Serialize(Serializer &serializer) const override;
|
35
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
38
36
|
|
39
37
|
public:
|
40
38
|
template <class T, class BASE>
|
@@ -35,10 +35,8 @@ public:
|
|
35
35
|
|
36
36
|
unique_ptr<ParsedExpression> Copy() const override;
|
37
37
|
|
38
|
-
void Serialize(
|
39
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
40
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
41
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
38
|
+
void Serialize(Serializer &serializer) const override;
|
39
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
42
40
|
|
43
41
|
public:
|
44
42
|
template <class T, class BASE>
|
@@ -32,11 +32,8 @@ public:
|
|
32
32
|
|
33
33
|
unique_ptr<ParsedExpression> Copy() const override;
|
34
34
|
|
35
|
-
void Serialize(
|
36
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
37
|
-
|
38
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
39
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
35
|
+
void Serialize(Serializer &serializer) const override;
|
36
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
40
37
|
|
41
38
|
private:
|
42
39
|
ConstantExpression();
|
@@ -28,9 +28,7 @@ public:
|
|
28
28
|
|
29
29
|
unique_ptr<ParsedExpression> Copy() const override;
|
30
30
|
|
31
|
-
void Serialize(
|
32
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
33
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
34
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
31
|
+
void Serialize(Serializer &serializer) const override;
|
32
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
35
33
|
};
|
36
34
|
} // namespace duckdb
|
@@ -56,10 +56,8 @@ public:
|
|
56
56
|
static bool Equal(const FunctionExpression &a, const FunctionExpression &b);
|
57
57
|
hash_t Hash() const override;
|
58
58
|
|
59
|
-
void Serialize(
|
60
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
61
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
62
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
59
|
+
void Serialize(Serializer &serializer) const override;
|
60
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
63
61
|
|
64
62
|
void Verify() const override;
|
65
63
|
|
@@ -38,10 +38,8 @@ public:
|
|
38
38
|
|
39
39
|
unique_ptr<ParsedExpression> Copy() const override;
|
40
40
|
|
41
|
-
void Serialize(
|
42
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
43
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
44
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
41
|
+
void Serialize(Serializer &serializer) const override;
|
42
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
45
43
|
|
46
44
|
private:
|
47
45
|
LambdaExpression();
|
@@ -34,10 +34,8 @@ public:
|
|
34
34
|
|
35
35
|
unique_ptr<ParsedExpression> Copy() const override;
|
36
36
|
|
37
|
-
void Serialize(
|
38
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
39
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
40
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
37
|
+
void Serialize(Serializer &serializer) const override;
|
38
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
41
39
|
|
42
40
|
public:
|
43
41
|
template <class T, class BASE>
|
@@ -51,9 +51,7 @@ public:
|
|
51
51
|
unique_ptr<ParsedExpression> Copy() const override;
|
52
52
|
hash_t Hash() const override;
|
53
53
|
|
54
|
-
void Serialize(
|
55
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
56
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
57
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
54
|
+
void Serialize(Serializer &serializer) const override;
|
55
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
58
56
|
};
|
59
57
|
} // namespace duckdb
|
@@ -31,10 +31,8 @@ public:
|
|
31
31
|
unique_ptr<ParsedExpression> Copy() const override;
|
32
32
|
hash_t Hash() const override;
|
33
33
|
|
34
|
-
void Serialize(
|
35
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
36
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
37
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
34
|
+
void Serialize(Serializer &serializer) const override;
|
35
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
38
36
|
|
39
37
|
private:
|
40
38
|
PositionalReferenceExpression();
|
@@ -39,9 +39,7 @@ public:
|
|
39
39
|
|
40
40
|
unique_ptr<ParsedExpression> Copy() const override;
|
41
41
|
|
42
|
-
void Serialize(
|
43
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
44
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
45
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
42
|
+
void Serialize(Serializer &serializer) const override;
|
43
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
46
44
|
};
|
47
45
|
} // namespace duckdb
|
@@ -46,9 +46,7 @@ public:
|
|
46
46
|
|
47
47
|
unique_ptr<ParsedExpression> Copy() const override;
|
48
48
|
|
49
|
-
void Serialize(
|
50
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
51
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
52
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
49
|
+
void Serialize(Serializer &serializer) const override;
|
50
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
53
51
|
};
|
54
52
|
} // namespace duckdb
|
@@ -74,10 +74,8 @@ public:
|
|
74
74
|
|
75
75
|
unique_ptr<ParsedExpression> Copy() const override;
|
76
76
|
|
77
|
-
void Serialize(
|
78
|
-
static unique_ptr<ParsedExpression> Deserialize(
|
79
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
80
|
-
static unique_ptr<ParsedExpression> FormatDeserialize(FormatDeserializer &deserializer);
|
77
|
+
void Serialize(Serializer &serializer) const override;
|
78
|
+
static unique_ptr<ParsedExpression> Deserialize(Deserializer &deserializer);
|
81
79
|
|
82
80
|
static ExpressionType WindowToExpressionType(string &fun_name);
|
83
81
|
|
@@ -62,12 +62,9 @@ public:
|
|
62
62
|
public:
|
63
63
|
virtual CatalogType GetCatalogType() const = 0;
|
64
64
|
virtual unique_ptr<AlterInfo> Copy() const = 0;
|
65
|
-
void Serialize(Serializer &serializer) const;
|
66
|
-
virtual void Serialize(FieldWriter &writer) const = 0;
|
67
|
-
static unique_ptr<AlterInfo> Deserialize(Deserializer &source);
|
68
65
|
|
69
|
-
void
|
70
|
-
static unique_ptr<ParseInfo>
|
66
|
+
void Serialize(Serializer &serializer) const override;
|
67
|
+
static unique_ptr<ParseInfo> Deserialize(Deserializer &deserializer);
|
71
68
|
|
72
69
|
virtual string GetColumnName() const {
|
73
70
|
return "";
|
@@ -27,8 +27,6 @@ struct AlterScalarFunctionInfo : public AlterInfo {
|
|
27
27
|
|
28
28
|
public:
|
29
29
|
CatalogType GetCatalogType() const override;
|
30
|
-
void Serialize(FieldWriter &writer) const override;
|
31
|
-
static unique_ptr<AlterInfo> Deserialize(FieldReader &reader);
|
32
30
|
};
|
33
31
|
|
34
32
|
//===--------------------------------------------------------------------===//
|
@@ -27,8 +27,6 @@ struct AlterTableFunctionInfo : public AlterInfo {
|
|
27
27
|
|
28
28
|
public:
|
29
29
|
CatalogType GetCatalogType() const override;
|
30
|
-
void Serialize(FieldWriter &writer) const override;
|
31
|
-
static unique_ptr<AlterInfo> Deserialize(FieldReader &reader);
|
32
30
|
};
|
33
31
|
|
34
32
|
//===--------------------------------------------------------------------===//
|
@@ -35,7 +35,6 @@ struct ChangeOwnershipInfo : public AlterInfo {
|
|
35
35
|
public:
|
36
36
|
CatalogType GetCatalogType() const override;
|
37
37
|
unique_ptr<AlterInfo> Copy() const override;
|
38
|
-
void Serialize(FieldWriter &writer) const override;
|
39
38
|
};
|
40
39
|
|
41
40
|
//===--------------------------------------------------------------------===//
|
@@ -62,12 +61,9 @@ struct AlterTableInfo : public AlterInfo {
|
|
62
61
|
|
63
62
|
public:
|
64
63
|
CatalogType GetCatalogType() const override;
|
65
|
-
void Serialize(FieldWriter &writer) const override;
|
66
|
-
virtual void SerializeAlterTable(FieldWriter &writer) const = 0;
|
67
|
-
static unique_ptr<AlterInfo> Deserialize(FieldReader &reader);
|
68
64
|
|
69
|
-
void
|
70
|
-
static unique_ptr<AlterInfo>
|
65
|
+
void Serialize(Serializer &serializer) const override;
|
66
|
+
static unique_ptr<AlterInfo> Deserialize(Deserializer &deserializer);
|
71
67
|
|
72
68
|
protected:
|
73
69
|
AlterTableInfo(AlterTableType type);
|
@@ -87,11 +83,9 @@ struct RenameColumnInfo : public AlterTableInfo {
|
|
87
83
|
|
88
84
|
public:
|
89
85
|
unique_ptr<AlterInfo> Copy() const override;
|
90
|
-
void SerializeAlterTable(FieldWriter &writer) const override;
|
91
|
-
static unique_ptr<AlterInfo> Deserialize(FieldReader &reader, AlterEntryData data);
|
92
86
|
|
93
|
-
void
|
94
|
-
static unique_ptr<AlterTableInfo>
|
87
|
+
void Serialize(Serializer &serializer) const override;
|
88
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
95
89
|
|
96
90
|
private:
|
97
91
|
RenameColumnInfo();
|
@@ -109,11 +103,9 @@ struct RenameTableInfo : public AlterTableInfo {
|
|
109
103
|
|
110
104
|
public:
|
111
105
|
unique_ptr<AlterInfo> Copy() const override;
|
112
|
-
void SerializeAlterTable(FieldWriter &writer) const override;
|
113
|
-
static unique_ptr<AlterInfo> Deserialize(FieldReader &reader, AlterEntryData data);
|
114
106
|
|
115
|
-
void
|
116
|
-
static unique_ptr<AlterTableInfo>
|
107
|
+
void Serialize(Serializer &serializer) const override;
|
108
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
117
109
|
|
118
110
|
private:
|
119
111
|
RenameTableInfo();
|
@@ -133,11 +125,9 @@ struct AddColumnInfo : public AlterTableInfo {
|
|
133
125
|
|
134
126
|
public:
|
135
127
|
unique_ptr<AlterInfo> Copy() const override;
|
136
|
-
void SerializeAlterTable(FieldWriter &writer) const override;
|
137
|
-
static unique_ptr<AlterInfo> Deserialize(FieldReader &reader, AlterEntryData data);
|
138
128
|
|
139
|
-
void
|
140
|
-
static unique_ptr<AlterTableInfo>
|
129
|
+
void Serialize(Serializer &serializer) const override;
|
130
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
141
131
|
|
142
132
|
private:
|
143
133
|
explicit AddColumnInfo(ColumnDefinition new_column);
|
@@ -159,10 +149,8 @@ struct RemoveColumnInfo : public AlterTableInfo {
|
|
159
149
|
|
160
150
|
public:
|
161
151
|
unique_ptr<AlterInfo> Copy() const override;
|
162
|
-
void
|
163
|
-
static unique_ptr<
|
164
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
165
|
-
static unique_ptr<AlterTableInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
152
|
+
void Serialize(Serializer &serializer) const override;
|
153
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
166
154
|
string GetColumnName() const override {
|
167
155
|
return removed_column;
|
168
156
|
}
|
@@ -188,10 +176,8 @@ struct ChangeColumnTypeInfo : public AlterTableInfo {
|
|
188
176
|
|
189
177
|
public:
|
190
178
|
unique_ptr<AlterInfo> Copy() const override;
|
191
|
-
void
|
192
|
-
static unique_ptr<
|
193
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
194
|
-
static unique_ptr<AlterTableInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
179
|
+
void Serialize(Serializer &serializer) const override;
|
180
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
195
181
|
string GetColumnName() const override {
|
196
182
|
return column_name;
|
197
183
|
};
|
@@ -214,10 +200,8 @@ struct SetDefaultInfo : public AlterTableInfo {
|
|
214
200
|
|
215
201
|
public:
|
216
202
|
unique_ptr<AlterInfo> Copy() const override;
|
217
|
-
void
|
218
|
-
static unique_ptr<
|
219
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
220
|
-
static unique_ptr<AlterTableInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
203
|
+
void Serialize(Serializer &serializer) const override;
|
204
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
221
205
|
|
222
206
|
private:
|
223
207
|
SetDefaultInfo();
|
@@ -240,10 +224,8 @@ struct AlterForeignKeyInfo : public AlterTableInfo {
|
|
240
224
|
|
241
225
|
public:
|
242
226
|
unique_ptr<AlterInfo> Copy() const override;
|
243
|
-
void
|
244
|
-
static unique_ptr<
|
245
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
246
|
-
static unique_ptr<AlterTableInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
227
|
+
void Serialize(Serializer &serializer) const override;
|
228
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
247
229
|
|
248
230
|
private:
|
249
231
|
AlterForeignKeyInfo();
|
@@ -261,10 +243,8 @@ struct SetNotNullInfo : public AlterTableInfo {
|
|
261
243
|
|
262
244
|
public:
|
263
245
|
unique_ptr<AlterInfo> Copy() const override;
|
264
|
-
void
|
265
|
-
static unique_ptr<
|
266
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
267
|
-
static unique_ptr<AlterTableInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
246
|
+
void Serialize(Serializer &serializer) const override;
|
247
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
268
248
|
|
269
249
|
private:
|
270
250
|
SetNotNullInfo();
|
@@ -282,10 +262,8 @@ struct DropNotNullInfo : public AlterTableInfo {
|
|
282
262
|
|
283
263
|
public:
|
284
264
|
unique_ptr<AlterInfo> Copy() const override;
|
285
|
-
void
|
286
|
-
static unique_ptr<
|
287
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
288
|
-
static unique_ptr<AlterTableInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
265
|
+
void Serialize(Serializer &serializer) const override;
|
266
|
+
static unique_ptr<AlterTableInfo> Deserialize(Deserializer &deserializer);
|
289
267
|
|
290
268
|
private:
|
291
269
|
DropNotNullInfo();
|
@@ -304,11 +282,8 @@ struct AlterViewInfo : public AlterInfo {
|
|
304
282
|
|
305
283
|
public:
|
306
284
|
CatalogType GetCatalogType() const override;
|
307
|
-
void Serialize(
|
308
|
-
|
309
|
-
static unique_ptr<AlterInfo> Deserialize(FieldReader &reader);
|
310
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
311
|
-
static unique_ptr<AlterInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
285
|
+
void Serialize(Serializer &serializer) const override;
|
286
|
+
static unique_ptr<AlterInfo> Deserialize(Deserializer &deserializer);
|
312
287
|
|
313
288
|
protected:
|
314
289
|
AlterViewInfo(AlterViewType type);
|
@@ -326,10 +301,8 @@ struct RenameViewInfo : public AlterViewInfo {
|
|
326
301
|
|
327
302
|
public:
|
328
303
|
unique_ptr<AlterInfo> Copy() const override;
|
329
|
-
void
|
330
|
-
static unique_ptr<
|
331
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
332
|
-
static unique_ptr<AlterViewInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
304
|
+
void Serialize(Serializer &serializer) const override;
|
305
|
+
static unique_ptr<AlterViewInfo> Deserialize(Deserializer &deserializer);
|
333
306
|
|
334
307
|
private:
|
335
308
|
RenameViewInfo();
|
@@ -33,11 +33,8 @@ public:
|
|
33
33
|
public:
|
34
34
|
unique_ptr<AttachInfo> Copy() const;
|
35
35
|
|
36
|
-
void Serialize(Serializer &serializer) const;
|
36
|
+
void Serialize(Serializer &serializer) const override;
|
37
37
|
static unique_ptr<ParseInfo> Deserialize(Deserializer &deserializer);
|
38
|
-
|
39
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
40
|
-
static unique_ptr<ParseInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
41
38
|
};
|
42
39
|
|
43
40
|
} // namespace duckdb
|
@@ -55,8 +55,8 @@ public:
|
|
55
55
|
return result;
|
56
56
|
}
|
57
57
|
|
58
|
-
void
|
59
|
-
static unique_ptr<ParseInfo>
|
58
|
+
void Serialize(Serializer &serializer) const override;
|
59
|
+
static unique_ptr<ParseInfo> Deserialize(Deserializer &deserializer);
|
60
60
|
};
|
61
61
|
|
62
62
|
} // namespace duckdb
|
@@ -28,11 +28,6 @@ struct CreateFunctionInfo : public CreateInfo {
|
|
28
28
|
vector<string> parameter_names;
|
29
29
|
//! The example (if any)
|
30
30
|
string example;
|
31
|
-
|
32
|
-
protected:
|
33
|
-
void SerializeInternal(Serializer &serializer) const override {
|
34
|
-
serializer.WriteString(name);
|
35
|
-
}
|
36
31
|
};
|
37
32
|
|
38
33
|
} // namespace duckdb
|
@@ -45,16 +45,11 @@ struct CreateIndexInfo : public CreateInfo {
|
|
45
45
|
//! Options values (WITH ...)
|
46
46
|
case_insensitive_map_t<Value> options;
|
47
47
|
|
48
|
-
protected:
|
49
|
-
void SerializeInternal(Serializer &serializer) const override;
|
50
|
-
|
51
48
|
public:
|
52
49
|
DUCKDB_API unique_ptr<CreateInfo> Copy() const override;
|
53
50
|
|
54
|
-
|
55
|
-
|
56
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
57
|
-
static unique_ptr<CreateInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
51
|
+
void Serialize(Serializer &serializer) const override;
|
52
|
+
static unique_ptr<CreateInfo> Deserialize(Deserializer &deserializer);
|
58
53
|
};
|
59
54
|
|
60
55
|
} // namespace duckdb
|
@@ -9,9 +9,7 @@
|
|
9
9
|
#pragma once
|
10
10
|
|
11
11
|
#include "duckdb/common/enums/catalog_type.hpp"
|
12
|
-
#include "duckdb/common/field_writer.hpp"
|
13
12
|
#include "duckdb/parser/parsed_data/parse_info.hpp"
|
14
|
-
#include "duckdb/planner/plan_serialization.hpp"
|
15
13
|
|
16
14
|
namespace duckdb {
|
17
15
|
struct AlterInfo;
|
@@ -54,19 +52,9 @@ public:
|
|
54
52
|
//! The SQL string of the CREATE statement
|
55
53
|
string sql;
|
56
54
|
|
57
|
-
protected:
|
58
|
-
virtual void SerializeInternal(Serializer &) const = 0;
|
59
|
-
|
60
|
-
void DeserializeBase(Deserializer &deserializer);
|
61
|
-
|
62
55
|
public:
|
63
|
-
void Serialize(Serializer &serializer) const;
|
64
|
-
|
56
|
+
void Serialize(Serializer &serializer) const override;
|
65
57
|
static unique_ptr<CreateInfo> Deserialize(Deserializer &deserializer);
|
66
|
-
static unique_ptr<CreateInfo> Deserialize(Deserializer &deserializer, PlanDeserializationState &state);
|
67
|
-
|
68
|
-
void FormatSerialize(FormatSerializer &serializer) const override;
|
69
|
-
static unique_ptr<CreateInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
70
58
|
|
71
59
|
virtual unique_ptr<CreateInfo> Copy() const = 0;
|
72
60
|
|
@@ -14,7 +14,6 @@
|
|
14
14
|
namespace duckdb {
|
15
15
|
|
16
16
|
struct CreateMacroInfo : public CreateFunctionInfo {
|
17
|
-
CreateMacroInfo();
|
18
17
|
CreateMacroInfo(CatalogType type);
|
19
18
|
|
20
19
|
unique_ptr<MacroFunction> function;
|
@@ -22,13 +21,8 @@ struct CreateMacroInfo : public CreateFunctionInfo {
|
|
22
21
|
public:
|
23
22
|
unique_ptr<CreateInfo> Copy() const override;
|
24
23
|
|
25
|
-
DUCKDB_API
|
26
|
-
|
27
|
-
DUCKDB_API void FormatSerialize(FormatSerializer &serializer) const override;
|
28
|
-
DUCKDB_API static unique_ptr<CreateInfo> FormatDeserialize(FormatDeserializer &deserializer);
|
29
|
-
|
30
|
-
protected:
|
31
|
-
void SerializeInternal(Serializer &) const override;
|
24
|
+
DUCKDB_API void Serialize(Serializer &serializer) const override;
|
25
|
+
DUCKDB_API static unique_ptr<CreateInfo> Deserialize(Deserializer &deserializer);
|
32
26
|
};
|
33
27
|
|
34
28
|
} // namespace duckdb
|