duckdb 1.3.3-dev0.0 → 1.3.3-dev4.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.
Files changed (1367) hide show
  1. package/.github/workflows/NodeJS.yml +8 -20
  2. package/binding.gyp +9 -1
  3. package/package.json +1 -1
  4. package/src/connection.cpp +1 -1
  5. package/src/duckdb/extension/core_functions/aggregate/algebraic/avg.cpp +4 -0
  6. package/src/duckdb/extension/core_functions/aggregate/distributive/approx_count.cpp +8 -4
  7. package/src/duckdb/extension/core_functions/aggregate/distributive/arg_min_max.cpp +16 -12
  8. package/src/duckdb/extension/core_functions/aggregate/distributive/bitagg.cpp +5 -1
  9. package/src/duckdb/extension/core_functions/aggregate/distributive/bitstring_agg.cpp +5 -1
  10. package/src/duckdb/extension/core_functions/aggregate/distributive/bool.cpp +4 -0
  11. package/src/duckdb/extension/core_functions/aggregate/distributive/kurtosis.cpp +4 -0
  12. package/src/duckdb/extension/core_functions/aggregate/distributive/product.cpp +4 -0
  13. package/src/duckdb/extension/core_functions/aggregate/distributive/skew.cpp +4 -0
  14. package/src/duckdb/extension/core_functions/aggregate/distributive/string_agg.cpp +6 -2
  15. package/src/duckdb/extension/core_functions/aggregate/distributive/sum.cpp +64 -0
  16. package/src/duckdb/extension/core_functions/aggregate/holistic/approx_top_k.cpp +7 -3
  17. package/src/duckdb/extension/core_functions/aggregate/holistic/approximate_quantile.cpp +7 -4
  18. package/src/duckdb/extension/core_functions/aggregate/holistic/mad.cpp +6 -3
  19. package/src/duckdb/extension/core_functions/aggregate/holistic/mode.cpp +8 -1
  20. package/src/duckdb/extension/core_functions/aggregate/holistic/quantile.cpp +7 -46
  21. package/src/duckdb/extension/core_functions/aggregate/holistic/reservoir_quantile.cpp +9 -15
  22. package/src/duckdb/extension/core_functions/aggregate/nested/binned_histogram.cpp +12 -8
  23. package/src/duckdb/extension/core_functions/aggregate/nested/histogram.cpp +7 -5
  24. package/src/duckdb/extension/core_functions/aggregate/nested/list.cpp +14 -24
  25. package/src/duckdb/extension/core_functions/aggregate/regression/regr_avg.cpp +5 -0
  26. package/src/duckdb/extension/core_functions/aggregate/regression/regr_intercept.cpp +3 -0
  27. package/src/duckdb/extension/core_functions/aggregate/regression/regr_r2.cpp +5 -0
  28. package/src/duckdb/extension/core_functions/aggregate/regression/regr_sxx_syy.cpp +3 -0
  29. package/src/duckdb/extension/core_functions/aggregate/regression/regr_sxy.cpp +4 -0
  30. package/src/duckdb/extension/core_functions/core_functions_extension.cpp +6 -18
  31. package/src/duckdb/extension/core_functions/function_list.cpp +6 -3
  32. package/src/duckdb/extension/core_functions/include/core_functions/aggregate/algebraic/stddev.hpp +1 -1
  33. package/src/duckdb/extension/core_functions/include/core_functions/aggregate/algebraic_functions.hpp +2 -2
  34. package/src/duckdb/extension/core_functions/include/core_functions/aggregate/distributive_functions.hpp +4 -4
  35. package/src/duckdb/extension/core_functions/include/core_functions/aggregate/holistic_functions.hpp +1 -1
  36. package/src/duckdb/extension/core_functions/include/core_functions/aggregate/quantile_sort_tree.hpp +32 -45
  37. package/src/duckdb/extension/core_functions/include/core_functions/aggregate/quantile_state.hpp +1 -1
  38. package/src/duckdb/extension/core_functions/include/core_functions/aggregate/regression_functions.hpp +8 -8
  39. package/src/duckdb/extension/core_functions/include/core_functions/aggregate/sum_helpers.hpp +1 -1
  40. package/src/duckdb/extension/core_functions/include/core_functions/scalar/array_functions.hpp +22 -22
  41. package/src/duckdb/extension/core_functions/include/core_functions/scalar/blob_functions.hpp +2 -2
  42. package/src/duckdb/extension/core_functions/include/core_functions/scalar/date_functions.hpp +15 -5
  43. package/src/duckdb/extension/core_functions/include/core_functions/scalar/generic_functions.hpp +22 -12
  44. package/src/duckdb/extension/core_functions/include/core_functions/scalar/list_functions.hpp +56 -56
  45. package/src/duckdb/extension/core_functions/include/core_functions/scalar/map_functions.hpp +2 -2
  46. package/src/duckdb/extension/core_functions/include/core_functions/scalar/math_functions.hpp +3 -3
  47. package/src/duckdb/extension/core_functions/include/core_functions/scalar/string_functions.hpp +118 -118
  48. package/src/duckdb/extension/core_functions/include/core_functions/scalar/struct_functions.hpp +10 -0
  49. package/src/duckdb/extension/core_functions/include/core_functions_extension.hpp +1 -1
  50. package/src/duckdb/extension/core_functions/lambda_functions.cpp +4 -4
  51. package/src/duckdb/extension/core_functions/scalar/array/array_functions.cpp +2 -1
  52. package/src/duckdb/extension/core_functions/scalar/array/array_value.cpp +7 -3
  53. package/src/duckdb/extension/core_functions/scalar/bit/bitstring.cpp +7 -0
  54. package/src/duckdb/extension/core_functions/scalar/blob/base64.cpp +5 -2
  55. package/src/duckdb/extension/core_functions/scalar/blob/encode.cpp +6 -2
  56. package/src/duckdb/extension/core_functions/scalar/date/date_diff.cpp +7 -3
  57. package/src/duckdb/extension/core_functions/scalar/date/date_part.cpp +187 -33
  58. package/src/duckdb/extension/core_functions/scalar/date/date_sub.cpp +7 -3
  59. package/src/duckdb/extension/core_functions/scalar/date/date_trunc.cpp +12 -8
  60. package/src/duckdb/extension/core_functions/scalar/date/epoch.cpp +16 -12
  61. package/src/duckdb/extension/core_functions/scalar/date/make_date.cpp +11 -7
  62. package/src/duckdb/extension/core_functions/scalar/date/time_bucket.cpp +7 -3
  63. package/src/duckdb/extension/core_functions/scalar/date/to_interval.cpp +4 -0
  64. package/src/duckdb/extension/core_functions/scalar/enum/enum_functions.cpp +6 -6
  65. package/src/duckdb/extension/core_functions/scalar/generic/binning.cpp +8 -4
  66. package/src/duckdb/extension/core_functions/scalar/generic/can_implicitly_cast.cpp +6 -2
  67. package/src/duckdb/extension/core_functions/scalar/generic/cast_to_type.cpp +4 -1
  68. package/src/duckdb/extension/core_functions/scalar/generic/current_setting.cpp +9 -3
  69. package/src/duckdb/extension/core_functions/scalar/generic/least.cpp +5 -2
  70. package/src/duckdb/extension/core_functions/scalar/generic/replace_type.cpp +34 -0
  71. package/src/duckdb/extension/core_functions/scalar/generic/stats.cpp +5 -2
  72. package/src/duckdb/extension/core_functions/scalar/generic/system_functions.cpp +13 -9
  73. package/src/duckdb/extension/core_functions/scalar/generic/typeof.cpp +5 -1
  74. package/src/duckdb/extension/core_functions/scalar/list/array_slice.cpp +29 -26
  75. package/src/duckdb/extension/core_functions/scalar/list/flatten.cpp +9 -49
  76. package/src/duckdb/extension/core_functions/scalar/list/list_aggregates.cpp +17 -34
  77. package/src/duckdb/extension/core_functions/scalar/list/list_has_any_or_all.cpp +4 -50
  78. package/src/duckdb/extension/core_functions/scalar/list/list_reduce.cpp +46 -42
  79. package/src/duckdb/extension/core_functions/scalar/list/list_sort.cpp +48 -51
  80. package/src/duckdb/extension/core_functions/scalar/list/list_value.cpp +224 -144
  81. package/src/duckdb/extension/core_functions/scalar/list/range.cpp +5 -1
  82. package/src/duckdb/extension/core_functions/scalar/map/map.cpp +13 -41
  83. package/src/duckdb/extension/core_functions/scalar/map/map_concat.cpp +6 -6
  84. package/src/duckdb/extension/core_functions/scalar/map/map_entries.cpp +6 -42
  85. package/src/duckdb/extension/core_functions/scalar/map/map_extract.cpp +10 -59
  86. package/src/duckdb/extension/core_functions/scalar/map/map_from_entries.cpp +7 -32
  87. package/src/duckdb/extension/core_functions/scalar/map/map_keys_values.cpp +10 -45
  88. package/src/duckdb/extension/core_functions/scalar/math/numeric.cpp +364 -139
  89. package/src/duckdb/extension/core_functions/scalar/operators/bitwise.cpp +29 -7
  90. package/src/duckdb/extension/core_functions/scalar/random/random.cpp +18 -14
  91. package/src/duckdb/extension/core_functions/scalar/random/setseed.cpp +5 -1
  92. package/src/duckdb/extension/core_functions/scalar/string/hex.cpp +2 -2
  93. package/src/duckdb/extension/core_functions/scalar/string/instr.cpp +5 -3
  94. package/src/duckdb/extension/core_functions/scalar/string/printf.cpp +16 -0
  95. package/src/duckdb/extension/core_functions/scalar/string/repeat.cpp +2 -17
  96. package/src/duckdb/extension/core_functions/scalar/struct/struct_insert.cpp +1 -1
  97. package/src/duckdb/extension/core_functions/scalar/struct/struct_update.cpp +161 -0
  98. package/src/duckdb/extension/core_functions/scalar/union/union_extract.cpp +7 -3
  99. package/src/duckdb/extension/core_functions/scalar/union/union_tag.cpp +7 -3
  100. package/src/duckdb/extension/core_functions/scalar/union/union_value.cpp +7 -3
  101. package/src/duckdb/extension/icu/icu-current.cpp +5 -5
  102. package/src/duckdb/extension/icu/icu-dateadd.cpp +11 -11
  103. package/src/duckdb/extension/icu/icu-datepart.cpp +44 -44
  104. package/src/duckdb/extension/icu/icu-datesub.cpp +10 -10
  105. package/src/duckdb/extension/icu/icu-datetrunc.cpp +6 -6
  106. package/src/duckdb/extension/icu/icu-list-range.cpp +7 -6
  107. package/src/duckdb/extension/icu/icu-makedate.cpp +8 -11
  108. package/src/duckdb/extension/icu/icu-strptime.cpp +23 -29
  109. package/src/duckdb/extension/icu/icu-table-range.cpp +8 -6
  110. package/src/duckdb/extension/icu/icu-timebucket.cpp +5 -5
  111. package/src/duckdb/extension/icu/icu-timezone.cpp +24 -30
  112. package/src/duckdb/extension/icu/icu_extension.cpp +22 -34
  113. package/src/duckdb/extension/icu/include/icu-casts.hpp +2 -2
  114. package/src/duckdb/extension/icu/include/icu-current.hpp +3 -3
  115. package/src/duckdb/extension/icu/include/icu-dateadd.hpp +3 -3
  116. package/src/duckdb/extension/icu/include/icu-datepart.hpp +3 -3
  117. package/src/duckdb/extension/icu/include/icu-datesub.hpp +3 -3
  118. package/src/duckdb/extension/icu/include/icu-datetrunc.hpp +3 -3
  119. package/src/duckdb/extension/icu/include/icu-list-range.hpp +3 -3
  120. package/src/duckdb/extension/icu/include/icu-makedate.hpp +3 -3
  121. package/src/duckdb/extension/icu/include/icu-strptime.hpp +3 -3
  122. package/src/duckdb/extension/icu/include/icu-table-range.hpp +3 -3
  123. package/src/duckdb/extension/icu/include/icu-timebucket.hpp +3 -3
  124. package/src/duckdb/extension/icu/include/icu-timezone.hpp +3 -3
  125. package/src/duckdb/extension/icu/include/icu_extension.hpp +1 -1
  126. package/src/duckdb/extension/json/include/json_common.hpp +10 -2
  127. package/src/duckdb/extension/json/include/json_enums.hpp +3 -1
  128. package/src/duckdb/extension/json/include/json_extension.hpp +1 -1
  129. package/src/duckdb/extension/json/include/json_functions.hpp +4 -4
  130. package/src/duckdb/extension/json/include/json_multi_file_info.hpp +2 -2
  131. package/src/duckdb/extension/json/include/json_reader.hpp +3 -1
  132. package/src/duckdb/extension/json/json_enums.cpp +5 -0
  133. package/src/duckdb/extension/json/json_extension.cpp +27 -38
  134. package/src/duckdb/extension/json/json_functions/copy_json.cpp +8 -3
  135. package/src/duckdb/extension/json/json_functions/json_create.cpp +9 -6
  136. package/src/duckdb/extension/json/json_functions/json_merge_patch.cpp +3 -20
  137. package/src/duckdb/extension/json/json_functions/json_pretty.cpp +3 -3
  138. package/src/duckdb/extension/json/json_functions/json_serialize_plan.cpp +6 -4
  139. package/src/duckdb/extension/json/json_functions/json_serialize_sql.cpp +6 -4
  140. package/src/duckdb/extension/json/json_functions/json_table_in_out.cpp +6 -2
  141. package/src/duckdb/extension/json/json_functions/json_transform.cpp +5 -3
  142. package/src/duckdb/extension/json/json_functions/read_json.cpp +4 -3
  143. package/src/duckdb/extension/json/json_functions.cpp +135 -8
  144. package/src/duckdb/extension/json/json_multi_file_info.cpp +5 -2
  145. package/src/duckdb/extension/json/json_reader.cpp +7 -6
  146. package/src/duckdb/extension/parquet/column_reader.cpp +46 -21
  147. package/src/duckdb/extension/parquet/column_writer.cpp +16 -105
  148. package/src/duckdb/extension/parquet/geo_parquet.cpp +231 -171
  149. package/src/duckdb/extension/parquet/include/column_reader.hpp +0 -2
  150. package/src/duckdb/extension/parquet/include/column_writer.hpp +2 -1
  151. package/src/duckdb/extension/parquet/include/geo_parquet.hpp +160 -66
  152. package/src/duckdb/extension/parquet/include/parquet_column_schema.hpp +6 -4
  153. package/src/duckdb/extension/parquet/include/parquet_crypto.hpp +0 -3
  154. package/src/duckdb/extension/parquet/include/parquet_extension.hpp +1 -1
  155. package/src/duckdb/extension/parquet/include/parquet_file_metadata_cache.hpp +5 -2
  156. package/src/duckdb/extension/parquet/include/parquet_multi_file_info.hpp +2 -2
  157. package/src/duckdb/extension/parquet/include/parquet_reader.hpp +10 -2
  158. package/src/duckdb/extension/parquet/include/parquet_rle_bp_encoder.hpp +3 -0
  159. package/src/duckdb/extension/parquet/include/parquet_statistics.hpp +0 -2
  160. package/src/duckdb/extension/parquet/include/parquet_timestamp.hpp +10 -6
  161. package/src/duckdb/extension/parquet/include/parquet_writer.hpp +4 -3
  162. package/src/duckdb/extension/parquet/include/reader/row_number_column_reader.hpp +0 -2
  163. package/src/duckdb/extension/parquet/include/reader/uuid_column_reader.hpp +3 -13
  164. package/src/duckdb/extension/parquet/include/reader/variant/variant_binary_decoder.hpp +150 -0
  165. package/src/duckdb/extension/parquet/include/reader/variant/variant_shredded_conversion.hpp +23 -0
  166. package/src/duckdb/extension/parquet/include/reader/variant/variant_value.hpp +54 -0
  167. package/src/duckdb/extension/parquet/include/reader/variant_column_reader.hpp +44 -0
  168. package/src/duckdb/extension/parquet/include/resizable_buffer.hpp +0 -2
  169. package/src/duckdb/extension/parquet/include/thrift_tools.hpp +3 -3
  170. package/src/duckdb/extension/parquet/include/writer/array_column_writer.hpp +2 -1
  171. package/src/duckdb/extension/parquet/include/writer/list_column_writer.hpp +2 -1
  172. package/src/duckdb/extension/parquet/include/writer/parquet_write_operators.hpp +47 -10
  173. package/src/duckdb/extension/parquet/include/writer/parquet_write_stats.hpp +55 -1
  174. package/src/duckdb/extension/parquet/include/writer/primitive_column_writer.hpp +4 -3
  175. package/src/duckdb/extension/parquet/include/writer/struct_column_writer.hpp +2 -1
  176. package/src/duckdb/extension/parquet/include/writer/templated_column_writer.hpp +6 -3
  177. package/src/duckdb/extension/parquet/include/zstd_file_system.hpp +1 -3
  178. package/src/duckdb/extension/parquet/parquet_crypto.cpp +11 -11
  179. package/src/duckdb/extension/parquet/parquet_extension.cpp +84 -68
  180. package/src/duckdb/extension/parquet/parquet_file_metadata_cache.cpp +4 -4
  181. package/src/duckdb/extension/parquet/parquet_float16.cpp +0 -3
  182. package/src/duckdb/extension/parquet/parquet_metadata.cpp +115 -17
  183. package/src/duckdb/extension/parquet/parquet_multi_file_info.cpp +25 -10
  184. package/src/duckdb/extension/parquet/parquet_reader.cpp +181 -56
  185. package/src/duckdb/extension/parquet/parquet_statistics.cpp +26 -8
  186. package/src/duckdb/extension/parquet/parquet_timestamp.cpp +14 -4
  187. package/src/duckdb/extension/parquet/parquet_writer.cpp +117 -16
  188. package/src/duckdb/extension/parquet/reader/decimal_column_reader.cpp +1 -1
  189. package/src/duckdb/extension/parquet/reader/variant/variant_binary_decoder.cpp +367 -0
  190. package/src/duckdb/extension/parquet/reader/variant/variant_shredded_conversion.cpp +565 -0
  191. package/src/duckdb/extension/parquet/reader/variant/variant_value.cpp +85 -0
  192. package/src/duckdb/extension/parquet/reader/variant_column_reader.cpp +161 -0
  193. package/src/duckdb/extension/parquet/writer/array_column_writer.cpp +5 -2
  194. package/src/duckdb/extension/parquet/writer/enum_column_writer.cpp +1 -1
  195. package/src/duckdb/extension/parquet/writer/list_column_writer.cpp +6 -3
  196. package/src/duckdb/extension/parquet/writer/primitive_column_writer.cpp +24 -8
  197. package/src/duckdb/extension/parquet/writer/struct_column_writer.cpp +4 -2
  198. package/src/duckdb/extension/parquet/zstd_file_system.cpp +7 -6
  199. package/src/duckdb/src/catalog/catalog.cpp +92 -62
  200. package/src/duckdb/src/catalog/catalog_entry/duck_table_entry.cpp +8 -8
  201. package/src/duckdb/src/catalog/catalog_entry/table_catalog_entry.cpp +14 -8
  202. package/src/duckdb/src/catalog/catalog_set.cpp +1 -0
  203. package/src/duckdb/src/catalog/default/default_functions.cpp +4 -4
  204. package/src/duckdb/src/catalog/default/default_table_functions.cpp +5 -4
  205. package/src/duckdb/src/catalog/default/default_views.cpp +1 -1
  206. package/src/duckdb/src/catalog/duck_catalog.cpp +28 -0
  207. package/src/duckdb/src/common/adbc/adbc.cpp +243 -125
  208. package/src/duckdb/src/common/adbc/driver_manager.cpp +3 -3
  209. package/src/duckdb/src/common/arrow/appender/append_data.cpp +29 -0
  210. package/src/duckdb/src/common/arrow/appender/bool_data.cpp +6 -7
  211. package/src/duckdb/src/common/arrow/appender/fixed_size_list_data.cpp +1 -1
  212. package/src/duckdb/src/common/arrow/appender/struct_data.cpp +1 -1
  213. package/src/duckdb/src/common/arrow/appender/union_data.cpp +0 -1
  214. package/src/duckdb/src/common/arrow/arrow_appender.cpp +13 -17
  215. package/src/duckdb/src/common/arrow/arrow_converter.cpp +14 -6
  216. package/src/duckdb/src/common/arrow/arrow_type_extension.cpp +6 -6
  217. package/src/duckdb/src/common/arrow/physical_arrow_collector.cpp +16 -10
  218. package/src/duckdb/src/common/arrow/schema_metadata.cpp +2 -2
  219. package/src/duckdb/src/common/bignum.cpp +362 -0
  220. package/src/duckdb/src/common/box_renderer.cpp +83 -32
  221. package/src/duckdb/src/common/complex_json.cpp +20 -5
  222. package/src/duckdb/src/common/compressed_file_system.cpp +6 -5
  223. package/src/duckdb/src/common/csv_writer.cpp +381 -0
  224. package/src/duckdb/src/common/encryption_functions.cpp +228 -0
  225. package/src/duckdb/src/common/encryption_key_manager.cpp +143 -0
  226. package/src/duckdb/src/common/encryption_state.cpp +56 -9
  227. package/src/duckdb/src/common/enum_util.cpp +405 -51
  228. package/src/duckdb/src/common/enums/expression_type.cpp +2 -0
  229. package/src/duckdb/src/common/enums/logical_operator_type.cpp +2 -0
  230. package/src/duckdb/src/common/enums/metric_type.cpp +6 -0
  231. package/src/duckdb/src/common/enums/optimizer_type.cpp +1 -0
  232. package/src/duckdb/src/common/enums/physical_operator_type.cpp +2 -0
  233. package/src/duckdb/src/common/enums/statement_type.cpp +2 -0
  234. package/src/duckdb/src/common/error_data.cpp +11 -0
  235. package/src/duckdb/src/common/exception_format_value.cpp +15 -1
  236. package/src/duckdb/src/common/extra_type_info.cpp +43 -0
  237. package/src/duckdb/src/common/file_buffer.cpp +11 -8
  238. package/src/duckdb/src/common/file_system.cpp +82 -12
  239. package/src/duckdb/src/common/gzip_file_system.cpp +13 -11
  240. package/src/duckdb/src/common/local_file_system.cpp +25 -16
  241. package/src/duckdb/src/common/multi_file/base_file_reader.cpp +4 -0
  242. package/src/duckdb/src/common/multi_file/multi_file_column_mapper.cpp +7 -11
  243. package/src/duckdb/src/common/multi_file/multi_file_function.cpp +8 -0
  244. package/src/duckdb/src/common/multi_file/multi_file_list.cpp +8 -4
  245. package/src/duckdb/src/common/multi_file/multi_file_reader.cpp +9 -5
  246. package/src/duckdb/src/common/operator/cast_operators.cpp +147 -6
  247. package/src/duckdb/src/common/operator/string_cast.cpp +41 -12
  248. package/src/duckdb/src/common/pipe_file_system.cpp +10 -5
  249. package/src/duckdb/src/common/progress_bar/progress_bar.cpp +2 -2
  250. package/src/duckdb/src/common/progress_bar/terminal_progress_bar_display.cpp +81 -7
  251. package/src/duckdb/src/common/progress_bar/unscented_kalman_filter.cpp +288 -0
  252. package/src/duckdb/src/common/radix_partitioning.cpp +2 -2
  253. package/src/duckdb/src/common/row_operations/row_aggregate.cpp +8 -11
  254. package/src/duckdb/src/common/row_operations/row_external.cpp +0 -7
  255. package/src/duckdb/src/common/row_operations/row_gather.cpp +0 -5
  256. package/src/duckdb/src/common/row_operations/row_matcher.cpp +55 -37
  257. package/src/duckdb/src/common/row_operations/row_scatter.cpp +0 -6
  258. package/src/duckdb/src/common/serializer/buffered_file_reader.cpp +4 -0
  259. package/src/duckdb/src/common/serializer/buffered_file_writer.cpp +4 -0
  260. package/src/duckdb/src/common/serializer/memory_stream.cpp +4 -0
  261. package/src/duckdb/src/common/sort/partition_state.cpp +3 -3
  262. package/src/duckdb/src/common/sorting/hashed_sort.cpp +724 -0
  263. package/src/duckdb/src/common/sorting/sort.cpp +513 -0
  264. package/src/duckdb/src/common/sorting/sorted_run.cpp +341 -0
  265. package/src/duckdb/src/common/sorting/sorted_run_merger.cpp +969 -0
  266. package/src/duckdb/src/common/string_util.cpp +64 -44
  267. package/src/duckdb/src/common/tree_renderer/text_tree_renderer.cpp +40 -3
  268. package/src/duckdb/src/common/tree_renderer/yaml_tree_renderer.cpp +144 -0
  269. package/src/duckdb/src/common/tree_renderer.cpp +3 -0
  270. package/src/duckdb/src/common/types/bignum.cpp +350 -0
  271. package/src/duckdb/src/common/types/column/column_data_allocator.cpp +27 -29
  272. package/src/duckdb/src/common/types/column/column_data_collection.cpp +216 -68
  273. package/src/duckdb/src/common/types/column/column_data_collection_segment.cpp +3 -2
  274. package/src/duckdb/src/common/types/conflict_info.cpp +1 -2
  275. package/src/duckdb/src/common/types/conflict_manager.cpp +82 -207
  276. package/src/duckdb/src/common/types/data_chunk.cpp +10 -3
  277. package/src/duckdb/src/common/types/date.cpp +8 -10
  278. package/src/duckdb/src/common/types/hash.cpp +7 -7
  279. package/src/duckdb/src/common/types/row/block_iterator.cpp +34 -0
  280. package/src/duckdb/src/common/types/row/partitioned_tuple_data.cpp +38 -29
  281. package/src/duckdb/src/common/types/row/tuple_data_allocator.cpp +272 -54
  282. package/src/duckdb/src/common/types/row/tuple_data_collection.cpp +156 -45
  283. package/src/duckdb/src/common/types/row/tuple_data_iterator.cpp +5 -5
  284. package/src/duckdb/src/common/types/row/tuple_data_layout.cpp +122 -18
  285. package/src/duckdb/src/common/types/row/tuple_data_scatter_gather.cpp +466 -83
  286. package/src/duckdb/src/common/types/row/tuple_data_segment.cpp +8 -28
  287. package/src/duckdb/src/common/types/time.cpp +2 -2
  288. package/src/duckdb/src/common/types/timestamp.cpp +26 -14
  289. package/src/duckdb/src/common/types/uuid.cpp +33 -2
  290. package/src/duckdb/src/common/types/value.cpp +79 -16
  291. package/src/duckdb/src/common/types/vector.cpp +190 -22
  292. package/src/duckdb/src/common/types/vector_buffer.cpp +4 -0
  293. package/src/duckdb/src/common/types/vector_cache.cpp +4 -0
  294. package/src/duckdb/src/common/types.cpp +110 -22
  295. package/src/duckdb/src/common/value_operations/comparison_operations.cpp +24 -27
  296. package/src/duckdb/src/common/vector_operations/boolean_operators.cpp +12 -9
  297. package/src/duckdb/src/common/vector_operations/comparison_operators.cpp +5 -4
  298. package/src/duckdb/src/common/vector_operations/generators.cpp +1 -1
  299. package/src/duckdb/src/common/vector_operations/is_distinct_from.cpp +70 -135
  300. package/src/duckdb/src/common/vector_operations/null_operations.cpp +1 -1
  301. package/src/duckdb/src/common/vector_operations/vector_copy.cpp +5 -2
  302. package/src/duckdb/src/common/vector_operations/vector_hash.cpp +110 -55
  303. package/src/duckdb/src/common/vector_operations/vector_storage.cpp +14 -10
  304. package/src/duckdb/src/common/virtual_file_system.cpp +12 -3
  305. package/src/duckdb/src/execution/aggregate_hashtable.cpp +88 -50
  306. package/src/duckdb/src/execution/column_binding_resolver.cpp +7 -6
  307. package/src/duckdb/src/execution/expression_executor/execute_function.cpp +113 -2
  308. package/src/duckdb/src/execution/expression_executor.cpp +44 -4
  309. package/src/duckdb/src/execution/index/art/art.cpp +78 -216
  310. package/src/duckdb/src/execution/index/art/art_builder.cpp +91 -0
  311. package/src/duckdb/src/execution/index/art/art_key.cpp +0 -23
  312. package/src/duckdb/src/execution/index/art/art_merger.cpp +3 -4
  313. package/src/duckdb/src/execution/index/art/base_leaf.cpp +10 -11
  314. package/src/duckdb/src/execution/index/art/base_node.cpp +103 -75
  315. package/src/duckdb/src/execution/index/art/iterator.cpp +3 -3
  316. package/src/duckdb/src/execution/index/art/leaf.cpp +9 -11
  317. package/src/duckdb/src/execution/index/art/node.cpp +54 -53
  318. package/src/duckdb/src/execution/index/art/node256.cpp +30 -56
  319. package/src/duckdb/src/execution/index/art/node256_leaf.cpp +43 -30
  320. package/src/duckdb/src/execution/index/art/node48.cpp +69 -101
  321. package/src/duckdb/src/execution/index/art/plan_art.cpp +2 -1
  322. package/src/duckdb/src/execution/index/art/prefix.cpp +115 -125
  323. package/src/duckdb/src/execution/index/bound_index.cpp +39 -10
  324. package/src/duckdb/src/execution/index/fixed_size_allocator.cpp +23 -8
  325. package/src/duckdb/src/execution/index/fixed_size_buffer.cpp +35 -23
  326. package/src/duckdb/src/execution/index/unbound_index.cpp +26 -6
  327. package/src/duckdb/src/execution/join_hashtable.cpp +52 -55
  328. package/src/duckdb/src/execution/nested_loop_join/nested_loop_join_inner.cpp +3 -0
  329. package/src/duckdb/src/execution/operator/aggregate/distinct_aggregate_data.cpp +6 -4
  330. package/src/duckdb/src/execution/operator/aggregate/physical_hash_aggregate.cpp +27 -18
  331. package/src/duckdb/src/execution/operator/aggregate/physical_partitioned_aggregate.cpp +4 -2
  332. package/src/duckdb/src/execution/operator/aggregate/physical_perfecthash_aggregate.cpp +4 -2
  333. package/src/duckdb/src/execution/operator/aggregate/physical_streaming_window.cpp +8 -2
  334. package/src/duckdb/src/execution/operator/aggregate/physical_ungrouped_aggregate.cpp +6 -4
  335. package/src/duckdb/src/execution/operator/aggregate/physical_window.cpp +433 -387
  336. package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_buffer.cpp +5 -4
  337. package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_file_handle.cpp +12 -4
  338. package/src/duckdb/src/execution/operator/csv_scanner/encode/csv_encoder.cpp +8 -7
  339. package/src/duckdb/src/execution/operator/csv_scanner/scanner/string_value_scanner.cpp +7 -5
  340. package/src/duckdb/src/execution/operator/csv_scanner/sniffer/dialect_detection.cpp +15 -2
  341. package/src/duckdb/src/execution/operator/csv_scanner/sniffer/header_detection.cpp +1 -1
  342. package/src/duckdb/src/execution/operator/csv_scanner/sniffer/type_detection.cpp +4 -4
  343. package/src/duckdb/src/execution/operator/csv_scanner/table_function/csv_multi_file_info.cpp +12 -3
  344. package/src/duckdb/src/execution/operator/csv_scanner/util/csv_error.cpp +7 -2
  345. package/src/duckdb/src/execution/operator/csv_scanner/util/csv_reader_options.cpp +4 -0
  346. package/src/duckdb/src/execution/operator/filter/physical_filter.cpp +14 -12
  347. package/src/duckdb/src/execution/operator/helper/physical_batch_collector.cpp +2 -1
  348. package/src/duckdb/src/execution/operator/helper/physical_buffered_batch_collector.cpp +2 -2
  349. package/src/duckdb/src/execution/operator/helper/physical_buffered_collector.cpp +3 -2
  350. package/src/duckdb/src/execution/operator/helper/physical_execute.cpp +2 -2
  351. package/src/duckdb/src/execution/operator/helper/physical_limit.cpp +3 -3
  352. package/src/duckdb/src/execution/operator/helper/physical_limit_percent.cpp +4 -3
  353. package/src/duckdb/src/execution/operator/helper/physical_materialized_collector.cpp +3 -2
  354. package/src/duckdb/src/execution/operator/helper/physical_reset.cpp +29 -9
  355. package/src/duckdb/src/execution/operator/helper/physical_result_collector.cpp +23 -20
  356. package/src/duckdb/src/execution/operator/helper/physical_set.cpp +28 -11
  357. package/src/duckdb/src/execution/operator/helper/physical_set_variable.cpp +3 -2
  358. package/src/duckdb/src/execution/operator/helper/physical_streaming_limit.cpp +4 -3
  359. package/src/duckdb/src/execution/operator/helper/physical_streaming_sample.cpp +3 -3
  360. package/src/duckdb/src/execution/operator/helper/physical_transaction.cpp +4 -4
  361. package/src/duckdb/src/execution/operator/helper/physical_vacuum.cpp +7 -3
  362. package/src/duckdb/src/execution/operator/helper/physical_verify_vector.cpp +4 -2
  363. package/src/duckdb/src/execution/operator/join/physical_asof_join.cpp +11 -10
  364. package/src/duckdb/src/execution/operator/join/physical_blockwise_nl_join.cpp +3 -2
  365. package/src/duckdb/src/execution/operator/join/physical_comparison_join.cpp +4 -4
  366. package/src/duckdb/src/execution/operator/join/physical_cross_product.cpp +4 -3
  367. package/src/duckdb/src/execution/operator/join/physical_delim_join.cpp +2 -2
  368. package/src/duckdb/src/execution/operator/join/physical_hash_join.cpp +13 -8
  369. package/src/duckdb/src/execution/operator/join/physical_iejoin.cpp +15 -14
  370. package/src/duckdb/src/execution/operator/join/physical_join.cpp +3 -3
  371. package/src/duckdb/src/execution/operator/join/physical_left_delim_join.cpp +5 -4
  372. package/src/duckdb/src/execution/operator/join/physical_nested_loop_join.cpp +7 -7
  373. package/src/duckdb/src/execution/operator/join/physical_piecewise_merge_join.cpp +20 -21
  374. package/src/duckdb/src/execution/operator/join/physical_positional_join.cpp +4 -3
  375. package/src/duckdb/src/execution/operator/join/physical_range_join.cpp +18 -6
  376. package/src/duckdb/src/execution/operator/join/physical_right_delim_join.cpp +5 -4
  377. package/src/duckdb/src/execution/operator/order/physical_order.cpp +62 -203
  378. package/src/duckdb/src/execution/operator/order/physical_top_n.cpp +5 -4
  379. package/src/duckdb/src/execution/operator/persistent/physical_batch_copy_to_file.cpp +5 -3
  380. package/src/duckdb/src/execution/operator/persistent/physical_batch_insert.cpp +9 -7
  381. package/src/duckdb/src/execution/operator/persistent/physical_copy_database.cpp +7 -5
  382. package/src/duckdb/src/execution/operator/persistent/physical_copy_to_file.cpp +12 -7
  383. package/src/duckdb/src/execution/operator/persistent/physical_delete.cpp +34 -5
  384. package/src/duckdb/src/execution/operator/persistent/physical_export.cpp +6 -20
  385. package/src/duckdb/src/execution/operator/persistent/physical_insert.cpp +91 -74
  386. package/src/duckdb/src/execution/operator/persistent/physical_merge_into.cpp +516 -0
  387. package/src/duckdb/src/execution/operator/persistent/physical_update.cpp +11 -9
  388. package/src/duckdb/src/execution/operator/projection/physical_pivot.cpp +7 -4
  389. package/src/duckdb/src/execution/operator/projection/physical_projection.cpp +3 -36
  390. package/src/duckdb/src/execution/operator/projection/physical_tableinout_function.cpp +26 -4
  391. package/src/duckdb/src/execution/operator/projection/physical_unnest.cpp +5 -3
  392. package/src/duckdb/src/execution/operator/scan/physical_column_data_scan.cpp +9 -7
  393. package/src/duckdb/src/execution/operator/scan/physical_positional_scan.cpp +3 -3
  394. package/src/duckdb/src/execution/operator/scan/physical_table_scan.cpp +6 -5
  395. package/src/duckdb/src/execution/operator/schema/physical_attach.cpp +11 -9
  396. package/src/duckdb/src/execution/operator/schema/physical_create_art_index.cpp +5 -4
  397. package/src/duckdb/src/execution/operator/schema/physical_create_table.cpp +3 -3
  398. package/src/duckdb/src/execution/operator/schema/physical_create_type.cpp +3 -2
  399. package/src/duckdb/src/execution/operator/schema/physical_drop.cpp +3 -2
  400. package/src/duckdb/src/execution/operator/set/physical_cte.cpp +5 -4
  401. package/src/duckdb/src/execution/operator/set/physical_recursive_cte.cpp +5 -3
  402. package/src/duckdb/src/execution/operator/set/physical_union.cpp +3 -3
  403. package/src/duckdb/src/execution/physical_operator.cpp +42 -32
  404. package/src/duckdb/src/execution/physical_plan/plan_aggregate.cpp +24 -12
  405. package/src/duckdb/src/execution/physical_plan/plan_asof_join.cpp +5 -3
  406. package/src/duckdb/src/execution/physical_plan/plan_comparison_join.cpp +12 -18
  407. package/src/duckdb/src/execution/physical_plan/plan_get.cpp +3 -1
  408. package/src/duckdb/src/execution/physical_plan/plan_insert.cpp +11 -10
  409. package/src/duckdb/src/execution/physical_plan/plan_merge_into.cpp +132 -0
  410. package/src/duckdb/src/execution/physical_plan/plan_recursive_cte.cpp +16 -18
  411. package/src/duckdb/src/execution/physical_plan_generator.cpp +8 -5
  412. package/src/duckdb/src/execution/radix_partitioned_hashtable.cpp +16 -27
  413. package/src/duckdb/src/execution/sample/base_reservoir_sample.cpp +22 -22
  414. package/src/duckdb/src/function/aggregate/distributive/count.cpp +14 -11
  415. package/src/duckdb/src/function/aggregate/distributive/first_last_any.cpp +23 -19
  416. package/src/duckdb/src/function/aggregate/distributive/minmax.cpp +14 -7
  417. package/src/duckdb/src/function/aggregate/sorted_aggregate_function.cpp +185 -234
  418. package/src/duckdb/src/function/cast/bignum_casts.cpp +315 -0
  419. package/src/duckdb/src/function/cast/blob_cast.cpp +3 -0
  420. package/src/duckdb/src/function/cast/cast_function_set.cpp +24 -4
  421. package/src/duckdb/src/function/cast/decimal_cast.cpp +3 -3
  422. package/src/duckdb/src/function/cast/default_casts.cpp +12 -4
  423. package/src/duckdb/src/function/cast/enum_casts.cpp +4 -3
  424. package/src/duckdb/src/function/cast/numeric_casts.cpp +3 -3
  425. package/src/duckdb/src/function/cast/string_cast.cpp +14 -11
  426. package/src/duckdb/src/function/cast/struct_cast.cpp +127 -2
  427. package/src/duckdb/src/function/cast/time_casts.cpp +18 -0
  428. package/src/duckdb/src/function/cast/union_casts.cpp +7 -6
  429. package/src/duckdb/src/function/cast/uuid_casts.cpp +3 -0
  430. package/src/duckdb/src/function/cast/variant/from_variant.cpp +697 -0
  431. package/src/duckdb/src/function/cast/variant/to_json.cpp +272 -0
  432. package/src/duckdb/src/function/cast/variant/to_variant.cpp +193 -0
  433. package/src/duckdb/src/function/cast_rules.cpp +38 -4
  434. package/src/duckdb/src/function/copy_blob.cpp +157 -0
  435. package/src/duckdb/src/function/copy_function.cpp +15 -0
  436. package/src/duckdb/src/function/function.cpp +2 -0
  437. package/src/duckdb/src/function/function_binder.cpp +239 -13
  438. package/src/duckdb/src/function/function_list.cpp +8 -0
  439. package/src/duckdb/src/function/macro_function.cpp +263 -70
  440. package/src/duckdb/src/function/pragma/pragma_functions.cpp +6 -38
  441. package/src/duckdb/src/function/pragma/pragma_queries.cpp +37 -22
  442. package/src/duckdb/src/function/register_function_list.cpp +5 -5
  443. package/src/duckdb/src/function/scalar/compressed_materialization/compress_integral.cpp +43 -34
  444. package/src/duckdb/src/function/scalar/compressed_materialization/compress_string.cpp +61 -38
  445. package/src/duckdb/src/function/scalar/create_sort_key.cpp +374 -154
  446. package/src/duckdb/src/function/scalar/date/strftime.cpp +31 -28
  447. package/src/duckdb/src/function/scalar/generic/constant_or_null.cpp +18 -14
  448. package/src/duckdb/src/function/scalar/generic/error.cpp +18 -7
  449. package/src/duckdb/src/function/scalar/generic/getvariable.cpp +5 -2
  450. package/src/duckdb/src/function/scalar/list/contains_or_position.cpp +4 -52
  451. package/src/duckdb/src/function/scalar/list/list_extract.cpp +5 -12
  452. package/src/duckdb/src/function/scalar/list/list_resize.cpp +1 -1
  453. package/src/duckdb/src/function/scalar/list/list_select.cpp +11 -27
  454. package/src/duckdb/src/function/scalar/map/map_contains.cpp +5 -31
  455. package/src/duckdb/src/function/scalar/operator/add.cpp +6 -1
  456. package/src/duckdb/src/function/scalar/operator/arithmetic.cpp +130 -10
  457. package/src/duckdb/src/function/scalar/operator/multiply.cpp +4 -2
  458. package/src/duckdb/src/function/scalar/operator/subtract.cpp +3 -1
  459. package/src/duckdb/src/function/scalar/sequence/nextval.cpp +7 -3
  460. package/src/duckdb/src/function/scalar/strftime_format.cpp +2 -2
  461. package/src/duckdb/src/function/scalar/string/caseconvert.cpp +4 -0
  462. package/src/duckdb/src/function/scalar/string/concat.cpp +18 -19
  463. package/src/duckdb/src/function/scalar/string/contains.cpp +14 -7
  464. package/src/duckdb/src/function/scalar/string/length.cpp +13 -9
  465. package/src/duckdb/src/function/scalar/string/like.cpp +146 -143
  466. package/src/duckdb/src/function/scalar/string/md5.cpp +6 -2
  467. package/src/duckdb/src/function/scalar/string/nfc_normalize.cpp +5 -1
  468. package/src/duckdb/src/function/scalar/string/prefix.cpp +11 -8
  469. package/src/duckdb/src/function/scalar/string/regexp_escape.cpp +5 -1
  470. package/src/duckdb/src/function/scalar/string/sha1.cpp +5 -1
  471. package/src/duckdb/src/function/scalar/string/sha256.cpp +5 -1
  472. package/src/duckdb/src/function/scalar/string/string_split.cpp +7 -3
  473. package/src/duckdb/src/function/scalar/string/strip_accents.cpp +5 -1
  474. package/src/duckdb/src/function/scalar/string/substring.cpp +10 -6
  475. package/src/duckdb/src/function/scalar/string/suffix.cpp +10 -8
  476. package/src/duckdb/src/function/scalar/struct/remap_struct.cpp +20 -17
  477. package/src/duckdb/src/function/scalar/struct/struct_concat.cpp +1 -1
  478. package/src/duckdb/src/function/scalar/struct/struct_contains.cpp +255 -0
  479. package/src/duckdb/src/function/scalar/struct/struct_pack.cpp +2 -2
  480. package/src/duckdb/src/function/scalar/system/aggregate_export.cpp +34 -31
  481. package/src/duckdb/src/function/scalar/system/current_connection_id.cpp +5 -1
  482. package/src/duckdb/src/function/scalar/system/current_query_id.cpp +5 -1
  483. package/src/duckdb/src/function/scalar/system/current_transaction_id.cpp +5 -1
  484. package/src/duckdb/src/function/scalar/system/parse_log_message.cpp +5 -1
  485. package/src/duckdb/src/function/scalar/system/write_log.cpp +11 -13
  486. package/src/duckdb/src/function/scalar/variant/variant_extract.cpp +234 -0
  487. package/src/duckdb/src/function/scalar/variant/variant_typeof.cpp +70 -0
  488. package/src/duckdb/src/function/scalar/variant/variant_utils.cpp +412 -0
  489. package/src/duckdb/src/function/scalar_macro_function.cpp +8 -11
  490. package/src/duckdb/src/function/table/arrow/arrow_array_scan_state.cpp +2 -3
  491. package/src/duckdb/src/function/table/arrow/arrow_duck_schema.cpp +27 -2
  492. package/src/duckdb/src/function/table/arrow.cpp +37 -17
  493. package/src/duckdb/src/function/table/arrow_conversion.cpp +186 -236
  494. package/src/duckdb/src/function/table/copy_csv.cpp +76 -245
  495. package/src/duckdb/src/function/table/direct_file_reader.cpp +172 -0
  496. package/src/duckdb/src/function/table/read_file.cpp +90 -220
  497. package/src/duckdb/src/function/table/sniff_csv.cpp +0 -1
  498. package/src/duckdb/src/function/table/system/duckdb_approx_database_count.cpp +43 -0
  499. package/src/duckdb/src/function/table/system/duckdb_columns.cpp +2 -2
  500. package/src/duckdb/src/function/table/system/duckdb_constraints.cpp +3 -7
  501. package/src/duckdb/src/function/table/system/duckdb_databases.cpp +20 -5
  502. package/src/duckdb/src/function/table/system/duckdb_extensions.cpp +10 -5
  503. package/src/duckdb/src/function/table/system/duckdb_functions.cpp +6 -22
  504. package/src/duckdb/src/function/table/system/duckdb_log.cpp +41 -5
  505. package/src/duckdb/src/function/table/system/duckdb_log_contexts.cpp +15 -6
  506. package/src/duckdb/src/function/table/system/duckdb_settings.cpp +29 -6
  507. package/src/duckdb/src/function/table/system/duckdb_types.cpp +4 -0
  508. package/src/duckdb/src/function/table/system/logging_utils.cpp +154 -0
  509. package/src/duckdb/src/function/table/system/pragma_database_size.cpp +2 -2
  510. package/src/duckdb/src/function/table/system/test_all_types.cpp +30 -6
  511. package/src/duckdb/src/function/table/system_functions.cpp +2 -0
  512. package/src/duckdb/src/function/table/table_scan.cpp +82 -48
  513. package/src/duckdb/src/function/table/version/pragma_version.cpp +7 -4
  514. package/src/duckdb/src/function/window/window_aggregate_function.cpp +56 -46
  515. package/src/duckdb/src/function/window/window_aggregator.cpp +33 -19
  516. package/src/duckdb/src/function/window/window_boundaries_state.cpp +12 -2
  517. package/src/duckdb/src/function/window/window_collection.cpp +30 -0
  518. package/src/duckdb/src/function/window/window_constant_aggregator.cpp +32 -24
  519. package/src/duckdb/src/function/window/window_custom_aggregator.cpp +54 -40
  520. package/src/duckdb/src/function/window/window_distinct_aggregator.cpp +200 -251
  521. package/src/duckdb/src/function/window/window_executor.cpp +44 -36
  522. package/src/duckdb/src/function/window/window_index_tree.cpp +26 -16
  523. package/src/duckdb/src/function/window/window_merge_sort_tree.cpp +98 -151
  524. package/src/duckdb/src/function/window/window_naive_aggregator.cpp +94 -72
  525. package/src/duckdb/src/function/window/window_rank_function.cpp +57 -63
  526. package/src/duckdb/src/function/window/window_rownumber_function.cpp +45 -47
  527. package/src/duckdb/src/function/window/window_segment_tree.cpp +28 -22
  528. package/src/duckdb/src/function/window/window_token_tree.cpp +46 -41
  529. package/src/duckdb/src/function/window/window_value_function.cpp +632 -93
  530. package/src/duckdb/src/include/duckdb/catalog/catalog.hpp +24 -5
  531. package/src/duckdb/src/include/duckdb/catalog/default/builtin_types/types.hpp +5 -2
  532. package/src/duckdb/src/include/duckdb/catalog/duck_catalog.hpp +16 -0
  533. package/src/duckdb/src/include/duckdb/common/adbc/adbc.hpp +68 -1
  534. package/src/duckdb/src/include/duckdb/common/allocator.hpp +3 -0
  535. package/src/duckdb/src/include/duckdb/common/arena_linked_list.hpp +169 -0
  536. package/src/duckdb/src/include/duckdb/common/arrow/appender/append_data.hpp +31 -55
  537. package/src/duckdb/src/include/duckdb/common/arrow/appender/enum_data.hpp +1 -1
  538. package/src/duckdb/src/include/duckdb/common/arrow/appender/list_data.hpp +1 -1
  539. package/src/duckdb/src/include/duckdb/common/arrow/appender/list_view_data.hpp +1 -1
  540. package/src/duckdb/src/include/duckdb/common/arrow/appender/map_data.hpp +1 -1
  541. package/src/duckdb/src/include/duckdb/common/arrow/appender/scalar_data.hpp +1 -1
  542. package/src/duckdb/src/include/duckdb/common/arrow/appender/varchar_data.hpp +6 -6
  543. package/src/duckdb/src/include/duckdb/common/arrow/arrow_wrapper.hpp +10 -0
  544. package/src/duckdb/src/include/duckdb/common/arrow/physical_arrow_batch_collector.hpp +2 -2
  545. package/src/duckdb/src/include/duckdb/common/arrow/physical_arrow_collector.hpp +3 -4
  546. package/src/duckdb/src/include/duckdb/common/bignum.hpp +85 -0
  547. package/src/duckdb/src/include/duckdb/common/box_renderer.hpp +4 -4
  548. package/src/duckdb/src/include/duckdb/common/chrono.hpp +1 -0
  549. package/src/duckdb/src/include/duckdb/common/complex_json.hpp +15 -4
  550. package/src/duckdb/src/include/duckdb/common/compressed_file_system.hpp +2 -2
  551. package/src/duckdb/src/include/duckdb/common/csv_writer.hpp +153 -0
  552. package/src/duckdb/src/include/duckdb/common/encryption_functions.hpp +54 -0
  553. package/src/duckdb/src/include/duckdb/common/encryption_key_manager.hpp +80 -0
  554. package/src/duckdb/src/include/duckdb/common/encryption_state.hpp +25 -9
  555. package/src/duckdb/src/include/duckdb/common/enum_util.hpp +120 -0
  556. package/src/duckdb/src/include/duckdb/common/enums/arrow_format_version.hpp +33 -0
  557. package/src/duckdb/src/include/duckdb/common/enums/checkpoint_abort.hpp +22 -0
  558. package/src/duckdb/src/include/duckdb/common/enums/checkpoint_type.hpp +3 -1
  559. package/src/duckdb/src/include/duckdb/common/enums/copy_option_mode.hpp +17 -0
  560. package/src/duckdb/src/include/duckdb/common/enums/debug_vector_verification.hpp +2 -1
  561. package/src/duckdb/src/include/duckdb/common/enums/explain_format.hpp +1 -1
  562. package/src/duckdb/src/include/duckdb/common/enums/expression_type.hpp +1 -0
  563. package/src/duckdb/src/include/duckdb/common/enums/file_glob_options.hpp +11 -3
  564. package/src/duckdb/src/include/duckdb/common/enums/logical_operator_type.hpp +1 -0
  565. package/src/duckdb/src/include/duckdb/common/enums/merge_action_type.hpp +19 -0
  566. package/src/duckdb/src/include/duckdb/common/enums/metric_type.hpp +3 -0
  567. package/src/duckdb/src/include/duckdb/common/enums/optimizer_type.hpp +2 -1
  568. package/src/duckdb/src/include/duckdb/common/enums/ordinality_request_type.hpp +16 -0
  569. package/src/duckdb/src/include/duckdb/common/enums/physical_operator_type.hpp +1 -0
  570. package/src/duckdb/src/include/duckdb/common/enums/statement_type.hpp +1 -0
  571. package/src/duckdb/src/include/duckdb/common/enums/tableref_type.hpp +2 -1
  572. package/src/duckdb/src/include/duckdb/common/enums/thread_pin_mode.hpp +17 -0
  573. package/src/duckdb/src/include/duckdb/common/enums/tuple_data_layout_enums.hpp +25 -0
  574. package/src/duckdb/src/include/duckdb/common/enums/undo_flags.hpp +2 -1
  575. package/src/duckdb/src/include/duckdb/common/error_data.hpp +4 -2
  576. package/src/duckdb/src/include/duckdb/common/exception_format_value.hpp +9 -1
  577. package/src/duckdb/src/include/duckdb/common/extra_type_info.hpp +25 -1
  578. package/src/duckdb/src/include/duckdb/common/file_buffer.hpp +15 -6
  579. package/src/duckdb/src/include/duckdb/common/file_open_flags.hpp +14 -0
  580. package/src/duckdb/src/include/duckdb/common/file_opener.hpp +2 -1
  581. package/src/duckdb/src/include/duckdb/common/file_system.hpp +14 -6
  582. package/src/duckdb/src/include/duckdb/common/fsst.hpp +3 -2
  583. package/src/duckdb/src/include/duckdb/common/gzip_file_system.hpp +1 -1
  584. package/src/duckdb/src/include/duckdb/common/helper.hpp +21 -3
  585. package/src/duckdb/src/include/duckdb/common/local_file_system.hpp +1 -1
  586. package/src/duckdb/src/include/duckdb/common/multi_file/base_file_reader.hpp +4 -0
  587. package/src/duckdb/src/include/duckdb/common/multi_file/multi_file_function.hpp +43 -14
  588. package/src/duckdb/src/include/duckdb/common/multi_file/multi_file_list.hpp +4 -3
  589. package/src/duckdb/src/include/duckdb/common/multi_file/multi_file_reader.hpp +10 -3
  590. package/src/duckdb/src/include/duckdb/common/multi_file/multi_file_states.hpp +2 -0
  591. package/src/duckdb/src/include/duckdb/common/numeric_utils.hpp +57 -0
  592. package/src/duckdb/src/include/duckdb/common/opener_file_system.hpp +7 -3
  593. package/src/duckdb/src/include/duckdb/common/operator/cast_operators.hpp +84 -0
  594. package/src/duckdb/src/include/duckdb/common/operator/interpolate.hpp +39 -0
  595. package/src/duckdb/src/include/duckdb/common/operator/string_cast.hpp +6 -0
  596. package/src/duckdb/src/include/duckdb/common/optionally_owned_ptr.hpp +18 -2
  597. package/src/duckdb/src/include/duckdb/common/owning_string_map.hpp +8 -0
  598. package/src/duckdb/src/include/duckdb/common/pipe_file_system.hpp +1 -1
  599. package/src/duckdb/src/include/duckdb/common/progress_bar/display/terminal_progress_bar_display.hpp +44 -5
  600. package/src/duckdb/src/include/duckdb/common/progress_bar/progress_bar.hpp +1 -1
  601. package/src/duckdb/src/include/duckdb/common/progress_bar/unscented_kalman_filter.hpp +65 -0
  602. package/src/duckdb/src/include/duckdb/common/row_operations/row_matcher.hpp +8 -14
  603. package/src/duckdb/src/include/duckdb/common/row_operations/row_operations.hpp +0 -12
  604. package/src/duckdb/src/include/duckdb/common/serializer/buffered_file_reader.hpp +2 -0
  605. package/src/duckdb/src/include/duckdb/common/serializer/deserializer.hpp +17 -2
  606. package/src/duckdb/src/include/duckdb/common/serializer/memory_stream.hpp +1 -0
  607. package/src/duckdb/src/include/duckdb/common/serializer/read_stream.hpp +9 -1
  608. package/src/duckdb/src/include/duckdb/common/serializer/varint.hpp +62 -0
  609. package/src/duckdb/src/include/duckdb/common/sorting/hashed_sort.hpp +76 -0
  610. package/src/duckdb/src/include/duckdb/common/sorting/sort.hpp +85 -0
  611. package/src/duckdb/src/include/duckdb/common/sorting/sort_key.hpp +442 -0
  612. package/src/duckdb/src/include/duckdb/common/sorting/sort_projection_column.hpp +21 -0
  613. package/src/duckdb/src/include/duckdb/common/sorting/sorted_run.hpp +55 -0
  614. package/src/duckdb/src/include/duckdb/common/sorting/sorted_run_merger.hpp +62 -0
  615. package/src/duckdb/src/include/duckdb/common/tree_renderer/text_tree_renderer.hpp +5 -0
  616. package/src/duckdb/src/include/duckdb/common/tree_renderer/yaml_tree_renderer.hpp +40 -0
  617. package/src/duckdb/src/include/duckdb/common/type_util.hpp +34 -4
  618. package/src/duckdb/src/include/duckdb/common/type_visitor.hpp +36 -6
  619. package/src/duckdb/src/include/duckdb/common/types/bignum.hpp +159 -0
  620. package/src/duckdb/src/include/duckdb/common/types/column/column_data_allocator.hpp +3 -2
  621. package/src/duckdb/src/include/duckdb/common/types/column/column_data_collection_segment.hpp +4 -2
  622. package/src/duckdb/src/include/duckdb/common/types/conflict_manager.hpp +202 -56
  623. package/src/duckdb/src/include/duckdb/common/types/constraint_conflict_info.hpp +7 -5
  624. package/src/duckdb/src/include/duckdb/common/types/data_chunk.hpp +3 -1
  625. package/src/duckdb/src/include/duckdb/common/types/date.hpp +9 -5
  626. package/src/duckdb/src/include/duckdb/common/types/datetime.hpp +11 -2
  627. package/src/duckdb/src/include/duckdb/common/types/double_na_equal.hpp +65 -0
  628. package/src/duckdb/src/include/duckdb/common/types/hash.hpp +22 -10
  629. package/src/duckdb/src/include/duckdb/common/types/hugeint.hpp +6 -6
  630. package/src/duckdb/src/include/duckdb/common/types/row/block_iterator.hpp +360 -0
  631. package/src/duckdb/src/include/duckdb/common/types/row/partitioned_tuple_data.hpp +1 -1
  632. package/src/duckdb/src/include/duckdb/common/types/row/row_data_collection.hpp +1 -2
  633. package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_allocator.hpp +7 -0
  634. package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_collection.hpp +26 -2
  635. package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_layout.hpp +43 -5
  636. package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_segment.hpp +4 -11
  637. package/src/duckdb/src/include/duckdb/common/types/row/tuple_data_states.hpp +10 -1
  638. package/src/duckdb/src/include/duckdb/common/types/selection_vector.hpp +8 -58
  639. package/src/duckdb/src/include/duckdb/common/types/string.hpp +338 -0
  640. package/src/duckdb/src/include/duckdb/common/types/string_type.hpp +7 -1
  641. package/src/duckdb/src/include/duckdb/common/types/timestamp.hpp +7 -3
  642. package/src/duckdb/src/include/duckdb/common/types/uhugeint.hpp +4 -4
  643. package/src/duckdb/src/include/duckdb/common/types/uuid.hpp +5 -0
  644. package/src/duckdb/src/include/duckdb/common/types/validity_mask.hpp +14 -5
  645. package/src/duckdb/src/include/duckdb/common/types/value.hpp +15 -2
  646. package/src/duckdb/src/include/duckdb/common/types/variant.hpp +202 -0
  647. package/src/duckdb/src/include/duckdb/common/types/vector.hpp +118 -5
  648. package/src/duckdb/src/include/duckdb/common/types/vector_buffer.hpp +8 -0
  649. package/src/duckdb/src/include/duckdb/common/types.hpp +26 -6
  650. package/src/duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp +50 -11
  651. package/src/duckdb/src/include/duckdb/common/virtual_file_system.hpp +2 -3
  652. package/src/duckdb/src/include/duckdb/common/winapi.hpp +0 -4
  653. package/src/duckdb/src/include/duckdb/execution/aggregate_hashtable.hpp +8 -6
  654. package/src/duckdb/src/include/duckdb/execution/executor.hpp +0 -2
  655. package/src/duckdb/src/include/duckdb/execution/expression_executor.hpp +4 -0
  656. package/src/duckdb/src/include/duckdb/execution/expression_executor_state.hpp +21 -2
  657. package/src/duckdb/src/include/duckdb/execution/ht_entry.hpp +4 -0
  658. package/src/duckdb/src/include/duckdb/execution/index/art/art.hpp +15 -16
  659. package/src/duckdb/src/include/duckdb/execution/index/art/art_builder.hpp +55 -0
  660. package/src/duckdb/src/include/duckdb/execution/index/art/art_key.hpp +0 -13
  661. package/src/duckdb/src/include/duckdb/execution/index/art/art_merger.hpp +1 -0
  662. package/src/duckdb/src/include/duckdb/execution/index/art/art_operator.hpp +113 -1
  663. package/src/duckdb/src/include/duckdb/execution/index/art/art_scanner.hpp +5 -2
  664. package/src/duckdb/src/include/duckdb/execution/index/art/base_leaf.hpp +2 -1
  665. package/src/duckdb/src/include/duckdb/execution/index/art/base_node.hpp +18 -15
  666. package/src/duckdb/src/include/duckdb/execution/index/art/iterator.hpp +1 -1
  667. package/src/duckdb/src/include/duckdb/execution/index/art/leaf.hpp +1 -1
  668. package/src/duckdb/src/include/duckdb/execution/index/art/node.hpp +30 -3
  669. package/src/duckdb/src/include/duckdb/execution/index/art/node256.hpp +30 -8
  670. package/src/duckdb/src/include/duckdb/execution/index/art/node256_leaf.hpp +8 -5
  671. package/src/duckdb/src/include/duckdb/execution/index/art/node48.hpp +36 -9
  672. package/src/duckdb/src/include/duckdb/execution/index/art/prefix.hpp +9 -20
  673. package/src/duckdb/src/include/duckdb/execution/index/bound_index.hpp +8 -6
  674. package/src/duckdb/src/include/duckdb/execution/index/fixed_size_allocator.hpp +21 -4
  675. package/src/duckdb/src/include/duckdb/execution/index/fixed_size_buffer.hpp +95 -11
  676. package/src/duckdb/src/include/duckdb/execution/index/unbound_index.hpp +22 -11
  677. package/src/duckdb/src/include/duckdb/execution/join_hashtable.hpp +6 -1
  678. package/src/duckdb/src/include/duckdb/execution/operator/aggregate/distinct_aggregate_data.hpp +3 -2
  679. package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_hash_aggregate.hpp +12 -8
  680. package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_partitioned_aggregate.hpp +1 -1
  681. package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_perfecthash_aggregate.hpp +1 -1
  682. package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_streaming_window.hpp +2 -2
  683. package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_ungrouped_aggregate.hpp +3 -2
  684. package/src/duckdb/src/include/duckdb/execution/operator/aggregate/physical_window.hpp +4 -2
  685. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_error.hpp +1 -1
  686. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_file_handle.hpp +3 -0
  687. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_multi_file_info.hpp +3 -3
  688. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_reader_options.hpp +1 -1
  689. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_state.hpp +1 -1
  690. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_state_machine.hpp +1 -1
  691. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/encode/csv_encoder.hpp +3 -0
  692. package/src/duckdb/src/include/duckdb/execution/operator/filter/physical_filter.hpp +2 -1
  693. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_batch_collector.hpp +1 -1
  694. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_buffered_batch_collector.hpp +1 -1
  695. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_buffered_collector.hpp +1 -1
  696. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_create_secret.hpp +3 -2
  697. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_execute.hpp +1 -1
  698. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_explain_analyze.hpp +2 -2
  699. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_limit.hpp +2 -2
  700. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_limit_percent.hpp +2 -2
  701. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_load.hpp +2 -2
  702. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_materialized_collector.hpp +1 -1
  703. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_pragma.hpp +2 -2
  704. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_prepare.hpp +3 -2
  705. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_reservoir_sample.hpp +4 -2
  706. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_reset.hpp +5 -4
  707. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_result_collector.hpp +2 -2
  708. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_set.hpp +6 -3
  709. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_set_variable.hpp +1 -1
  710. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_streaming_limit.hpp +2 -2
  711. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_streaming_sample.hpp +2 -1
  712. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_transaction.hpp +4 -2
  713. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_update_extensions.hpp +3 -2
  714. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_vacuum.hpp +1 -1
  715. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_verify_vector.hpp +1 -1
  716. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_asof_join.hpp +2 -1
  717. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_blockwise_nl_join.hpp +3 -2
  718. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_comparison_join.hpp +2 -2
  719. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_cross_product.hpp +2 -2
  720. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_delim_join.hpp +4 -3
  721. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_hash_join.hpp +4 -4
  722. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_iejoin.hpp +5 -4
  723. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_join.hpp +2 -1
  724. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_left_delim_join.hpp +4 -3
  725. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_nested_loop_join.hpp +6 -5
  726. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_piecewise_merge_join.hpp +3 -3
  727. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_positional_join.hpp +2 -2
  728. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_range_join.hpp +3 -3
  729. package/src/duckdb/src/include/duckdb/execution/operator/join/physical_right_delim_join.hpp +4 -3
  730. package/src/duckdb/src/include/duckdb/execution/operator/order/physical_order.hpp +13 -9
  731. package/src/duckdb/src/include/duckdb/execution/operator/order/physical_top_n.hpp +2 -2
  732. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_batch_copy_to_file.hpp +2 -2
  733. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_batch_insert.hpp +3 -3
  734. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_copy_database.hpp +2 -1
  735. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_copy_to_file.hpp +2 -2
  736. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_delete.hpp +2 -2
  737. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_export.hpp +2 -2
  738. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_insert.hpp +3 -3
  739. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_merge_into.hpp +87 -0
  740. package/src/duckdb/src/include/duckdb/execution/operator/persistent/physical_update.hpp +2 -2
  741. package/src/duckdb/src/include/duckdb/execution/operator/projection/physical_pivot.hpp +2 -1
  742. package/src/duckdb/src/include/duckdb/execution/operator/projection/physical_projection.hpp +2 -7
  743. package/src/duckdb/src/include/duckdb/execution/operator/projection/physical_tableinout_function.hpp +6 -1
  744. package/src/duckdb/src/include/duckdb/execution/operator/projection/physical_unnest.hpp +2 -2
  745. package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_column_data_scan.hpp +4 -4
  746. package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_dummy_scan.hpp +2 -2
  747. package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_empty_result.hpp +2 -2
  748. package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_expression_scan.hpp +4 -3
  749. package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_positional_scan.hpp +2 -1
  750. package/src/duckdb/src/include/duckdb/execution/operator/scan/physical_table_scan.hpp +4 -3
  751. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_alter.hpp +2 -2
  752. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_attach.hpp +2 -2
  753. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_art_index.hpp +4 -4
  754. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_function.hpp +4 -2
  755. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_schema.hpp +4 -2
  756. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_sequence.hpp +4 -2
  757. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_table.hpp +2 -2
  758. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_type.hpp +1 -1
  759. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_create_view.hpp +4 -2
  760. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_detach.hpp +2 -2
  761. package/src/duckdb/src/include/duckdb/execution/operator/schema/physical_drop.hpp +2 -2
  762. package/src/duckdb/src/include/duckdb/execution/operator/set/physical_cte.hpp +2 -2
  763. package/src/duckdb/src/include/duckdb/execution/operator/set/physical_recursive_cte.hpp +2 -2
  764. package/src/duckdb/src/include/duckdb/execution/operator/set/physical_union.hpp +2 -2
  765. package/src/duckdb/src/include/duckdb/execution/physical_operator.hpp +23 -22
  766. package/src/duckdb/src/include/duckdb/execution/physical_plan_generator.hpp +7 -2
  767. package/src/duckdb/src/include/duckdb/execution/radix_partitioned_hashtable.hpp +4 -1
  768. package/src/duckdb/src/include/duckdb/execution/reservoir_sample.hpp +0 -1
  769. package/src/duckdb/src/include/duckdb/function/aggregate/distributive_functions.hpp +3 -3
  770. package/src/duckdb/src/include/duckdb/function/aggregate_function.hpp +36 -11
  771. package/src/duckdb/src/include/duckdb/function/built_in_functions.hpp +1 -0
  772. package/src/duckdb/src/include/duckdb/function/cast/bound_cast_data.hpp +28 -0
  773. package/src/duckdb/src/include/duckdb/function/cast/cast_function_set.hpp +6 -1
  774. package/src/duckdb/src/include/duckdb/function/cast/default_casts.hpp +5 -1
  775. package/src/duckdb/src/include/duckdb/function/cast/variant/array_to_variant.hpp +66 -0
  776. package/src/duckdb/src/include/duckdb/function/cast/variant/json_to_variant.hpp +283 -0
  777. package/src/duckdb/src/include/duckdb/function/cast/variant/list_to_variant.hpp +70 -0
  778. package/src/duckdb/src/include/duckdb/function/cast/variant/primitive_to_variant.hpp +399 -0
  779. package/src/duckdb/src/include/duckdb/function/cast/variant/struct_to_variant.hpp +111 -0
  780. package/src/duckdb/src/include/duckdb/function/cast/variant/to_variant.hpp +66 -0
  781. package/src/duckdb/src/include/duckdb/function/cast/variant/to_variant_fwd.hpp +179 -0
  782. package/src/duckdb/src/include/duckdb/function/cast/variant/union_to_variant.hpp +59 -0
  783. package/src/duckdb/src/include/duckdb/function/cast/variant/variant_to_variant.hpp +275 -0
  784. package/src/duckdb/src/include/duckdb/function/cast/vector_cast_helpers.hpp +2 -3
  785. package/src/duckdb/src/include/duckdb/function/copy_function.hpp +28 -10
  786. package/src/duckdb/src/include/duckdb/function/create_sort_key.hpp +13 -0
  787. package/src/duckdb/src/include/duckdb/function/function_binder.hpp +3 -0
  788. package/src/duckdb/src/include/duckdb/function/function_list.hpp +1 -1
  789. package/src/duckdb/src/include/duckdb/function/function_serialization.hpp +25 -3
  790. package/src/duckdb/src/include/duckdb/function/macro_function.hpp +18 -6
  791. package/src/duckdb/src/include/duckdb/function/pragma/pragma_functions.hpp +1 -1
  792. package/src/duckdb/src/include/duckdb/function/register_function_list_helper.hpp +34 -2
  793. package/src/duckdb/src/include/duckdb/function/scalar/compressed_materialization_functions.hpp +10 -0
  794. package/src/duckdb/src/include/duckdb/function/scalar/date_functions.hpp +6 -6
  795. package/src/duckdb/src/include/duckdb/function/scalar/list/contains_or_position.hpp +5 -5
  796. package/src/duckdb/src/include/duckdb/function/scalar/list_functions.hpp +19 -19
  797. package/src/duckdb/src/include/duckdb/function/scalar/string_functions.hpp +103 -103
  798. package/src/duckdb/src/include/duckdb/function/scalar/struct_functions.hpp +32 -0
  799. package/src/duckdb/src/include/duckdb/function/scalar/system_functions.hpp +1 -1
  800. package/src/duckdb/src/include/duckdb/function/scalar/variant_functions.hpp +38 -0
  801. package/src/duckdb/src/include/duckdb/function/scalar/variant_utils.hpp +85 -0
  802. package/src/duckdb/src/include/duckdb/function/table/arrow/arrow_duck_schema.hpp +8 -2
  803. package/src/duckdb/src/include/duckdb/function/table/arrow/arrow_type_info.hpp +2 -0
  804. package/src/duckdb/src/include/duckdb/function/table/arrow.hpp +26 -11
  805. package/src/duckdb/src/include/duckdb/function/table/direct_file_reader.hpp +39 -0
  806. package/src/duckdb/src/include/duckdb/function/table/read_csv.hpp +2 -12
  807. package/src/duckdb/src/include/duckdb/function/table/read_file.hpp +83 -0
  808. package/src/duckdb/src/include/duckdb/function/table/system_functions.hpp +9 -1
  809. package/src/duckdb/src/include/duckdb/function/table_function.hpp +8 -5
  810. package/src/duckdb/src/include/duckdb/function/window/window_aggregate_function.hpp +10 -10
  811. package/src/duckdb/src/include/duckdb/function/window/window_aggregator.hpp +25 -48
  812. package/src/duckdb/src/include/duckdb/function/window/window_collection.hpp +142 -0
  813. package/src/duckdb/src/include/duckdb/function/window/window_constant_aggregator.hpp +11 -12
  814. package/src/duckdb/src/include/duckdb/function/window/window_custom_aggregator.hpp +8 -8
  815. package/src/duckdb/src/include/duckdb/function/window/window_distinct_aggregator.hpp +10 -10
  816. package/src/duckdb/src/include/duckdb/function/window/window_executor.hpp +26 -40
  817. package/src/duckdb/src/include/duckdb/function/window/window_index_tree.hpp +2 -2
  818. package/src/duckdb/src/include/duckdb/function/window/window_merge_sort_tree.hpp +32 -30
  819. package/src/duckdb/src/include/duckdb/function/window/window_naive_aggregator.hpp +5 -3
  820. package/src/duckdb/src/include/duckdb/function/window/window_rank_function.hpp +17 -16
  821. package/src/duckdb/src/include/duckdb/function/window/window_rownumber_function.hpp +10 -9
  822. package/src/duckdb/src/include/duckdb/function/window/window_segment_tree.hpp +8 -8
  823. package/src/duckdb/src/include/duckdb/function/window/window_token_tree.hpp +6 -6
  824. package/src/duckdb/src/include/duckdb/function/window/window_value_function.hpp +44 -21
  825. package/src/duckdb/src/include/duckdb/logging/log_manager.hpp +12 -4
  826. package/src/duckdb/src/include/duckdb/logging/log_storage.hpp +271 -50
  827. package/src/duckdb/src/include/duckdb/main/appender.hpp +37 -16
  828. package/src/duckdb/src/include/duckdb/main/attached_database.hpp +18 -4
  829. package/src/duckdb/src/include/duckdb/main/capi/capi_internal.hpp +23 -6
  830. package/src/duckdb/src/include/duckdb/main/capi/extension_api.hpp +92 -8
  831. package/src/duckdb/src/include/duckdb/main/client_config.hpp +11 -70
  832. package/src/duckdb/src/include/duckdb/main/client_context.hpp +28 -5
  833. package/src/duckdb/src/include/duckdb/main/client_data.hpp +21 -23
  834. package/src/duckdb/src/include/duckdb/main/client_properties.hpp +3 -19
  835. package/src/duckdb/src/include/duckdb/main/config.hpp +48 -111
  836. package/src/duckdb/src/include/duckdb/main/database.hpp +23 -27
  837. package/src/duckdb/src/include/duckdb/main/database_file_opener.hpp +1 -0
  838. package/src/duckdb/src/include/duckdb/main/database_file_path_manager.hpp +39 -0
  839. package/src/duckdb/src/include/duckdb/main/database_manager.hpp +19 -21
  840. package/src/duckdb/src/include/duckdb/main/database_path_and_type.hpp +3 -1
  841. package/src/duckdb/src/include/duckdb/main/db_instance_cache.hpp +8 -4
  842. package/src/duckdb/src/include/duckdb/main/error_manager.hpp +3 -1
  843. package/src/duckdb/src/include/duckdb/main/extension/extension_loader.hpp +120 -0
  844. package/src/duckdb/src/include/duckdb/main/extension.hpp +2 -2
  845. package/src/duckdb/src/include/duckdb/main/extension_entries.hpp +35 -0
  846. package/src/duckdb/src/include/duckdb/main/extension_helper.hpp +2 -0
  847. package/src/duckdb/src/include/duckdb/main/extension_manager.hpp +59 -0
  848. package/src/duckdb/src/include/duckdb/main/extension_util.hpp +6 -77
  849. package/src/duckdb/src/include/duckdb/main/query_profiler.hpp +41 -23
  850. package/src/duckdb/src/include/duckdb/main/relation.hpp +1 -1
  851. package/src/duckdb/src/include/duckdb/main/secret/secret.hpp +1 -0
  852. package/src/duckdb/src/include/duckdb/main/secret/secret_manager.hpp +18 -18
  853. package/src/duckdb/src/include/duckdb/main/setting_info.hpp +109 -0
  854. package/src/duckdb/src/include/duckdb/main/settings.hpp +168 -184
  855. package/src/duckdb/src/include/duckdb/main/valid_checker.hpp +5 -2
  856. package/src/duckdb/src/include/duckdb/optimizer/build_probe_side_optimizer.hpp +1 -1
  857. package/src/duckdb/src/include/duckdb/optimizer/column_lifetime_analyzer.hpp +1 -1
  858. package/src/duckdb/src/include/duckdb/optimizer/compressed_materialization.hpp +4 -0
  859. package/src/duckdb/src/include/duckdb/optimizer/cte_inlining.hpp +50 -0
  860. package/src/duckdb/src/include/duckdb/optimizer/filter_pushdown.hpp +4 -1
  861. package/src/duckdb/src/include/duckdb/optimizer/join_order/join_order_optimizer.hpp +3 -0
  862. package/src/duckdb/src/include/duckdb/optimizer/late_materialization.hpp +1 -1
  863. package/src/duckdb/src/include/duckdb/optimizer/rule/date_trunc_simplification.hpp +73 -0
  864. package/src/duckdb/src/include/duckdb/optimizer/rule/list.hpp +1 -0
  865. package/src/duckdb/src/include/duckdb/parallel/interrupt.hpp +9 -3
  866. package/src/duckdb/src/include/duckdb/parallel/task_scheduler.hpp +1 -0
  867. package/src/duckdb/src/include/duckdb/parser/common_table_expression_info.hpp +3 -1
  868. package/src/duckdb/src/include/duckdb/parser/parsed_data/alter_table_info.hpp +18 -8
  869. package/src/duckdb/src/include/duckdb/parser/parsed_data/attach_info.hpp +3 -4
  870. package/src/duckdb/src/include/duckdb/parser/parsed_data/copy_info.hpp +6 -4
  871. package/src/duckdb/src/include/duckdb/parser/parsed_data/create_info.hpp +2 -0
  872. package/src/duckdb/src/include/duckdb/parser/parsed_expression_iterator.hpp +14 -0
  873. package/src/duckdb/src/include/duckdb/parser/parser.hpp +2 -0
  874. package/src/duckdb/src/include/duckdb/parser/qualified_name.hpp +2 -0
  875. package/src/duckdb/src/include/duckdb/parser/query_node/cte_node.hpp +2 -0
  876. package/src/duckdb/src/include/duckdb/parser/statement/list.hpp +1 -0
  877. package/src/duckdb/src/include/duckdb/parser/statement/merge_into_statement.hpp +72 -0
  878. package/src/duckdb/src/include/duckdb/parser/statement/select_statement.hpp +1 -4
  879. package/src/duckdb/src/include/duckdb/parser/statement/update_statement.hpp +1 -0
  880. package/src/duckdb/src/include/duckdb/parser/tableref/bound_ref_wrapper.hpp +38 -0
  881. package/src/duckdb/src/include/duckdb/parser/tableref/column_data_ref.hpp +4 -9
  882. package/src/duckdb/src/include/duckdb/parser/tableref/joinref.hpp +2 -0
  883. package/src/duckdb/src/include/duckdb/parser/tableref/list.hpp +1 -0
  884. package/src/duckdb/src/include/duckdb/parser/tableref/showref.hpp +5 -1
  885. package/src/duckdb/src/include/duckdb/parser/tableref/table_function_ref.hpp +4 -0
  886. package/src/duckdb/src/include/duckdb/parser/tokens.hpp +3 -0
  887. package/src/duckdb/src/include/duckdb/parser/transformer.hpp +9 -2
  888. package/src/duckdb/src/include/duckdb/planner/bind_context.hpp +5 -0
  889. package/src/duckdb/src/include/duckdb/planner/binder.hpp +45 -8
  890. package/src/duckdb/src/include/duckdb/planner/bound_constraint.hpp +2 -0
  891. package/src/duckdb/src/include/duckdb/planner/bound_result_modifier.hpp +1 -0
  892. package/src/duckdb/src/include/duckdb/planner/bound_tokens.hpp +3 -0
  893. package/src/duckdb/src/include/duckdb/planner/constraints/bound_check_constraint.hpp +8 -0
  894. package/src/duckdb/src/include/duckdb/planner/constraints/bound_foreign_key_constraint.hpp +4 -0
  895. package/src/duckdb/src/include/duckdb/planner/constraints/bound_not_null_constraint.hpp +4 -0
  896. package/src/duckdb/src/include/duckdb/planner/constraints/bound_unique_constraint.hpp +5 -0
  897. package/src/duckdb/src/include/duckdb/planner/expression/bound_between_expression.hpp +2 -2
  898. package/src/duckdb/src/include/duckdb/planner/expression_binder/projection_binder.hpp +37 -0
  899. package/src/duckdb/src/include/duckdb/planner/expression_binder/table_function_binder.hpp +3 -1
  900. package/src/duckdb/src/include/duckdb/planner/expression_binder.hpp +3 -8
  901. package/src/duckdb/src/include/duckdb/planner/expression_iterator.hpp +18 -0
  902. package/src/duckdb/src/include/duckdb/planner/extension_callback.hpp +8 -0
  903. package/src/duckdb/src/include/duckdb/planner/logical_operator_deep_copy.hpp +67 -0
  904. package/src/duckdb/src/include/duckdb/planner/logical_tokens.hpp +1 -0
  905. package/src/duckdb/src/include/duckdb/planner/operator/list.hpp +1 -0
  906. package/src/duckdb/src/include/duckdb/planner/operator/logical_aggregate.hpp +3 -0
  907. package/src/duckdb/src/include/duckdb/planner/operator/logical_cteref.hpp +1 -1
  908. package/src/duckdb/src/include/duckdb/planner/operator/logical_get.hpp +2 -0
  909. package/src/duckdb/src/include/duckdb/planner/operator/logical_insert.hpp +28 -22
  910. package/src/duckdb/src/include/duckdb/planner/operator/logical_join.hpp +1 -1
  911. package/src/duckdb/src/include/duckdb/planner/operator/logical_materialized_cte.hpp +5 -2
  912. package/src/duckdb/src/include/duckdb/planner/operator/logical_merge_into.hpp +75 -0
  913. package/src/duckdb/src/include/duckdb/planner/operator/logical_recursive_cte.hpp +2 -0
  914. package/src/duckdb/src/include/duckdb/planner/operator/logical_update.hpp +1 -1
  915. package/src/duckdb/src/include/duckdb/planner/query_node/bound_cte_node.hpp +2 -0
  916. package/src/duckdb/src/include/duckdb/storage/arena_allocator.hpp +26 -0
  917. package/src/duckdb/src/include/duckdb/storage/block.hpp +1 -1
  918. package/src/duckdb/src/include/duckdb/storage/block_manager.hpp +24 -8
  919. package/src/duckdb/src/include/duckdb/storage/buffer/block_handle.hpp +3 -1
  920. package/src/duckdb/src/include/duckdb/storage/buffer_manager.hpp +55 -36
  921. package/src/duckdb/src/include/duckdb/storage/caching_file_system.hpp +10 -4
  922. package/src/duckdb/src/include/duckdb/storage/checkpoint/row_group_writer.hpp +19 -6
  923. package/src/duckdb/src/include/duckdb/storage/checkpoint/table_data_reader.hpp +1 -1
  924. package/src/duckdb/src/include/duckdb/storage/checkpoint/table_data_writer.hpp +15 -8
  925. package/src/duckdb/src/include/duckdb/storage/checkpoint_manager.hpp +6 -8
  926. package/src/duckdb/src/include/duckdb/storage/compression/alp/algorithm/alp.hpp +2 -1
  927. package/src/duckdb/src/include/duckdb/storage/compression/alp/alp_fetch.hpp +1 -1
  928. package/src/duckdb/src/include/duckdb/storage/compression/alprd/alprd_analyze.hpp +4 -2
  929. package/src/duckdb/src/include/duckdb/storage/compression/alprd/alprd_fetch.hpp +1 -1
  930. package/src/duckdb/src/include/duckdb/storage/compression/alprd/alprd_scan.hpp +1 -1
  931. package/src/duckdb/src/include/duckdb/storage/compression/chimp/algorithm/packed_data.hpp +3 -1
  932. package/src/duckdb/src/include/duckdb/storage/compression/dict_fsst/compression.hpp +1 -1
  933. package/src/duckdb/src/include/duckdb/storage/compression/dict_fsst/decompression.hpp +1 -1
  934. package/src/duckdb/src/include/duckdb/storage/compression/patas/patas.hpp +1 -1
  935. package/src/duckdb/src/include/duckdb/storage/compression/patas/patas_fetch.hpp +1 -1
  936. package/src/duckdb/src/include/duckdb/storage/compression/patas/patas_scan.hpp +7 -2
  937. package/src/duckdb/src/include/duckdb/storage/data_pointer.hpp +5 -0
  938. package/src/duckdb/src/include/duckdb/storage/data_table.hpp +14 -9
  939. package/src/duckdb/src/include/duckdb/storage/external_file_cache.hpp +6 -5
  940. package/src/duckdb/src/include/duckdb/storage/in_memory_block_manager.hpp +7 -2
  941. package/src/duckdb/src/include/duckdb/storage/magic_bytes.hpp +2 -1
  942. package/src/duckdb/src/include/duckdb/storage/metadata/metadata_manager.hpp +15 -0
  943. package/src/duckdb/src/include/duckdb/storage/metadata/metadata_reader.hpp +7 -0
  944. package/src/duckdb/src/include/duckdb/storage/metadata/metadata_writer.hpp +1 -0
  945. package/src/duckdb/src/include/duckdb/storage/optimistic_data_writer.hpp +10 -3
  946. package/src/duckdb/src/include/duckdb/storage/partial_block_manager.hpp +14 -3
  947. package/src/duckdb/src/include/duckdb/storage/single_file_block_manager.hpp +65 -20
  948. package/src/duckdb/src/include/duckdb/storage/standard_buffer_manager.hpp +6 -6
  949. package/src/duckdb/src/include/duckdb/storage/statistics/base_statistics.hpp +2 -2
  950. package/src/duckdb/src/include/duckdb/storage/storage_extension.hpp +4 -4
  951. package/src/duckdb/src/include/duckdb/storage/storage_info.hpp +80 -20
  952. package/src/duckdb/src/include/duckdb/storage/storage_manager.hpp +43 -17
  953. package/src/duckdb/src/include/duckdb/storage/storage_options.hpp +21 -0
  954. package/src/duckdb/src/include/duckdb/storage/table/array_column_data.hpp +1 -0
  955. package/src/duckdb/src/include/duckdb/storage/table/column_checkpoint_state.hpp +2 -2
  956. package/src/duckdb/src/include/duckdb/storage/table/column_data.hpp +7 -1
  957. package/src/duckdb/src/include/duckdb/storage/table/column_data_checkpointer.hpp +5 -2
  958. package/src/duckdb/src/include/duckdb/storage/table/column_segment.hpp +10 -7
  959. package/src/duckdb/src/include/duckdb/storage/table/data_table_info.hpp +3 -3
  960. package/src/duckdb/src/include/duckdb/storage/table/in_memory_checkpoint.hpp +93 -0
  961. package/src/duckdb/src/include/duckdb/storage/table/list_column_data.hpp +1 -0
  962. package/src/duckdb/src/include/duckdb/storage/table/persistent_table_data.hpp +1 -0
  963. package/src/duckdb/src/include/duckdb/storage/table/row_group.hpp +17 -2
  964. package/src/duckdb/src/include/duckdb/storage/table/row_group_collection.hpp +11 -1
  965. package/src/duckdb/src/include/duckdb/storage/table/row_group_segment_tree.hpp +5 -0
  966. package/src/duckdb/src/include/duckdb/storage/table/row_id_column_data.hpp +68 -0
  967. package/src/duckdb/src/include/duckdb/storage/table/segment_lock.hpp +4 -0
  968. package/src/duckdb/src/include/duckdb/storage/table/segment_tree.hpp +34 -14
  969. package/src/duckdb/src/include/duckdb/storage/table/standard_column_data.hpp +1 -0
  970. package/src/duckdb/src/include/duckdb/storage/table/struct_column_data.hpp +1 -0
  971. package/src/duckdb/src/include/duckdb/storage/table/table_index_list.hpp +55 -46
  972. package/src/duckdb/src/include/duckdb/storage/table/update_segment.hpp +3 -0
  973. package/src/duckdb/src/include/duckdb/storage/temporary_file_manager.hpp +17 -6
  974. package/src/duckdb/src/include/duckdb/storage/write_ahead_log.hpp +2 -1
  975. package/src/duckdb/src/include/duckdb/transaction/duck_transaction.hpp +3 -0
  976. package/src/duckdb/src/include/duckdb/transaction/duck_transaction_manager.hpp +1 -0
  977. package/src/duckdb/src/include/duckdb/transaction/local_storage.hpp +3 -1
  978. package/src/duckdb/src/include/duckdb/transaction/meta_transaction.hpp +22 -1
  979. package/src/duckdb/src/include/duckdb/transaction/undo_buffer_allocator.hpp +2 -0
  980. package/src/duckdb/src/include/duckdb/verification/explain_statement_verifier.hpp +23 -0
  981. package/src/duckdb/src/include/duckdb/verification/statement_verifier.hpp +14 -7
  982. package/src/duckdb/src/include/duckdb.h +537 -121
  983. package/src/duckdb/src/include/duckdb_extension.h +122 -14
  984. package/src/duckdb/src/logging/log_manager.cpp +59 -15
  985. package/src/duckdb/src/logging/log_storage.cpp +672 -128
  986. package/src/duckdb/src/main/appender.cpp +129 -88
  987. package/src/duckdb/src/main/attached_database.cpp +47 -52
  988. package/src/duckdb/src/main/capi/aggregate_function-c.cpp +18 -9
  989. package/src/duckdb/src/main/capi/appender-c.cpp +82 -28
  990. package/src/duckdb/src/main/capi/arrow-c.cpp +181 -17
  991. package/src/duckdb/src/main/capi/config-c.cpp +18 -3
  992. package/src/duckdb/src/main/capi/data_chunk-c.cpp +22 -10
  993. package/src/duckdb/src/main/capi/duckdb-c.cpp +64 -21
  994. package/src/duckdb/src/main/capi/duckdb_value-c.cpp +13 -7
  995. package/src/duckdb/src/main/capi/error_data-c.cpp +46 -0
  996. package/src/duckdb/src/main/capi/expression-c.cpp +57 -0
  997. package/src/duckdb/src/main/capi/helper-c.cpp +227 -39
  998. package/src/duckdb/src/main/capi/logical_types-c.cpp +48 -28
  999. package/src/duckdb/src/main/capi/prepared-c.cpp +68 -10
  1000. package/src/duckdb/src/main/capi/profiling_info-c.cpp +6 -4
  1001. package/src/duckdb/src/main/capi/result-c.cpp +16 -95
  1002. package/src/duckdb/src/main/capi/scalar_function-c.cpp +43 -1
  1003. package/src/duckdb/src/main/capi/table_function-c.cpp +9 -0
  1004. package/src/duckdb/src/main/client_config.cpp +21 -0
  1005. package/src/duckdb/src/main/client_context.cpp +153 -77
  1006. package/src/duckdb/src/main/client_context_file_opener.cpp +1 -0
  1007. package/src/duckdb/src/main/client_data.cpp +139 -1
  1008. package/src/duckdb/src/main/client_verify.cpp +14 -6
  1009. package/src/duckdb/src/main/config.cpp +214 -121
  1010. package/src/duckdb/src/main/database.cpp +31 -58
  1011. package/src/duckdb/src/main/database_file_path_manager.cpp +42 -0
  1012. package/src/duckdb/src/main/database_manager.cpp +134 -108
  1013. package/src/duckdb/src/main/database_path_and_type.cpp +4 -3
  1014. package/src/duckdb/src/main/db_instance_cache.cpp +64 -35
  1015. package/src/duckdb/src/main/error_manager.cpp +2 -1
  1016. package/src/duckdb/src/main/extension/extension_helper.cpp +3 -22
  1017. package/src/duckdb/src/main/extension/extension_install.cpp +6 -6
  1018. package/src/duckdb/src/main/extension/extension_load.cpp +24 -9
  1019. package/src/duckdb/src/main/extension/extension_loader.cpp +234 -0
  1020. package/src/duckdb/src/main/extension_manager.cpp +115 -0
  1021. package/src/duckdb/src/main/http/http_util.cpp +18 -5
  1022. package/src/duckdb/src/main/profiling_info.cpp +8 -2
  1023. package/src/duckdb/src/main/query_profiler.cpp +65 -30
  1024. package/src/duckdb/src/main/query_result.cpp +1 -1
  1025. package/src/duckdb/src/main/relation/query_relation.cpp +23 -0
  1026. package/src/duckdb/src/main/secret/secret_manager.cpp +8 -7
  1027. package/src/duckdb/src/main/settings/autogenerated_settings.cpp +50 -645
  1028. package/src/duckdb/src/main/settings/custom_settings.cpp +111 -152
  1029. package/src/duckdb/src/main/valid_checker.cpp +10 -4
  1030. package/src/duckdb/src/optimizer/build_probe_side_optimizer.cpp +7 -5
  1031. package/src/duckdb/src/optimizer/column_lifetime_analyzer.cpp +7 -7
  1032. package/src/duckdb/src/optimizer/compressed_materialization/compress_comparison_join.cpp +11 -7
  1033. package/src/duckdb/src/optimizer/compressed_materialization.cpp +56 -39
  1034. package/src/duckdb/src/optimizer/cte_inlining.cpp +225 -0
  1035. package/src/duckdb/src/optimizer/empty_result_pullup.cpp +8 -1
  1036. package/src/duckdb/src/optimizer/filter_combiner.cpp +5 -7
  1037. package/src/duckdb/src/optimizer/filter_pushdown.cpp +3 -0
  1038. package/src/duckdb/src/optimizer/join_order/cardinality_estimator.cpp +18 -2
  1039. package/src/duckdb/src/optimizer/join_order/join_order_optimizer.cpp +1 -0
  1040. package/src/duckdb/src/optimizer/join_order/plan_enumerator.cpp +4 -3
  1041. package/src/duckdb/src/optimizer/join_order/query_graph_manager.cpp +11 -15
  1042. package/src/duckdb/src/optimizer/join_order/relation_manager.cpp +40 -23
  1043. package/src/duckdb/src/optimizer/late_materialization.cpp +16 -23
  1044. package/src/duckdb/src/optimizer/optimizer.cpp +15 -0
  1045. package/src/duckdb/src/optimizer/pushdown/pushdown_aggregate.cpp +15 -20
  1046. package/src/duckdb/src/optimizer/pushdown/pushdown_left_join.cpp +11 -13
  1047. package/src/duckdb/src/optimizer/pushdown/pushdown_outer_join.cpp +201 -0
  1048. package/src/duckdb/src/optimizer/pushdown/pushdown_projection.cpp +20 -26
  1049. package/src/duckdb/src/optimizer/pushdown/pushdown_set_operation.cpp +11 -14
  1050. package/src/duckdb/src/optimizer/remove_unused_columns.cpp +2 -1
  1051. package/src/duckdb/src/optimizer/rule/date_trunc_simplification.cpp +446 -0
  1052. package/src/duckdb/src/optimizer/rule/join_dependent_filter.cpp +3 -9
  1053. package/src/duckdb/src/optimizer/rule/ordered_aggregate_optimizer.cpp +1 -6
  1054. package/src/duckdb/src/optimizer/rule/timestamp_comparison.cpp +3 -6
  1055. package/src/duckdb/src/optimizer/statistics/operator/propagate_aggregate.cpp +33 -1
  1056. package/src/duckdb/src/parallel/event.cpp +1 -3
  1057. package/src/duckdb/src/parallel/executor.cpp +0 -7
  1058. package/src/duckdb/src/parallel/pipeline.cpp +2 -2
  1059. package/src/duckdb/src/parallel/pipeline_executor.cpp +2 -2
  1060. package/src/duckdb/src/parallel/task_scheduler.cpp +146 -34
  1061. package/src/duckdb/src/parallel/thread_context.cpp +2 -9
  1062. package/src/duckdb/src/parser/column_definition.cpp +3 -6
  1063. package/src/duckdb/src/parser/expression/window_expression.cpp +3 -0
  1064. package/src/duckdb/src/parser/parsed_data/attach_info.cpp +8 -35
  1065. package/src/duckdb/src/parser/parsed_data/copy_info.cpp +27 -7
  1066. package/src/duckdb/src/parser/parsed_data/create_index_info.cpp +8 -13
  1067. package/src/duckdb/src/parser/parsed_data/create_info.cpp +16 -0
  1068. package/src/duckdb/src/parser/parsed_data/create_macro_info.cpp +7 -17
  1069. package/src/duckdb/src/parser/parsed_data/create_table_info.cpp +1 -14
  1070. package/src/duckdb/src/parser/parsed_data/create_type_info.cpp +1 -12
  1071. package/src/duckdb/src/parser/parsed_data/create_view_info.cpp +1 -13
  1072. package/src/duckdb/src/parser/parsed_expression_iterator.cpp +22 -0
  1073. package/src/duckdb/src/parser/parser.cpp +5 -0
  1074. package/src/duckdb/src/parser/qualified_name.cpp +26 -0
  1075. package/src/duckdb/src/parser/query_node/cte_node.cpp +1 -0
  1076. package/src/duckdb/src/parser/query_node/select_node.cpp +1 -0
  1077. package/src/duckdb/src/parser/query_node.cpp +1 -0
  1078. package/src/duckdb/src/parser/statement/export_statement.cpp +1 -3
  1079. package/src/duckdb/src/parser/statement/merge_into_statement.cpp +167 -0
  1080. package/src/duckdb/src/parser/statement/update_statement.cpp +19 -16
  1081. package/src/duckdb/src/parser/tableref/bound_ref_wrapper.cpp +29 -0
  1082. package/src/duckdb/src/parser/tableref/column_data_ref.cpp +26 -1
  1083. package/src/duckdb/src/parser/tableref/joinref.cpp +3 -2
  1084. package/src/duckdb/src/parser/tableref/showref.cpp +14 -0
  1085. package/src/duckdb/src/parser/tableref/table_function.cpp +6 -1
  1086. package/src/duckdb/src/parser/transform/expression/transform_expression.cpp +0 -1
  1087. package/src/duckdb/src/parser/transform/expression/transform_function.cpp +6 -1
  1088. package/src/duckdb/src/parser/transform/expression/transform_subquery.cpp +8 -11
  1089. package/src/duckdb/src/parser/transform/helpers/transform_cte.cpp +3 -0
  1090. package/src/duckdb/src/parser/transform/helpers/transform_typename.cpp +7 -5
  1091. package/src/duckdb/src/parser/transform/statement/transform_attach.cpp +4 -4
  1092. package/src/duckdb/src/parser/transform/statement/transform_copy.cpp +16 -80
  1093. package/src/duckdb/src/parser/transform/statement/transform_create_function.cpp +27 -22
  1094. package/src/duckdb/src/parser/transform/statement/transform_create_type.cpp +0 -1
  1095. package/src/duckdb/src/parser/transform/statement/transform_explain.cpp +1 -2
  1096. package/src/duckdb/src/parser/transform/statement/transform_insert.cpp +22 -14
  1097. package/src/duckdb/src/parser/transform/statement/transform_merge_into.cpp +111 -0
  1098. package/src/duckdb/src/parser/transform/statement/transform_pivot_stmt.cpp +2 -0
  1099. package/src/duckdb/src/parser/transform/statement/transform_pragma.cpp +1 -1
  1100. package/src/duckdb/src/parser/transform/statement/transform_show.cpp +22 -4
  1101. package/src/duckdb/src/parser/transform/tableref/transform_from.cpp +3 -1
  1102. package/src/duckdb/src/parser/transform/tableref/transform_join.cpp +12 -6
  1103. package/src/duckdb/src/parser/transform/tableref/transform_table_function.cpp +3 -3
  1104. package/src/duckdb/src/parser/transformer.cpp +8 -7
  1105. package/src/duckdb/src/planner/bind_context.cpp +19 -2
  1106. package/src/duckdb/src/planner/binder/expression/bind_aggregate_expression.cpp +13 -6
  1107. package/src/duckdb/src/planner/binder/expression/bind_columnref_expression.cpp +3 -0
  1108. package/src/duckdb/src/planner/binder/expression/bind_function_expression.cpp +18 -4
  1109. package/src/duckdb/src/planner/binder/expression/bind_macro_expression.cpp +8 -25
  1110. package/src/duckdb/src/planner/binder/expression/bind_operator_expression.cpp +31 -4
  1111. package/src/duckdb/src/planner/binder/expression/bind_unnest_expression.cpp +2 -0
  1112. package/src/duckdb/src/planner/binder/expression/bind_window_expression.cpp +48 -11
  1113. package/src/duckdb/src/planner/binder/query_node/bind_cte_node.cpp +9 -1
  1114. package/src/duckdb/src/planner/binder/query_node/bind_recursive_cte_node.cpp +4 -0
  1115. package/src/duckdb/src/planner/binder/query_node/bind_select_node.cpp +6 -6
  1116. package/src/duckdb/src/planner/binder/query_node/bind_table_macro_node.cpp +11 -26
  1117. package/src/duckdb/src/planner/binder/query_node/plan_cte_node.cpp +4 -3
  1118. package/src/duckdb/src/planner/binder/query_node/plan_subquery.cpp +10 -4
  1119. package/src/duckdb/src/planner/binder/statement/bind_attach.cpp +15 -0
  1120. package/src/duckdb/src/planner/binder/statement/bind_copy.cpp +239 -58
  1121. package/src/duckdb/src/planner/binder/statement/bind_create.cpp +157 -55
  1122. package/src/duckdb/src/planner/binder/statement/bind_create_table.cpp +30 -25
  1123. package/src/duckdb/src/planner/binder/statement/bind_delete.cpp +2 -3
  1124. package/src/duckdb/src/planner/binder/statement/bind_drop.cpp +28 -3
  1125. package/src/duckdb/src/planner/binder/statement/bind_export.cpp +36 -0
  1126. package/src/duckdb/src/planner/binder/statement/bind_insert.cpp +282 -322
  1127. package/src/duckdb/src/planner/binder/statement/bind_merge_into.cpp +335 -0
  1128. package/src/duckdb/src/planner/binder/statement/bind_update.cpp +23 -14
  1129. package/src/duckdb/src/planner/binder/tableref/bind_basetableref.cpp +37 -27
  1130. package/src/duckdb/src/planner/binder/tableref/bind_bound_table_ref.cpp +13 -0
  1131. package/src/duckdb/src/planner/binder/tableref/bind_column_data_ref.cpp +4 -1
  1132. package/src/duckdb/src/planner/binder/tableref/bind_pivot.cpp +120 -36
  1133. package/src/duckdb/src/planner/binder/tableref/bind_showref.cpp +30 -0
  1134. package/src/duckdb/src/planner/binder/tableref/bind_table_function.cpp +72 -1
  1135. package/src/duckdb/src/planner/binder/tableref/plan_joinref.cpp +7 -12
  1136. package/src/duckdb/src/planner/binder/tableref/plan_table_function.cpp +15 -1
  1137. package/src/duckdb/src/planner/binder.cpp +42 -175
  1138. package/src/duckdb/src/planner/bound_result_modifier.cpp +8 -0
  1139. package/src/duckdb/src/planner/collation_binding.cpp +2 -1
  1140. package/src/duckdb/src/planner/expression.cpp +1 -1
  1141. package/src/duckdb/src/planner/expression_binder/order_binder.cpp +4 -2
  1142. package/src/duckdb/src/planner/expression_binder/projection_binder.cpp +46 -0
  1143. package/src/duckdb/src/planner/expression_binder/table_function_binder.cpp +8 -6
  1144. package/src/duckdb/src/planner/expression_iterator.cpp +31 -0
  1145. package/src/duckdb/src/planner/logical_operator_deep_copy.cpp +264 -0
  1146. package/src/duckdb/src/planner/logical_operator_visitor.cpp +18 -4
  1147. package/src/duckdb/src/planner/operator/logical_aggregate.cpp +2 -1
  1148. package/src/duckdb/src/planner/operator/logical_comparison_join.cpp +4 -2
  1149. package/src/duckdb/src/planner/operator/logical_copy_to_file.cpp +3 -0
  1150. package/src/duckdb/src/planner/operator/logical_get.cpp +7 -2
  1151. package/src/duckdb/src/planner/operator/logical_insert.cpp +5 -2
  1152. package/src/duckdb/src/planner/operator/logical_join.cpp +6 -7
  1153. package/src/duckdb/src/planner/operator/logical_materialized_cte.cpp +1 -0
  1154. package/src/duckdb/src/planner/operator/logical_merge_into.cpp +43 -0
  1155. package/src/duckdb/src/planner/operator/logical_recursive_cte.cpp +8 -0
  1156. package/src/duckdb/src/planner/planner.cpp +4 -2
  1157. package/src/duckdb/src/planner/pragma_handler.cpp +1 -1
  1158. package/src/duckdb/src/planner/subquery/flatten_dependent_join.cpp +76 -7
  1159. package/src/duckdb/src/planner/table_binding.cpp +6 -12
  1160. package/src/duckdb/src/storage/block.cpp +2 -1
  1161. package/src/duckdb/src/storage/buffer/block_handle.cpp +7 -4
  1162. package/src/duckdb/src/storage/buffer/block_manager.cpp +14 -6
  1163. package/src/duckdb/src/storage/buffer/buffer_pool.cpp +2 -2
  1164. package/src/duckdb/src/storage/buffer_manager.cpp +45 -13
  1165. package/src/duckdb/src/storage/caching_file_system.cpp +20 -12
  1166. package/src/duckdb/src/storage/checkpoint/row_group_writer.cpp +26 -3
  1167. package/src/duckdb/src/storage/checkpoint/table_data_reader.cpp +3 -1
  1168. package/src/duckdb/src/storage/checkpoint/table_data_writer.cpp +56 -35
  1169. package/src/duckdb/src/storage/checkpoint/write_overflow_strings_to_disk.cpp +1 -1
  1170. package/src/duckdb/src/storage/checkpoint_manager.cpp +12 -11
  1171. package/src/duckdb/src/storage/compression/bitpacking.cpp +4 -1
  1172. package/src/duckdb/src/storage/compression/dict_fsst/compression.cpp +48 -25
  1173. package/src/duckdb/src/storage/compression/dict_fsst/decompression.cpp +10 -13
  1174. package/src/duckdb/src/storage/compression/dict_fsst.cpp +2 -2
  1175. package/src/duckdb/src/storage/compression/fixed_size_uncompressed.cpp +10 -5
  1176. package/src/duckdb/src/storage/compression/fsst.cpp +3 -2
  1177. package/src/duckdb/src/storage/compression/rle.cpp +1 -1
  1178. package/src/duckdb/src/storage/compression/zstd.cpp +5 -6
  1179. package/src/duckdb/src/storage/data_table.cpp +167 -144
  1180. package/src/duckdb/src/storage/external_file_cache.cpp +6 -6
  1181. package/src/duckdb/src/storage/local_storage.cpp +132 -68
  1182. package/src/duckdb/src/storage/magic_bytes.cpp +3 -2
  1183. package/src/duckdb/src/storage/metadata/metadata_manager.cpp +88 -17
  1184. package/src/duckdb/src/storage/metadata/metadata_reader.cpp +26 -3
  1185. package/src/duckdb/src/storage/metadata/metadata_writer.cpp +7 -0
  1186. package/src/duckdb/src/storage/open_file_storage_extension.cpp +3 -3
  1187. package/src/duckdb/src/storage/optimistic_data_writer.cpp +5 -3
  1188. package/src/duckdb/src/storage/partial_block_manager.cpp +26 -5
  1189. package/src/duckdb/src/storage/serialization/serialize_logical_operator.cpp +72 -22
  1190. package/src/duckdb/src/storage/serialization/serialize_macro_function.cpp +9 -3
  1191. package/src/duckdb/src/storage/serialization/serialize_query_node.cpp +2 -0
  1192. package/src/duckdb/src/storage/serialization/serialize_tableref.cpp +12 -2
  1193. package/src/duckdb/src/storage/serialization/serialize_types.cpp +14 -0
  1194. package/src/duckdb/src/storage/single_file_block_manager.cpp +381 -86
  1195. package/src/duckdb/src/storage/standard_buffer_manager.cpp +86 -30
  1196. package/src/duckdb/src/storage/statistics/base_statistics.cpp +3 -3
  1197. package/src/duckdb/src/storage/statistics/string_stats.cpp +2 -2
  1198. package/src/duckdb/src/storage/statistics/struct_stats.cpp +1 -1
  1199. package/src/duckdb/src/storage/storage_info.cpp +13 -7
  1200. package/src/duckdb/src/storage/storage_manager.cpp +110 -35
  1201. package/src/duckdb/src/storage/table/array_column_data.cpp +4 -0
  1202. package/src/duckdb/src/storage/table/column_checkpoint_state.cpp +22 -15
  1203. package/src/duckdb/src/storage/table/column_data.cpp +53 -14
  1204. package/src/duckdb/src/storage/table/column_data_checkpointer.cpp +17 -17
  1205. package/src/duckdb/src/storage/table/column_segment.cpp +23 -21
  1206. package/src/duckdb/src/storage/table/in_memory_checkpoint.cpp +136 -0
  1207. package/src/duckdb/src/storage/table/list_column_data.cpp +6 -1
  1208. package/src/duckdb/src/storage/table/row_group.cpp +226 -154
  1209. package/src/duckdb/src/storage/table/row_group_collection.cpp +146 -47
  1210. package/src/duckdb/src/storage/table/row_id_column_data.cpp +173 -0
  1211. package/src/duckdb/src/storage/table/row_version_manager.cpp +1 -1
  1212. package/src/duckdb/src/storage/table/standard_column_data.cpp +14 -2
  1213. package/src/duckdb/src/storage/table/struct_column_data.cpp +15 -0
  1214. package/src/duckdb/src/storage/table/update_segment.cpp +111 -5
  1215. package/src/duckdb/src/storage/table_index_list.cpp +137 -73
  1216. package/src/duckdb/src/storage/temporary_file_manager.cpp +103 -28
  1217. package/src/duckdb/src/storage/wal_replay.cpp +158 -36
  1218. package/src/duckdb/src/storage/write_ahead_log.cpp +102 -17
  1219. package/src/duckdb/src/transaction/commit_state.cpp +2 -0
  1220. package/src/duckdb/src/transaction/duck_transaction.cpp +12 -2
  1221. package/src/duckdb/src/transaction/duck_transaction_manager.cpp +66 -35
  1222. package/src/duckdb/src/transaction/meta_transaction.cpp +85 -23
  1223. package/src/duckdb/src/transaction/rollback_state.cpp +7 -0
  1224. package/src/duckdb/src/transaction/transaction_context.cpp +3 -4
  1225. package/src/duckdb/src/transaction/undo_buffer.cpp +5 -4
  1226. package/src/duckdb/src/transaction/undo_buffer_allocator.cpp +1 -0
  1227. package/src/duckdb/src/transaction/wal_write_state.cpp +2 -0
  1228. package/src/duckdb/src/verification/explain_statement_verifier.cpp +16 -0
  1229. package/src/duckdb/src/verification/prepared_statement_verifier.cpp +1 -1
  1230. package/src/duckdb/src/verification/statement_verifier.cpp +10 -5
  1231. package/src/duckdb/third_party/brotli/common/shared_dictionary.cpp +4 -4
  1232. package/src/duckdb/third_party/fmt/include/fmt/core.h +6 -12
  1233. package/src/duckdb/third_party/fmt/include/fmt/format-inl.h +5 -1
  1234. package/src/duckdb/third_party/fmt/include/fmt/format.h +34 -24
  1235. package/src/duckdb/third_party/fmt/include/fmt/printf.h +49 -21
  1236. package/src/duckdb/third_party/httplib/httplib.hpp +13 -5
  1237. package/src/duckdb/third_party/jaro_winkler/details/jaro_impl.hpp +4 -4
  1238. package/src/duckdb/third_party/libpg_query/include/nodes/nodes.hpp +3 -0
  1239. package/src/duckdb/third_party/libpg_query/include/nodes/parsenodes.hpp +56 -1
  1240. package/src/duckdb/third_party/libpg_query/include/parser/gram.hpp +744 -733
  1241. package/src/duckdb/third_party/libpg_query/include/parser/kwlist.hpp +6 -1
  1242. package/src/duckdb/third_party/libpg_query/src_backend_parser_gram.cpp +19098 -18654
  1243. package/src/duckdb/third_party/mbedtls/include/des_alt.h +1 -1
  1244. package/src/duckdb/third_party/mbedtls/include/mbedtls/aes_alt.h +1 -1
  1245. package/src/duckdb/third_party/mbedtls/include/mbedtls/aria_alt.h +1 -1
  1246. package/src/duckdb/third_party/mbedtls/include/mbedtls/block_cipher.h +1 -1
  1247. package/src/duckdb/third_party/mbedtls/include/mbedtls/build_info.h +4 -4
  1248. package/src/duckdb/third_party/mbedtls/include/mbedtls/camellia_alt.h +1 -1
  1249. package/src/duckdb/third_party/mbedtls/include/mbedtls/ccm_alt.h +1 -1
  1250. package/src/duckdb/third_party/mbedtls/include/mbedtls/chacha20.h +1 -1
  1251. package/src/duckdb/third_party/mbedtls/include/mbedtls/chachapoly.h +1 -1
  1252. package/src/duckdb/third_party/mbedtls/include/mbedtls/cmac.h +1 -1
  1253. package/src/duckdb/third_party/mbedtls/include/mbedtls/config_psa.h +1 -1
  1254. package/src/duckdb/third_party/mbedtls/include/mbedtls/ecdsa.h +1 -1
  1255. package/src/duckdb/third_party/mbedtls/include/mbedtls/gcm_alt.h +1 -1
  1256. package/src/duckdb/third_party/mbedtls/include/mbedtls/mbedtls_config.h +5 -1
  1257. package/src/duckdb/third_party/mbedtls/include/mbedtls/md5.h +1 -1
  1258. package/src/duckdb/third_party/mbedtls/include/mbedtls/nist_kw.h +1 -1
  1259. package/src/duckdb/third_party/mbedtls/include/mbedtls/pkcs12.h +1 -1
  1260. package/src/duckdb/third_party/mbedtls/include/mbedtls/pkcs5.h +1 -1
  1261. package/src/duckdb/third_party/mbedtls/include/mbedtls/psa_util.h +1 -1
  1262. package/src/duckdb/third_party/mbedtls/include/mbedtls/ripemd160.h +1 -1
  1263. package/src/duckdb/third_party/mbedtls/include/mbedtls/sha3.h +1 -1
  1264. package/src/duckdb/third_party/mbedtls/include/mbedtls/threading.h +1 -1
  1265. package/src/duckdb/third_party/mbedtls/include/mbedtls/timing.h +1 -1
  1266. package/src/duckdb/third_party/mbedtls/include/mbedtls_wrapper.hpp +16 -7
  1267. package/src/duckdb/third_party/mbedtls/include/platform_alt.h +1 -1
  1268. package/src/duckdb/third_party/mbedtls/include/psa/build_info.h +20 -0
  1269. package/src/duckdb/third_party/mbedtls/include/psa/crypto.h +1 -1
  1270. package/src/duckdb/third_party/mbedtls/include/psa/crypto_config.h +1 -1
  1271. package/src/duckdb/third_party/mbedtls/include/psa/crypto_se_driver.h +1 -0
  1272. package/src/duckdb/third_party/mbedtls/include/rsa_alt.h +1 -1
  1273. package/src/duckdb/third_party/mbedtls/include/sha1_alt.h +1 -1
  1274. package/src/duckdb/third_party/mbedtls/include/sha256_alt.h +1 -1
  1275. package/src/duckdb/third_party/mbedtls/include/sha512_alt.h +1 -1
  1276. package/src/duckdb/third_party/mbedtls/include/ssl_misc.h +1 -1
  1277. package/src/duckdb/third_party/mbedtls/library/aes.cpp +1 -1
  1278. package/src/duckdb/third_party/mbedtls/library/aesce.h +136 -1
  1279. package/src/duckdb/third_party/mbedtls/library/alignment.h +9 -9
  1280. package/src/duckdb/third_party/mbedtls/library/asn1parse.cpp +1 -1
  1281. package/src/duckdb/third_party/mbedtls/library/asn1write.cpp +6 -3
  1282. package/src/duckdb/third_party/mbedtls/library/base64.cpp +48 -24
  1283. package/src/duckdb/third_party/mbedtls/library/base64_internal.h +45 -1
  1284. package/src/duckdb/third_party/mbedtls/library/bignum.cpp +3 -3
  1285. package/src/duckdb/third_party/mbedtls/library/bignum_core.cpp +16 -14
  1286. package/src/duckdb/third_party/mbedtls/library/bignum_core.h +10 -18
  1287. package/src/duckdb/third_party/mbedtls/library/block_cipher_internal.h +99 -1
  1288. package/src/duckdb/third_party/mbedtls/library/check_crypto_config.h +141 -1
  1289. package/src/duckdb/third_party/mbedtls/library/cipher.cpp +18 -12
  1290. package/src/duckdb/third_party/mbedtls/library/cipher_invasive.h +1 -0
  1291. package/src/duckdb/third_party/mbedtls/library/cipher_wrap.cpp +110 -10
  1292. package/src/duckdb/third_party/mbedtls/library/cipher_wrap.h +1 -1
  1293. package/src/duckdb/third_party/mbedtls/library/common.h +20 -4
  1294. package/src/duckdb/third_party/mbedtls/library/constant_time.cpp +1 -1
  1295. package/src/duckdb/third_party/mbedtls/library/constant_time_impl.h +28 -43
  1296. package/src/duckdb/third_party/mbedtls/library/constant_time_internal.h +24 -24
  1297. package/src/duckdb/third_party/mbedtls/library/ctr.h +35 -1
  1298. package/src/duckdb/third_party/mbedtls/library/gcm.cpp +2 -2
  1299. package/src/duckdb/third_party/mbedtls/library/md.cpp +11 -11
  1300. package/src/duckdb/third_party/mbedtls/library/md_psa.h +1 -1
  1301. package/src/duckdb/third_party/mbedtls/library/oid.cpp +2 -2
  1302. package/src/duckdb/third_party/mbedtls/library/pem.cpp +5 -2
  1303. package/src/duckdb/third_party/mbedtls/library/pk.cpp +1 -5
  1304. package/src/duckdb/third_party/mbedtls/library/pk_internal.h +4 -4
  1305. package/src/duckdb/third_party/mbedtls/library/pk_wrap.cpp +16 -18
  1306. package/src/duckdb/third_party/mbedtls/library/pkwrite.h +121 -1
  1307. package/src/duckdb/third_party/mbedtls/library/psa_crypto_core.h +995 -1
  1308. package/src/duckdb/third_party/mbedtls/library/psa_util_internal.h +100 -1
  1309. package/src/duckdb/third_party/mbedtls/library/rsa.cpp +4 -4
  1310. package/src/duckdb/third_party/mbedtls/mbedtls_wrapper.cpp +114 -42
  1311. package/src/duckdb/third_party/parquet/parquet_types.cpp +2340 -769
  1312. package/src/duckdb/third_party/parquet/parquet_types.h +400 -4
  1313. package/src/duckdb/third_party/pdqsort/pdqsort.h +550 -0
  1314. package/src/duckdb/third_party/ska_sort/ska_sort.hpp +1494 -0
  1315. package/src/duckdb/third_party/snappy/snappy-stubs-internal.h +18 -18
  1316. package/src/duckdb/third_party/snappy/snappy.cc +6 -6
  1317. package/src/duckdb/third_party/thrift/thrift/protocol/TCompactProtocol.h +4 -4
  1318. package/src/duckdb/third_party/thrift/thrift/protocol/TCompactProtocol.tcc +36 -36
  1319. package/src/duckdb/third_party/utf8proc/include/utf8proc_wrapper.hpp +1 -1
  1320. package/src/duckdb/third_party/utf8proc/utf8proc_wrapper.cpp +1 -1
  1321. package/src/duckdb/third_party/vergesort/detail/insertion_sort.h +56 -0
  1322. package/src/duckdb/third_party/vergesort/detail/is_sorted_until.h +51 -0
  1323. package/src/duckdb/third_party/vergesort/detail/iter_sort3.h +48 -0
  1324. package/src/duckdb/third_party/vergesort/detail/log2.h +41 -0
  1325. package/src/duckdb/third_party/vergesort/detail/prevnext.h +68 -0
  1326. package/src/duckdb/third_party/vergesort/detail/quicksort.h +138 -0
  1327. package/src/duckdb/third_party/vergesort/vergesort.h +352 -0
  1328. package/src/duckdb/ub_extension_core_functions_scalar_generic.cpp +2 -0
  1329. package/src/duckdb/ub_extension_core_functions_scalar_struct.cpp +2 -0
  1330. package/src/duckdb/ub_extension_parquet_reader.cpp +2 -0
  1331. package/src/duckdb/ub_extension_parquet_reader_variant.cpp +6 -0
  1332. package/src/duckdb/ub_src_common.cpp +8 -0
  1333. package/src/duckdb/ub_src_common_arrow_appender.cpp +2 -0
  1334. package/src/duckdb/ub_src_common_progress_bar.cpp +2 -0
  1335. package/src/duckdb/ub_src_common_sorting.cpp +8 -0
  1336. package/src/duckdb/ub_src_common_tree_renderer.cpp +2 -0
  1337. package/src/duckdb/ub_src_common_types.cpp +1 -1
  1338. package/src/duckdb/ub_src_common_types_row.cpp +2 -0
  1339. package/src/duckdb/ub_src_execution_index_art.cpp +11 -9
  1340. package/src/duckdb/ub_src_execution_operator_persistent.cpp +2 -0
  1341. package/src/duckdb/ub_src_execution_physical_plan.cpp +2 -0
  1342. package/src/duckdb/ub_src_function.cpp +2 -0
  1343. package/src/duckdb/ub_src_function_cast.cpp +1 -1
  1344. package/src/duckdb/ub_src_function_cast_variant.cpp +6 -0
  1345. package/src/duckdb/ub_src_function_scalar_struct.cpp +2 -0
  1346. package/src/duckdb/ub_src_function_scalar_variant.cpp +6 -0
  1347. package/src/duckdb/ub_src_function_table.cpp +2 -0
  1348. package/src/duckdb/ub_src_function_table_system.cpp +4 -0
  1349. package/src/duckdb/ub_src_main.cpp +4 -0
  1350. package/src/duckdb/ub_src_main_capi.cpp +4 -0
  1351. package/src/duckdb/ub_src_optimizer.cpp +2 -0
  1352. package/src/duckdb/ub_src_optimizer_pushdown.cpp +2 -0
  1353. package/src/duckdb/ub_src_optimizer_rule.cpp +2 -0
  1354. package/src/duckdb/ub_src_parser_statement.cpp +2 -0
  1355. package/src/duckdb/ub_src_parser_tableref.cpp +2 -0
  1356. package/src/duckdb/ub_src_parser_transform_statement.cpp +2 -0
  1357. package/src/duckdb/ub_src_planner.cpp +2 -0
  1358. package/src/duckdb/ub_src_planner_binder_statement.cpp +2 -0
  1359. package/src/duckdb/ub_src_planner_binder_tableref.cpp +2 -0
  1360. package/src/duckdb/ub_src_planner_expression_binder.cpp +2 -0
  1361. package/src/duckdb/ub_src_planner_operator.cpp +2 -0
  1362. package/src/duckdb/ub_src_storage_table.cpp +4 -0
  1363. package/test/columns.test.ts +1 -1
  1364. package/test/exec.test.ts +3 -3
  1365. package/test/jsdoc.test.ts +2 -1
  1366. package/test/syntax_error.test.ts +1 -1
  1367. package/test/test_all_types.test.ts +1 -1
@@ -372,6 +372,41 @@ std::string to_string(const FieldRepetitionType::type& val) {
372
372
  }
373
373
  }
374
374
 
375
+ int _kEdgeInterpolationAlgorithmValues[] = {
376
+ EdgeInterpolationAlgorithm::SPHERICAL,
377
+ EdgeInterpolationAlgorithm::VINCENTY,
378
+ EdgeInterpolationAlgorithm::THOMAS,
379
+ EdgeInterpolationAlgorithm::ANDOYER,
380
+ EdgeInterpolationAlgorithm::KARNEY
381
+ };
382
+ const char* _kEdgeInterpolationAlgorithmNames[] = {
383
+ "SPHERICAL",
384
+ "VINCENTY",
385
+ "THOMAS",
386
+ "ANDOYER",
387
+ "KARNEY"
388
+ };
389
+ const std::map<int, const char*> _EdgeInterpolationAlgorithm_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(5, _kEdgeInterpolationAlgorithmValues, _kEdgeInterpolationAlgorithmNames), ::apache::thrift::TEnumIterator(-1, nullptr, nullptr));
390
+
391
+ std::ostream& operator<<(std::ostream& out, const EdgeInterpolationAlgorithm::type& val) {
392
+ std::map<int, const char*>::const_iterator it = _EdgeInterpolationAlgorithm_VALUES_TO_NAMES.find(val);
393
+ if (it != _EdgeInterpolationAlgorithm_VALUES_TO_NAMES.end()) {
394
+ out << it->second;
395
+ } else {
396
+ out << static_cast<int>(val);
397
+ }
398
+ return out;
399
+ }
400
+
401
+ std::string to_string(const EdgeInterpolationAlgorithm::type& val) {
402
+ std::map<int, const char*>::const_iterator it = _EdgeInterpolationAlgorithm_VALUES_TO_NAMES.find(val);
403
+ if (it != _EdgeInterpolationAlgorithm_VALUES_TO_NAMES.end()) {
404
+ return std::string(it->second);
405
+ } else {
406
+ return std::to_string(static_cast<int>(val));
407
+ }
408
+ }
409
+
375
410
  int _kEncodingValues[] = {
376
411
  /**
377
412
  * Default encoding.
@@ -785,11 +820,24 @@ SizeStatistics::SizeStatistics(const SizeStatistics& other12) {
785
820
  definition_level_histogram = other12.definition_level_histogram;
786
821
  __isset = other12.__isset;
787
822
  }
788
- SizeStatistics& SizeStatistics::operator=(const SizeStatistics& other13) {
823
+ SizeStatistics::SizeStatistics(SizeStatistics&& other13) noexcept {
789
824
  unencoded_byte_array_data_bytes = other13.unencoded_byte_array_data_bytes;
790
- repetition_level_histogram = other13.repetition_level_histogram;
791
- definition_level_histogram = other13.definition_level_histogram;
825
+ repetition_level_histogram = std::move(other13.repetition_level_histogram);
826
+ definition_level_histogram = std::move(other13.definition_level_histogram);
792
827
  __isset = other13.__isset;
828
+ }
829
+ SizeStatistics& SizeStatistics::operator=(const SizeStatistics& other14) {
830
+ unencoded_byte_array_data_bytes = other14.unencoded_byte_array_data_bytes;
831
+ repetition_level_histogram = other14.repetition_level_histogram;
832
+ definition_level_histogram = other14.definition_level_histogram;
833
+ __isset = other14.__isset;
834
+ return *this;
835
+ }
836
+ SizeStatistics& SizeStatistics::operator=(SizeStatistics&& other15) noexcept {
837
+ unencoded_byte_array_data_bytes = other15.unencoded_byte_array_data_bytes;
838
+ repetition_level_histogram = std::move(other15.repetition_level_histogram);
839
+ definition_level_histogram = std::move(other15.definition_level_histogram);
840
+ __isset = other15.__isset;
793
841
  return *this;
794
842
  }
795
843
  void SizeStatistics::printTo(std::ostream& out) const {
@@ -802,6 +850,440 @@ void SizeStatistics::printTo(std::ostream& out) const {
802
850
  }
803
851
 
804
852
 
853
+ BoundingBox::~BoundingBox() noexcept {
854
+ }
855
+
856
+ BoundingBox::BoundingBox() noexcept
857
+ : xmin(0),
858
+ xmax(0),
859
+ ymin(0),
860
+ ymax(0),
861
+ zmin(0),
862
+ zmax(0),
863
+ mmin(0),
864
+ mmax(0) {
865
+ }
866
+
867
+ void BoundingBox::__set_xmin(const double val) {
868
+ this->xmin = val;
869
+ }
870
+
871
+ void BoundingBox::__set_xmax(const double val) {
872
+ this->xmax = val;
873
+ }
874
+
875
+ void BoundingBox::__set_ymin(const double val) {
876
+ this->ymin = val;
877
+ }
878
+
879
+ void BoundingBox::__set_ymax(const double val) {
880
+ this->ymax = val;
881
+ }
882
+
883
+ void BoundingBox::__set_zmin(const double val) {
884
+ this->zmin = val;
885
+ __isset.zmin = true;
886
+ }
887
+
888
+ void BoundingBox::__set_zmax(const double val) {
889
+ this->zmax = val;
890
+ __isset.zmax = true;
891
+ }
892
+
893
+ void BoundingBox::__set_mmin(const double val) {
894
+ this->mmin = val;
895
+ __isset.mmin = true;
896
+ }
897
+
898
+ void BoundingBox::__set_mmax(const double val) {
899
+ this->mmax = val;
900
+ __isset.mmax = true;
901
+ }
902
+ std::ostream& operator<<(std::ostream& out, const BoundingBox& obj)
903
+ {
904
+ obj.printTo(out);
905
+ return out;
906
+ }
907
+
908
+
909
+ uint32_t BoundingBox::read(::apache::thrift::protocol::TProtocol* iprot) {
910
+
911
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
912
+ uint32_t xfer = 0;
913
+ std::string fname;
914
+ ::apache::thrift::protocol::TType ftype;
915
+ int16_t fid;
916
+
917
+ xfer += iprot->readStructBegin(fname);
918
+
919
+ using ::apache::thrift::protocol::TProtocolException;
920
+
921
+ bool isset_xmin = false;
922
+ bool isset_xmax = false;
923
+ bool isset_ymin = false;
924
+ bool isset_ymax = false;
925
+
926
+ while (true)
927
+ {
928
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
929
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
930
+ break;
931
+ }
932
+ switch (fid)
933
+ {
934
+ case 1:
935
+ if (ftype == ::apache::thrift::protocol::T_DOUBLE) {
936
+ xfer += iprot->readDouble(this->xmin);
937
+ isset_xmin = true;
938
+ } else {
939
+ xfer += iprot->skip(ftype);
940
+ }
941
+ break;
942
+ case 2:
943
+ if (ftype == ::apache::thrift::protocol::T_DOUBLE) {
944
+ xfer += iprot->readDouble(this->xmax);
945
+ isset_xmax = true;
946
+ } else {
947
+ xfer += iprot->skip(ftype);
948
+ }
949
+ break;
950
+ case 3:
951
+ if (ftype == ::apache::thrift::protocol::T_DOUBLE) {
952
+ xfer += iprot->readDouble(this->ymin);
953
+ isset_ymin = true;
954
+ } else {
955
+ xfer += iprot->skip(ftype);
956
+ }
957
+ break;
958
+ case 4:
959
+ if (ftype == ::apache::thrift::protocol::T_DOUBLE) {
960
+ xfer += iprot->readDouble(this->ymax);
961
+ isset_ymax = true;
962
+ } else {
963
+ xfer += iprot->skip(ftype);
964
+ }
965
+ break;
966
+ case 5:
967
+ if (ftype == ::apache::thrift::protocol::T_DOUBLE) {
968
+ xfer += iprot->readDouble(this->zmin);
969
+ this->__isset.zmin = true;
970
+ } else {
971
+ xfer += iprot->skip(ftype);
972
+ }
973
+ break;
974
+ case 6:
975
+ if (ftype == ::apache::thrift::protocol::T_DOUBLE) {
976
+ xfer += iprot->readDouble(this->zmax);
977
+ this->__isset.zmax = true;
978
+ } else {
979
+ xfer += iprot->skip(ftype);
980
+ }
981
+ break;
982
+ case 7:
983
+ if (ftype == ::apache::thrift::protocol::T_DOUBLE) {
984
+ xfer += iprot->readDouble(this->mmin);
985
+ this->__isset.mmin = true;
986
+ } else {
987
+ xfer += iprot->skip(ftype);
988
+ }
989
+ break;
990
+ case 8:
991
+ if (ftype == ::apache::thrift::protocol::T_DOUBLE) {
992
+ xfer += iprot->readDouble(this->mmax);
993
+ this->__isset.mmax = true;
994
+ } else {
995
+ xfer += iprot->skip(ftype);
996
+ }
997
+ break;
998
+ default:
999
+ xfer += iprot->skip(ftype);
1000
+ break;
1001
+ }
1002
+ xfer += iprot->readFieldEnd();
1003
+ }
1004
+
1005
+ xfer += iprot->readStructEnd();
1006
+
1007
+ if (!isset_xmin)
1008
+ throw TProtocolException(TProtocolException::INVALID_DATA);
1009
+ if (!isset_xmax)
1010
+ throw TProtocolException(TProtocolException::INVALID_DATA);
1011
+ if (!isset_ymin)
1012
+ throw TProtocolException(TProtocolException::INVALID_DATA);
1013
+ if (!isset_ymax)
1014
+ throw TProtocolException(TProtocolException::INVALID_DATA);
1015
+ return xfer;
1016
+ }
1017
+
1018
+ uint32_t BoundingBox::write(::apache::thrift::protocol::TProtocol* oprot) const {
1019
+ uint32_t xfer = 0;
1020
+ ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
1021
+ xfer += oprot->writeStructBegin("BoundingBox");
1022
+
1023
+ xfer += oprot->writeFieldBegin("xmin", ::apache::thrift::protocol::T_DOUBLE, 1);
1024
+ xfer += oprot->writeDouble(this->xmin);
1025
+ xfer += oprot->writeFieldEnd();
1026
+
1027
+ xfer += oprot->writeFieldBegin("xmax", ::apache::thrift::protocol::T_DOUBLE, 2);
1028
+ xfer += oprot->writeDouble(this->xmax);
1029
+ xfer += oprot->writeFieldEnd();
1030
+
1031
+ xfer += oprot->writeFieldBegin("ymin", ::apache::thrift::protocol::T_DOUBLE, 3);
1032
+ xfer += oprot->writeDouble(this->ymin);
1033
+ xfer += oprot->writeFieldEnd();
1034
+
1035
+ xfer += oprot->writeFieldBegin("ymax", ::apache::thrift::protocol::T_DOUBLE, 4);
1036
+ xfer += oprot->writeDouble(this->ymax);
1037
+ xfer += oprot->writeFieldEnd();
1038
+
1039
+ if (this->__isset.zmin) {
1040
+ xfer += oprot->writeFieldBegin("zmin", ::apache::thrift::protocol::T_DOUBLE, 5);
1041
+ xfer += oprot->writeDouble(this->zmin);
1042
+ xfer += oprot->writeFieldEnd();
1043
+ }
1044
+ if (this->__isset.zmax) {
1045
+ xfer += oprot->writeFieldBegin("zmax", ::apache::thrift::protocol::T_DOUBLE, 6);
1046
+ xfer += oprot->writeDouble(this->zmax);
1047
+ xfer += oprot->writeFieldEnd();
1048
+ }
1049
+ if (this->__isset.mmin) {
1050
+ xfer += oprot->writeFieldBegin("mmin", ::apache::thrift::protocol::T_DOUBLE, 7);
1051
+ xfer += oprot->writeDouble(this->mmin);
1052
+ xfer += oprot->writeFieldEnd();
1053
+ }
1054
+ if (this->__isset.mmax) {
1055
+ xfer += oprot->writeFieldBegin("mmax", ::apache::thrift::protocol::T_DOUBLE, 8);
1056
+ xfer += oprot->writeDouble(this->mmax);
1057
+ xfer += oprot->writeFieldEnd();
1058
+ }
1059
+ xfer += oprot->writeFieldStop();
1060
+ xfer += oprot->writeStructEnd();
1061
+ return xfer;
1062
+ }
1063
+
1064
+ void swap(BoundingBox &a, BoundingBox &b) {
1065
+ using ::std::swap;
1066
+ swap(a.xmin, b.xmin);
1067
+ swap(a.xmax, b.xmax);
1068
+ swap(a.ymin, b.ymin);
1069
+ swap(a.ymax, b.ymax);
1070
+ swap(a.zmin, b.zmin);
1071
+ swap(a.zmax, b.zmax);
1072
+ swap(a.mmin, b.mmin);
1073
+ swap(a.mmax, b.mmax);
1074
+ swap(a.__isset, b.__isset);
1075
+ }
1076
+
1077
+ BoundingBox::BoundingBox(const BoundingBox& other16) noexcept {
1078
+ xmin = other16.xmin;
1079
+ xmax = other16.xmax;
1080
+ ymin = other16.ymin;
1081
+ ymax = other16.ymax;
1082
+ zmin = other16.zmin;
1083
+ zmax = other16.zmax;
1084
+ mmin = other16.mmin;
1085
+ mmax = other16.mmax;
1086
+ __isset = other16.__isset;
1087
+ }
1088
+ BoundingBox::BoundingBox(BoundingBox&& other17) noexcept {
1089
+ xmin = other17.xmin;
1090
+ xmax = other17.xmax;
1091
+ ymin = other17.ymin;
1092
+ ymax = other17.ymax;
1093
+ zmin = other17.zmin;
1094
+ zmax = other17.zmax;
1095
+ mmin = other17.mmin;
1096
+ mmax = other17.mmax;
1097
+ __isset = other17.__isset;
1098
+ }
1099
+ BoundingBox& BoundingBox::operator=(const BoundingBox& other18) noexcept {
1100
+ xmin = other18.xmin;
1101
+ xmax = other18.xmax;
1102
+ ymin = other18.ymin;
1103
+ ymax = other18.ymax;
1104
+ zmin = other18.zmin;
1105
+ zmax = other18.zmax;
1106
+ mmin = other18.mmin;
1107
+ mmax = other18.mmax;
1108
+ __isset = other18.__isset;
1109
+ return *this;
1110
+ }
1111
+ BoundingBox& BoundingBox::operator=(BoundingBox&& other19) noexcept {
1112
+ xmin = other19.xmin;
1113
+ xmax = other19.xmax;
1114
+ ymin = other19.ymin;
1115
+ ymax = other19.ymax;
1116
+ zmin = other19.zmin;
1117
+ zmax = other19.zmax;
1118
+ mmin = other19.mmin;
1119
+ mmax = other19.mmax;
1120
+ __isset = other19.__isset;
1121
+ return *this;
1122
+ }
1123
+ void BoundingBox::printTo(std::ostream& out) const {
1124
+ using ::apache::thrift::to_string;
1125
+ out << "BoundingBox(";
1126
+ out << "xmin=" << to_string(xmin);
1127
+ out << ", " << "xmax=" << to_string(xmax);
1128
+ out << ", " << "ymin=" << to_string(ymin);
1129
+ out << ", " << "ymax=" << to_string(ymax);
1130
+ out << ", " << "zmin="; (__isset.zmin ? (out << to_string(zmin)) : (out << "<null>"));
1131
+ out << ", " << "zmax="; (__isset.zmax ? (out << to_string(zmax)) : (out << "<null>"));
1132
+ out << ", " << "mmin="; (__isset.mmin ? (out << to_string(mmin)) : (out << "<null>"));
1133
+ out << ", " << "mmax="; (__isset.mmax ? (out << to_string(mmax)) : (out << "<null>"));
1134
+ out << ")";
1135
+ }
1136
+
1137
+
1138
+ GeospatialStatistics::~GeospatialStatistics() noexcept {
1139
+ }
1140
+
1141
+ GeospatialStatistics::GeospatialStatistics() noexcept {
1142
+ }
1143
+
1144
+ void GeospatialStatistics::__set_bbox(const BoundingBox& val) {
1145
+ this->bbox = val;
1146
+ __isset.bbox = true;
1147
+ }
1148
+
1149
+ void GeospatialStatistics::__set_geospatial_types(const duckdb::vector<int32_t> & val) {
1150
+ this->geospatial_types = val;
1151
+ __isset.geospatial_types = true;
1152
+ }
1153
+ std::ostream& operator<<(std::ostream& out, const GeospatialStatistics& obj)
1154
+ {
1155
+ obj.printTo(out);
1156
+ return out;
1157
+ }
1158
+
1159
+
1160
+ uint32_t GeospatialStatistics::read(::apache::thrift::protocol::TProtocol* iprot) {
1161
+
1162
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
1163
+ uint32_t xfer = 0;
1164
+ std::string fname;
1165
+ ::apache::thrift::protocol::TType ftype;
1166
+ int16_t fid;
1167
+
1168
+ xfer += iprot->readStructBegin(fname);
1169
+
1170
+ using ::apache::thrift::protocol::TProtocolException;
1171
+
1172
+
1173
+ while (true)
1174
+ {
1175
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
1176
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
1177
+ break;
1178
+ }
1179
+ switch (fid)
1180
+ {
1181
+ case 1:
1182
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
1183
+ xfer += this->bbox.read(iprot);
1184
+ this->__isset.bbox = true;
1185
+ } else {
1186
+ xfer += iprot->skip(ftype);
1187
+ }
1188
+ break;
1189
+ case 2:
1190
+ if (ftype == ::apache::thrift::protocol::T_LIST) {
1191
+ {
1192
+ this->geospatial_types.clear();
1193
+ uint32_t _size20;
1194
+ ::apache::thrift::protocol::TType _etype23;
1195
+ xfer += iprot->readListBegin(_etype23, _size20);
1196
+ this->geospatial_types.resize(_size20);
1197
+ uint32_t _i24;
1198
+ for (_i24 = 0; _i24 < _size20; ++_i24)
1199
+ {
1200
+ xfer += iprot->readI32(this->geospatial_types[_i24]);
1201
+ }
1202
+ xfer += iprot->readListEnd();
1203
+ }
1204
+ this->__isset.geospatial_types = true;
1205
+ } else {
1206
+ xfer += iprot->skip(ftype);
1207
+ }
1208
+ break;
1209
+ default:
1210
+ xfer += iprot->skip(ftype);
1211
+ break;
1212
+ }
1213
+ xfer += iprot->readFieldEnd();
1214
+ }
1215
+
1216
+ xfer += iprot->readStructEnd();
1217
+
1218
+ return xfer;
1219
+ }
1220
+
1221
+ uint32_t GeospatialStatistics::write(::apache::thrift::protocol::TProtocol* oprot) const {
1222
+ uint32_t xfer = 0;
1223
+ ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
1224
+ xfer += oprot->writeStructBegin("GeospatialStatistics");
1225
+
1226
+ if (this->__isset.bbox) {
1227
+ xfer += oprot->writeFieldBegin("bbox", ::apache::thrift::protocol::T_STRUCT, 1);
1228
+ xfer += this->bbox.write(oprot);
1229
+ xfer += oprot->writeFieldEnd();
1230
+ }
1231
+ if (this->__isset.geospatial_types) {
1232
+ xfer += oprot->writeFieldBegin("geospatial_types", ::apache::thrift::protocol::T_LIST, 2);
1233
+ {
1234
+ xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->geospatial_types.size()));
1235
+ duckdb::vector<int32_t> ::const_iterator _iter25;
1236
+ for (_iter25 = this->geospatial_types.begin(); _iter25 != this->geospatial_types.end(); ++_iter25)
1237
+ {
1238
+ xfer += oprot->writeI32((*_iter25));
1239
+ }
1240
+ xfer += oprot->writeListEnd();
1241
+ }
1242
+ xfer += oprot->writeFieldEnd();
1243
+ }
1244
+ xfer += oprot->writeFieldStop();
1245
+ xfer += oprot->writeStructEnd();
1246
+ return xfer;
1247
+ }
1248
+
1249
+ void swap(GeospatialStatistics &a, GeospatialStatistics &b) {
1250
+ using ::std::swap;
1251
+ swap(a.bbox, b.bbox);
1252
+ swap(a.geospatial_types, b.geospatial_types);
1253
+ swap(a.__isset, b.__isset);
1254
+ }
1255
+
1256
+ GeospatialStatistics::GeospatialStatistics(const GeospatialStatistics& other26) {
1257
+ bbox = other26.bbox;
1258
+ geospatial_types = other26.geospatial_types;
1259
+ __isset = other26.__isset;
1260
+ }
1261
+ GeospatialStatistics::GeospatialStatistics(GeospatialStatistics&& other27) noexcept {
1262
+ bbox = std::move(other27.bbox);
1263
+ geospatial_types = std::move(other27.geospatial_types);
1264
+ __isset = other27.__isset;
1265
+ }
1266
+ GeospatialStatistics& GeospatialStatistics::operator=(const GeospatialStatistics& other28) {
1267
+ bbox = other28.bbox;
1268
+ geospatial_types = other28.geospatial_types;
1269
+ __isset = other28.__isset;
1270
+ return *this;
1271
+ }
1272
+ GeospatialStatistics& GeospatialStatistics::operator=(GeospatialStatistics&& other29) noexcept {
1273
+ bbox = std::move(other29.bbox);
1274
+ geospatial_types = std::move(other29.geospatial_types);
1275
+ __isset = other29.__isset;
1276
+ return *this;
1277
+ }
1278
+ void GeospatialStatistics::printTo(std::ostream& out) const {
1279
+ using ::apache::thrift::to_string;
1280
+ out << "GeospatialStatistics(";
1281
+ out << "bbox="; (__isset.bbox ? (out << to_string(bbox)) : (out << "<null>"));
1282
+ out << ", " << "geospatial_types="; (__isset.geospatial_types ? (out << to_string(geospatial_types)) : (out << "<null>"));
1283
+ out << ")";
1284
+ }
1285
+
1286
+
805
1287
  Statistics::~Statistics() noexcept {
806
1288
  }
807
1289
 
@@ -1022,27 +1504,50 @@ void swap(Statistics &a, Statistics &b) {
1022
1504
  swap(a.__isset, b.__isset);
1023
1505
  }
1024
1506
 
1025
- Statistics::Statistics(const Statistics& other14) {
1026
- max = other14.max;
1027
- min = other14.min;
1028
- null_count = other14.null_count;
1029
- distinct_count = other14.distinct_count;
1030
- max_value = other14.max_value;
1031
- min_value = other14.min_value;
1032
- is_max_value_exact = other14.is_max_value_exact;
1033
- is_min_value_exact = other14.is_min_value_exact;
1034
- __isset = other14.__isset;
1507
+ Statistics::Statistics(const Statistics& other30) {
1508
+ max = other30.max;
1509
+ min = other30.min;
1510
+ null_count = other30.null_count;
1511
+ distinct_count = other30.distinct_count;
1512
+ max_value = other30.max_value;
1513
+ min_value = other30.min_value;
1514
+ is_max_value_exact = other30.is_max_value_exact;
1515
+ is_min_value_exact = other30.is_min_value_exact;
1516
+ __isset = other30.__isset;
1517
+ }
1518
+ Statistics::Statistics(Statistics&& other31) noexcept {
1519
+ max = std::move(other31.max);
1520
+ min = std::move(other31.min);
1521
+ null_count = other31.null_count;
1522
+ distinct_count = other31.distinct_count;
1523
+ max_value = std::move(other31.max_value);
1524
+ min_value = std::move(other31.min_value);
1525
+ is_max_value_exact = other31.is_max_value_exact;
1526
+ is_min_value_exact = other31.is_min_value_exact;
1527
+ __isset = other31.__isset;
1528
+ }
1529
+ Statistics& Statistics::operator=(const Statistics& other32) {
1530
+ max = other32.max;
1531
+ min = other32.min;
1532
+ null_count = other32.null_count;
1533
+ distinct_count = other32.distinct_count;
1534
+ max_value = other32.max_value;
1535
+ min_value = other32.min_value;
1536
+ is_max_value_exact = other32.is_max_value_exact;
1537
+ is_min_value_exact = other32.is_min_value_exact;
1538
+ __isset = other32.__isset;
1539
+ return *this;
1035
1540
  }
1036
- Statistics& Statistics::operator=(const Statistics& other15) {
1037
- max = other15.max;
1038
- min = other15.min;
1039
- null_count = other15.null_count;
1040
- distinct_count = other15.distinct_count;
1041
- max_value = other15.max_value;
1042
- min_value = other15.min_value;
1043
- is_max_value_exact = other15.is_max_value_exact;
1044
- is_min_value_exact = other15.is_min_value_exact;
1045
- __isset = other15.__isset;
1541
+ Statistics& Statistics::operator=(Statistics&& other33) noexcept {
1542
+ max = std::move(other33.max);
1543
+ min = std::move(other33.min);
1544
+ null_count = other33.null_count;
1545
+ distinct_count = other33.distinct_count;
1546
+ max_value = std::move(other33.max_value);
1547
+ min_value = std::move(other33.min_value);
1548
+ is_max_value_exact = other33.is_max_value_exact;
1549
+ is_min_value_exact = other33.is_min_value_exact;
1550
+ __isset = other33.__isset;
1046
1551
  return *this;
1047
1552
  }
1048
1553
  void Statistics::printTo(std::ostream& out) const {
@@ -1116,11 +1621,18 @@ void swap(StringType &a, StringType &b) {
1116
1621
  (void) b;
1117
1622
  }
1118
1623
 
1119
- StringType::StringType(const StringType& other16) noexcept {
1120
- (void) other16;
1624
+ StringType::StringType(const StringType& other34) noexcept {
1625
+ (void) other34;
1626
+ }
1627
+ StringType::StringType(StringType&& other35) noexcept {
1628
+ (void) other35;
1121
1629
  }
1122
- StringType& StringType::operator=(const StringType& other17) noexcept {
1123
- (void) other17;
1630
+ StringType& StringType::operator=(const StringType& other36) noexcept {
1631
+ (void) other36;
1632
+ return *this;
1633
+ }
1634
+ StringType& StringType::operator=(StringType&& other37) noexcept {
1635
+ (void) other37;
1124
1636
  return *this;
1125
1637
  }
1126
1638
  void StringType::printTo(std::ostream& out) const {
@@ -1186,11 +1698,18 @@ void swap(UUIDType &a, UUIDType &b) {
1186
1698
  (void) b;
1187
1699
  }
1188
1700
 
1189
- UUIDType::UUIDType(const UUIDType& other18) noexcept {
1190
- (void) other18;
1701
+ UUIDType::UUIDType(const UUIDType& other38) noexcept {
1702
+ (void) other38;
1703
+ }
1704
+ UUIDType::UUIDType(UUIDType&& other39) noexcept {
1705
+ (void) other39;
1191
1706
  }
1192
- UUIDType& UUIDType::operator=(const UUIDType& other19) noexcept {
1193
- (void) other19;
1707
+ UUIDType& UUIDType::operator=(const UUIDType& other40) noexcept {
1708
+ (void) other40;
1709
+ return *this;
1710
+ }
1711
+ UUIDType& UUIDType::operator=(UUIDType&& other41) noexcept {
1712
+ (void) other41;
1194
1713
  return *this;
1195
1714
  }
1196
1715
  void UUIDType::printTo(std::ostream& out) const {
@@ -1256,11 +1775,18 @@ void swap(MapType &a, MapType &b) {
1256
1775
  (void) b;
1257
1776
  }
1258
1777
 
1259
- MapType::MapType(const MapType& other20) noexcept {
1260
- (void) other20;
1778
+ MapType::MapType(const MapType& other42) noexcept {
1779
+ (void) other42;
1780
+ }
1781
+ MapType::MapType(MapType&& other43) noexcept {
1782
+ (void) other43;
1261
1783
  }
1262
- MapType& MapType::operator=(const MapType& other21) noexcept {
1263
- (void) other21;
1784
+ MapType& MapType::operator=(const MapType& other44) noexcept {
1785
+ (void) other44;
1786
+ return *this;
1787
+ }
1788
+ MapType& MapType::operator=(MapType&& other45) noexcept {
1789
+ (void) other45;
1264
1790
  return *this;
1265
1791
  }
1266
1792
  void MapType::printTo(std::ostream& out) const {
@@ -1326,11 +1852,18 @@ void swap(ListType &a, ListType &b) {
1326
1852
  (void) b;
1327
1853
  }
1328
1854
 
1329
- ListType::ListType(const ListType& other22) noexcept {
1330
- (void) other22;
1855
+ ListType::ListType(const ListType& other46) noexcept {
1856
+ (void) other46;
1857
+ }
1858
+ ListType::ListType(ListType&& other47) noexcept {
1859
+ (void) other47;
1331
1860
  }
1332
- ListType& ListType::operator=(const ListType& other23) noexcept {
1333
- (void) other23;
1861
+ ListType& ListType::operator=(const ListType& other48) noexcept {
1862
+ (void) other48;
1863
+ return *this;
1864
+ }
1865
+ ListType& ListType::operator=(ListType&& other49) noexcept {
1866
+ (void) other49;
1334
1867
  return *this;
1335
1868
  }
1336
1869
  void ListType::printTo(std::ostream& out) const {
@@ -1396,11 +1929,18 @@ void swap(EnumType &a, EnumType &b) {
1396
1929
  (void) b;
1397
1930
  }
1398
1931
 
1399
- EnumType::EnumType(const EnumType& other24) noexcept {
1400
- (void) other24;
1932
+ EnumType::EnumType(const EnumType& other50) noexcept {
1933
+ (void) other50;
1934
+ }
1935
+ EnumType::EnumType(EnumType&& other51) noexcept {
1936
+ (void) other51;
1937
+ }
1938
+ EnumType& EnumType::operator=(const EnumType& other52) noexcept {
1939
+ (void) other52;
1940
+ return *this;
1401
1941
  }
1402
- EnumType& EnumType::operator=(const EnumType& other25) noexcept {
1403
- (void) other25;
1942
+ EnumType& EnumType::operator=(EnumType&& other53) noexcept {
1943
+ (void) other53;
1404
1944
  return *this;
1405
1945
  }
1406
1946
  void EnumType::printTo(std::ostream& out) const {
@@ -1466,11 +2006,18 @@ void swap(DateType &a, DateType &b) {
1466
2006
  (void) b;
1467
2007
  }
1468
2008
 
1469
- DateType::DateType(const DateType& other26) noexcept {
1470
- (void) other26;
2009
+ DateType::DateType(const DateType& other54) noexcept {
2010
+ (void) other54;
2011
+ }
2012
+ DateType::DateType(DateType&& other55) noexcept {
2013
+ (void) other55;
2014
+ }
2015
+ DateType& DateType::operator=(const DateType& other56) noexcept {
2016
+ (void) other56;
2017
+ return *this;
1471
2018
  }
1472
- DateType& DateType::operator=(const DateType& other27) noexcept {
1473
- (void) other27;
2019
+ DateType& DateType::operator=(DateType&& other57) noexcept {
2020
+ (void) other57;
1474
2021
  return *this;
1475
2022
  }
1476
2023
  void DateType::printTo(std::ostream& out) const {
@@ -1536,11 +2083,18 @@ void swap(Float16Type &a, Float16Type &b) {
1536
2083
  (void) b;
1537
2084
  }
1538
2085
 
1539
- Float16Type::Float16Type(const Float16Type& other28) noexcept {
1540
- (void) other28;
2086
+ Float16Type::Float16Type(const Float16Type& other58) noexcept {
2087
+ (void) other58;
1541
2088
  }
1542
- Float16Type& Float16Type::operator=(const Float16Type& other29) noexcept {
1543
- (void) other29;
2089
+ Float16Type::Float16Type(Float16Type&& other59) noexcept {
2090
+ (void) other59;
2091
+ }
2092
+ Float16Type& Float16Type::operator=(const Float16Type& other60) noexcept {
2093
+ (void) other60;
2094
+ return *this;
2095
+ }
2096
+ Float16Type& Float16Type::operator=(Float16Type&& other61) noexcept {
2097
+ (void) other61;
1544
2098
  return *this;
1545
2099
  }
1546
2100
  void Float16Type::printTo(std::ostream& out) const {
@@ -1606,11 +2160,18 @@ void swap(NullType &a, NullType &b) {
1606
2160
  (void) b;
1607
2161
  }
1608
2162
 
1609
- NullType::NullType(const NullType& other30) noexcept {
1610
- (void) other30;
2163
+ NullType::NullType(const NullType& other62) noexcept {
2164
+ (void) other62;
2165
+ }
2166
+ NullType::NullType(NullType&& other63) noexcept {
2167
+ (void) other63;
1611
2168
  }
1612
- NullType& NullType::operator=(const NullType& other31) noexcept {
1613
- (void) other31;
2169
+ NullType& NullType::operator=(const NullType& other64) noexcept {
2170
+ (void) other64;
2171
+ return *this;
2172
+ }
2173
+ NullType& NullType::operator=(NullType&& other65) noexcept {
2174
+ (void) other65;
1614
2175
  return *this;
1615
2176
  }
1616
2177
  void NullType::printTo(std::ostream& out) const {
@@ -1721,13 +2282,22 @@ void swap(DecimalType &a, DecimalType &b) {
1721
2282
  swap(a.precision, b.precision);
1722
2283
  }
1723
2284
 
1724
- DecimalType::DecimalType(const DecimalType& other32) noexcept {
1725
- scale = other32.scale;
1726
- precision = other32.precision;
2285
+ DecimalType::DecimalType(const DecimalType& other66) noexcept {
2286
+ scale = other66.scale;
2287
+ precision = other66.precision;
1727
2288
  }
1728
- DecimalType& DecimalType::operator=(const DecimalType& other33) noexcept {
1729
- scale = other33.scale;
1730
- precision = other33.precision;
2289
+ DecimalType::DecimalType(DecimalType&& other67) noexcept {
2290
+ scale = other67.scale;
2291
+ precision = other67.precision;
2292
+ }
2293
+ DecimalType& DecimalType::operator=(const DecimalType& other68) noexcept {
2294
+ scale = other68.scale;
2295
+ precision = other68.precision;
2296
+ return *this;
2297
+ }
2298
+ DecimalType& DecimalType::operator=(DecimalType&& other69) noexcept {
2299
+ scale = other69.scale;
2300
+ precision = other69.precision;
1731
2301
  return *this;
1732
2302
  }
1733
2303
  void DecimalType::printTo(std::ostream& out) const {
@@ -1795,11 +2365,18 @@ void swap(MilliSeconds &a, MilliSeconds &b) {
1795
2365
  (void) b;
1796
2366
  }
1797
2367
 
1798
- MilliSeconds::MilliSeconds(const MilliSeconds& other34) noexcept {
1799
- (void) other34;
2368
+ MilliSeconds::MilliSeconds(const MilliSeconds& other70) noexcept {
2369
+ (void) other70;
1800
2370
  }
1801
- MilliSeconds& MilliSeconds::operator=(const MilliSeconds& other35) noexcept {
1802
- (void) other35;
2371
+ MilliSeconds::MilliSeconds(MilliSeconds&& other71) noexcept {
2372
+ (void) other71;
2373
+ }
2374
+ MilliSeconds& MilliSeconds::operator=(const MilliSeconds& other72) noexcept {
2375
+ (void) other72;
2376
+ return *this;
2377
+ }
2378
+ MilliSeconds& MilliSeconds::operator=(MilliSeconds&& other73) noexcept {
2379
+ (void) other73;
1803
2380
  return *this;
1804
2381
  }
1805
2382
  void MilliSeconds::printTo(std::ostream& out) const {
@@ -1865,11 +2442,18 @@ void swap(MicroSeconds &a, MicroSeconds &b) {
1865
2442
  (void) b;
1866
2443
  }
1867
2444
 
1868
- MicroSeconds::MicroSeconds(const MicroSeconds& other36) noexcept {
1869
- (void) other36;
2445
+ MicroSeconds::MicroSeconds(const MicroSeconds& other74) noexcept {
2446
+ (void) other74;
1870
2447
  }
1871
- MicroSeconds& MicroSeconds::operator=(const MicroSeconds& other37) noexcept {
1872
- (void) other37;
2448
+ MicroSeconds::MicroSeconds(MicroSeconds&& other75) noexcept {
2449
+ (void) other75;
2450
+ }
2451
+ MicroSeconds& MicroSeconds::operator=(const MicroSeconds& other76) noexcept {
2452
+ (void) other76;
2453
+ return *this;
2454
+ }
2455
+ MicroSeconds& MicroSeconds::operator=(MicroSeconds&& other77) noexcept {
2456
+ (void) other77;
1873
2457
  return *this;
1874
2458
  }
1875
2459
  void MicroSeconds::printTo(std::ostream& out) const {
@@ -1935,11 +2519,18 @@ void swap(NanoSeconds &a, NanoSeconds &b) {
1935
2519
  (void) b;
1936
2520
  }
1937
2521
 
1938
- NanoSeconds::NanoSeconds(const NanoSeconds& other38) noexcept {
1939
- (void) other38;
2522
+ NanoSeconds::NanoSeconds(const NanoSeconds& other78) noexcept {
2523
+ (void) other78;
1940
2524
  }
1941
- NanoSeconds& NanoSeconds::operator=(const NanoSeconds& other39) noexcept {
1942
- (void) other39;
2525
+ NanoSeconds::NanoSeconds(NanoSeconds&& other79) noexcept {
2526
+ (void) other79;
2527
+ }
2528
+ NanoSeconds& NanoSeconds::operator=(const NanoSeconds& other80) noexcept {
2529
+ (void) other80;
2530
+ return *this;
2531
+ }
2532
+ NanoSeconds& NanoSeconds::operator=(NanoSeconds&& other81) noexcept {
2533
+ (void) other81;
1943
2534
  return *this;
1944
2535
  }
1945
2536
  void NanoSeconds::printTo(std::ostream& out) const {
@@ -2066,17 +2657,30 @@ void swap(TimeUnit &a, TimeUnit &b) {
2066
2657
  swap(a.__isset, b.__isset);
2067
2658
  }
2068
2659
 
2069
- TimeUnit::TimeUnit(const TimeUnit& other40) noexcept {
2070
- MILLIS = other40.MILLIS;
2071
- MICROS = other40.MICROS;
2072
- NANOS = other40.NANOS;
2073
- __isset = other40.__isset;
2660
+ TimeUnit::TimeUnit(const TimeUnit& other82) noexcept {
2661
+ MILLIS = other82.MILLIS;
2662
+ MICROS = other82.MICROS;
2663
+ NANOS = other82.NANOS;
2664
+ __isset = other82.__isset;
2665
+ }
2666
+ TimeUnit::TimeUnit(TimeUnit&& other83) noexcept {
2667
+ MILLIS = std::move(other83.MILLIS);
2668
+ MICROS = std::move(other83.MICROS);
2669
+ NANOS = std::move(other83.NANOS);
2670
+ __isset = other83.__isset;
2671
+ }
2672
+ TimeUnit& TimeUnit::operator=(const TimeUnit& other84) noexcept {
2673
+ MILLIS = other84.MILLIS;
2674
+ MICROS = other84.MICROS;
2675
+ NANOS = other84.NANOS;
2676
+ __isset = other84.__isset;
2677
+ return *this;
2074
2678
  }
2075
- TimeUnit& TimeUnit::operator=(const TimeUnit& other41) noexcept {
2076
- MILLIS = other41.MILLIS;
2077
- MICROS = other41.MICROS;
2078
- NANOS = other41.NANOS;
2079
- __isset = other41.__isset;
2679
+ TimeUnit& TimeUnit::operator=(TimeUnit&& other85) noexcept {
2680
+ MILLIS = std::move(other85.MILLIS);
2681
+ MICROS = std::move(other85.MICROS);
2682
+ NANOS = std::move(other85.NANOS);
2683
+ __isset = other85.__isset;
2080
2684
  return *this;
2081
2685
  }
2082
2686
  void TimeUnit::printTo(std::ostream& out) const {
@@ -2189,13 +2793,22 @@ void swap(TimestampType &a, TimestampType &b) {
2189
2793
  swap(a.unit, b.unit);
2190
2794
  }
2191
2795
 
2192
- TimestampType::TimestampType(const TimestampType& other42) noexcept {
2193
- isAdjustedToUTC = other42.isAdjustedToUTC;
2194
- unit = other42.unit;
2796
+ TimestampType::TimestampType(const TimestampType& other86) noexcept {
2797
+ isAdjustedToUTC = other86.isAdjustedToUTC;
2798
+ unit = other86.unit;
2799
+ }
2800
+ TimestampType::TimestampType(TimestampType&& other87) noexcept {
2801
+ isAdjustedToUTC = other87.isAdjustedToUTC;
2802
+ unit = std::move(other87.unit);
2803
+ }
2804
+ TimestampType& TimestampType::operator=(const TimestampType& other88) noexcept {
2805
+ isAdjustedToUTC = other88.isAdjustedToUTC;
2806
+ unit = other88.unit;
2807
+ return *this;
2195
2808
  }
2196
- TimestampType& TimestampType::operator=(const TimestampType& other43) noexcept {
2197
- isAdjustedToUTC = other43.isAdjustedToUTC;
2198
- unit = other43.unit;
2809
+ TimestampType& TimestampType::operator=(TimestampType&& other89) noexcept {
2810
+ isAdjustedToUTC = other89.isAdjustedToUTC;
2811
+ unit = std::move(other89.unit);
2199
2812
  return *this;
2200
2813
  }
2201
2814
  void TimestampType::printTo(std::ostream& out) const {
@@ -2307,13 +2920,22 @@ void swap(TimeType &a, TimeType &b) {
2307
2920
  swap(a.unit, b.unit);
2308
2921
  }
2309
2922
 
2310
- TimeType::TimeType(const TimeType& other44) noexcept {
2311
- isAdjustedToUTC = other44.isAdjustedToUTC;
2312
- unit = other44.unit;
2923
+ TimeType::TimeType(const TimeType& other90) noexcept {
2924
+ isAdjustedToUTC = other90.isAdjustedToUTC;
2925
+ unit = other90.unit;
2313
2926
  }
2314
- TimeType& TimeType::operator=(const TimeType& other45) noexcept {
2315
- isAdjustedToUTC = other45.isAdjustedToUTC;
2316
- unit = other45.unit;
2927
+ TimeType::TimeType(TimeType&& other91) noexcept {
2928
+ isAdjustedToUTC = other91.isAdjustedToUTC;
2929
+ unit = std::move(other91.unit);
2930
+ }
2931
+ TimeType& TimeType::operator=(const TimeType& other92) noexcept {
2932
+ isAdjustedToUTC = other92.isAdjustedToUTC;
2933
+ unit = other92.unit;
2934
+ return *this;
2935
+ }
2936
+ TimeType& TimeType::operator=(TimeType&& other93) noexcept {
2937
+ isAdjustedToUTC = other93.isAdjustedToUTC;
2938
+ unit = std::move(other93.unit);
2317
2939
  return *this;
2318
2940
  }
2319
2941
  void TimeType::printTo(std::ostream& out) const {
@@ -2420,43 +3042,318 @@ uint32_t IntType::write(::apache::thrift::protocol::TProtocol* oprot) const {
2420
3042
  return xfer;
2421
3043
  }
2422
3044
 
2423
- void swap(IntType &a, IntType &b) {
3045
+ void swap(IntType &a, IntType &b) {
3046
+ using ::std::swap;
3047
+ swap(a.bitWidth, b.bitWidth);
3048
+ swap(a.isSigned, b.isSigned);
3049
+ }
3050
+
3051
+ IntType::IntType(const IntType& other94) noexcept {
3052
+ bitWidth = other94.bitWidth;
3053
+ isSigned = other94.isSigned;
3054
+ }
3055
+ IntType::IntType(IntType&& other95) noexcept {
3056
+ bitWidth = other95.bitWidth;
3057
+ isSigned = other95.isSigned;
3058
+ }
3059
+ IntType& IntType::operator=(const IntType& other96) noexcept {
3060
+ bitWidth = other96.bitWidth;
3061
+ isSigned = other96.isSigned;
3062
+ return *this;
3063
+ }
3064
+ IntType& IntType::operator=(IntType&& other97) noexcept {
3065
+ bitWidth = other97.bitWidth;
3066
+ isSigned = other97.isSigned;
3067
+ return *this;
3068
+ }
3069
+ void IntType::printTo(std::ostream& out) const {
3070
+ using ::apache::thrift::to_string;
3071
+ out << "IntType(";
3072
+ out << "bitWidth=" << to_string(bitWidth);
3073
+ out << ", " << "isSigned=" << to_string(isSigned);
3074
+ out << ")";
3075
+ }
3076
+
3077
+
3078
+ JsonType::~JsonType() noexcept {
3079
+ }
3080
+
3081
+ JsonType::JsonType() noexcept {
3082
+ }
3083
+ std::ostream& operator<<(std::ostream& out, const JsonType& obj)
3084
+ {
3085
+ obj.printTo(out);
3086
+ return out;
3087
+ }
3088
+
3089
+
3090
+ uint32_t JsonType::read(::apache::thrift::protocol::TProtocol* iprot) {
3091
+
3092
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
3093
+ uint32_t xfer = 0;
3094
+ std::string fname;
3095
+ ::apache::thrift::protocol::TType ftype;
3096
+ int16_t fid;
3097
+
3098
+ xfer += iprot->readStructBegin(fname);
3099
+
3100
+ using ::apache::thrift::protocol::TProtocolException;
3101
+
3102
+
3103
+ while (true)
3104
+ {
3105
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
3106
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
3107
+ break;
3108
+ }
3109
+ xfer += iprot->skip(ftype);
3110
+ xfer += iprot->readFieldEnd();
3111
+ }
3112
+
3113
+ xfer += iprot->readStructEnd();
3114
+
3115
+ return xfer;
3116
+ }
3117
+
3118
+ uint32_t JsonType::write(::apache::thrift::protocol::TProtocol* oprot) const {
3119
+ uint32_t xfer = 0;
3120
+ ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
3121
+ xfer += oprot->writeStructBegin("JsonType");
3122
+
3123
+ xfer += oprot->writeFieldStop();
3124
+ xfer += oprot->writeStructEnd();
3125
+ return xfer;
3126
+ }
3127
+
3128
+ void swap(JsonType &a, JsonType &b) {
3129
+ using ::std::swap;
3130
+ (void) a;
3131
+ (void) b;
3132
+ }
3133
+
3134
+ JsonType::JsonType(const JsonType& other98) noexcept {
3135
+ (void) other98;
3136
+ }
3137
+ JsonType::JsonType(JsonType&& other99) noexcept {
3138
+ (void) other99;
3139
+ }
3140
+ JsonType& JsonType::operator=(const JsonType& other100) noexcept {
3141
+ (void) other100;
3142
+ return *this;
3143
+ }
3144
+ JsonType& JsonType::operator=(JsonType&& other101) noexcept {
3145
+ (void) other101;
3146
+ return *this;
3147
+ }
3148
+ void JsonType::printTo(std::ostream& out) const {
3149
+ using ::apache::thrift::to_string;
3150
+ out << "JsonType(";
3151
+ out << ")";
3152
+ }
3153
+
3154
+
3155
+ BsonType::~BsonType() noexcept {
3156
+ }
3157
+
3158
+ BsonType::BsonType() noexcept {
3159
+ }
3160
+ std::ostream& operator<<(std::ostream& out, const BsonType& obj)
3161
+ {
3162
+ obj.printTo(out);
3163
+ return out;
3164
+ }
3165
+
3166
+
3167
+ uint32_t BsonType::read(::apache::thrift::protocol::TProtocol* iprot) {
3168
+
3169
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
3170
+ uint32_t xfer = 0;
3171
+ std::string fname;
3172
+ ::apache::thrift::protocol::TType ftype;
3173
+ int16_t fid;
3174
+
3175
+ xfer += iprot->readStructBegin(fname);
3176
+
3177
+ using ::apache::thrift::protocol::TProtocolException;
3178
+
3179
+
3180
+ while (true)
3181
+ {
3182
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
3183
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
3184
+ break;
3185
+ }
3186
+ xfer += iprot->skip(ftype);
3187
+ xfer += iprot->readFieldEnd();
3188
+ }
3189
+
3190
+ xfer += iprot->readStructEnd();
3191
+
3192
+ return xfer;
3193
+ }
3194
+
3195
+ uint32_t BsonType::write(::apache::thrift::protocol::TProtocol* oprot) const {
3196
+ uint32_t xfer = 0;
3197
+ ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
3198
+ xfer += oprot->writeStructBegin("BsonType");
3199
+
3200
+ xfer += oprot->writeFieldStop();
3201
+ xfer += oprot->writeStructEnd();
3202
+ return xfer;
3203
+ }
3204
+
3205
+ void swap(BsonType &a, BsonType &b) {
3206
+ using ::std::swap;
3207
+ (void) a;
3208
+ (void) b;
3209
+ }
3210
+
3211
+ BsonType::BsonType(const BsonType& other102) noexcept {
3212
+ (void) other102;
3213
+ }
3214
+ BsonType::BsonType(BsonType&& other103) noexcept {
3215
+ (void) other103;
3216
+ }
3217
+ BsonType& BsonType::operator=(const BsonType& other104) noexcept {
3218
+ (void) other104;
3219
+ return *this;
3220
+ }
3221
+ BsonType& BsonType::operator=(BsonType&& other105) noexcept {
3222
+ (void) other105;
3223
+ return *this;
3224
+ }
3225
+ void BsonType::printTo(std::ostream& out) const {
3226
+ using ::apache::thrift::to_string;
3227
+ out << "BsonType(";
3228
+ out << ")";
3229
+ }
3230
+
3231
+
3232
+ VariantType::~VariantType() noexcept {
3233
+ }
3234
+
3235
+ VariantType::VariantType() noexcept
3236
+ : specification_version(0) {
3237
+ }
3238
+
3239
+ void VariantType::__set_specification_version(const int8_t val) {
3240
+ this->specification_version = val;
3241
+ __isset.specification_version = true;
3242
+ }
3243
+ std::ostream& operator<<(std::ostream& out, const VariantType& obj)
3244
+ {
3245
+ obj.printTo(out);
3246
+ return out;
3247
+ }
3248
+
3249
+
3250
+ uint32_t VariantType::read(::apache::thrift::protocol::TProtocol* iprot) {
3251
+
3252
+ ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
3253
+ uint32_t xfer = 0;
3254
+ std::string fname;
3255
+ ::apache::thrift::protocol::TType ftype;
3256
+ int16_t fid;
3257
+
3258
+ xfer += iprot->readStructBegin(fname);
3259
+
3260
+ using ::apache::thrift::protocol::TProtocolException;
3261
+
3262
+
3263
+ while (true)
3264
+ {
3265
+ xfer += iprot->readFieldBegin(fname, ftype, fid);
3266
+ if (ftype == ::apache::thrift::protocol::T_STOP) {
3267
+ break;
3268
+ }
3269
+ switch (fid)
3270
+ {
3271
+ case 1:
3272
+ if (ftype == ::apache::thrift::protocol::T_BYTE) {
3273
+ xfer += iprot->readByte(this->specification_version);
3274
+ this->__isset.specification_version = true;
3275
+ } else {
3276
+ xfer += iprot->skip(ftype);
3277
+ }
3278
+ break;
3279
+ default:
3280
+ xfer += iprot->skip(ftype);
3281
+ break;
3282
+ }
3283
+ xfer += iprot->readFieldEnd();
3284
+ }
3285
+
3286
+ xfer += iprot->readStructEnd();
3287
+
3288
+ return xfer;
3289
+ }
3290
+
3291
+ uint32_t VariantType::write(::apache::thrift::protocol::TProtocol* oprot) const {
3292
+ uint32_t xfer = 0;
3293
+ ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
3294
+ xfer += oprot->writeStructBegin("VariantType");
3295
+
3296
+ if (this->__isset.specification_version) {
3297
+ xfer += oprot->writeFieldBegin("specification_version", ::apache::thrift::protocol::T_BYTE, 1);
3298
+ xfer += oprot->writeByte(this->specification_version);
3299
+ xfer += oprot->writeFieldEnd();
3300
+ }
3301
+ xfer += oprot->writeFieldStop();
3302
+ xfer += oprot->writeStructEnd();
3303
+ return xfer;
3304
+ }
3305
+
3306
+ void swap(VariantType &a, VariantType &b) {
2424
3307
  using ::std::swap;
2425
- swap(a.bitWidth, b.bitWidth);
2426
- swap(a.isSigned, b.isSigned);
3308
+ swap(a.specification_version, b.specification_version);
3309
+ swap(a.__isset, b.__isset);
2427
3310
  }
2428
3311
 
2429
- IntType::IntType(const IntType& other46) noexcept {
2430
- bitWidth = other46.bitWidth;
2431
- isSigned = other46.isSigned;
3312
+ VariantType::VariantType(const VariantType& other106) noexcept {
3313
+ specification_version = other106.specification_version;
3314
+ __isset = other106.__isset;
3315
+ }
3316
+ VariantType::VariantType(VariantType&& other107) noexcept {
3317
+ specification_version = other107.specification_version;
3318
+ __isset = other107.__isset;
2432
3319
  }
2433
- IntType& IntType::operator=(const IntType& other47) noexcept {
2434
- bitWidth = other47.bitWidth;
2435
- isSigned = other47.isSigned;
3320
+ VariantType& VariantType::operator=(const VariantType& other108) noexcept {
3321
+ specification_version = other108.specification_version;
3322
+ __isset = other108.__isset;
2436
3323
  return *this;
2437
3324
  }
2438
- void IntType::printTo(std::ostream& out) const {
3325
+ VariantType& VariantType::operator=(VariantType&& other109) noexcept {
3326
+ specification_version = other109.specification_version;
3327
+ __isset = other109.__isset;
3328
+ return *this;
3329
+ }
3330
+ void VariantType::printTo(std::ostream& out) const {
2439
3331
  using ::apache::thrift::to_string;
2440
- out << "IntType(";
2441
- out << "bitWidth=" << to_string(bitWidth);
2442
- out << ", " << "isSigned=" << to_string(isSigned);
3332
+ out << "VariantType(";
3333
+ out << "specification_version="; (__isset.specification_version ? (out << to_string(specification_version)) : (out << "<null>"));
2443
3334
  out << ")";
2444
3335
  }
2445
3336
 
2446
3337
 
2447
- JsonType::~JsonType() noexcept {
3338
+ GeometryType::~GeometryType() noexcept {
2448
3339
  }
2449
3340
 
2450
- JsonType::JsonType() noexcept {
3341
+ GeometryType::GeometryType() noexcept
3342
+ : crs() {
2451
3343
  }
2452
- std::ostream& operator<<(std::ostream& out, const JsonType& obj)
3344
+
3345
+ void GeometryType::__set_crs(const std::string& val) {
3346
+ this->crs = val;
3347
+ __isset.crs = true;
3348
+ }
3349
+ std::ostream& operator<<(std::ostream& out, const GeometryType& obj)
2453
3350
  {
2454
3351
  obj.printTo(out);
2455
3352
  return out;
2456
3353
  }
2457
3354
 
2458
3355
 
2459
- uint32_t JsonType::read(::apache::thrift::protocol::TProtocol* iprot) {
3356
+ uint32_t GeometryType::read(::apache::thrift::protocol::TProtocol* iprot) {
2460
3357
 
2461
3358
  ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
2462
3359
  uint32_t xfer = 0;
@@ -2475,7 +3372,20 @@ uint32_t JsonType::read(::apache::thrift::protocol::TProtocol* iprot) {
2475
3372
  if (ftype == ::apache::thrift::protocol::T_STOP) {
2476
3373
  break;
2477
3374
  }
2478
- xfer += iprot->skip(ftype);
3375
+ switch (fid)
3376
+ {
3377
+ case 1:
3378
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
3379
+ xfer += iprot->readString(this->crs);
3380
+ this->__isset.crs = true;
3381
+ } else {
3382
+ xfer += iprot->skip(ftype);
3383
+ }
3384
+ break;
3385
+ default:
3386
+ xfer += iprot->skip(ftype);
3387
+ break;
3388
+ }
2479
3389
  xfer += iprot->readFieldEnd();
2480
3390
  }
2481
3391
 
@@ -2484,49 +3394,78 @@ uint32_t JsonType::read(::apache::thrift::protocol::TProtocol* iprot) {
2484
3394
  return xfer;
2485
3395
  }
2486
3396
 
2487
- uint32_t JsonType::write(::apache::thrift::protocol::TProtocol* oprot) const {
3397
+ uint32_t GeometryType::write(::apache::thrift::protocol::TProtocol* oprot) const {
2488
3398
  uint32_t xfer = 0;
2489
3399
  ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
2490
- xfer += oprot->writeStructBegin("JsonType");
3400
+ xfer += oprot->writeStructBegin("GeometryType");
2491
3401
 
3402
+ if (this->__isset.crs) {
3403
+ xfer += oprot->writeFieldBegin("crs", ::apache::thrift::protocol::T_STRING, 1);
3404
+ xfer += oprot->writeString(this->crs);
3405
+ xfer += oprot->writeFieldEnd();
3406
+ }
2492
3407
  xfer += oprot->writeFieldStop();
2493
3408
  xfer += oprot->writeStructEnd();
2494
3409
  return xfer;
2495
3410
  }
2496
3411
 
2497
- void swap(JsonType &a, JsonType &b) {
3412
+ void swap(GeometryType &a, GeometryType &b) {
2498
3413
  using ::std::swap;
2499
- (void) a;
2500
- (void) b;
3414
+ swap(a.crs, b.crs);
3415
+ swap(a.__isset, b.__isset);
2501
3416
  }
2502
3417
 
2503
- JsonType::JsonType(const JsonType& other48) noexcept {
2504
- (void) other48;
3418
+ GeometryType::GeometryType(const GeometryType& other110) {
3419
+ crs = other110.crs;
3420
+ __isset = other110.__isset;
2505
3421
  }
2506
- JsonType& JsonType::operator=(const JsonType& other49) noexcept {
2507
- (void) other49;
3422
+ GeometryType::GeometryType(GeometryType&& other111) noexcept {
3423
+ crs = std::move(other111.crs);
3424
+ __isset = other111.__isset;
3425
+ }
3426
+ GeometryType& GeometryType::operator=(const GeometryType& other112) {
3427
+ crs = other112.crs;
3428
+ __isset = other112.__isset;
2508
3429
  return *this;
2509
3430
  }
2510
- void JsonType::printTo(std::ostream& out) const {
3431
+ GeometryType& GeometryType::operator=(GeometryType&& other113) noexcept {
3432
+ crs = std::move(other113.crs);
3433
+ __isset = other113.__isset;
3434
+ return *this;
3435
+ }
3436
+ void GeometryType::printTo(std::ostream& out) const {
2511
3437
  using ::apache::thrift::to_string;
2512
- out << "JsonType(";
3438
+ out << "GeometryType(";
3439
+ out << "crs="; (__isset.crs ? (out << to_string(crs)) : (out << "<null>"));
2513
3440
  out << ")";
2514
3441
  }
2515
3442
 
2516
3443
 
2517
- BsonType::~BsonType() noexcept {
3444
+ GeographyType::~GeographyType() noexcept {
2518
3445
  }
2519
3446
 
2520
- BsonType::BsonType() noexcept {
3447
+ GeographyType::GeographyType() noexcept
3448
+ : crs(),
3449
+ algorithm(static_cast<EdgeInterpolationAlgorithm::type>(0)) {
2521
3450
  }
2522
- std::ostream& operator<<(std::ostream& out, const BsonType& obj)
3451
+
3452
+ void GeographyType::__set_crs(const std::string& val) {
3453
+ this->crs = val;
3454
+ __isset.crs = true;
3455
+ }
3456
+
3457
+ void GeographyType::__set_algorithm(const EdgeInterpolationAlgorithm::type val) {
3458
+ this->algorithm = val;
3459
+ __isset.algorithm = true;
3460
+ }
3461
+ std::ostream& operator<<(std::ostream& out, const GeographyType& obj)
2523
3462
  {
2524
3463
  obj.printTo(out);
2525
3464
  return out;
2526
3465
  }
2527
3466
 
2528
3467
 
2529
- uint32_t BsonType::read(::apache::thrift::protocol::TProtocol* iprot) {
3468
+ uint32_t GeographyType::read(::apache::thrift::protocol::TProtocol* iprot) {
2530
3469
 
2531
3470
  ::apache::thrift::protocol::TInputRecursionTracker tracker(*iprot);
2532
3471
  uint32_t xfer = 0;
@@ -2545,7 +3484,30 @@ uint32_t BsonType::read(::apache::thrift::protocol::TProtocol* iprot) {
2545
3484
  if (ftype == ::apache::thrift::protocol::T_STOP) {
2546
3485
  break;
2547
3486
  }
2548
- xfer += iprot->skip(ftype);
3487
+ switch (fid)
3488
+ {
3489
+ case 1:
3490
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
3491
+ xfer += iprot->readString(this->crs);
3492
+ this->__isset.crs = true;
3493
+ } else {
3494
+ xfer += iprot->skip(ftype);
3495
+ }
3496
+ break;
3497
+ case 2:
3498
+ if (ftype == ::apache::thrift::protocol::T_I32) {
3499
+ int32_t ecast114;
3500
+ xfer += iprot->readI32(ecast114);
3501
+ this->algorithm = static_cast<EdgeInterpolationAlgorithm::type>(ecast114);
3502
+ this->__isset.algorithm = true;
3503
+ } else {
3504
+ xfer += iprot->skip(ftype);
3505
+ }
3506
+ break;
3507
+ default:
3508
+ xfer += iprot->skip(ftype);
3509
+ break;
3510
+ }
2549
3511
  xfer += iprot->readFieldEnd();
2550
3512
  }
2551
3513
 
@@ -2554,32 +3516,60 @@ uint32_t BsonType::read(::apache::thrift::protocol::TProtocol* iprot) {
2554
3516
  return xfer;
2555
3517
  }
2556
3518
 
2557
- uint32_t BsonType::write(::apache::thrift::protocol::TProtocol* oprot) const {
3519
+ uint32_t GeographyType::write(::apache::thrift::protocol::TProtocol* oprot) const {
2558
3520
  uint32_t xfer = 0;
2559
3521
  ::apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
2560
- xfer += oprot->writeStructBegin("BsonType");
3522
+ xfer += oprot->writeStructBegin("GeographyType");
2561
3523
 
3524
+ if (this->__isset.crs) {
3525
+ xfer += oprot->writeFieldBegin("crs", ::apache::thrift::protocol::T_STRING, 1);
3526
+ xfer += oprot->writeString(this->crs);
3527
+ xfer += oprot->writeFieldEnd();
3528
+ }
3529
+ if (this->__isset.algorithm) {
3530
+ xfer += oprot->writeFieldBegin("algorithm", ::apache::thrift::protocol::T_I32, 2);
3531
+ xfer += oprot->writeI32(static_cast<int32_t>(this->algorithm));
3532
+ xfer += oprot->writeFieldEnd();
3533
+ }
2562
3534
  xfer += oprot->writeFieldStop();
2563
3535
  xfer += oprot->writeStructEnd();
2564
3536
  return xfer;
2565
3537
  }
2566
3538
 
2567
- void swap(BsonType &a, BsonType &b) {
3539
+ void swap(GeographyType &a, GeographyType &b) {
2568
3540
  using ::std::swap;
2569
- (void) a;
2570
- (void) b;
3541
+ swap(a.crs, b.crs);
3542
+ swap(a.algorithm, b.algorithm);
3543
+ swap(a.__isset, b.__isset);
2571
3544
  }
2572
3545
 
2573
- BsonType::BsonType(const BsonType& other50) noexcept {
2574
- (void) other50;
3546
+ GeographyType::GeographyType(const GeographyType& other115) {
3547
+ crs = other115.crs;
3548
+ algorithm = other115.algorithm;
3549
+ __isset = other115.__isset;
2575
3550
  }
2576
- BsonType& BsonType::operator=(const BsonType& other51) noexcept {
2577
- (void) other51;
3551
+ GeographyType::GeographyType(GeographyType&& other116) noexcept {
3552
+ crs = std::move(other116.crs);
3553
+ algorithm = other116.algorithm;
3554
+ __isset = other116.__isset;
3555
+ }
3556
+ GeographyType& GeographyType::operator=(const GeographyType& other117) {
3557
+ crs = other117.crs;
3558
+ algorithm = other117.algorithm;
3559
+ __isset = other117.__isset;
2578
3560
  return *this;
2579
3561
  }
2580
- void BsonType::printTo(std::ostream& out) const {
3562
+ GeographyType& GeographyType::operator=(GeographyType&& other118) noexcept {
3563
+ crs = std::move(other118.crs);
3564
+ algorithm = other118.algorithm;
3565
+ __isset = other118.__isset;
3566
+ return *this;
3567
+ }
3568
+ void GeographyType::printTo(std::ostream& out) const {
2581
3569
  using ::apache::thrift::to_string;
2582
- out << "BsonType(";
3570
+ out << "GeographyType(";
3571
+ out << "crs="; (__isset.crs ? (out << to_string(crs)) : (out << "<null>"));
3572
+ out << ", " << "algorithm="; (__isset.algorithm ? (out << to_string(algorithm)) : (out << "<null>"));
2583
3573
  out << ")";
2584
3574
  }
2585
3575
 
@@ -2659,6 +3649,21 @@ void LogicalType::__set_FLOAT16(const Float16Type& val) {
2659
3649
  this->FLOAT16 = val;
2660
3650
  __isset.FLOAT16 = true;
2661
3651
  }
3652
+
3653
+ void LogicalType::__set_VARIANT(const VariantType& val) {
3654
+ this->VARIANT = val;
3655
+ __isset.VARIANT = true;
3656
+ }
3657
+
3658
+ void LogicalType::__set_GEOMETRY(const GeometryType& val) {
3659
+ this->GEOMETRY = val;
3660
+ __isset.GEOMETRY = true;
3661
+ }
3662
+
3663
+ void LogicalType::__set_GEOGRAPHY(const GeographyType& val) {
3664
+ this->GEOGRAPHY = val;
3665
+ __isset.GEOGRAPHY = true;
3666
+ }
2662
3667
  std::ostream& operator<<(std::ostream& out, const LogicalType& obj)
2663
3668
  {
2664
3669
  obj.printTo(out);
@@ -2799,6 +3804,30 @@ uint32_t LogicalType::read(::apache::thrift::protocol::TProtocol* iprot) {
2799
3804
  xfer += iprot->skip(ftype);
2800
3805
  }
2801
3806
  break;
3807
+ case 16:
3808
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
3809
+ xfer += this->VARIANT.read(iprot);
3810
+ this->__isset.VARIANT = true;
3811
+ } else {
3812
+ xfer += iprot->skip(ftype);
3813
+ }
3814
+ break;
3815
+ case 17:
3816
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
3817
+ xfer += this->GEOMETRY.read(iprot);
3818
+ this->__isset.GEOMETRY = true;
3819
+ } else {
3820
+ xfer += iprot->skip(ftype);
3821
+ }
3822
+ break;
3823
+ case 18:
3824
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
3825
+ xfer += this->GEOGRAPHY.read(iprot);
3826
+ this->__isset.GEOGRAPHY = true;
3827
+ } else {
3828
+ xfer += iprot->skip(ftype);
3829
+ }
3830
+ break;
2802
3831
  default:
2803
3832
  xfer += iprot->skip(ftype);
2804
3833
  break;
@@ -2886,6 +3915,21 @@ uint32_t LogicalType::write(::apache::thrift::protocol::TProtocol* oprot) const
2886
3915
  xfer += this->FLOAT16.write(oprot);
2887
3916
  xfer += oprot->writeFieldEnd();
2888
3917
  }
3918
+ if (this->__isset.VARIANT) {
3919
+ xfer += oprot->writeFieldBegin("VARIANT", ::apache::thrift::protocol::T_STRUCT, 16);
3920
+ xfer += this->VARIANT.write(oprot);
3921
+ xfer += oprot->writeFieldEnd();
3922
+ }
3923
+ if (this->__isset.GEOMETRY) {
3924
+ xfer += oprot->writeFieldBegin("GEOMETRY", ::apache::thrift::protocol::T_STRUCT, 17);
3925
+ xfer += this->GEOMETRY.write(oprot);
3926
+ xfer += oprot->writeFieldEnd();
3927
+ }
3928
+ if (this->__isset.GEOGRAPHY) {
3929
+ xfer += oprot->writeFieldBegin("GEOGRAPHY", ::apache::thrift::protocol::T_STRUCT, 18);
3930
+ xfer += this->GEOGRAPHY.write(oprot);
3931
+ xfer += oprot->writeFieldEnd();
3932
+ }
2889
3933
  xfer += oprot->writeFieldStop();
2890
3934
  xfer += oprot->writeStructEnd();
2891
3935
  return xfer;
@@ -2907,42 +3951,92 @@ void swap(LogicalType &a, LogicalType &b) {
2907
3951
  swap(a.BSON, b.BSON);
2908
3952
  swap(a.UUID, b.UUID);
2909
3953
  swap(a.FLOAT16, b.FLOAT16);
3954
+ swap(a.VARIANT, b.VARIANT);
3955
+ swap(a.GEOMETRY, b.GEOMETRY);
3956
+ swap(a.GEOGRAPHY, b.GEOGRAPHY);
2910
3957
  swap(a.__isset, b.__isset);
2911
3958
  }
2912
3959
 
2913
- LogicalType::LogicalType(const LogicalType& other52) noexcept {
2914
- STRING = other52.STRING;
2915
- MAP = other52.MAP;
2916
- LIST = other52.LIST;
2917
- ENUM = other52.ENUM;
2918
- DECIMAL = other52.DECIMAL;
2919
- DATE = other52.DATE;
2920
- TIME = other52.TIME;
2921
- TIMESTAMP = other52.TIMESTAMP;
2922
- INTEGER = other52.INTEGER;
2923
- UNKNOWN = other52.UNKNOWN;
2924
- JSON = other52.JSON;
2925
- BSON = other52.BSON;
2926
- UUID = other52.UUID;
2927
- FLOAT16 = other52.FLOAT16;
2928
- __isset = other52.__isset;
2929
- }
2930
- LogicalType& LogicalType::operator=(const LogicalType& other53) noexcept {
2931
- STRING = other53.STRING;
2932
- MAP = other53.MAP;
2933
- LIST = other53.LIST;
2934
- ENUM = other53.ENUM;
2935
- DECIMAL = other53.DECIMAL;
2936
- DATE = other53.DATE;
2937
- TIME = other53.TIME;
2938
- TIMESTAMP = other53.TIMESTAMP;
2939
- INTEGER = other53.INTEGER;
2940
- UNKNOWN = other53.UNKNOWN;
2941
- JSON = other53.JSON;
2942
- BSON = other53.BSON;
2943
- UUID = other53.UUID;
2944
- FLOAT16 = other53.FLOAT16;
2945
- __isset = other53.__isset;
3960
+ LogicalType::LogicalType(const LogicalType& other119) {
3961
+ STRING = other119.STRING;
3962
+ MAP = other119.MAP;
3963
+ LIST = other119.LIST;
3964
+ ENUM = other119.ENUM;
3965
+ DECIMAL = other119.DECIMAL;
3966
+ DATE = other119.DATE;
3967
+ TIME = other119.TIME;
3968
+ TIMESTAMP = other119.TIMESTAMP;
3969
+ INTEGER = other119.INTEGER;
3970
+ UNKNOWN = other119.UNKNOWN;
3971
+ JSON = other119.JSON;
3972
+ BSON = other119.BSON;
3973
+ UUID = other119.UUID;
3974
+ FLOAT16 = other119.FLOAT16;
3975
+ VARIANT = other119.VARIANT;
3976
+ GEOMETRY = other119.GEOMETRY;
3977
+ GEOGRAPHY = other119.GEOGRAPHY;
3978
+ __isset = other119.__isset;
3979
+ }
3980
+ LogicalType::LogicalType(LogicalType&& other120) noexcept {
3981
+ STRING = std::move(other120.STRING);
3982
+ MAP = std::move(other120.MAP);
3983
+ LIST = std::move(other120.LIST);
3984
+ ENUM = std::move(other120.ENUM);
3985
+ DECIMAL = std::move(other120.DECIMAL);
3986
+ DATE = std::move(other120.DATE);
3987
+ TIME = std::move(other120.TIME);
3988
+ TIMESTAMP = std::move(other120.TIMESTAMP);
3989
+ INTEGER = std::move(other120.INTEGER);
3990
+ UNKNOWN = std::move(other120.UNKNOWN);
3991
+ JSON = std::move(other120.JSON);
3992
+ BSON = std::move(other120.BSON);
3993
+ UUID = std::move(other120.UUID);
3994
+ FLOAT16 = std::move(other120.FLOAT16);
3995
+ VARIANT = std::move(other120.VARIANT);
3996
+ GEOMETRY = std::move(other120.GEOMETRY);
3997
+ GEOGRAPHY = std::move(other120.GEOGRAPHY);
3998
+ __isset = other120.__isset;
3999
+ }
4000
+ LogicalType& LogicalType::operator=(const LogicalType& other121) {
4001
+ STRING = other121.STRING;
4002
+ MAP = other121.MAP;
4003
+ LIST = other121.LIST;
4004
+ ENUM = other121.ENUM;
4005
+ DECIMAL = other121.DECIMAL;
4006
+ DATE = other121.DATE;
4007
+ TIME = other121.TIME;
4008
+ TIMESTAMP = other121.TIMESTAMP;
4009
+ INTEGER = other121.INTEGER;
4010
+ UNKNOWN = other121.UNKNOWN;
4011
+ JSON = other121.JSON;
4012
+ BSON = other121.BSON;
4013
+ UUID = other121.UUID;
4014
+ FLOAT16 = other121.FLOAT16;
4015
+ VARIANT = other121.VARIANT;
4016
+ GEOMETRY = other121.GEOMETRY;
4017
+ GEOGRAPHY = other121.GEOGRAPHY;
4018
+ __isset = other121.__isset;
4019
+ return *this;
4020
+ }
4021
+ LogicalType& LogicalType::operator=(LogicalType&& other122) noexcept {
4022
+ STRING = std::move(other122.STRING);
4023
+ MAP = std::move(other122.MAP);
4024
+ LIST = std::move(other122.LIST);
4025
+ ENUM = std::move(other122.ENUM);
4026
+ DECIMAL = std::move(other122.DECIMAL);
4027
+ DATE = std::move(other122.DATE);
4028
+ TIME = std::move(other122.TIME);
4029
+ TIMESTAMP = std::move(other122.TIMESTAMP);
4030
+ INTEGER = std::move(other122.INTEGER);
4031
+ UNKNOWN = std::move(other122.UNKNOWN);
4032
+ JSON = std::move(other122.JSON);
4033
+ BSON = std::move(other122.BSON);
4034
+ UUID = std::move(other122.UUID);
4035
+ FLOAT16 = std::move(other122.FLOAT16);
4036
+ VARIANT = std::move(other122.VARIANT);
4037
+ GEOMETRY = std::move(other122.GEOMETRY);
4038
+ GEOGRAPHY = std::move(other122.GEOGRAPHY);
4039
+ __isset = other122.__isset;
2946
4040
  return *this;
2947
4041
  }
2948
4042
  void LogicalType::printTo(std::ostream& out) const {
@@ -2962,6 +4056,9 @@ void LogicalType::printTo(std::ostream& out) const {
2962
4056
  out << ", " << "BSON="; (__isset.BSON ? (out << to_string(BSON)) : (out << "<null>"));
2963
4057
  out << ", " << "UUID="; (__isset.UUID ? (out << to_string(UUID)) : (out << "<null>"));
2964
4058
  out << ", " << "FLOAT16="; (__isset.FLOAT16 ? (out << to_string(FLOAT16)) : (out << "<null>"));
4059
+ out << ", " << "VARIANT="; (__isset.VARIANT ? (out << to_string(VARIANT)) : (out << "<null>"));
4060
+ out << ", " << "GEOMETRY="; (__isset.GEOMETRY ? (out << to_string(GEOMETRY)) : (out << "<null>"));
4061
+ out << ", " << "GEOGRAPHY="; (__isset.GEOGRAPHY ? (out << to_string(GEOGRAPHY)) : (out << "<null>"));
2965
4062
  out << ")";
2966
4063
  }
2967
4064
 
@@ -3060,9 +4157,9 @@ uint32_t SchemaElement::read(::apache::thrift::protocol::TProtocol* iprot) {
3060
4157
  {
3061
4158
  case 1:
3062
4159
  if (ftype == ::apache::thrift::protocol::T_I32) {
3063
- int32_t ecast54;
3064
- xfer += iprot->readI32(ecast54);
3065
- this->type = static_cast<Type::type>(ecast54);
4160
+ int32_t ecast123;
4161
+ xfer += iprot->readI32(ecast123);
4162
+ this->type = static_cast<Type::type>(ecast123);
3066
4163
  this->__isset.type = true;
3067
4164
  } else {
3068
4165
  xfer += iprot->skip(ftype);
@@ -3078,9 +4175,9 @@ uint32_t SchemaElement::read(::apache::thrift::protocol::TProtocol* iprot) {
3078
4175
  break;
3079
4176
  case 3:
3080
4177
  if (ftype == ::apache::thrift::protocol::T_I32) {
3081
- int32_t ecast55;
3082
- xfer += iprot->readI32(ecast55);
3083
- this->repetition_type = static_cast<FieldRepetitionType::type>(ecast55);
4178
+ int32_t ecast124;
4179
+ xfer += iprot->readI32(ecast124);
4180
+ this->repetition_type = static_cast<FieldRepetitionType::type>(ecast124);
3084
4181
  this->__isset.repetition_type = true;
3085
4182
  } else {
3086
4183
  xfer += iprot->skip(ftype);
@@ -3104,9 +4201,9 @@ uint32_t SchemaElement::read(::apache::thrift::protocol::TProtocol* iprot) {
3104
4201
  break;
3105
4202
  case 6:
3106
4203
  if (ftype == ::apache::thrift::protocol::T_I32) {
3107
- int32_t ecast56;
3108
- xfer += iprot->readI32(ecast56);
3109
- this->converted_type = static_cast<ConvertedType::type>(ecast56);
4204
+ int32_t ecast125;
4205
+ xfer += iprot->readI32(ecast125);
4206
+ this->converted_type = static_cast<ConvertedType::type>(ecast125);
3110
4207
  this->__isset.converted_type = true;
3111
4208
  } else {
3112
4209
  xfer += iprot->skip(ftype);
@@ -3232,31 +4329,58 @@ void swap(SchemaElement &a, SchemaElement &b) {
3232
4329
  swap(a.__isset, b.__isset);
3233
4330
  }
3234
4331
 
3235
- SchemaElement::SchemaElement(const SchemaElement& other57) {
3236
- type = other57.type;
3237
- type_length = other57.type_length;
3238
- repetition_type = other57.repetition_type;
3239
- name = other57.name;
3240
- num_children = other57.num_children;
3241
- converted_type = other57.converted_type;
3242
- scale = other57.scale;
3243
- precision = other57.precision;
3244
- field_id = other57.field_id;
3245
- logicalType = other57.logicalType;
3246
- __isset = other57.__isset;
3247
- }
3248
- SchemaElement& SchemaElement::operator=(const SchemaElement& other58) {
3249
- type = other58.type;
3250
- type_length = other58.type_length;
3251
- repetition_type = other58.repetition_type;
3252
- name = other58.name;
3253
- num_children = other58.num_children;
3254
- converted_type = other58.converted_type;
3255
- scale = other58.scale;
3256
- precision = other58.precision;
3257
- field_id = other58.field_id;
3258
- logicalType = other58.logicalType;
3259
- __isset = other58.__isset;
4332
+ SchemaElement::SchemaElement(const SchemaElement& other126) {
4333
+ type = other126.type;
4334
+ type_length = other126.type_length;
4335
+ repetition_type = other126.repetition_type;
4336
+ name = other126.name;
4337
+ num_children = other126.num_children;
4338
+ converted_type = other126.converted_type;
4339
+ scale = other126.scale;
4340
+ precision = other126.precision;
4341
+ field_id = other126.field_id;
4342
+ logicalType = other126.logicalType;
4343
+ __isset = other126.__isset;
4344
+ }
4345
+ SchemaElement::SchemaElement(SchemaElement&& other127) noexcept {
4346
+ type = other127.type;
4347
+ type_length = other127.type_length;
4348
+ repetition_type = other127.repetition_type;
4349
+ name = std::move(other127.name);
4350
+ num_children = other127.num_children;
4351
+ converted_type = other127.converted_type;
4352
+ scale = other127.scale;
4353
+ precision = other127.precision;
4354
+ field_id = other127.field_id;
4355
+ logicalType = std::move(other127.logicalType);
4356
+ __isset = other127.__isset;
4357
+ }
4358
+ SchemaElement& SchemaElement::operator=(const SchemaElement& other128) {
4359
+ type = other128.type;
4360
+ type_length = other128.type_length;
4361
+ repetition_type = other128.repetition_type;
4362
+ name = other128.name;
4363
+ num_children = other128.num_children;
4364
+ converted_type = other128.converted_type;
4365
+ scale = other128.scale;
4366
+ precision = other128.precision;
4367
+ field_id = other128.field_id;
4368
+ logicalType = other128.logicalType;
4369
+ __isset = other128.__isset;
4370
+ return *this;
4371
+ }
4372
+ SchemaElement& SchemaElement::operator=(SchemaElement&& other129) noexcept {
4373
+ type = other129.type;
4374
+ type_length = other129.type_length;
4375
+ repetition_type = other129.repetition_type;
4376
+ name = std::move(other129.name);
4377
+ num_children = other129.num_children;
4378
+ converted_type = other129.converted_type;
4379
+ scale = other129.scale;
4380
+ precision = other129.precision;
4381
+ field_id = other129.field_id;
4382
+ logicalType = std::move(other129.logicalType);
4383
+ __isset = other129.__isset;
3260
4384
  return *this;
3261
4385
  }
3262
4386
  void SchemaElement::printTo(std::ostream& out) const {
@@ -3348,9 +4472,9 @@ uint32_t DataPageHeader::read(::apache::thrift::protocol::TProtocol* iprot) {
3348
4472
  break;
3349
4473
  case 2:
3350
4474
  if (ftype == ::apache::thrift::protocol::T_I32) {
3351
- int32_t ecast59;
3352
- xfer += iprot->readI32(ecast59);
3353
- this->encoding = static_cast<Encoding::type>(ecast59);
4475
+ int32_t ecast130;
4476
+ xfer += iprot->readI32(ecast130);
4477
+ this->encoding = static_cast<Encoding::type>(ecast130);
3354
4478
  isset_encoding = true;
3355
4479
  } else {
3356
4480
  xfer += iprot->skip(ftype);
@@ -3358,9 +4482,9 @@ uint32_t DataPageHeader::read(::apache::thrift::protocol::TProtocol* iprot) {
3358
4482
  break;
3359
4483
  case 3:
3360
4484
  if (ftype == ::apache::thrift::protocol::T_I32) {
3361
- int32_t ecast60;
3362
- xfer += iprot->readI32(ecast60);
3363
- this->definition_level_encoding = static_cast<Encoding::type>(ecast60);
4485
+ int32_t ecast131;
4486
+ xfer += iprot->readI32(ecast131);
4487
+ this->definition_level_encoding = static_cast<Encoding::type>(ecast131);
3364
4488
  isset_definition_level_encoding = true;
3365
4489
  } else {
3366
4490
  xfer += iprot->skip(ftype);
@@ -3368,9 +4492,9 @@ uint32_t DataPageHeader::read(::apache::thrift::protocol::TProtocol* iprot) {
3368
4492
  break;
3369
4493
  case 4:
3370
4494
  if (ftype == ::apache::thrift::protocol::T_I32) {
3371
- int32_t ecast61;
3372
- xfer += iprot->readI32(ecast61);
3373
- this->repetition_level_encoding = static_cast<Encoding::type>(ecast61);
4495
+ int32_t ecast132;
4496
+ xfer += iprot->readI32(ecast132);
4497
+ this->repetition_level_encoding = static_cast<Encoding::type>(ecast132);
3374
4498
  isset_repetition_level_encoding = true;
3375
4499
  } else {
3376
4500
  xfer += iprot->skip(ftype);
@@ -3445,21 +4569,38 @@ void swap(DataPageHeader &a, DataPageHeader &b) {
3445
4569
  swap(a.__isset, b.__isset);
3446
4570
  }
3447
4571
 
3448
- DataPageHeader::DataPageHeader(const DataPageHeader& other62) {
3449
- num_values = other62.num_values;
3450
- encoding = other62.encoding;
3451
- definition_level_encoding = other62.definition_level_encoding;
3452
- repetition_level_encoding = other62.repetition_level_encoding;
3453
- statistics = other62.statistics;
3454
- __isset = other62.__isset;
3455
- }
3456
- DataPageHeader& DataPageHeader::operator=(const DataPageHeader& other63) {
3457
- num_values = other63.num_values;
3458
- encoding = other63.encoding;
3459
- definition_level_encoding = other63.definition_level_encoding;
3460
- repetition_level_encoding = other63.repetition_level_encoding;
3461
- statistics = other63.statistics;
3462
- __isset = other63.__isset;
4572
+ DataPageHeader::DataPageHeader(const DataPageHeader& other133) {
4573
+ num_values = other133.num_values;
4574
+ encoding = other133.encoding;
4575
+ definition_level_encoding = other133.definition_level_encoding;
4576
+ repetition_level_encoding = other133.repetition_level_encoding;
4577
+ statistics = other133.statistics;
4578
+ __isset = other133.__isset;
4579
+ }
4580
+ DataPageHeader::DataPageHeader(DataPageHeader&& other134) noexcept {
4581
+ num_values = other134.num_values;
4582
+ encoding = other134.encoding;
4583
+ definition_level_encoding = other134.definition_level_encoding;
4584
+ repetition_level_encoding = other134.repetition_level_encoding;
4585
+ statistics = std::move(other134.statistics);
4586
+ __isset = other134.__isset;
4587
+ }
4588
+ DataPageHeader& DataPageHeader::operator=(const DataPageHeader& other135) {
4589
+ num_values = other135.num_values;
4590
+ encoding = other135.encoding;
4591
+ definition_level_encoding = other135.definition_level_encoding;
4592
+ repetition_level_encoding = other135.repetition_level_encoding;
4593
+ statistics = other135.statistics;
4594
+ __isset = other135.__isset;
4595
+ return *this;
4596
+ }
4597
+ DataPageHeader& DataPageHeader::operator=(DataPageHeader&& other136) noexcept {
4598
+ num_values = other136.num_values;
4599
+ encoding = other136.encoding;
4600
+ definition_level_encoding = other136.definition_level_encoding;
4601
+ repetition_level_encoding = other136.repetition_level_encoding;
4602
+ statistics = std::move(other136.statistics);
4603
+ __isset = other136.__isset;
3463
4604
  return *this;
3464
4605
  }
3465
4606
  void DataPageHeader::printTo(std::ostream& out) const {
@@ -3530,11 +4671,18 @@ void swap(IndexPageHeader &a, IndexPageHeader &b) {
3530
4671
  (void) b;
3531
4672
  }
3532
4673
 
3533
- IndexPageHeader::IndexPageHeader(const IndexPageHeader& other64) noexcept {
3534
- (void) other64;
4674
+ IndexPageHeader::IndexPageHeader(const IndexPageHeader& other137) noexcept {
4675
+ (void) other137;
3535
4676
  }
3536
- IndexPageHeader& IndexPageHeader::operator=(const IndexPageHeader& other65) noexcept {
3537
- (void) other65;
4677
+ IndexPageHeader::IndexPageHeader(IndexPageHeader&& other138) noexcept {
4678
+ (void) other138;
4679
+ }
4680
+ IndexPageHeader& IndexPageHeader::operator=(const IndexPageHeader& other139) noexcept {
4681
+ (void) other139;
4682
+ return *this;
4683
+ }
4684
+ IndexPageHeader& IndexPageHeader::operator=(IndexPageHeader&& other140) noexcept {
4685
+ (void) other140;
3538
4686
  return *this;
3539
4687
  }
3540
4688
  void IndexPageHeader::printTo(std::ostream& out) const {
@@ -3605,9 +4753,9 @@ uint32_t DictionaryPageHeader::read(::apache::thrift::protocol::TProtocol* iprot
3605
4753
  break;
3606
4754
  case 2:
3607
4755
  if (ftype == ::apache::thrift::protocol::T_I32) {
3608
- int32_t ecast66;
3609
- xfer += iprot->readI32(ecast66);
3610
- this->encoding = static_cast<Encoding::type>(ecast66);
4756
+ int32_t ecast141;
4757
+ xfer += iprot->readI32(ecast141);
4758
+ this->encoding = static_cast<Encoding::type>(ecast141);
3611
4759
  isset_encoding = true;
3612
4760
  } else {
3613
4761
  xfer += iprot->skip(ftype);
@@ -3668,17 +4816,30 @@ void swap(DictionaryPageHeader &a, DictionaryPageHeader &b) {
3668
4816
  swap(a.__isset, b.__isset);
3669
4817
  }
3670
4818
 
3671
- DictionaryPageHeader::DictionaryPageHeader(const DictionaryPageHeader& other67) noexcept {
3672
- num_values = other67.num_values;
3673
- encoding = other67.encoding;
3674
- is_sorted = other67.is_sorted;
3675
- __isset = other67.__isset;
4819
+ DictionaryPageHeader::DictionaryPageHeader(const DictionaryPageHeader& other142) noexcept {
4820
+ num_values = other142.num_values;
4821
+ encoding = other142.encoding;
4822
+ is_sorted = other142.is_sorted;
4823
+ __isset = other142.__isset;
4824
+ }
4825
+ DictionaryPageHeader::DictionaryPageHeader(DictionaryPageHeader&& other143) noexcept {
4826
+ num_values = other143.num_values;
4827
+ encoding = other143.encoding;
4828
+ is_sorted = other143.is_sorted;
4829
+ __isset = other143.__isset;
3676
4830
  }
3677
- DictionaryPageHeader& DictionaryPageHeader::operator=(const DictionaryPageHeader& other68) noexcept {
3678
- num_values = other68.num_values;
3679
- encoding = other68.encoding;
3680
- is_sorted = other68.is_sorted;
3681
- __isset = other68.__isset;
4831
+ DictionaryPageHeader& DictionaryPageHeader::operator=(const DictionaryPageHeader& other144) noexcept {
4832
+ num_values = other144.num_values;
4833
+ encoding = other144.encoding;
4834
+ is_sorted = other144.is_sorted;
4835
+ __isset = other144.__isset;
4836
+ return *this;
4837
+ }
4838
+ DictionaryPageHeader& DictionaryPageHeader::operator=(DictionaryPageHeader&& other145) noexcept {
4839
+ num_values = other145.num_values;
4840
+ encoding = other145.encoding;
4841
+ is_sorted = other145.is_sorted;
4842
+ __isset = other145.__isset;
3682
4843
  return *this;
3683
4844
  }
3684
4845
  void DictionaryPageHeader::printTo(std::ostream& out) const {
@@ -3797,9 +4958,9 @@ uint32_t DataPageHeaderV2::read(::apache::thrift::protocol::TProtocol* iprot) {
3797
4958
  break;
3798
4959
  case 4:
3799
4960
  if (ftype == ::apache::thrift::protocol::T_I32) {
3800
- int32_t ecast69;
3801
- xfer += iprot->readI32(ecast69);
3802
- this->encoding = static_cast<Encoding::type>(ecast69);
4961
+ int32_t ecast146;
4962
+ xfer += iprot->readI32(ecast146);
4963
+ this->encoding = static_cast<Encoding::type>(ecast146);
3803
4964
  isset_encoding = true;
3804
4965
  } else {
3805
4966
  xfer += iprot->skip(ftype);
@@ -3918,27 +5079,50 @@ void swap(DataPageHeaderV2 &a, DataPageHeaderV2 &b) {
3918
5079
  swap(a.__isset, b.__isset);
3919
5080
  }
3920
5081
 
3921
- DataPageHeaderV2::DataPageHeaderV2(const DataPageHeaderV2& other70) {
3922
- num_values = other70.num_values;
3923
- num_nulls = other70.num_nulls;
3924
- num_rows = other70.num_rows;
3925
- encoding = other70.encoding;
3926
- definition_levels_byte_length = other70.definition_levels_byte_length;
3927
- repetition_levels_byte_length = other70.repetition_levels_byte_length;
3928
- is_compressed = other70.is_compressed;
3929
- statistics = other70.statistics;
3930
- __isset = other70.__isset;
3931
- }
3932
- DataPageHeaderV2& DataPageHeaderV2::operator=(const DataPageHeaderV2& other71) {
3933
- num_values = other71.num_values;
3934
- num_nulls = other71.num_nulls;
3935
- num_rows = other71.num_rows;
3936
- encoding = other71.encoding;
3937
- definition_levels_byte_length = other71.definition_levels_byte_length;
3938
- repetition_levels_byte_length = other71.repetition_levels_byte_length;
3939
- is_compressed = other71.is_compressed;
3940
- statistics = other71.statistics;
3941
- __isset = other71.__isset;
5082
+ DataPageHeaderV2::DataPageHeaderV2(const DataPageHeaderV2& other147) {
5083
+ num_values = other147.num_values;
5084
+ num_nulls = other147.num_nulls;
5085
+ num_rows = other147.num_rows;
5086
+ encoding = other147.encoding;
5087
+ definition_levels_byte_length = other147.definition_levels_byte_length;
5088
+ repetition_levels_byte_length = other147.repetition_levels_byte_length;
5089
+ is_compressed = other147.is_compressed;
5090
+ statistics = other147.statistics;
5091
+ __isset = other147.__isset;
5092
+ }
5093
+ DataPageHeaderV2::DataPageHeaderV2(DataPageHeaderV2&& other148) noexcept {
5094
+ num_values = other148.num_values;
5095
+ num_nulls = other148.num_nulls;
5096
+ num_rows = other148.num_rows;
5097
+ encoding = other148.encoding;
5098
+ definition_levels_byte_length = other148.definition_levels_byte_length;
5099
+ repetition_levels_byte_length = other148.repetition_levels_byte_length;
5100
+ is_compressed = other148.is_compressed;
5101
+ statistics = std::move(other148.statistics);
5102
+ __isset = other148.__isset;
5103
+ }
5104
+ DataPageHeaderV2& DataPageHeaderV2::operator=(const DataPageHeaderV2& other149) {
5105
+ num_values = other149.num_values;
5106
+ num_nulls = other149.num_nulls;
5107
+ num_rows = other149.num_rows;
5108
+ encoding = other149.encoding;
5109
+ definition_levels_byte_length = other149.definition_levels_byte_length;
5110
+ repetition_levels_byte_length = other149.repetition_levels_byte_length;
5111
+ is_compressed = other149.is_compressed;
5112
+ statistics = other149.statistics;
5113
+ __isset = other149.__isset;
5114
+ return *this;
5115
+ }
5116
+ DataPageHeaderV2& DataPageHeaderV2::operator=(DataPageHeaderV2&& other150) noexcept {
5117
+ num_values = other150.num_values;
5118
+ num_nulls = other150.num_nulls;
5119
+ num_rows = other150.num_rows;
5120
+ encoding = other150.encoding;
5121
+ definition_levels_byte_length = other150.definition_levels_byte_length;
5122
+ repetition_levels_byte_length = other150.repetition_levels_byte_length;
5123
+ is_compressed = other150.is_compressed;
5124
+ statistics = std::move(other150.statistics);
5125
+ __isset = other150.__isset;
3942
5126
  return *this;
3943
5127
  }
3944
5128
  void DataPageHeaderV2::printTo(std::ostream& out) const {
@@ -4012,11 +5196,18 @@ void swap(SplitBlockAlgorithm &a, SplitBlockAlgorithm &b) {
4012
5196
  (void) b;
4013
5197
  }
4014
5198
 
4015
- SplitBlockAlgorithm::SplitBlockAlgorithm(const SplitBlockAlgorithm& other72) noexcept {
4016
- (void) other72;
5199
+ SplitBlockAlgorithm::SplitBlockAlgorithm(const SplitBlockAlgorithm& other151) noexcept {
5200
+ (void) other151;
4017
5201
  }
4018
- SplitBlockAlgorithm& SplitBlockAlgorithm::operator=(const SplitBlockAlgorithm& other73) noexcept {
4019
- (void) other73;
5202
+ SplitBlockAlgorithm::SplitBlockAlgorithm(SplitBlockAlgorithm&& other152) noexcept {
5203
+ (void) other152;
5204
+ }
5205
+ SplitBlockAlgorithm& SplitBlockAlgorithm::operator=(const SplitBlockAlgorithm& other153) noexcept {
5206
+ (void) other153;
5207
+ return *this;
5208
+ }
5209
+ SplitBlockAlgorithm& SplitBlockAlgorithm::operator=(SplitBlockAlgorithm&& other154) noexcept {
5210
+ (void) other154;
4020
5211
  return *this;
4021
5212
  }
4022
5213
  void SplitBlockAlgorithm::printTo(std::ostream& out) const {
@@ -4105,13 +5296,22 @@ void swap(BloomFilterAlgorithm &a, BloomFilterAlgorithm &b) {
4105
5296
  swap(a.__isset, b.__isset);
4106
5297
  }
4107
5298
 
4108
- BloomFilterAlgorithm::BloomFilterAlgorithm(const BloomFilterAlgorithm& other74) noexcept {
4109
- BLOCK = other74.BLOCK;
4110
- __isset = other74.__isset;
5299
+ BloomFilterAlgorithm::BloomFilterAlgorithm(const BloomFilterAlgorithm& other155) noexcept {
5300
+ BLOCK = other155.BLOCK;
5301
+ __isset = other155.__isset;
5302
+ }
5303
+ BloomFilterAlgorithm::BloomFilterAlgorithm(BloomFilterAlgorithm&& other156) noexcept {
5304
+ BLOCK = std::move(other156.BLOCK);
5305
+ __isset = other156.__isset;
4111
5306
  }
4112
- BloomFilterAlgorithm& BloomFilterAlgorithm::operator=(const BloomFilterAlgorithm& other75) noexcept {
4113
- BLOCK = other75.BLOCK;
4114
- __isset = other75.__isset;
5307
+ BloomFilterAlgorithm& BloomFilterAlgorithm::operator=(const BloomFilterAlgorithm& other157) noexcept {
5308
+ BLOCK = other157.BLOCK;
5309
+ __isset = other157.__isset;
5310
+ return *this;
5311
+ }
5312
+ BloomFilterAlgorithm& BloomFilterAlgorithm::operator=(BloomFilterAlgorithm&& other158) noexcept {
5313
+ BLOCK = std::move(other158.BLOCK);
5314
+ __isset = other158.__isset;
4115
5315
  return *this;
4116
5316
  }
4117
5317
  void BloomFilterAlgorithm::printTo(std::ostream& out) const {
@@ -4178,11 +5378,18 @@ void swap(XxHash &a, XxHash &b) {
4178
5378
  (void) b;
4179
5379
  }
4180
5380
 
4181
- XxHash::XxHash(const XxHash& other76) noexcept {
4182
- (void) other76;
5381
+ XxHash::XxHash(const XxHash& other159) noexcept {
5382
+ (void) other159;
4183
5383
  }
4184
- XxHash& XxHash::operator=(const XxHash& other77) noexcept {
4185
- (void) other77;
5384
+ XxHash::XxHash(XxHash&& other160) noexcept {
5385
+ (void) other160;
5386
+ }
5387
+ XxHash& XxHash::operator=(const XxHash& other161) noexcept {
5388
+ (void) other161;
5389
+ return *this;
5390
+ }
5391
+ XxHash& XxHash::operator=(XxHash&& other162) noexcept {
5392
+ (void) other162;
4186
5393
  return *this;
4187
5394
  }
4188
5395
  void XxHash::printTo(std::ostream& out) const {
@@ -4271,13 +5478,22 @@ void swap(BloomFilterHash &a, BloomFilterHash &b) {
4271
5478
  swap(a.__isset, b.__isset);
4272
5479
  }
4273
5480
 
4274
- BloomFilterHash::BloomFilterHash(const BloomFilterHash& other78) noexcept {
4275
- XXHASH = other78.XXHASH;
4276
- __isset = other78.__isset;
5481
+ BloomFilterHash::BloomFilterHash(const BloomFilterHash& other163) noexcept {
5482
+ XXHASH = other163.XXHASH;
5483
+ __isset = other163.__isset;
4277
5484
  }
4278
- BloomFilterHash& BloomFilterHash::operator=(const BloomFilterHash& other79) noexcept {
4279
- XXHASH = other79.XXHASH;
4280
- __isset = other79.__isset;
5485
+ BloomFilterHash::BloomFilterHash(BloomFilterHash&& other164) noexcept {
5486
+ XXHASH = std::move(other164.XXHASH);
5487
+ __isset = other164.__isset;
5488
+ }
5489
+ BloomFilterHash& BloomFilterHash::operator=(const BloomFilterHash& other165) noexcept {
5490
+ XXHASH = other165.XXHASH;
5491
+ __isset = other165.__isset;
5492
+ return *this;
5493
+ }
5494
+ BloomFilterHash& BloomFilterHash::operator=(BloomFilterHash&& other166) noexcept {
5495
+ XXHASH = std::move(other166.XXHASH);
5496
+ __isset = other166.__isset;
4281
5497
  return *this;
4282
5498
  }
4283
5499
  void BloomFilterHash::printTo(std::ostream& out) const {
@@ -4344,11 +5560,18 @@ void swap(Uncompressed &a, Uncompressed &b) {
4344
5560
  (void) b;
4345
5561
  }
4346
5562
 
4347
- Uncompressed::Uncompressed(const Uncompressed& other80) noexcept {
4348
- (void) other80;
5563
+ Uncompressed::Uncompressed(const Uncompressed& other167) noexcept {
5564
+ (void) other167;
4349
5565
  }
4350
- Uncompressed& Uncompressed::operator=(const Uncompressed& other81) noexcept {
4351
- (void) other81;
5566
+ Uncompressed::Uncompressed(Uncompressed&& other168) noexcept {
5567
+ (void) other168;
5568
+ }
5569
+ Uncompressed& Uncompressed::operator=(const Uncompressed& other169) noexcept {
5570
+ (void) other169;
5571
+ return *this;
5572
+ }
5573
+ Uncompressed& Uncompressed::operator=(Uncompressed&& other170) noexcept {
5574
+ (void) other170;
4352
5575
  return *this;
4353
5576
  }
4354
5577
  void Uncompressed::printTo(std::ostream& out) const {
@@ -4437,13 +5660,22 @@ void swap(BloomFilterCompression &a, BloomFilterCompression &b) {
4437
5660
  swap(a.__isset, b.__isset);
4438
5661
  }
4439
5662
 
4440
- BloomFilterCompression::BloomFilterCompression(const BloomFilterCompression& other82) noexcept {
4441
- UNCOMPRESSED = other82.UNCOMPRESSED;
4442
- __isset = other82.__isset;
5663
+ BloomFilterCompression::BloomFilterCompression(const BloomFilterCompression& other171) noexcept {
5664
+ UNCOMPRESSED = other171.UNCOMPRESSED;
5665
+ __isset = other171.__isset;
4443
5666
  }
4444
- BloomFilterCompression& BloomFilterCompression::operator=(const BloomFilterCompression& other83) noexcept {
4445
- UNCOMPRESSED = other83.UNCOMPRESSED;
4446
- __isset = other83.__isset;
5667
+ BloomFilterCompression::BloomFilterCompression(BloomFilterCompression&& other172) noexcept {
5668
+ UNCOMPRESSED = std::move(other172.UNCOMPRESSED);
5669
+ __isset = other172.__isset;
5670
+ }
5671
+ BloomFilterCompression& BloomFilterCompression::operator=(const BloomFilterCompression& other173) noexcept {
5672
+ UNCOMPRESSED = other173.UNCOMPRESSED;
5673
+ __isset = other173.__isset;
5674
+ return *this;
5675
+ }
5676
+ BloomFilterCompression& BloomFilterCompression::operator=(BloomFilterCompression&& other174) noexcept {
5677
+ UNCOMPRESSED = std::move(other174.UNCOMPRESSED);
5678
+ __isset = other174.__isset;
4447
5679
  return *this;
4448
5680
  }
4449
5681
  void BloomFilterCompression::printTo(std::ostream& out) const {
@@ -4594,17 +5826,30 @@ void swap(BloomFilterHeader &a, BloomFilterHeader &b) {
4594
5826
  swap(a.compression, b.compression);
4595
5827
  }
4596
5828
 
4597
- BloomFilterHeader::BloomFilterHeader(const BloomFilterHeader& other84) noexcept {
4598
- numBytes = other84.numBytes;
4599
- algorithm = other84.algorithm;
4600
- hash = other84.hash;
4601
- compression = other84.compression;
5829
+ BloomFilterHeader::BloomFilterHeader(const BloomFilterHeader& other175) noexcept {
5830
+ numBytes = other175.numBytes;
5831
+ algorithm = other175.algorithm;
5832
+ hash = other175.hash;
5833
+ compression = other175.compression;
5834
+ }
5835
+ BloomFilterHeader::BloomFilterHeader(BloomFilterHeader&& other176) noexcept {
5836
+ numBytes = other176.numBytes;
5837
+ algorithm = std::move(other176.algorithm);
5838
+ hash = std::move(other176.hash);
5839
+ compression = std::move(other176.compression);
4602
5840
  }
4603
- BloomFilterHeader& BloomFilterHeader::operator=(const BloomFilterHeader& other85) noexcept {
4604
- numBytes = other85.numBytes;
4605
- algorithm = other85.algorithm;
4606
- hash = other85.hash;
4607
- compression = other85.compression;
5841
+ BloomFilterHeader& BloomFilterHeader::operator=(const BloomFilterHeader& other177) noexcept {
5842
+ numBytes = other177.numBytes;
5843
+ algorithm = other177.algorithm;
5844
+ hash = other177.hash;
5845
+ compression = other177.compression;
5846
+ return *this;
5847
+ }
5848
+ BloomFilterHeader& BloomFilterHeader::operator=(BloomFilterHeader&& other178) noexcept {
5849
+ numBytes = other178.numBytes;
5850
+ algorithm = std::move(other178.algorithm);
5851
+ hash = std::move(other178.hash);
5852
+ compression = std::move(other178.compression);
4608
5853
  return *this;
4609
5854
  }
4610
5855
  void BloomFilterHeader::printTo(std::ostream& out) const {
@@ -4697,9 +5942,9 @@ uint32_t PageHeader::read(::apache::thrift::protocol::TProtocol* iprot) {
4697
5942
  {
4698
5943
  case 1:
4699
5944
  if (ftype == ::apache::thrift::protocol::T_I32) {
4700
- int32_t ecast86;
4701
- xfer += iprot->readI32(ecast86);
4702
- this->type = static_cast<PageType::type>(ecast86);
5945
+ int32_t ecast179;
5946
+ xfer += iprot->readI32(ecast179);
5947
+ this->type = static_cast<PageType::type>(ecast179);
4703
5948
  isset_type = true;
4704
5949
  } else {
4705
5950
  xfer += iprot->skip(ftype);
@@ -4839,27 +6084,50 @@ void swap(PageHeader &a, PageHeader &b) {
4839
6084
  swap(a.__isset, b.__isset);
4840
6085
  }
4841
6086
 
4842
- PageHeader::PageHeader(const PageHeader& other87) {
4843
- type = other87.type;
4844
- uncompressed_page_size = other87.uncompressed_page_size;
4845
- compressed_page_size = other87.compressed_page_size;
4846
- crc = other87.crc;
4847
- data_page_header = other87.data_page_header;
4848
- index_page_header = other87.index_page_header;
4849
- dictionary_page_header = other87.dictionary_page_header;
4850
- data_page_header_v2 = other87.data_page_header_v2;
4851
- __isset = other87.__isset;
4852
- }
4853
- PageHeader& PageHeader::operator=(const PageHeader& other88) {
4854
- type = other88.type;
4855
- uncompressed_page_size = other88.uncompressed_page_size;
4856
- compressed_page_size = other88.compressed_page_size;
4857
- crc = other88.crc;
4858
- data_page_header = other88.data_page_header;
4859
- index_page_header = other88.index_page_header;
4860
- dictionary_page_header = other88.dictionary_page_header;
4861
- data_page_header_v2 = other88.data_page_header_v2;
4862
- __isset = other88.__isset;
6087
+ PageHeader::PageHeader(const PageHeader& other180) {
6088
+ type = other180.type;
6089
+ uncompressed_page_size = other180.uncompressed_page_size;
6090
+ compressed_page_size = other180.compressed_page_size;
6091
+ crc = other180.crc;
6092
+ data_page_header = other180.data_page_header;
6093
+ index_page_header = other180.index_page_header;
6094
+ dictionary_page_header = other180.dictionary_page_header;
6095
+ data_page_header_v2 = other180.data_page_header_v2;
6096
+ __isset = other180.__isset;
6097
+ }
6098
+ PageHeader::PageHeader(PageHeader&& other181) noexcept {
6099
+ type = other181.type;
6100
+ uncompressed_page_size = other181.uncompressed_page_size;
6101
+ compressed_page_size = other181.compressed_page_size;
6102
+ crc = other181.crc;
6103
+ data_page_header = std::move(other181.data_page_header);
6104
+ index_page_header = std::move(other181.index_page_header);
6105
+ dictionary_page_header = std::move(other181.dictionary_page_header);
6106
+ data_page_header_v2 = std::move(other181.data_page_header_v2);
6107
+ __isset = other181.__isset;
6108
+ }
6109
+ PageHeader& PageHeader::operator=(const PageHeader& other182) {
6110
+ type = other182.type;
6111
+ uncompressed_page_size = other182.uncompressed_page_size;
6112
+ compressed_page_size = other182.compressed_page_size;
6113
+ crc = other182.crc;
6114
+ data_page_header = other182.data_page_header;
6115
+ index_page_header = other182.index_page_header;
6116
+ dictionary_page_header = other182.dictionary_page_header;
6117
+ data_page_header_v2 = other182.data_page_header_v2;
6118
+ __isset = other182.__isset;
6119
+ return *this;
6120
+ }
6121
+ PageHeader& PageHeader::operator=(PageHeader&& other183) noexcept {
6122
+ type = other183.type;
6123
+ uncompressed_page_size = other183.uncompressed_page_size;
6124
+ compressed_page_size = other183.compressed_page_size;
6125
+ crc = other183.crc;
6126
+ data_page_header = std::move(other183.data_page_header);
6127
+ index_page_header = std::move(other183.index_page_header);
6128
+ dictionary_page_header = std::move(other183.dictionary_page_header);
6129
+ data_page_header_v2 = std::move(other183.data_page_header_v2);
6130
+ __isset = other183.__isset;
4863
6131
  return *this;
4864
6132
  }
4865
6133
  void PageHeader::printTo(std::ostream& out) const {
@@ -4978,15 +6246,26 @@ void swap(KeyValue &a, KeyValue &b) {
4978
6246
  swap(a.__isset, b.__isset);
4979
6247
  }
4980
6248
 
4981
- KeyValue::KeyValue(const KeyValue& other89) {
4982
- key = other89.key;
4983
- value = other89.value;
4984
- __isset = other89.__isset;
6249
+ KeyValue::KeyValue(const KeyValue& other184) {
6250
+ key = other184.key;
6251
+ value = other184.value;
6252
+ __isset = other184.__isset;
4985
6253
  }
4986
- KeyValue& KeyValue::operator=(const KeyValue& other90) {
4987
- key = other90.key;
4988
- value = other90.value;
4989
- __isset = other90.__isset;
6254
+ KeyValue::KeyValue(KeyValue&& other185) noexcept {
6255
+ key = std::move(other185.key);
6256
+ value = std::move(other185.value);
6257
+ __isset = other185.__isset;
6258
+ }
6259
+ KeyValue& KeyValue::operator=(const KeyValue& other186) {
6260
+ key = other186.key;
6261
+ value = other186.value;
6262
+ __isset = other186.__isset;
6263
+ return *this;
6264
+ }
6265
+ KeyValue& KeyValue::operator=(KeyValue&& other187) noexcept {
6266
+ key = std::move(other187.key);
6267
+ value = std::move(other187.value);
6268
+ __isset = other187.__isset;
4990
6269
  return *this;
4991
6270
  }
4992
6271
  void KeyValue::printTo(std::ostream& out) const {
@@ -5120,15 +6399,26 @@ void swap(SortingColumn &a, SortingColumn &b) {
5120
6399
  swap(a.nulls_first, b.nulls_first);
5121
6400
  }
5122
6401
 
5123
- SortingColumn::SortingColumn(const SortingColumn& other91) noexcept {
5124
- column_idx = other91.column_idx;
5125
- descending = other91.descending;
5126
- nulls_first = other91.nulls_first;
6402
+ SortingColumn::SortingColumn(const SortingColumn& other188) noexcept {
6403
+ column_idx = other188.column_idx;
6404
+ descending = other188.descending;
6405
+ nulls_first = other188.nulls_first;
6406
+ }
6407
+ SortingColumn::SortingColumn(SortingColumn&& other189) noexcept {
6408
+ column_idx = other189.column_idx;
6409
+ descending = other189.descending;
6410
+ nulls_first = other189.nulls_first;
5127
6411
  }
5128
- SortingColumn& SortingColumn::operator=(const SortingColumn& other92) noexcept {
5129
- column_idx = other92.column_idx;
5130
- descending = other92.descending;
5131
- nulls_first = other92.nulls_first;
6412
+ SortingColumn& SortingColumn::operator=(const SortingColumn& other190) noexcept {
6413
+ column_idx = other190.column_idx;
6414
+ descending = other190.descending;
6415
+ nulls_first = other190.nulls_first;
6416
+ return *this;
6417
+ }
6418
+ SortingColumn& SortingColumn::operator=(SortingColumn&& other191) noexcept {
6419
+ column_idx = other191.column_idx;
6420
+ descending = other191.descending;
6421
+ nulls_first = other191.nulls_first;
5132
6422
  return *this;
5133
6423
  }
5134
6424
  void SortingColumn::printTo(std::ostream& out) const {
@@ -5194,9 +6484,9 @@ uint32_t PageEncodingStats::read(::apache::thrift::protocol::TProtocol* iprot) {
5194
6484
  {
5195
6485
  case 1:
5196
6486
  if (ftype == ::apache::thrift::protocol::T_I32) {
5197
- int32_t ecast93;
5198
- xfer += iprot->readI32(ecast93);
5199
- this->page_type = static_cast<PageType::type>(ecast93);
6487
+ int32_t ecast192;
6488
+ xfer += iprot->readI32(ecast192);
6489
+ this->page_type = static_cast<PageType::type>(ecast192);
5200
6490
  isset_page_type = true;
5201
6491
  } else {
5202
6492
  xfer += iprot->skip(ftype);
@@ -5204,9 +6494,9 @@ uint32_t PageEncodingStats::read(::apache::thrift::protocol::TProtocol* iprot) {
5204
6494
  break;
5205
6495
  case 2:
5206
6496
  if (ftype == ::apache::thrift::protocol::T_I32) {
5207
- int32_t ecast94;
5208
- xfer += iprot->readI32(ecast94);
5209
- this->encoding = static_cast<Encoding::type>(ecast94);
6497
+ int32_t ecast193;
6498
+ xfer += iprot->readI32(ecast193);
6499
+ this->encoding = static_cast<Encoding::type>(ecast193);
5210
6500
  isset_encoding = true;
5211
6501
  } else {
5212
6502
  xfer += iprot->skip(ftype);
@@ -5267,15 +6557,26 @@ void swap(PageEncodingStats &a, PageEncodingStats &b) {
5267
6557
  swap(a.count, b.count);
5268
6558
  }
5269
6559
 
5270
- PageEncodingStats::PageEncodingStats(const PageEncodingStats& other95) noexcept {
5271
- page_type = other95.page_type;
5272
- encoding = other95.encoding;
5273
- count = other95.count;
6560
+ PageEncodingStats::PageEncodingStats(const PageEncodingStats& other194) noexcept {
6561
+ page_type = other194.page_type;
6562
+ encoding = other194.encoding;
6563
+ count = other194.count;
6564
+ }
6565
+ PageEncodingStats::PageEncodingStats(PageEncodingStats&& other195) noexcept {
6566
+ page_type = other195.page_type;
6567
+ encoding = other195.encoding;
6568
+ count = other195.count;
6569
+ }
6570
+ PageEncodingStats& PageEncodingStats::operator=(const PageEncodingStats& other196) noexcept {
6571
+ page_type = other196.page_type;
6572
+ encoding = other196.encoding;
6573
+ count = other196.count;
6574
+ return *this;
5274
6575
  }
5275
- PageEncodingStats& PageEncodingStats::operator=(const PageEncodingStats& other96) noexcept {
5276
- page_type = other96.page_type;
5277
- encoding = other96.encoding;
5278
- count = other96.count;
6576
+ PageEncodingStats& PageEncodingStats::operator=(PageEncodingStats&& other197) noexcept {
6577
+ page_type = other197.page_type;
6578
+ encoding = other197.encoding;
6579
+ count = other197.count;
5279
6580
  return *this;
5280
6581
  }
5281
6582
  void PageEncodingStats::printTo(std::ostream& out) const {
@@ -5375,6 +6676,11 @@ void ColumnMetaData::__set_size_statistics(const SizeStatistics& val) {
5375
6676
  this->size_statistics = val;
5376
6677
  __isset.size_statistics = true;
5377
6678
  }
6679
+
6680
+ void ColumnMetaData::__set_geospatial_statistics(const GeospatialStatistics& val) {
6681
+ this->geospatial_statistics = val;
6682
+ __isset.geospatial_statistics = true;
6683
+ }
5378
6684
  std::ostream& operator<<(std::ostream& out, const ColumnMetaData& obj)
5379
6685
  {
5380
6686
  obj.printTo(out);
@@ -5413,9 +6719,9 @@ uint32_t ColumnMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
5413
6719
  {
5414
6720
  case 1:
5415
6721
  if (ftype == ::apache::thrift::protocol::T_I32) {
5416
- int32_t ecast97;
5417
- xfer += iprot->readI32(ecast97);
5418
- this->type = static_cast<Type::type>(ecast97);
6722
+ int32_t ecast198;
6723
+ xfer += iprot->readI32(ecast198);
6724
+ this->type = static_cast<Type::type>(ecast198);
5419
6725
  isset_type = true;
5420
6726
  } else {
5421
6727
  xfer += iprot->skip(ftype);
@@ -5425,16 +6731,16 @@ uint32_t ColumnMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
5425
6731
  if (ftype == ::apache::thrift::protocol::T_LIST) {
5426
6732
  {
5427
6733
  this->encodings.clear();
5428
- uint32_t _size98;
5429
- ::apache::thrift::protocol::TType _etype101;
5430
- xfer += iprot->readListBegin(_etype101, _size98);
5431
- this->encodings.resize(_size98);
5432
- uint32_t _i102;
5433
- for (_i102 = 0; _i102 < _size98; ++_i102)
6734
+ uint32_t _size199;
6735
+ ::apache::thrift::protocol::TType _etype202;
6736
+ xfer += iprot->readListBegin(_etype202, _size199);
6737
+ this->encodings.resize(_size199);
6738
+ uint32_t _i203;
6739
+ for (_i203 = 0; _i203 < _size199; ++_i203)
5434
6740
  {
5435
- int32_t ecast103;
5436
- xfer += iprot->readI32(ecast103);
5437
- this->encodings[_i102] = static_cast<Encoding::type>(ecast103);
6741
+ int32_t ecast204;
6742
+ xfer += iprot->readI32(ecast204);
6743
+ this->encodings[_i203] = static_cast<Encoding::type>(ecast204);
5438
6744
  }
5439
6745
  xfer += iprot->readListEnd();
5440
6746
  }
@@ -5447,14 +6753,14 @@ uint32_t ColumnMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
5447
6753
  if (ftype == ::apache::thrift::protocol::T_LIST) {
5448
6754
  {
5449
6755
  this->path_in_schema.clear();
5450
- uint32_t _size104;
5451
- ::apache::thrift::protocol::TType _etype107;
5452
- xfer += iprot->readListBegin(_etype107, _size104);
5453
- this->path_in_schema.resize(_size104);
5454
- uint32_t _i108;
5455
- for (_i108 = 0; _i108 < _size104; ++_i108)
6756
+ uint32_t _size205;
6757
+ ::apache::thrift::protocol::TType _etype208;
6758
+ xfer += iprot->readListBegin(_etype208, _size205);
6759
+ this->path_in_schema.resize(_size205);
6760
+ uint32_t _i209;
6761
+ for (_i209 = 0; _i209 < _size205; ++_i209)
5456
6762
  {
5457
- xfer += iprot->readString(this->path_in_schema[_i108]);
6763
+ xfer += iprot->readString(this->path_in_schema[_i209]);
5458
6764
  }
5459
6765
  xfer += iprot->readListEnd();
5460
6766
  }
@@ -5465,9 +6771,9 @@ uint32_t ColumnMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
5465
6771
  break;
5466
6772
  case 4:
5467
6773
  if (ftype == ::apache::thrift::protocol::T_I32) {
5468
- int32_t ecast109;
5469
- xfer += iprot->readI32(ecast109);
5470
- this->codec = static_cast<CompressionCodec::type>(ecast109);
6774
+ int32_t ecast210;
6775
+ xfer += iprot->readI32(ecast210);
6776
+ this->codec = static_cast<CompressionCodec::type>(ecast210);
5471
6777
  isset_codec = true;
5472
6778
  } else {
5473
6779
  xfer += iprot->skip(ftype);
@@ -5501,14 +6807,14 @@ uint32_t ColumnMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
5501
6807
  if (ftype == ::apache::thrift::protocol::T_LIST) {
5502
6808
  {
5503
6809
  this->key_value_metadata.clear();
5504
- uint32_t _size110;
5505
- ::apache::thrift::protocol::TType _etype113;
5506
- xfer += iprot->readListBegin(_etype113, _size110);
5507
- this->key_value_metadata.resize(_size110);
5508
- uint32_t _i114;
5509
- for (_i114 = 0; _i114 < _size110; ++_i114)
6810
+ uint32_t _size211;
6811
+ ::apache::thrift::protocol::TType _etype214;
6812
+ xfer += iprot->readListBegin(_etype214, _size211);
6813
+ this->key_value_metadata.resize(_size211);
6814
+ uint32_t _i215;
6815
+ for (_i215 = 0; _i215 < _size211; ++_i215)
5510
6816
  {
5511
- xfer += this->key_value_metadata[_i114].read(iprot);
6817
+ xfer += this->key_value_metadata[_i215].read(iprot);
5512
6818
  }
5513
6819
  xfer += iprot->readListEnd();
5514
6820
  }
@@ -5553,14 +6859,14 @@ uint32_t ColumnMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
5553
6859
  if (ftype == ::apache::thrift::protocol::T_LIST) {
5554
6860
  {
5555
6861
  this->encoding_stats.clear();
5556
- uint32_t _size115;
5557
- ::apache::thrift::protocol::TType _etype118;
5558
- xfer += iprot->readListBegin(_etype118, _size115);
5559
- this->encoding_stats.resize(_size115);
5560
- uint32_t _i119;
5561
- for (_i119 = 0; _i119 < _size115; ++_i119)
6862
+ uint32_t _size216;
6863
+ ::apache::thrift::protocol::TType _etype219;
6864
+ xfer += iprot->readListBegin(_etype219, _size216);
6865
+ this->encoding_stats.resize(_size216);
6866
+ uint32_t _i220;
6867
+ for (_i220 = 0; _i220 < _size216; ++_i220)
5562
6868
  {
5563
- xfer += this->encoding_stats[_i119].read(iprot);
6869
+ xfer += this->encoding_stats[_i220].read(iprot);
5564
6870
  }
5565
6871
  xfer += iprot->readListEnd();
5566
6872
  }
@@ -5593,6 +6899,14 @@ uint32_t ColumnMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
5593
6899
  xfer += iprot->skip(ftype);
5594
6900
  }
5595
6901
  break;
6902
+ case 17:
6903
+ if (ftype == ::apache::thrift::protocol::T_STRUCT) {
6904
+ xfer += this->geospatial_statistics.read(iprot);
6905
+ this->__isset.geospatial_statistics = true;
6906
+ } else {
6907
+ xfer += iprot->skip(ftype);
6908
+ }
6909
+ break;
5596
6910
  default:
5597
6911
  xfer += iprot->skip(ftype);
5598
6912
  break;
@@ -5633,10 +6947,10 @@ uint32_t ColumnMetaData::write(::apache::thrift::protocol::TProtocol* oprot) con
5633
6947
  xfer += oprot->writeFieldBegin("encodings", ::apache::thrift::protocol::T_LIST, 2);
5634
6948
  {
5635
6949
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast<uint32_t>(this->encodings.size()));
5636
- duckdb::vector<Encoding::type> ::const_iterator _iter120;
5637
- for (_iter120 = this->encodings.begin(); _iter120 != this->encodings.end(); ++_iter120)
6950
+ duckdb::vector<Encoding::type> ::const_iterator _iter221;
6951
+ for (_iter221 = this->encodings.begin(); _iter221 != this->encodings.end(); ++_iter221)
5638
6952
  {
5639
- xfer += oprot->writeI32(static_cast<int32_t>((*_iter120)));
6953
+ xfer += oprot->writeI32(static_cast<int32_t>((*_iter221)));
5640
6954
  }
5641
6955
  xfer += oprot->writeListEnd();
5642
6956
  }
@@ -5645,10 +6959,10 @@ uint32_t ColumnMetaData::write(::apache::thrift::protocol::TProtocol* oprot) con
5645
6959
  xfer += oprot->writeFieldBegin("path_in_schema", ::apache::thrift::protocol::T_LIST, 3);
5646
6960
  {
5647
6961
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->path_in_schema.size()));
5648
- duckdb::vector<std::string> ::const_iterator _iter121;
5649
- for (_iter121 = this->path_in_schema.begin(); _iter121 != this->path_in_schema.end(); ++_iter121)
6962
+ duckdb::vector<std::string> ::const_iterator _iter222;
6963
+ for (_iter222 = this->path_in_schema.begin(); _iter222 != this->path_in_schema.end(); ++_iter222)
5650
6964
  {
5651
- xfer += oprot->writeString((*_iter121));
6965
+ xfer += oprot->writeString((*_iter222));
5652
6966
  }
5653
6967
  xfer += oprot->writeListEnd();
5654
6968
  }
@@ -5674,10 +6988,10 @@ uint32_t ColumnMetaData::write(::apache::thrift::protocol::TProtocol* oprot) con
5674
6988
  xfer += oprot->writeFieldBegin("key_value_metadata", ::apache::thrift::protocol::T_LIST, 8);
5675
6989
  {
5676
6990
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->key_value_metadata.size()));
5677
- duckdb::vector<KeyValue> ::const_iterator _iter122;
5678
- for (_iter122 = this->key_value_metadata.begin(); _iter122 != this->key_value_metadata.end(); ++_iter122)
6991
+ duckdb::vector<KeyValue> ::const_iterator _iter223;
6992
+ for (_iter223 = this->key_value_metadata.begin(); _iter223 != this->key_value_metadata.end(); ++_iter223)
5679
6993
  {
5680
- xfer += (*_iter122).write(oprot);
6994
+ xfer += (*_iter223).write(oprot);
5681
6995
  }
5682
6996
  xfer += oprot->writeListEnd();
5683
6997
  }
@@ -5706,10 +7020,10 @@ uint32_t ColumnMetaData::write(::apache::thrift::protocol::TProtocol* oprot) con
5706
7020
  xfer += oprot->writeFieldBegin("encoding_stats", ::apache::thrift::protocol::T_LIST, 13);
5707
7021
  {
5708
7022
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->encoding_stats.size()));
5709
- duckdb::vector<PageEncodingStats> ::const_iterator _iter123;
5710
- for (_iter123 = this->encoding_stats.begin(); _iter123 != this->encoding_stats.end(); ++_iter123)
7023
+ duckdb::vector<PageEncodingStats> ::const_iterator _iter224;
7024
+ for (_iter224 = this->encoding_stats.begin(); _iter224 != this->encoding_stats.end(); ++_iter224)
5711
7025
  {
5712
- xfer += (*_iter123).write(oprot);
7026
+ xfer += (*_iter224).write(oprot);
5713
7027
  }
5714
7028
  xfer += oprot->writeListEnd();
5715
7029
  }
@@ -5730,6 +7044,11 @@ uint32_t ColumnMetaData::write(::apache::thrift::protocol::TProtocol* oprot) con
5730
7044
  xfer += this->size_statistics.write(oprot);
5731
7045
  xfer += oprot->writeFieldEnd();
5732
7046
  }
7047
+ if (this->__isset.geospatial_statistics) {
7048
+ xfer += oprot->writeFieldBegin("geospatial_statistics", ::apache::thrift::protocol::T_STRUCT, 17);
7049
+ xfer += this->geospatial_statistics.write(oprot);
7050
+ xfer += oprot->writeFieldEnd();
7051
+ }
5733
7052
  xfer += oprot->writeFieldStop();
5734
7053
  xfer += oprot->writeStructEnd();
5735
7054
  return xfer;
@@ -5753,46 +7072,90 @@ void swap(ColumnMetaData &a, ColumnMetaData &b) {
5753
7072
  swap(a.bloom_filter_offset, b.bloom_filter_offset);
5754
7073
  swap(a.bloom_filter_length, b.bloom_filter_length);
5755
7074
  swap(a.size_statistics, b.size_statistics);
7075
+ swap(a.geospatial_statistics, b.geospatial_statistics);
5756
7076
  swap(a.__isset, b.__isset);
5757
7077
  }
5758
7078
 
5759
- ColumnMetaData::ColumnMetaData(const ColumnMetaData& other124) {
5760
- type = other124.type;
5761
- encodings = other124.encodings;
5762
- path_in_schema = other124.path_in_schema;
5763
- codec = other124.codec;
5764
- num_values = other124.num_values;
5765
- total_uncompressed_size = other124.total_uncompressed_size;
5766
- total_compressed_size = other124.total_compressed_size;
5767
- key_value_metadata = other124.key_value_metadata;
5768
- data_page_offset = other124.data_page_offset;
5769
- index_page_offset = other124.index_page_offset;
5770
- dictionary_page_offset = other124.dictionary_page_offset;
5771
- statistics = other124.statistics;
5772
- encoding_stats = other124.encoding_stats;
5773
- bloom_filter_offset = other124.bloom_filter_offset;
5774
- bloom_filter_length = other124.bloom_filter_length;
5775
- size_statistics = other124.size_statistics;
5776
- __isset = other124.__isset;
5777
- }
5778
- ColumnMetaData& ColumnMetaData::operator=(const ColumnMetaData& other125) {
5779
- type = other125.type;
5780
- encodings = other125.encodings;
5781
- path_in_schema = other125.path_in_schema;
5782
- codec = other125.codec;
5783
- num_values = other125.num_values;
5784
- total_uncompressed_size = other125.total_uncompressed_size;
5785
- total_compressed_size = other125.total_compressed_size;
5786
- key_value_metadata = other125.key_value_metadata;
5787
- data_page_offset = other125.data_page_offset;
5788
- index_page_offset = other125.index_page_offset;
5789
- dictionary_page_offset = other125.dictionary_page_offset;
5790
- statistics = other125.statistics;
5791
- encoding_stats = other125.encoding_stats;
5792
- bloom_filter_offset = other125.bloom_filter_offset;
5793
- bloom_filter_length = other125.bloom_filter_length;
5794
- size_statistics = other125.size_statistics;
5795
- __isset = other125.__isset;
7079
+ ColumnMetaData::ColumnMetaData(const ColumnMetaData& other225) {
7080
+ type = other225.type;
7081
+ encodings = other225.encodings;
7082
+ path_in_schema = other225.path_in_schema;
7083
+ codec = other225.codec;
7084
+ num_values = other225.num_values;
7085
+ total_uncompressed_size = other225.total_uncompressed_size;
7086
+ total_compressed_size = other225.total_compressed_size;
7087
+ key_value_metadata = other225.key_value_metadata;
7088
+ data_page_offset = other225.data_page_offset;
7089
+ index_page_offset = other225.index_page_offset;
7090
+ dictionary_page_offset = other225.dictionary_page_offset;
7091
+ statistics = other225.statistics;
7092
+ encoding_stats = other225.encoding_stats;
7093
+ bloom_filter_offset = other225.bloom_filter_offset;
7094
+ bloom_filter_length = other225.bloom_filter_length;
7095
+ size_statistics = other225.size_statistics;
7096
+ geospatial_statistics = other225.geospatial_statistics;
7097
+ __isset = other225.__isset;
7098
+ }
7099
+ ColumnMetaData::ColumnMetaData(ColumnMetaData&& other226) noexcept {
7100
+ type = other226.type;
7101
+ encodings = std::move(other226.encodings);
7102
+ path_in_schema = std::move(other226.path_in_schema);
7103
+ codec = other226.codec;
7104
+ num_values = other226.num_values;
7105
+ total_uncompressed_size = other226.total_uncompressed_size;
7106
+ total_compressed_size = other226.total_compressed_size;
7107
+ key_value_metadata = std::move(other226.key_value_metadata);
7108
+ data_page_offset = other226.data_page_offset;
7109
+ index_page_offset = other226.index_page_offset;
7110
+ dictionary_page_offset = other226.dictionary_page_offset;
7111
+ statistics = std::move(other226.statistics);
7112
+ encoding_stats = std::move(other226.encoding_stats);
7113
+ bloom_filter_offset = other226.bloom_filter_offset;
7114
+ bloom_filter_length = other226.bloom_filter_length;
7115
+ size_statistics = std::move(other226.size_statistics);
7116
+ geospatial_statistics = std::move(other226.geospatial_statistics);
7117
+ __isset = other226.__isset;
7118
+ }
7119
+ ColumnMetaData& ColumnMetaData::operator=(const ColumnMetaData& other227) {
7120
+ type = other227.type;
7121
+ encodings = other227.encodings;
7122
+ path_in_schema = other227.path_in_schema;
7123
+ codec = other227.codec;
7124
+ num_values = other227.num_values;
7125
+ total_uncompressed_size = other227.total_uncompressed_size;
7126
+ total_compressed_size = other227.total_compressed_size;
7127
+ key_value_metadata = other227.key_value_metadata;
7128
+ data_page_offset = other227.data_page_offset;
7129
+ index_page_offset = other227.index_page_offset;
7130
+ dictionary_page_offset = other227.dictionary_page_offset;
7131
+ statistics = other227.statistics;
7132
+ encoding_stats = other227.encoding_stats;
7133
+ bloom_filter_offset = other227.bloom_filter_offset;
7134
+ bloom_filter_length = other227.bloom_filter_length;
7135
+ size_statistics = other227.size_statistics;
7136
+ geospatial_statistics = other227.geospatial_statistics;
7137
+ __isset = other227.__isset;
7138
+ return *this;
7139
+ }
7140
+ ColumnMetaData& ColumnMetaData::operator=(ColumnMetaData&& other228) noexcept {
7141
+ type = other228.type;
7142
+ encodings = std::move(other228.encodings);
7143
+ path_in_schema = std::move(other228.path_in_schema);
7144
+ codec = other228.codec;
7145
+ num_values = other228.num_values;
7146
+ total_uncompressed_size = other228.total_uncompressed_size;
7147
+ total_compressed_size = other228.total_compressed_size;
7148
+ key_value_metadata = std::move(other228.key_value_metadata);
7149
+ data_page_offset = other228.data_page_offset;
7150
+ index_page_offset = other228.index_page_offset;
7151
+ dictionary_page_offset = other228.dictionary_page_offset;
7152
+ statistics = std::move(other228.statistics);
7153
+ encoding_stats = std::move(other228.encoding_stats);
7154
+ bloom_filter_offset = other228.bloom_filter_offset;
7155
+ bloom_filter_length = other228.bloom_filter_length;
7156
+ size_statistics = std::move(other228.size_statistics);
7157
+ geospatial_statistics = std::move(other228.geospatial_statistics);
7158
+ __isset = other228.__isset;
5796
7159
  return *this;
5797
7160
  }
5798
7161
  void ColumnMetaData::printTo(std::ostream& out) const {
@@ -5814,6 +7177,7 @@ void ColumnMetaData::printTo(std::ostream& out) const {
5814
7177
  out << ", " << "bloom_filter_offset="; (__isset.bloom_filter_offset ? (out << to_string(bloom_filter_offset)) : (out << "<null>"));
5815
7178
  out << ", " << "bloom_filter_length="; (__isset.bloom_filter_length ? (out << to_string(bloom_filter_length)) : (out << "<null>"));
5816
7179
  out << ", " << "size_statistics="; (__isset.size_statistics ? (out << to_string(size_statistics)) : (out << "<null>"));
7180
+ out << ", " << "geospatial_statistics="; (__isset.geospatial_statistics ? (out << to_string(geospatial_statistics)) : (out << "<null>"));
5817
7181
  out << ")";
5818
7182
  }
5819
7183
 
@@ -5874,11 +7238,18 @@ void swap(EncryptionWithFooterKey &a, EncryptionWithFooterKey &b) {
5874
7238
  (void) b;
5875
7239
  }
5876
7240
 
5877
- EncryptionWithFooterKey::EncryptionWithFooterKey(const EncryptionWithFooterKey& other126) noexcept {
5878
- (void) other126;
7241
+ EncryptionWithFooterKey::EncryptionWithFooterKey(const EncryptionWithFooterKey& other229) noexcept {
7242
+ (void) other229;
5879
7243
  }
5880
- EncryptionWithFooterKey& EncryptionWithFooterKey::operator=(const EncryptionWithFooterKey& other127) noexcept {
5881
- (void) other127;
7244
+ EncryptionWithFooterKey::EncryptionWithFooterKey(EncryptionWithFooterKey&& other230) noexcept {
7245
+ (void) other230;
7246
+ }
7247
+ EncryptionWithFooterKey& EncryptionWithFooterKey::operator=(const EncryptionWithFooterKey& other231) noexcept {
7248
+ (void) other231;
7249
+ return *this;
7250
+ }
7251
+ EncryptionWithFooterKey& EncryptionWithFooterKey::operator=(EncryptionWithFooterKey&& other232) noexcept {
7252
+ (void) other232;
5882
7253
  return *this;
5883
7254
  }
5884
7255
  void EncryptionWithFooterKey::printTo(std::ostream& out) const {
@@ -5936,14 +7307,14 @@ uint32_t EncryptionWithColumnKey::read(::apache::thrift::protocol::TProtocol* ip
5936
7307
  if (ftype == ::apache::thrift::protocol::T_LIST) {
5937
7308
  {
5938
7309
  this->path_in_schema.clear();
5939
- uint32_t _size128;
5940
- ::apache::thrift::protocol::TType _etype131;
5941
- xfer += iprot->readListBegin(_etype131, _size128);
5942
- this->path_in_schema.resize(_size128);
5943
- uint32_t _i132;
5944
- for (_i132 = 0; _i132 < _size128; ++_i132)
7310
+ uint32_t _size233;
7311
+ ::apache::thrift::protocol::TType _etype236;
7312
+ xfer += iprot->readListBegin(_etype236, _size233);
7313
+ this->path_in_schema.resize(_size233);
7314
+ uint32_t _i237;
7315
+ for (_i237 = 0; _i237 < _size233; ++_i237)
5945
7316
  {
5946
- xfer += iprot->readString(this->path_in_schema[_i132]);
7317
+ xfer += iprot->readString(this->path_in_schema[_i237]);
5947
7318
  }
5948
7319
  xfer += iprot->readListEnd();
5949
7320
  }
@@ -5982,10 +7353,10 @@ uint32_t EncryptionWithColumnKey::write(::apache::thrift::protocol::TProtocol* o
5982
7353
  xfer += oprot->writeFieldBegin("path_in_schema", ::apache::thrift::protocol::T_LIST, 1);
5983
7354
  {
5984
7355
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->path_in_schema.size()));
5985
- duckdb::vector<std::string> ::const_iterator _iter133;
5986
- for (_iter133 = this->path_in_schema.begin(); _iter133 != this->path_in_schema.end(); ++_iter133)
7356
+ duckdb::vector<std::string> ::const_iterator _iter238;
7357
+ for (_iter238 = this->path_in_schema.begin(); _iter238 != this->path_in_schema.end(); ++_iter238)
5987
7358
  {
5988
- xfer += oprot->writeString((*_iter133));
7359
+ xfer += oprot->writeString((*_iter238));
5989
7360
  }
5990
7361
  xfer += oprot->writeListEnd();
5991
7362
  }
@@ -6008,15 +7379,26 @@ void swap(EncryptionWithColumnKey &a, EncryptionWithColumnKey &b) {
6008
7379
  swap(a.__isset, b.__isset);
6009
7380
  }
6010
7381
 
6011
- EncryptionWithColumnKey::EncryptionWithColumnKey(const EncryptionWithColumnKey& other134) {
6012
- path_in_schema = other134.path_in_schema;
6013
- key_metadata = other134.key_metadata;
6014
- __isset = other134.__isset;
7382
+ EncryptionWithColumnKey::EncryptionWithColumnKey(const EncryptionWithColumnKey& other239) {
7383
+ path_in_schema = other239.path_in_schema;
7384
+ key_metadata = other239.key_metadata;
7385
+ __isset = other239.__isset;
6015
7386
  }
6016
- EncryptionWithColumnKey& EncryptionWithColumnKey::operator=(const EncryptionWithColumnKey& other135) {
6017
- path_in_schema = other135.path_in_schema;
6018
- key_metadata = other135.key_metadata;
6019
- __isset = other135.__isset;
7387
+ EncryptionWithColumnKey::EncryptionWithColumnKey(EncryptionWithColumnKey&& other240) noexcept {
7388
+ path_in_schema = std::move(other240.path_in_schema);
7389
+ key_metadata = std::move(other240.key_metadata);
7390
+ __isset = other240.__isset;
7391
+ }
7392
+ EncryptionWithColumnKey& EncryptionWithColumnKey::operator=(const EncryptionWithColumnKey& other241) {
7393
+ path_in_schema = other241.path_in_schema;
7394
+ key_metadata = other241.key_metadata;
7395
+ __isset = other241.__isset;
7396
+ return *this;
7397
+ }
7398
+ EncryptionWithColumnKey& EncryptionWithColumnKey::operator=(EncryptionWithColumnKey&& other242) noexcept {
7399
+ path_in_schema = std::move(other242.path_in_schema);
7400
+ key_metadata = std::move(other242.key_metadata);
7401
+ __isset = other242.__isset;
6020
7402
  return *this;
6021
7403
  }
6022
7404
  void EncryptionWithColumnKey::printTo(std::ostream& out) const {
@@ -6126,15 +7508,26 @@ void swap(ColumnCryptoMetaData &a, ColumnCryptoMetaData &b) {
6126
7508
  swap(a.__isset, b.__isset);
6127
7509
  }
6128
7510
 
6129
- ColumnCryptoMetaData::ColumnCryptoMetaData(const ColumnCryptoMetaData& other136) {
6130
- ENCRYPTION_WITH_FOOTER_KEY = other136.ENCRYPTION_WITH_FOOTER_KEY;
6131
- ENCRYPTION_WITH_COLUMN_KEY = other136.ENCRYPTION_WITH_COLUMN_KEY;
6132
- __isset = other136.__isset;
7511
+ ColumnCryptoMetaData::ColumnCryptoMetaData(const ColumnCryptoMetaData& other243) {
7512
+ ENCRYPTION_WITH_FOOTER_KEY = other243.ENCRYPTION_WITH_FOOTER_KEY;
7513
+ ENCRYPTION_WITH_COLUMN_KEY = other243.ENCRYPTION_WITH_COLUMN_KEY;
7514
+ __isset = other243.__isset;
7515
+ }
7516
+ ColumnCryptoMetaData::ColumnCryptoMetaData(ColumnCryptoMetaData&& other244) noexcept {
7517
+ ENCRYPTION_WITH_FOOTER_KEY = std::move(other244.ENCRYPTION_WITH_FOOTER_KEY);
7518
+ ENCRYPTION_WITH_COLUMN_KEY = std::move(other244.ENCRYPTION_WITH_COLUMN_KEY);
7519
+ __isset = other244.__isset;
6133
7520
  }
6134
- ColumnCryptoMetaData& ColumnCryptoMetaData::operator=(const ColumnCryptoMetaData& other137) {
6135
- ENCRYPTION_WITH_FOOTER_KEY = other137.ENCRYPTION_WITH_FOOTER_KEY;
6136
- ENCRYPTION_WITH_COLUMN_KEY = other137.ENCRYPTION_WITH_COLUMN_KEY;
6137
- __isset = other137.__isset;
7521
+ ColumnCryptoMetaData& ColumnCryptoMetaData::operator=(const ColumnCryptoMetaData& other245) {
7522
+ ENCRYPTION_WITH_FOOTER_KEY = other245.ENCRYPTION_WITH_FOOTER_KEY;
7523
+ ENCRYPTION_WITH_COLUMN_KEY = other245.ENCRYPTION_WITH_COLUMN_KEY;
7524
+ __isset = other245.__isset;
7525
+ return *this;
7526
+ }
7527
+ ColumnCryptoMetaData& ColumnCryptoMetaData::operator=(ColumnCryptoMetaData&& other246) noexcept {
7528
+ ENCRYPTION_WITH_FOOTER_KEY = std::move(other246.ENCRYPTION_WITH_FOOTER_KEY);
7529
+ ENCRYPTION_WITH_COLUMN_KEY = std::move(other246.ENCRYPTION_WITH_COLUMN_KEY);
7530
+ __isset = other246.__isset;
6138
7531
  return *this;
6139
7532
  }
6140
7533
  void ColumnCryptoMetaData::printTo(std::ostream& out) const {
@@ -6385,29 +7778,54 @@ void swap(ColumnChunk &a, ColumnChunk &b) {
6385
7778
  swap(a.__isset, b.__isset);
6386
7779
  }
6387
7780
 
6388
- ColumnChunk::ColumnChunk(const ColumnChunk& other138) {
6389
- file_path = other138.file_path;
6390
- file_offset = other138.file_offset;
6391
- meta_data = other138.meta_data;
6392
- offset_index_offset = other138.offset_index_offset;
6393
- offset_index_length = other138.offset_index_length;
6394
- column_index_offset = other138.column_index_offset;
6395
- column_index_length = other138.column_index_length;
6396
- crypto_metadata = other138.crypto_metadata;
6397
- encrypted_column_metadata = other138.encrypted_column_metadata;
6398
- __isset = other138.__isset;
6399
- }
6400
- ColumnChunk& ColumnChunk::operator=(const ColumnChunk& other139) {
6401
- file_path = other139.file_path;
6402
- file_offset = other139.file_offset;
6403
- meta_data = other139.meta_data;
6404
- offset_index_offset = other139.offset_index_offset;
6405
- offset_index_length = other139.offset_index_length;
6406
- column_index_offset = other139.column_index_offset;
6407
- column_index_length = other139.column_index_length;
6408
- crypto_metadata = other139.crypto_metadata;
6409
- encrypted_column_metadata = other139.encrypted_column_metadata;
6410
- __isset = other139.__isset;
7781
+ ColumnChunk::ColumnChunk(const ColumnChunk& other247) {
7782
+ file_path = other247.file_path;
7783
+ file_offset = other247.file_offset;
7784
+ meta_data = other247.meta_data;
7785
+ offset_index_offset = other247.offset_index_offset;
7786
+ offset_index_length = other247.offset_index_length;
7787
+ column_index_offset = other247.column_index_offset;
7788
+ column_index_length = other247.column_index_length;
7789
+ crypto_metadata = other247.crypto_metadata;
7790
+ encrypted_column_metadata = other247.encrypted_column_metadata;
7791
+ __isset = other247.__isset;
7792
+ }
7793
+ ColumnChunk::ColumnChunk(ColumnChunk&& other248) noexcept {
7794
+ file_path = std::move(other248.file_path);
7795
+ file_offset = other248.file_offset;
7796
+ meta_data = std::move(other248.meta_data);
7797
+ offset_index_offset = other248.offset_index_offset;
7798
+ offset_index_length = other248.offset_index_length;
7799
+ column_index_offset = other248.column_index_offset;
7800
+ column_index_length = other248.column_index_length;
7801
+ crypto_metadata = std::move(other248.crypto_metadata);
7802
+ encrypted_column_metadata = std::move(other248.encrypted_column_metadata);
7803
+ __isset = other248.__isset;
7804
+ }
7805
+ ColumnChunk& ColumnChunk::operator=(const ColumnChunk& other249) {
7806
+ file_path = other249.file_path;
7807
+ file_offset = other249.file_offset;
7808
+ meta_data = other249.meta_data;
7809
+ offset_index_offset = other249.offset_index_offset;
7810
+ offset_index_length = other249.offset_index_length;
7811
+ column_index_offset = other249.column_index_offset;
7812
+ column_index_length = other249.column_index_length;
7813
+ crypto_metadata = other249.crypto_metadata;
7814
+ encrypted_column_metadata = other249.encrypted_column_metadata;
7815
+ __isset = other249.__isset;
7816
+ return *this;
7817
+ }
7818
+ ColumnChunk& ColumnChunk::operator=(ColumnChunk&& other250) noexcept {
7819
+ file_path = std::move(other250.file_path);
7820
+ file_offset = other250.file_offset;
7821
+ meta_data = std::move(other250.meta_data);
7822
+ offset_index_offset = other250.offset_index_offset;
7823
+ offset_index_length = other250.offset_index_length;
7824
+ column_index_offset = other250.column_index_offset;
7825
+ column_index_length = other250.column_index_length;
7826
+ crypto_metadata = std::move(other250.crypto_metadata);
7827
+ encrypted_column_metadata = std::move(other250.encrypted_column_metadata);
7828
+ __isset = other250.__isset;
6411
7829
  return *this;
6412
7830
  }
6413
7831
  void ColumnChunk::printTo(std::ostream& out) const {
@@ -6503,14 +7921,14 @@ uint32_t RowGroup::read(::apache::thrift::protocol::TProtocol* iprot) {
6503
7921
  if (ftype == ::apache::thrift::protocol::T_LIST) {
6504
7922
  {
6505
7923
  this->columns.clear();
6506
- uint32_t _size140;
6507
- ::apache::thrift::protocol::TType _etype143;
6508
- xfer += iprot->readListBegin(_etype143, _size140);
6509
- this->columns.resize(_size140);
6510
- uint32_t _i144;
6511
- for (_i144 = 0; _i144 < _size140; ++_i144)
7924
+ uint32_t _size251;
7925
+ ::apache::thrift::protocol::TType _etype254;
7926
+ xfer += iprot->readListBegin(_etype254, _size251);
7927
+ this->columns.resize(_size251);
7928
+ uint32_t _i255;
7929
+ for (_i255 = 0; _i255 < _size251; ++_i255)
6512
7930
  {
6513
- xfer += this->columns[_i144].read(iprot);
7931
+ xfer += this->columns[_i255].read(iprot);
6514
7932
  }
6515
7933
  xfer += iprot->readListEnd();
6516
7934
  }
@@ -6539,14 +7957,14 @@ uint32_t RowGroup::read(::apache::thrift::protocol::TProtocol* iprot) {
6539
7957
  if (ftype == ::apache::thrift::protocol::T_LIST) {
6540
7958
  {
6541
7959
  this->sorting_columns.clear();
6542
- uint32_t _size145;
6543
- ::apache::thrift::protocol::TType _etype148;
6544
- xfer += iprot->readListBegin(_etype148, _size145);
6545
- this->sorting_columns.resize(_size145);
6546
- uint32_t _i149;
6547
- for (_i149 = 0; _i149 < _size145; ++_i149)
7960
+ uint32_t _size256;
7961
+ ::apache::thrift::protocol::TType _etype259;
7962
+ xfer += iprot->readListBegin(_etype259, _size256);
7963
+ this->sorting_columns.resize(_size256);
7964
+ uint32_t _i260;
7965
+ for (_i260 = 0; _i260 < _size256; ++_i260)
6548
7966
  {
6549
- xfer += this->sorting_columns[_i149].read(iprot);
7967
+ xfer += this->sorting_columns[_i260].read(iprot);
6550
7968
  }
6551
7969
  xfer += iprot->readListEnd();
6552
7970
  }
@@ -6605,10 +8023,10 @@ uint32_t RowGroup::write(::apache::thrift::protocol::TProtocol* oprot) const {
6605
8023
  xfer += oprot->writeFieldBegin("columns", ::apache::thrift::protocol::T_LIST, 1);
6606
8024
  {
6607
8025
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->columns.size()));
6608
- duckdb::vector<ColumnChunk> ::const_iterator _iter150;
6609
- for (_iter150 = this->columns.begin(); _iter150 != this->columns.end(); ++_iter150)
8026
+ duckdb::vector<ColumnChunk> ::const_iterator _iter261;
8027
+ for (_iter261 = this->columns.begin(); _iter261 != this->columns.end(); ++_iter261)
6610
8028
  {
6611
- xfer += (*_iter150).write(oprot);
8029
+ xfer += (*_iter261).write(oprot);
6612
8030
  }
6613
8031
  xfer += oprot->writeListEnd();
6614
8032
  }
@@ -6626,10 +8044,10 @@ uint32_t RowGroup::write(::apache::thrift::protocol::TProtocol* oprot) const {
6626
8044
  xfer += oprot->writeFieldBegin("sorting_columns", ::apache::thrift::protocol::T_LIST, 4);
6627
8045
  {
6628
8046
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->sorting_columns.size()));
6629
- duckdb::vector<SortingColumn> ::const_iterator _iter151;
6630
- for (_iter151 = this->sorting_columns.begin(); _iter151 != this->sorting_columns.end(); ++_iter151)
8047
+ duckdb::vector<SortingColumn> ::const_iterator _iter262;
8048
+ for (_iter262 = this->sorting_columns.begin(); _iter262 != this->sorting_columns.end(); ++_iter262)
6631
8049
  {
6632
- xfer += (*_iter151).write(oprot);
8050
+ xfer += (*_iter262).write(oprot);
6633
8051
  }
6634
8052
  xfer += oprot->writeListEnd();
6635
8053
  }
@@ -6667,25 +8085,46 @@ void swap(RowGroup &a, RowGroup &b) {
6667
8085
  swap(a.__isset, b.__isset);
6668
8086
  }
6669
8087
 
6670
- RowGroup::RowGroup(const RowGroup& other152) {
6671
- columns = other152.columns;
6672
- total_byte_size = other152.total_byte_size;
6673
- num_rows = other152.num_rows;
6674
- sorting_columns = other152.sorting_columns;
6675
- file_offset = other152.file_offset;
6676
- total_compressed_size = other152.total_compressed_size;
6677
- ordinal = other152.ordinal;
6678
- __isset = other152.__isset;
6679
- }
6680
- RowGroup& RowGroup::operator=(const RowGroup& other153) {
6681
- columns = other153.columns;
6682
- total_byte_size = other153.total_byte_size;
6683
- num_rows = other153.num_rows;
6684
- sorting_columns = other153.sorting_columns;
6685
- file_offset = other153.file_offset;
6686
- total_compressed_size = other153.total_compressed_size;
6687
- ordinal = other153.ordinal;
6688
- __isset = other153.__isset;
8088
+ RowGroup::RowGroup(const RowGroup& other263) {
8089
+ columns = other263.columns;
8090
+ total_byte_size = other263.total_byte_size;
8091
+ num_rows = other263.num_rows;
8092
+ sorting_columns = other263.sorting_columns;
8093
+ file_offset = other263.file_offset;
8094
+ total_compressed_size = other263.total_compressed_size;
8095
+ ordinal = other263.ordinal;
8096
+ __isset = other263.__isset;
8097
+ }
8098
+ RowGroup::RowGroup(RowGroup&& other264) noexcept {
8099
+ columns = std::move(other264.columns);
8100
+ total_byte_size = other264.total_byte_size;
8101
+ num_rows = other264.num_rows;
8102
+ sorting_columns = std::move(other264.sorting_columns);
8103
+ file_offset = other264.file_offset;
8104
+ total_compressed_size = other264.total_compressed_size;
8105
+ ordinal = other264.ordinal;
8106
+ __isset = other264.__isset;
8107
+ }
8108
+ RowGroup& RowGroup::operator=(const RowGroup& other265) {
8109
+ columns = other265.columns;
8110
+ total_byte_size = other265.total_byte_size;
8111
+ num_rows = other265.num_rows;
8112
+ sorting_columns = other265.sorting_columns;
8113
+ file_offset = other265.file_offset;
8114
+ total_compressed_size = other265.total_compressed_size;
8115
+ ordinal = other265.ordinal;
8116
+ __isset = other265.__isset;
8117
+ return *this;
8118
+ }
8119
+ RowGroup& RowGroup::operator=(RowGroup&& other266) noexcept {
8120
+ columns = std::move(other266.columns);
8121
+ total_byte_size = other266.total_byte_size;
8122
+ num_rows = other266.num_rows;
8123
+ sorting_columns = std::move(other266.sorting_columns);
8124
+ file_offset = other266.file_offset;
8125
+ total_compressed_size = other266.total_compressed_size;
8126
+ ordinal = other266.ordinal;
8127
+ __isset = other266.__isset;
6689
8128
  return *this;
6690
8129
  }
6691
8130
  void RowGroup::printTo(std::ostream& out) const {
@@ -6758,11 +8197,18 @@ void swap(TypeDefinedOrder &a, TypeDefinedOrder &b) {
6758
8197
  (void) b;
6759
8198
  }
6760
8199
 
6761
- TypeDefinedOrder::TypeDefinedOrder(const TypeDefinedOrder& other154) noexcept {
6762
- (void) other154;
8200
+ TypeDefinedOrder::TypeDefinedOrder(const TypeDefinedOrder& other267) noexcept {
8201
+ (void) other267;
8202
+ }
8203
+ TypeDefinedOrder::TypeDefinedOrder(TypeDefinedOrder&& other268) noexcept {
8204
+ (void) other268;
8205
+ }
8206
+ TypeDefinedOrder& TypeDefinedOrder::operator=(const TypeDefinedOrder& other269) noexcept {
8207
+ (void) other269;
8208
+ return *this;
6763
8209
  }
6764
- TypeDefinedOrder& TypeDefinedOrder::operator=(const TypeDefinedOrder& other155) noexcept {
6765
- (void) other155;
8210
+ TypeDefinedOrder& TypeDefinedOrder::operator=(TypeDefinedOrder&& other270) noexcept {
8211
+ (void) other270;
6766
8212
  return *this;
6767
8213
  }
6768
8214
  void TypeDefinedOrder::printTo(std::ostream& out) const {
@@ -6851,13 +8297,22 @@ void swap(ColumnOrder &a, ColumnOrder &b) {
6851
8297
  swap(a.__isset, b.__isset);
6852
8298
  }
6853
8299
 
6854
- ColumnOrder::ColumnOrder(const ColumnOrder& other156) noexcept {
6855
- TYPE_ORDER = other156.TYPE_ORDER;
6856
- __isset = other156.__isset;
8300
+ ColumnOrder::ColumnOrder(const ColumnOrder& other271) noexcept {
8301
+ TYPE_ORDER = other271.TYPE_ORDER;
8302
+ __isset = other271.__isset;
6857
8303
  }
6858
- ColumnOrder& ColumnOrder::operator=(const ColumnOrder& other157) noexcept {
6859
- TYPE_ORDER = other157.TYPE_ORDER;
6860
- __isset = other157.__isset;
8304
+ ColumnOrder::ColumnOrder(ColumnOrder&& other272) noexcept {
8305
+ TYPE_ORDER = std::move(other272.TYPE_ORDER);
8306
+ __isset = other272.__isset;
8307
+ }
8308
+ ColumnOrder& ColumnOrder::operator=(const ColumnOrder& other273) noexcept {
8309
+ TYPE_ORDER = other273.TYPE_ORDER;
8310
+ __isset = other273.__isset;
8311
+ return *this;
8312
+ }
8313
+ ColumnOrder& ColumnOrder::operator=(ColumnOrder&& other274) noexcept {
8314
+ TYPE_ORDER = std::move(other274.TYPE_ORDER);
8315
+ __isset = other274.__isset;
6861
8316
  return *this;
6862
8317
  }
6863
8318
  void ColumnOrder::printTo(std::ostream& out) const {
@@ -6990,15 +8445,26 @@ void swap(PageLocation &a, PageLocation &b) {
6990
8445
  swap(a.first_row_index, b.first_row_index);
6991
8446
  }
6992
8447
 
6993
- PageLocation::PageLocation(const PageLocation& other158) noexcept {
6994
- offset = other158.offset;
6995
- compressed_page_size = other158.compressed_page_size;
6996
- first_row_index = other158.first_row_index;
8448
+ PageLocation::PageLocation(const PageLocation& other275) noexcept {
8449
+ offset = other275.offset;
8450
+ compressed_page_size = other275.compressed_page_size;
8451
+ first_row_index = other275.first_row_index;
8452
+ }
8453
+ PageLocation::PageLocation(PageLocation&& other276) noexcept {
8454
+ offset = other276.offset;
8455
+ compressed_page_size = other276.compressed_page_size;
8456
+ first_row_index = other276.first_row_index;
8457
+ }
8458
+ PageLocation& PageLocation::operator=(const PageLocation& other277) noexcept {
8459
+ offset = other277.offset;
8460
+ compressed_page_size = other277.compressed_page_size;
8461
+ first_row_index = other277.first_row_index;
8462
+ return *this;
6997
8463
  }
6998
- PageLocation& PageLocation::operator=(const PageLocation& other159) noexcept {
6999
- offset = other159.offset;
7000
- compressed_page_size = other159.compressed_page_size;
7001
- first_row_index = other159.first_row_index;
8464
+ PageLocation& PageLocation::operator=(PageLocation&& other278) noexcept {
8465
+ offset = other278.offset;
8466
+ compressed_page_size = other278.compressed_page_size;
8467
+ first_row_index = other278.first_row_index;
7002
8468
  return *this;
7003
8469
  }
7004
8470
  void PageLocation::printTo(std::ostream& out) const {
@@ -7058,14 +8524,14 @@ uint32_t OffsetIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7058
8524
  if (ftype == ::apache::thrift::protocol::T_LIST) {
7059
8525
  {
7060
8526
  this->page_locations.clear();
7061
- uint32_t _size160;
7062
- ::apache::thrift::protocol::TType _etype163;
7063
- xfer += iprot->readListBegin(_etype163, _size160);
7064
- this->page_locations.resize(_size160);
7065
- uint32_t _i164;
7066
- for (_i164 = 0; _i164 < _size160; ++_i164)
8527
+ uint32_t _size279;
8528
+ ::apache::thrift::protocol::TType _etype282;
8529
+ xfer += iprot->readListBegin(_etype282, _size279);
8530
+ this->page_locations.resize(_size279);
8531
+ uint32_t _i283;
8532
+ for (_i283 = 0; _i283 < _size279; ++_i283)
7067
8533
  {
7068
- xfer += this->page_locations[_i164].read(iprot);
8534
+ xfer += this->page_locations[_i283].read(iprot);
7069
8535
  }
7070
8536
  xfer += iprot->readListEnd();
7071
8537
  }
@@ -7078,14 +8544,14 @@ uint32_t OffsetIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7078
8544
  if (ftype == ::apache::thrift::protocol::T_LIST) {
7079
8545
  {
7080
8546
  this->unencoded_byte_array_data_bytes.clear();
7081
- uint32_t _size165;
7082
- ::apache::thrift::protocol::TType _etype168;
7083
- xfer += iprot->readListBegin(_etype168, _size165);
7084
- this->unencoded_byte_array_data_bytes.resize(_size165);
7085
- uint32_t _i169;
7086
- for (_i169 = 0; _i169 < _size165; ++_i169)
8547
+ uint32_t _size284;
8548
+ ::apache::thrift::protocol::TType _etype287;
8549
+ xfer += iprot->readListBegin(_etype287, _size284);
8550
+ this->unencoded_byte_array_data_bytes.resize(_size284);
8551
+ uint32_t _i288;
8552
+ for (_i288 = 0; _i288 < _size284; ++_i288)
7087
8553
  {
7088
- xfer += iprot->readI64(this->unencoded_byte_array_data_bytes[_i169]);
8554
+ xfer += iprot->readI64(this->unencoded_byte_array_data_bytes[_i288]);
7089
8555
  }
7090
8556
  xfer += iprot->readListEnd();
7091
8557
  }
@@ -7116,10 +8582,10 @@ uint32_t OffsetIndex::write(::apache::thrift::protocol::TProtocol* oprot) const
7116
8582
  xfer += oprot->writeFieldBegin("page_locations", ::apache::thrift::protocol::T_LIST, 1);
7117
8583
  {
7118
8584
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->page_locations.size()));
7119
- duckdb::vector<PageLocation> ::const_iterator _iter170;
7120
- for (_iter170 = this->page_locations.begin(); _iter170 != this->page_locations.end(); ++_iter170)
8585
+ duckdb::vector<PageLocation> ::const_iterator _iter289;
8586
+ for (_iter289 = this->page_locations.begin(); _iter289 != this->page_locations.end(); ++_iter289)
7121
8587
  {
7122
- xfer += (*_iter170).write(oprot);
8588
+ xfer += (*_iter289).write(oprot);
7123
8589
  }
7124
8590
  xfer += oprot->writeListEnd();
7125
8591
  }
@@ -7129,10 +8595,10 @@ uint32_t OffsetIndex::write(::apache::thrift::protocol::TProtocol* oprot) const
7129
8595
  xfer += oprot->writeFieldBegin("unencoded_byte_array_data_bytes", ::apache::thrift::protocol::T_LIST, 2);
7130
8596
  {
7131
8597
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast<uint32_t>(this->unencoded_byte_array_data_bytes.size()));
7132
- duckdb::vector<int64_t> ::const_iterator _iter171;
7133
- for (_iter171 = this->unencoded_byte_array_data_bytes.begin(); _iter171 != this->unencoded_byte_array_data_bytes.end(); ++_iter171)
8598
+ duckdb::vector<int64_t> ::const_iterator _iter290;
8599
+ for (_iter290 = this->unencoded_byte_array_data_bytes.begin(); _iter290 != this->unencoded_byte_array_data_bytes.end(); ++_iter290)
7134
8600
  {
7135
- xfer += oprot->writeI64((*_iter171));
8601
+ xfer += oprot->writeI64((*_iter290));
7136
8602
  }
7137
8603
  xfer += oprot->writeListEnd();
7138
8604
  }
@@ -7150,15 +8616,26 @@ void swap(OffsetIndex &a, OffsetIndex &b) {
7150
8616
  swap(a.__isset, b.__isset);
7151
8617
  }
7152
8618
 
7153
- OffsetIndex::OffsetIndex(const OffsetIndex& other172) {
7154
- page_locations = other172.page_locations;
7155
- unencoded_byte_array_data_bytes = other172.unencoded_byte_array_data_bytes;
7156
- __isset = other172.__isset;
8619
+ OffsetIndex::OffsetIndex(const OffsetIndex& other291) {
8620
+ page_locations = other291.page_locations;
8621
+ unencoded_byte_array_data_bytes = other291.unencoded_byte_array_data_bytes;
8622
+ __isset = other291.__isset;
7157
8623
  }
7158
- OffsetIndex& OffsetIndex::operator=(const OffsetIndex& other173) {
7159
- page_locations = other173.page_locations;
7160
- unencoded_byte_array_data_bytes = other173.unencoded_byte_array_data_bytes;
7161
- __isset = other173.__isset;
8624
+ OffsetIndex::OffsetIndex(OffsetIndex&& other292) noexcept {
8625
+ page_locations = std::move(other292.page_locations);
8626
+ unencoded_byte_array_data_bytes = std::move(other292.unencoded_byte_array_data_bytes);
8627
+ __isset = other292.__isset;
8628
+ }
8629
+ OffsetIndex& OffsetIndex::operator=(const OffsetIndex& other293) {
8630
+ page_locations = other293.page_locations;
8631
+ unencoded_byte_array_data_bytes = other293.unencoded_byte_array_data_bytes;
8632
+ __isset = other293.__isset;
8633
+ return *this;
8634
+ }
8635
+ OffsetIndex& OffsetIndex::operator=(OffsetIndex&& other294) noexcept {
8636
+ page_locations = std::move(other294.page_locations);
8637
+ unencoded_byte_array_data_bytes = std::move(other294.unencoded_byte_array_data_bytes);
8638
+ __isset = other294.__isset;
7162
8639
  return *this;
7163
8640
  }
7164
8641
  void OffsetIndex::printTo(std::ostream& out) const {
@@ -7243,14 +8720,14 @@ uint32_t ColumnIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7243
8720
  if (ftype == ::apache::thrift::protocol::T_LIST) {
7244
8721
  {
7245
8722
  this->null_pages.clear();
7246
- uint32_t _size174;
7247
- ::apache::thrift::protocol::TType _etype177;
7248
- xfer += iprot->readListBegin(_etype177, _size174);
7249
- this->null_pages.resize(_size174);
7250
- uint32_t _i178;
7251
- for (_i178 = 0; _i178 < _size174; ++_i178)
8723
+ uint32_t _size295;
8724
+ ::apache::thrift::protocol::TType _etype298;
8725
+ xfer += iprot->readListBegin(_etype298, _size295);
8726
+ this->null_pages.resize(_size295);
8727
+ uint32_t _i299;
8728
+ for (_i299 = 0; _i299 < _size295; ++_i299)
7252
8729
  {
7253
- xfer += iprot->readBool(this->null_pages[_i178]);
8730
+ xfer += iprot->readBool(this->null_pages[_i299]);
7254
8731
  }
7255
8732
  xfer += iprot->readListEnd();
7256
8733
  }
@@ -7263,14 +8740,14 @@ uint32_t ColumnIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7263
8740
  if (ftype == ::apache::thrift::protocol::T_LIST) {
7264
8741
  {
7265
8742
  this->min_values.clear();
7266
- uint32_t _size179;
7267
- ::apache::thrift::protocol::TType _etype182;
7268
- xfer += iprot->readListBegin(_etype182, _size179);
7269
- this->min_values.resize(_size179);
7270
- uint32_t _i183;
7271
- for (_i183 = 0; _i183 < _size179; ++_i183)
8743
+ uint32_t _size300;
8744
+ ::apache::thrift::protocol::TType _etype303;
8745
+ xfer += iprot->readListBegin(_etype303, _size300);
8746
+ this->min_values.resize(_size300);
8747
+ uint32_t _i304;
8748
+ for (_i304 = 0; _i304 < _size300; ++_i304)
7272
8749
  {
7273
- xfer += iprot->readBinary(this->min_values[_i183]);
8750
+ xfer += iprot->readBinary(this->min_values[_i304]);
7274
8751
  }
7275
8752
  xfer += iprot->readListEnd();
7276
8753
  }
@@ -7283,14 +8760,14 @@ uint32_t ColumnIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7283
8760
  if (ftype == ::apache::thrift::protocol::T_LIST) {
7284
8761
  {
7285
8762
  this->max_values.clear();
7286
- uint32_t _size184;
7287
- ::apache::thrift::protocol::TType _etype187;
7288
- xfer += iprot->readListBegin(_etype187, _size184);
7289
- this->max_values.resize(_size184);
7290
- uint32_t _i188;
7291
- for (_i188 = 0; _i188 < _size184; ++_i188)
8763
+ uint32_t _size305;
8764
+ ::apache::thrift::protocol::TType _etype308;
8765
+ xfer += iprot->readListBegin(_etype308, _size305);
8766
+ this->max_values.resize(_size305);
8767
+ uint32_t _i309;
8768
+ for (_i309 = 0; _i309 < _size305; ++_i309)
7292
8769
  {
7293
- xfer += iprot->readBinary(this->max_values[_i188]);
8770
+ xfer += iprot->readBinary(this->max_values[_i309]);
7294
8771
  }
7295
8772
  xfer += iprot->readListEnd();
7296
8773
  }
@@ -7301,9 +8778,9 @@ uint32_t ColumnIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7301
8778
  break;
7302
8779
  case 4:
7303
8780
  if (ftype == ::apache::thrift::protocol::T_I32) {
7304
- int32_t ecast189;
7305
- xfer += iprot->readI32(ecast189);
7306
- this->boundary_order = static_cast<BoundaryOrder::type>(ecast189);
8781
+ int32_t ecast310;
8782
+ xfer += iprot->readI32(ecast310);
8783
+ this->boundary_order = static_cast<BoundaryOrder::type>(ecast310);
7307
8784
  isset_boundary_order = true;
7308
8785
  } else {
7309
8786
  xfer += iprot->skip(ftype);
@@ -7313,14 +8790,14 @@ uint32_t ColumnIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7313
8790
  if (ftype == ::apache::thrift::protocol::T_LIST) {
7314
8791
  {
7315
8792
  this->null_counts.clear();
7316
- uint32_t _size190;
7317
- ::apache::thrift::protocol::TType _etype193;
7318
- xfer += iprot->readListBegin(_etype193, _size190);
7319
- this->null_counts.resize(_size190);
7320
- uint32_t _i194;
7321
- for (_i194 = 0; _i194 < _size190; ++_i194)
8793
+ uint32_t _size311;
8794
+ ::apache::thrift::protocol::TType _etype314;
8795
+ xfer += iprot->readListBegin(_etype314, _size311);
8796
+ this->null_counts.resize(_size311);
8797
+ uint32_t _i315;
8798
+ for (_i315 = 0; _i315 < _size311; ++_i315)
7322
8799
  {
7323
- xfer += iprot->readI64(this->null_counts[_i194]);
8800
+ xfer += iprot->readI64(this->null_counts[_i315]);
7324
8801
  }
7325
8802
  xfer += iprot->readListEnd();
7326
8803
  }
@@ -7333,14 +8810,14 @@ uint32_t ColumnIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7333
8810
  if (ftype == ::apache::thrift::protocol::T_LIST) {
7334
8811
  {
7335
8812
  this->repetition_level_histograms.clear();
7336
- uint32_t _size195;
7337
- ::apache::thrift::protocol::TType _etype198;
7338
- xfer += iprot->readListBegin(_etype198, _size195);
7339
- this->repetition_level_histograms.resize(_size195);
7340
- uint32_t _i199;
7341
- for (_i199 = 0; _i199 < _size195; ++_i199)
8813
+ uint32_t _size316;
8814
+ ::apache::thrift::protocol::TType _etype319;
8815
+ xfer += iprot->readListBegin(_etype319, _size316);
8816
+ this->repetition_level_histograms.resize(_size316);
8817
+ uint32_t _i320;
8818
+ for (_i320 = 0; _i320 < _size316; ++_i320)
7342
8819
  {
7343
- xfer += iprot->readI64(this->repetition_level_histograms[_i199]);
8820
+ xfer += iprot->readI64(this->repetition_level_histograms[_i320]);
7344
8821
  }
7345
8822
  xfer += iprot->readListEnd();
7346
8823
  }
@@ -7353,14 +8830,14 @@ uint32_t ColumnIndex::read(::apache::thrift::protocol::TProtocol* iprot) {
7353
8830
  if (ftype == ::apache::thrift::protocol::T_LIST) {
7354
8831
  {
7355
8832
  this->definition_level_histograms.clear();
7356
- uint32_t _size200;
7357
- ::apache::thrift::protocol::TType _etype203;
7358
- xfer += iprot->readListBegin(_etype203, _size200);
7359
- this->definition_level_histograms.resize(_size200);
7360
- uint32_t _i204;
7361
- for (_i204 = 0; _i204 < _size200; ++_i204)
8833
+ uint32_t _size321;
8834
+ ::apache::thrift::protocol::TType _etype324;
8835
+ xfer += iprot->readListBegin(_etype324, _size321);
8836
+ this->definition_level_histograms.resize(_size321);
8837
+ uint32_t _i325;
8838
+ for (_i325 = 0; _i325 < _size321; ++_i325)
7362
8839
  {
7363
- xfer += iprot->readI64(this->definition_level_histograms[_i204]);
8840
+ xfer += iprot->readI64(this->definition_level_histograms[_i325]);
7364
8841
  }
7365
8842
  xfer += iprot->readListEnd();
7366
8843
  }
@@ -7397,10 +8874,10 @@ uint32_t ColumnIndex::write(::apache::thrift::protocol::TProtocol* oprot) const
7397
8874
  xfer += oprot->writeFieldBegin("null_pages", ::apache::thrift::protocol::T_LIST, 1);
7398
8875
  {
7399
8876
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_BOOL, static_cast<uint32_t>(this->null_pages.size()));
7400
- duckdb::vector<bool> ::const_iterator _iter205;
7401
- for (_iter205 = this->null_pages.begin(); _iter205 != this->null_pages.end(); ++_iter205)
8877
+ duckdb::vector<bool> ::const_iterator _iter326;
8878
+ for (_iter326 = this->null_pages.begin(); _iter326 != this->null_pages.end(); ++_iter326)
7402
8879
  {
7403
- xfer += oprot->writeBool((*_iter205));
8880
+ xfer += oprot->writeBool((*_iter326));
7404
8881
  }
7405
8882
  xfer += oprot->writeListEnd();
7406
8883
  }
@@ -7409,10 +8886,10 @@ uint32_t ColumnIndex::write(::apache::thrift::protocol::TProtocol* oprot) const
7409
8886
  xfer += oprot->writeFieldBegin("min_values", ::apache::thrift::protocol::T_LIST, 2);
7410
8887
  {
7411
8888
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->min_values.size()));
7412
- duckdb::vector<std::string> ::const_iterator _iter206;
7413
- for (_iter206 = this->min_values.begin(); _iter206 != this->min_values.end(); ++_iter206)
8889
+ duckdb::vector<std::string> ::const_iterator _iter327;
8890
+ for (_iter327 = this->min_values.begin(); _iter327 != this->min_values.end(); ++_iter327)
7414
8891
  {
7415
- xfer += oprot->writeBinary((*_iter206));
8892
+ xfer += oprot->writeBinary((*_iter327));
7416
8893
  }
7417
8894
  xfer += oprot->writeListEnd();
7418
8895
  }
@@ -7421,10 +8898,10 @@ uint32_t ColumnIndex::write(::apache::thrift::protocol::TProtocol* oprot) const
7421
8898
  xfer += oprot->writeFieldBegin("max_values", ::apache::thrift::protocol::T_LIST, 3);
7422
8899
  {
7423
8900
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->max_values.size()));
7424
- duckdb::vector<std::string> ::const_iterator _iter207;
7425
- for (_iter207 = this->max_values.begin(); _iter207 != this->max_values.end(); ++_iter207)
8901
+ duckdb::vector<std::string> ::const_iterator _iter328;
8902
+ for (_iter328 = this->max_values.begin(); _iter328 != this->max_values.end(); ++_iter328)
7426
8903
  {
7427
- xfer += oprot->writeBinary((*_iter207));
8904
+ xfer += oprot->writeBinary((*_iter328));
7428
8905
  }
7429
8906
  xfer += oprot->writeListEnd();
7430
8907
  }
@@ -7438,10 +8915,10 @@ uint32_t ColumnIndex::write(::apache::thrift::protocol::TProtocol* oprot) const
7438
8915
  xfer += oprot->writeFieldBegin("null_counts", ::apache::thrift::protocol::T_LIST, 5);
7439
8916
  {
7440
8917
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast<uint32_t>(this->null_counts.size()));
7441
- duckdb::vector<int64_t> ::const_iterator _iter208;
7442
- for (_iter208 = this->null_counts.begin(); _iter208 != this->null_counts.end(); ++_iter208)
8918
+ duckdb::vector<int64_t> ::const_iterator _iter329;
8919
+ for (_iter329 = this->null_counts.begin(); _iter329 != this->null_counts.end(); ++_iter329)
7443
8920
  {
7444
- xfer += oprot->writeI64((*_iter208));
8921
+ xfer += oprot->writeI64((*_iter329));
7445
8922
  }
7446
8923
  xfer += oprot->writeListEnd();
7447
8924
  }
@@ -7451,10 +8928,10 @@ uint32_t ColumnIndex::write(::apache::thrift::protocol::TProtocol* oprot) const
7451
8928
  xfer += oprot->writeFieldBegin("repetition_level_histograms", ::apache::thrift::protocol::T_LIST, 6);
7452
8929
  {
7453
8930
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast<uint32_t>(this->repetition_level_histograms.size()));
7454
- duckdb::vector<int64_t> ::const_iterator _iter209;
7455
- for (_iter209 = this->repetition_level_histograms.begin(); _iter209 != this->repetition_level_histograms.end(); ++_iter209)
8931
+ duckdb::vector<int64_t> ::const_iterator _iter330;
8932
+ for (_iter330 = this->repetition_level_histograms.begin(); _iter330 != this->repetition_level_histograms.end(); ++_iter330)
7456
8933
  {
7457
- xfer += oprot->writeI64((*_iter209));
8934
+ xfer += oprot->writeI64((*_iter330));
7458
8935
  }
7459
8936
  xfer += oprot->writeListEnd();
7460
8937
  }
@@ -7464,10 +8941,10 @@ uint32_t ColumnIndex::write(::apache::thrift::protocol::TProtocol* oprot) const
7464
8941
  xfer += oprot->writeFieldBegin("definition_level_histograms", ::apache::thrift::protocol::T_LIST, 7);
7465
8942
  {
7466
8943
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast<uint32_t>(this->definition_level_histograms.size()));
7467
- duckdb::vector<int64_t> ::const_iterator _iter210;
7468
- for (_iter210 = this->definition_level_histograms.begin(); _iter210 != this->definition_level_histograms.end(); ++_iter210)
8944
+ duckdb::vector<int64_t> ::const_iterator _iter331;
8945
+ for (_iter331 = this->definition_level_histograms.begin(); _iter331 != this->definition_level_histograms.end(); ++_iter331)
7469
8946
  {
7470
- xfer += oprot->writeI64((*_iter210));
8947
+ xfer += oprot->writeI64((*_iter331));
7471
8948
  }
7472
8949
  xfer += oprot->writeListEnd();
7473
8950
  }
@@ -7490,25 +8967,46 @@ void swap(ColumnIndex &a, ColumnIndex &b) {
7490
8967
  swap(a.__isset, b.__isset);
7491
8968
  }
7492
8969
 
7493
- ColumnIndex::ColumnIndex(const ColumnIndex& other211) {
7494
- null_pages = other211.null_pages;
7495
- min_values = other211.min_values;
7496
- max_values = other211.max_values;
7497
- boundary_order = other211.boundary_order;
7498
- null_counts = other211.null_counts;
7499
- repetition_level_histograms = other211.repetition_level_histograms;
7500
- definition_level_histograms = other211.definition_level_histograms;
7501
- __isset = other211.__isset;
7502
- }
7503
- ColumnIndex& ColumnIndex::operator=(const ColumnIndex& other212) {
7504
- null_pages = other212.null_pages;
7505
- min_values = other212.min_values;
7506
- max_values = other212.max_values;
7507
- boundary_order = other212.boundary_order;
7508
- null_counts = other212.null_counts;
7509
- repetition_level_histograms = other212.repetition_level_histograms;
7510
- definition_level_histograms = other212.definition_level_histograms;
7511
- __isset = other212.__isset;
8970
+ ColumnIndex::ColumnIndex(const ColumnIndex& other332) {
8971
+ null_pages = other332.null_pages;
8972
+ min_values = other332.min_values;
8973
+ max_values = other332.max_values;
8974
+ boundary_order = other332.boundary_order;
8975
+ null_counts = other332.null_counts;
8976
+ repetition_level_histograms = other332.repetition_level_histograms;
8977
+ definition_level_histograms = other332.definition_level_histograms;
8978
+ __isset = other332.__isset;
8979
+ }
8980
+ ColumnIndex::ColumnIndex(ColumnIndex&& other333) noexcept {
8981
+ null_pages = std::move(other333.null_pages);
8982
+ min_values = std::move(other333.min_values);
8983
+ max_values = std::move(other333.max_values);
8984
+ boundary_order = other333.boundary_order;
8985
+ null_counts = std::move(other333.null_counts);
8986
+ repetition_level_histograms = std::move(other333.repetition_level_histograms);
8987
+ definition_level_histograms = std::move(other333.definition_level_histograms);
8988
+ __isset = other333.__isset;
8989
+ }
8990
+ ColumnIndex& ColumnIndex::operator=(const ColumnIndex& other334) {
8991
+ null_pages = other334.null_pages;
8992
+ min_values = other334.min_values;
8993
+ max_values = other334.max_values;
8994
+ boundary_order = other334.boundary_order;
8995
+ null_counts = other334.null_counts;
8996
+ repetition_level_histograms = other334.repetition_level_histograms;
8997
+ definition_level_histograms = other334.definition_level_histograms;
8998
+ __isset = other334.__isset;
8999
+ return *this;
9000
+ }
9001
+ ColumnIndex& ColumnIndex::operator=(ColumnIndex&& other335) noexcept {
9002
+ null_pages = std::move(other335.null_pages);
9003
+ min_values = std::move(other335.min_values);
9004
+ max_values = std::move(other335.max_values);
9005
+ boundary_order = other335.boundary_order;
9006
+ null_counts = std::move(other335.null_counts);
9007
+ repetition_level_histograms = std::move(other335.repetition_level_histograms);
9008
+ definition_level_histograms = std::move(other335.definition_level_histograms);
9009
+ __isset = other335.__isset;
7512
9010
  return *this;
7513
9011
  }
7514
9012
  void ColumnIndex::printTo(std::ostream& out) const {
@@ -7645,17 +9143,30 @@ void swap(AesGcmV1 &a, AesGcmV1 &b) {
7645
9143
  swap(a.__isset, b.__isset);
7646
9144
  }
7647
9145
 
7648
- AesGcmV1::AesGcmV1(const AesGcmV1& other213) {
7649
- aad_prefix = other213.aad_prefix;
7650
- aad_file_unique = other213.aad_file_unique;
7651
- supply_aad_prefix = other213.supply_aad_prefix;
7652
- __isset = other213.__isset;
9146
+ AesGcmV1::AesGcmV1(const AesGcmV1& other336) {
9147
+ aad_prefix = other336.aad_prefix;
9148
+ aad_file_unique = other336.aad_file_unique;
9149
+ supply_aad_prefix = other336.supply_aad_prefix;
9150
+ __isset = other336.__isset;
9151
+ }
9152
+ AesGcmV1::AesGcmV1(AesGcmV1&& other337) noexcept {
9153
+ aad_prefix = std::move(other337.aad_prefix);
9154
+ aad_file_unique = std::move(other337.aad_file_unique);
9155
+ supply_aad_prefix = other337.supply_aad_prefix;
9156
+ __isset = other337.__isset;
7653
9157
  }
7654
- AesGcmV1& AesGcmV1::operator=(const AesGcmV1& other214) {
7655
- aad_prefix = other214.aad_prefix;
7656
- aad_file_unique = other214.aad_file_unique;
7657
- supply_aad_prefix = other214.supply_aad_prefix;
7658
- __isset = other214.__isset;
9158
+ AesGcmV1& AesGcmV1::operator=(const AesGcmV1& other338) {
9159
+ aad_prefix = other338.aad_prefix;
9160
+ aad_file_unique = other338.aad_file_unique;
9161
+ supply_aad_prefix = other338.supply_aad_prefix;
9162
+ __isset = other338.__isset;
9163
+ return *this;
9164
+ }
9165
+ AesGcmV1& AesGcmV1::operator=(AesGcmV1&& other339) noexcept {
9166
+ aad_prefix = std::move(other339.aad_prefix);
9167
+ aad_file_unique = std::move(other339.aad_file_unique);
9168
+ supply_aad_prefix = other339.supply_aad_prefix;
9169
+ __isset = other339.__isset;
7659
9170
  return *this;
7660
9171
  }
7661
9172
  void AesGcmV1::printTo(std::ostream& out) const {
@@ -7788,17 +9299,30 @@ void swap(AesGcmCtrV1 &a, AesGcmCtrV1 &b) {
7788
9299
  swap(a.__isset, b.__isset);
7789
9300
  }
7790
9301
 
7791
- AesGcmCtrV1::AesGcmCtrV1(const AesGcmCtrV1& other215) {
7792
- aad_prefix = other215.aad_prefix;
7793
- aad_file_unique = other215.aad_file_unique;
7794
- supply_aad_prefix = other215.supply_aad_prefix;
7795
- __isset = other215.__isset;
9302
+ AesGcmCtrV1::AesGcmCtrV1(const AesGcmCtrV1& other340) {
9303
+ aad_prefix = other340.aad_prefix;
9304
+ aad_file_unique = other340.aad_file_unique;
9305
+ supply_aad_prefix = other340.supply_aad_prefix;
9306
+ __isset = other340.__isset;
9307
+ }
9308
+ AesGcmCtrV1::AesGcmCtrV1(AesGcmCtrV1&& other341) noexcept {
9309
+ aad_prefix = std::move(other341.aad_prefix);
9310
+ aad_file_unique = std::move(other341.aad_file_unique);
9311
+ supply_aad_prefix = other341.supply_aad_prefix;
9312
+ __isset = other341.__isset;
9313
+ }
9314
+ AesGcmCtrV1& AesGcmCtrV1::operator=(const AesGcmCtrV1& other342) {
9315
+ aad_prefix = other342.aad_prefix;
9316
+ aad_file_unique = other342.aad_file_unique;
9317
+ supply_aad_prefix = other342.supply_aad_prefix;
9318
+ __isset = other342.__isset;
9319
+ return *this;
7796
9320
  }
7797
- AesGcmCtrV1& AesGcmCtrV1::operator=(const AesGcmCtrV1& other216) {
7798
- aad_prefix = other216.aad_prefix;
7799
- aad_file_unique = other216.aad_file_unique;
7800
- supply_aad_prefix = other216.supply_aad_prefix;
7801
- __isset = other216.__isset;
9321
+ AesGcmCtrV1& AesGcmCtrV1::operator=(AesGcmCtrV1&& other343) noexcept {
9322
+ aad_prefix = std::move(other343.aad_prefix);
9323
+ aad_file_unique = std::move(other343.aad_file_unique);
9324
+ supply_aad_prefix = other343.supply_aad_prefix;
9325
+ __isset = other343.__isset;
7802
9326
  return *this;
7803
9327
  }
7804
9328
  void AesGcmCtrV1::printTo(std::ostream& out) const {
@@ -7909,15 +9433,26 @@ void swap(EncryptionAlgorithm &a, EncryptionAlgorithm &b) {
7909
9433
  swap(a.__isset, b.__isset);
7910
9434
  }
7911
9435
 
7912
- EncryptionAlgorithm::EncryptionAlgorithm(const EncryptionAlgorithm& other217) {
7913
- AES_GCM_V1 = other217.AES_GCM_V1;
7914
- AES_GCM_CTR_V1 = other217.AES_GCM_CTR_V1;
7915
- __isset = other217.__isset;
9436
+ EncryptionAlgorithm::EncryptionAlgorithm(const EncryptionAlgorithm& other344) {
9437
+ AES_GCM_V1 = other344.AES_GCM_V1;
9438
+ AES_GCM_CTR_V1 = other344.AES_GCM_CTR_V1;
9439
+ __isset = other344.__isset;
9440
+ }
9441
+ EncryptionAlgorithm::EncryptionAlgorithm(EncryptionAlgorithm&& other345) noexcept {
9442
+ AES_GCM_V1 = std::move(other345.AES_GCM_V1);
9443
+ AES_GCM_CTR_V1 = std::move(other345.AES_GCM_CTR_V1);
9444
+ __isset = other345.__isset;
9445
+ }
9446
+ EncryptionAlgorithm& EncryptionAlgorithm::operator=(const EncryptionAlgorithm& other346) {
9447
+ AES_GCM_V1 = other346.AES_GCM_V1;
9448
+ AES_GCM_CTR_V1 = other346.AES_GCM_CTR_V1;
9449
+ __isset = other346.__isset;
9450
+ return *this;
7916
9451
  }
7917
- EncryptionAlgorithm& EncryptionAlgorithm::operator=(const EncryptionAlgorithm& other218) {
7918
- AES_GCM_V1 = other218.AES_GCM_V1;
7919
- AES_GCM_CTR_V1 = other218.AES_GCM_CTR_V1;
7920
- __isset = other218.__isset;
9452
+ EncryptionAlgorithm& EncryptionAlgorithm::operator=(EncryptionAlgorithm&& other347) noexcept {
9453
+ AES_GCM_V1 = std::move(other347.AES_GCM_V1);
9454
+ AES_GCM_CTR_V1 = std::move(other347.AES_GCM_CTR_V1);
9455
+ __isset = other347.__isset;
7921
9456
  return *this;
7922
9457
  }
7923
9458
  void EncryptionAlgorithm::printTo(std::ostream& out) const {
@@ -8023,14 +9558,14 @@ uint32_t FileMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
8023
9558
  if (ftype == ::apache::thrift::protocol::T_LIST) {
8024
9559
  {
8025
9560
  this->schema.clear();
8026
- uint32_t _size219;
8027
- ::apache::thrift::protocol::TType _etype222;
8028
- xfer += iprot->readListBegin(_etype222, _size219);
8029
- this->schema.resize(_size219);
8030
- uint32_t _i223;
8031
- for (_i223 = 0; _i223 < _size219; ++_i223)
9561
+ uint32_t _size348;
9562
+ ::apache::thrift::protocol::TType _etype351;
9563
+ xfer += iprot->readListBegin(_etype351, _size348);
9564
+ this->schema.resize(_size348);
9565
+ uint32_t _i352;
9566
+ for (_i352 = 0; _i352 < _size348; ++_i352)
8032
9567
  {
8033
- xfer += this->schema[_i223].read(iprot);
9568
+ xfer += this->schema[_i352].read(iprot);
8034
9569
  }
8035
9570
  xfer += iprot->readListEnd();
8036
9571
  }
@@ -8051,14 +9586,14 @@ uint32_t FileMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
8051
9586
  if (ftype == ::apache::thrift::protocol::T_LIST) {
8052
9587
  {
8053
9588
  this->row_groups.clear();
8054
- uint32_t _size224;
8055
- ::apache::thrift::protocol::TType _etype227;
8056
- xfer += iprot->readListBegin(_etype227, _size224);
8057
- this->row_groups.resize(_size224);
8058
- uint32_t _i228;
8059
- for (_i228 = 0; _i228 < _size224; ++_i228)
9589
+ uint32_t _size353;
9590
+ ::apache::thrift::protocol::TType _etype356;
9591
+ xfer += iprot->readListBegin(_etype356, _size353);
9592
+ this->row_groups.resize(_size353);
9593
+ uint32_t _i357;
9594
+ for (_i357 = 0; _i357 < _size353; ++_i357)
8060
9595
  {
8061
- xfer += this->row_groups[_i228].read(iprot);
9596
+ xfer += this->row_groups[_i357].read(iprot);
8062
9597
  }
8063
9598
  xfer += iprot->readListEnd();
8064
9599
  }
@@ -8071,14 +9606,14 @@ uint32_t FileMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
8071
9606
  if (ftype == ::apache::thrift::protocol::T_LIST) {
8072
9607
  {
8073
9608
  this->key_value_metadata.clear();
8074
- uint32_t _size229;
8075
- ::apache::thrift::protocol::TType _etype232;
8076
- xfer += iprot->readListBegin(_etype232, _size229);
8077
- this->key_value_metadata.resize(_size229);
8078
- uint32_t _i233;
8079
- for (_i233 = 0; _i233 < _size229; ++_i233)
9609
+ uint32_t _size358;
9610
+ ::apache::thrift::protocol::TType _etype361;
9611
+ xfer += iprot->readListBegin(_etype361, _size358);
9612
+ this->key_value_metadata.resize(_size358);
9613
+ uint32_t _i362;
9614
+ for (_i362 = 0; _i362 < _size358; ++_i362)
8080
9615
  {
8081
- xfer += this->key_value_metadata[_i233].read(iprot);
9616
+ xfer += this->key_value_metadata[_i362].read(iprot);
8082
9617
  }
8083
9618
  xfer += iprot->readListEnd();
8084
9619
  }
@@ -8099,14 +9634,14 @@ uint32_t FileMetaData::read(::apache::thrift::protocol::TProtocol* iprot) {
8099
9634
  if (ftype == ::apache::thrift::protocol::T_LIST) {
8100
9635
  {
8101
9636
  this->column_orders.clear();
8102
- uint32_t _size234;
8103
- ::apache::thrift::protocol::TType _etype237;
8104
- xfer += iprot->readListBegin(_etype237, _size234);
8105
- this->column_orders.resize(_size234);
8106
- uint32_t _i238;
8107
- for (_i238 = 0; _i238 < _size234; ++_i238)
9637
+ uint32_t _size363;
9638
+ ::apache::thrift::protocol::TType _etype366;
9639
+ xfer += iprot->readListBegin(_etype366, _size363);
9640
+ this->column_orders.resize(_size363);
9641
+ uint32_t _i367;
9642
+ for (_i367 = 0; _i367 < _size363; ++_i367)
8108
9643
  {
8109
- xfer += this->column_orders[_i238].read(iprot);
9644
+ xfer += this->column_orders[_i367].read(iprot);
8110
9645
  }
8111
9646
  xfer += iprot->readListEnd();
8112
9647
  }
@@ -8163,10 +9698,10 @@ uint32_t FileMetaData::write(::apache::thrift::protocol::TProtocol* oprot) const
8163
9698
  xfer += oprot->writeFieldBegin("schema", ::apache::thrift::protocol::T_LIST, 2);
8164
9699
  {
8165
9700
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->schema.size()));
8166
- duckdb::vector<SchemaElement> ::const_iterator _iter239;
8167
- for (_iter239 = this->schema.begin(); _iter239 != this->schema.end(); ++_iter239)
9701
+ duckdb::vector<SchemaElement> ::const_iterator _iter368;
9702
+ for (_iter368 = this->schema.begin(); _iter368 != this->schema.end(); ++_iter368)
8168
9703
  {
8169
- xfer += (*_iter239).write(oprot);
9704
+ xfer += (*_iter368).write(oprot);
8170
9705
  }
8171
9706
  xfer += oprot->writeListEnd();
8172
9707
  }
@@ -8179,10 +9714,10 @@ uint32_t FileMetaData::write(::apache::thrift::protocol::TProtocol* oprot) const
8179
9714
  xfer += oprot->writeFieldBegin("row_groups", ::apache::thrift::protocol::T_LIST, 4);
8180
9715
  {
8181
9716
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->row_groups.size()));
8182
- duckdb::vector<RowGroup> ::const_iterator _iter240;
8183
- for (_iter240 = this->row_groups.begin(); _iter240 != this->row_groups.end(); ++_iter240)
9717
+ duckdb::vector<RowGroup> ::const_iterator _iter369;
9718
+ for (_iter369 = this->row_groups.begin(); _iter369 != this->row_groups.end(); ++_iter369)
8184
9719
  {
8185
- xfer += (*_iter240).write(oprot);
9720
+ xfer += (*_iter369).write(oprot);
8186
9721
  }
8187
9722
  xfer += oprot->writeListEnd();
8188
9723
  }
@@ -8192,10 +9727,10 @@ uint32_t FileMetaData::write(::apache::thrift::protocol::TProtocol* oprot) const
8192
9727
  xfer += oprot->writeFieldBegin("key_value_metadata", ::apache::thrift::protocol::T_LIST, 5);
8193
9728
  {
8194
9729
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->key_value_metadata.size()));
8195
- duckdb::vector<KeyValue> ::const_iterator _iter241;
8196
- for (_iter241 = this->key_value_metadata.begin(); _iter241 != this->key_value_metadata.end(); ++_iter241)
9730
+ duckdb::vector<KeyValue> ::const_iterator _iter370;
9731
+ for (_iter370 = this->key_value_metadata.begin(); _iter370 != this->key_value_metadata.end(); ++_iter370)
8197
9732
  {
8198
- xfer += (*_iter241).write(oprot);
9733
+ xfer += (*_iter370).write(oprot);
8199
9734
  }
8200
9735
  xfer += oprot->writeListEnd();
8201
9736
  }
@@ -8210,10 +9745,10 @@ uint32_t FileMetaData::write(::apache::thrift::protocol::TProtocol* oprot) const
8210
9745
  xfer += oprot->writeFieldBegin("column_orders", ::apache::thrift::protocol::T_LIST, 7);
8211
9746
  {
8212
9747
  xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->column_orders.size()));
8213
- duckdb::vector<ColumnOrder> ::const_iterator _iter242;
8214
- for (_iter242 = this->column_orders.begin(); _iter242 != this->column_orders.end(); ++_iter242)
9748
+ duckdb::vector<ColumnOrder> ::const_iterator _iter371;
9749
+ for (_iter371 = this->column_orders.begin(); _iter371 != this->column_orders.end(); ++_iter371)
8215
9750
  {
8216
- xfer += (*_iter242).write(oprot);
9751
+ xfer += (*_iter371).write(oprot);
8217
9752
  }
8218
9753
  xfer += oprot->writeListEnd();
8219
9754
  }
@@ -8248,29 +9783,54 @@ void swap(FileMetaData &a, FileMetaData &b) {
8248
9783
  swap(a.__isset, b.__isset);
8249
9784
  }
8250
9785
 
8251
- FileMetaData::FileMetaData(const FileMetaData& other243) {
8252
- version = other243.version;
8253
- schema = other243.schema;
8254
- num_rows = other243.num_rows;
8255
- row_groups = other243.row_groups;
8256
- key_value_metadata = other243.key_value_metadata;
8257
- created_by = other243.created_by;
8258
- column_orders = other243.column_orders;
8259
- encryption_algorithm = other243.encryption_algorithm;
8260
- footer_signing_key_metadata = other243.footer_signing_key_metadata;
8261
- __isset = other243.__isset;
9786
+ FileMetaData::FileMetaData(const FileMetaData& other372) {
9787
+ version = other372.version;
9788
+ schema = other372.schema;
9789
+ num_rows = other372.num_rows;
9790
+ row_groups = other372.row_groups;
9791
+ key_value_metadata = other372.key_value_metadata;
9792
+ created_by = other372.created_by;
9793
+ column_orders = other372.column_orders;
9794
+ encryption_algorithm = other372.encryption_algorithm;
9795
+ footer_signing_key_metadata = other372.footer_signing_key_metadata;
9796
+ __isset = other372.__isset;
9797
+ }
9798
+ FileMetaData::FileMetaData(FileMetaData&& other373) noexcept {
9799
+ version = other373.version;
9800
+ schema = std::move(other373.schema);
9801
+ num_rows = other373.num_rows;
9802
+ row_groups = std::move(other373.row_groups);
9803
+ key_value_metadata = std::move(other373.key_value_metadata);
9804
+ created_by = std::move(other373.created_by);
9805
+ column_orders = std::move(other373.column_orders);
9806
+ encryption_algorithm = std::move(other373.encryption_algorithm);
9807
+ footer_signing_key_metadata = std::move(other373.footer_signing_key_metadata);
9808
+ __isset = other373.__isset;
9809
+ }
9810
+ FileMetaData& FileMetaData::operator=(const FileMetaData& other374) {
9811
+ version = other374.version;
9812
+ schema = other374.schema;
9813
+ num_rows = other374.num_rows;
9814
+ row_groups = other374.row_groups;
9815
+ key_value_metadata = other374.key_value_metadata;
9816
+ created_by = other374.created_by;
9817
+ column_orders = other374.column_orders;
9818
+ encryption_algorithm = other374.encryption_algorithm;
9819
+ footer_signing_key_metadata = other374.footer_signing_key_metadata;
9820
+ __isset = other374.__isset;
9821
+ return *this;
8262
9822
  }
8263
- FileMetaData& FileMetaData::operator=(const FileMetaData& other244) {
8264
- version = other244.version;
8265
- schema = other244.schema;
8266
- num_rows = other244.num_rows;
8267
- row_groups = other244.row_groups;
8268
- key_value_metadata = other244.key_value_metadata;
8269
- created_by = other244.created_by;
8270
- column_orders = other244.column_orders;
8271
- encryption_algorithm = other244.encryption_algorithm;
8272
- footer_signing_key_metadata = other244.footer_signing_key_metadata;
8273
- __isset = other244.__isset;
9823
+ FileMetaData& FileMetaData::operator=(FileMetaData&& other375) noexcept {
9824
+ version = other375.version;
9825
+ schema = std::move(other375.schema);
9826
+ num_rows = other375.num_rows;
9827
+ row_groups = std::move(other375.row_groups);
9828
+ key_value_metadata = std::move(other375.key_value_metadata);
9829
+ created_by = std::move(other375.created_by);
9830
+ column_orders = std::move(other375.column_orders);
9831
+ encryption_algorithm = std::move(other375.encryption_algorithm);
9832
+ footer_signing_key_metadata = std::move(other375.footer_signing_key_metadata);
9833
+ __isset = other375.__isset;
8274
9834
  return *this;
8275
9835
  }
8276
9836
  void FileMetaData::printTo(std::ostream& out) const {
@@ -8389,15 +9949,26 @@ void swap(FileCryptoMetaData &a, FileCryptoMetaData &b) {
8389
9949
  swap(a.__isset, b.__isset);
8390
9950
  }
8391
9951
 
8392
- FileCryptoMetaData::FileCryptoMetaData(const FileCryptoMetaData& other245) {
8393
- encryption_algorithm = other245.encryption_algorithm;
8394
- key_metadata = other245.key_metadata;
8395
- __isset = other245.__isset;
9952
+ FileCryptoMetaData::FileCryptoMetaData(const FileCryptoMetaData& other376) {
9953
+ encryption_algorithm = other376.encryption_algorithm;
9954
+ key_metadata = other376.key_metadata;
9955
+ __isset = other376.__isset;
8396
9956
  }
8397
- FileCryptoMetaData& FileCryptoMetaData::operator=(const FileCryptoMetaData& other246) {
8398
- encryption_algorithm = other246.encryption_algorithm;
8399
- key_metadata = other246.key_metadata;
8400
- __isset = other246.__isset;
9957
+ FileCryptoMetaData::FileCryptoMetaData(FileCryptoMetaData&& other377) noexcept {
9958
+ encryption_algorithm = std::move(other377.encryption_algorithm);
9959
+ key_metadata = std::move(other377.key_metadata);
9960
+ __isset = other377.__isset;
9961
+ }
9962
+ FileCryptoMetaData& FileCryptoMetaData::operator=(const FileCryptoMetaData& other378) {
9963
+ encryption_algorithm = other378.encryption_algorithm;
9964
+ key_metadata = other378.key_metadata;
9965
+ __isset = other378.__isset;
9966
+ return *this;
9967
+ }
9968
+ FileCryptoMetaData& FileCryptoMetaData::operator=(FileCryptoMetaData&& other379) noexcept {
9969
+ encryption_algorithm = std::move(other379.encryption_algorithm);
9970
+ key_metadata = std::move(other379.key_metadata);
9971
+ __isset = other379.__isset;
8401
9972
  return *this;
8402
9973
  }
8403
9974
  void FileCryptoMetaData::printTo(std::ostream& out) const {