duckdb 1.1.0 → 1.1.1-dev3.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 (147) hide show
  1. package/binding.gyp +2 -1
  2. package/package.json +1 -1
  3. package/src/duckdb/extension/icu/third_party/icu/stubdata/stubdata.cpp +1 -1
  4. package/src/duckdb/extension/json/include/json_common.hpp +14 -4
  5. package/src/duckdb/extension/json/include/json_executors.hpp +11 -3
  6. package/src/duckdb/extension/json/json_extension.cpp +1 -1
  7. package/src/duckdb/extension/json/json_functions/json_extract.cpp +11 -3
  8. package/src/duckdb/extension/json/json_functions/json_value.cpp +4 -3
  9. package/src/duckdb/extension/json/json_functions.cpp +16 -7
  10. package/src/duckdb/extension/parquet/column_reader.cpp +3 -0
  11. package/src/duckdb/extension/parquet/column_writer.cpp +54 -43
  12. package/src/duckdb/extension/parquet/geo_parquet.cpp +19 -0
  13. package/src/duckdb/extension/parquet/include/geo_parquet.hpp +10 -6
  14. package/src/duckdb/extension/parquet/include/templated_column_reader.hpp +3 -3
  15. package/src/duckdb/extension/parquet/parquet_writer.cpp +2 -1
  16. package/src/duckdb/src/common/arrow/arrow_converter.cpp +1 -1
  17. package/src/duckdb/src/common/arrow/arrow_merge_event.cpp +1 -0
  18. package/src/duckdb/src/common/arrow/arrow_util.cpp +60 -0
  19. package/src/duckdb/src/common/arrow/arrow_wrapper.cpp +1 -53
  20. package/src/duckdb/src/common/cgroups.cpp +15 -24
  21. package/src/duckdb/src/common/constants.cpp +8 -0
  22. package/src/duckdb/src/common/enum_util.cpp +331 -326
  23. package/src/duckdb/src/common/http_util.cpp +5 -1
  24. package/src/duckdb/src/common/operator/cast_operators.cpp +6 -60
  25. package/src/duckdb/src/common/types/bit.cpp +1 -1
  26. package/src/duckdb/src/common/types/column/column_data_allocator.cpp +18 -1
  27. package/src/duckdb/src/common/types/row/tuple_data_allocator.cpp +2 -1
  28. package/src/duckdb/src/common/types/row/tuple_data_segment.cpp +5 -0
  29. package/src/duckdb/src/core_functions/aggregate/distributive/arg_min_max.cpp +1 -1
  30. package/src/duckdb/src/core_functions/aggregate/distributive/minmax.cpp +2 -1
  31. package/src/duckdb/src/execution/index/art/iterator.cpp +17 -15
  32. package/src/duckdb/src/execution/index/art/prefix.cpp +9 -34
  33. package/src/duckdb/src/execution/index/fixed_size_buffer.cpp +4 -3
  34. package/src/duckdb/src/execution/operator/aggregate/physical_ungrouped_aggregate.cpp +1 -0
  35. package/src/duckdb/src/execution/operator/csv_scanner/buffer_manager/csv_buffer.cpp +2 -1
  36. package/src/duckdb/src/execution/operator/csv_scanner/scanner/base_scanner.cpp +2 -2
  37. package/src/duckdb/src/execution/operator/csv_scanner/scanner/column_count_scanner.cpp +23 -1
  38. package/src/duckdb/src/execution/operator/csv_scanner/scanner/string_value_scanner.cpp +33 -4
  39. package/src/duckdb/src/execution/operator/csv_scanner/sniffer/csv_sniffer.cpp +23 -13
  40. package/src/duckdb/src/execution/operator/csv_scanner/sniffer/dialect_detection.cpp +23 -19
  41. package/src/duckdb/src/execution/operator/csv_scanner/sniffer/header_detection.cpp +12 -11
  42. package/src/duckdb/src/execution/operator/csv_scanner/sniffer/type_detection.cpp +20 -14
  43. package/src/duckdb/src/execution/operator/csv_scanner/state_machine/csv_state_machine_cache.cpp +4 -4
  44. package/src/duckdb/src/execution/operator/csv_scanner/util/csv_error.cpp +3 -1
  45. package/src/duckdb/src/execution/operator/join/physical_piecewise_merge_join.cpp +6 -1
  46. package/src/duckdb/src/function/cast/decimal_cast.cpp +33 -3
  47. package/src/duckdb/src/function/table/arrow/arrow_duck_schema.cpp +9 -0
  48. package/src/duckdb/src/function/table/arrow.cpp +34 -22
  49. package/src/duckdb/src/function/table/sniff_csv.cpp +4 -1
  50. package/src/duckdb/src/function/table/version/pragma_version.cpp +3 -3
  51. package/src/duckdb/src/include/duckdb/common/arrow/arrow_util.hpp +31 -0
  52. package/src/duckdb/src/include/duckdb/common/arrow/arrow_wrapper.hpp +2 -16
  53. package/src/duckdb/src/include/duckdb/common/operator/cast_operators.hpp +60 -0
  54. package/src/duckdb/src/include/duckdb/common/types/column/column_data_allocator.hpp +1 -0
  55. package/src/duckdb/src/include/duckdb/common/types/hugeint.hpp +0 -1
  56. package/src/duckdb/src/include/duckdb/common/types/row/row_data_collection.hpp +2 -1
  57. package/src/duckdb/src/include/duckdb/core_functions/aggregate/minmax_n_helpers.hpp +9 -5
  58. package/src/duckdb/src/include/duckdb/execution/executor.hpp +1 -0
  59. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/base_scanner.hpp +5 -2
  60. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/column_count_scanner.hpp +5 -1
  61. package/src/duckdb/src/include/duckdb/execution/operator/csv_scanner/csv_sniffer.hpp +5 -5
  62. package/src/duckdb/src/include/duckdb/execution/operator/helper/physical_result_collector.hpp +1 -0
  63. package/src/duckdb/src/include/duckdb/function/table/arrow/arrow_duck_schema.hpp +11 -0
  64. package/src/duckdb/src/include/duckdb/main/config.hpp +2 -2
  65. package/src/duckdb/src/include/duckdb/main/extension.hpp +1 -0
  66. package/src/duckdb/src/include/duckdb/main/extension_entries.hpp +14 -5
  67. package/src/duckdb/src/include/duckdb/main/extension_helper.hpp +1 -1
  68. package/src/duckdb/src/include/duckdb/main/settings.hpp +4 -2
  69. package/src/duckdb/src/include/duckdb/parser/keyword_helper.hpp +3 -0
  70. package/src/duckdb/src/include/duckdb/parser/parser.hpp +1 -1
  71. package/src/duckdb/src/include/duckdb/parser/simplified_token.hpp +7 -1
  72. package/src/duckdb/src/include/duckdb/planner/binder.hpp +2 -0
  73. package/src/duckdb/src/include/duckdb/planner/expression_binder/select_binder.hpp +2 -0
  74. package/src/duckdb/src/include/duckdb/planner/expression_binder.hpp +3 -1
  75. package/src/duckdb/src/include/duckdb/storage/block_manager.hpp +3 -1
  76. package/src/duckdb/src/include/duckdb/storage/buffer/block_handle.hpp +7 -4
  77. package/src/duckdb/src/include/duckdb/storage/buffer/buffer_handle.hpp +2 -2
  78. package/src/duckdb/src/include/duckdb/storage/buffer/buffer_pool.hpp +2 -1
  79. package/src/duckdb/src/include/duckdb/storage/buffer_manager.hpp +4 -4
  80. package/src/duckdb/src/include/duckdb/storage/standard_buffer_manager.hpp +3 -4
  81. package/src/duckdb/src/include/duckdb/storage/table/column_data.hpp +1 -1
  82. package/src/duckdb/src/include/duckdb/storage/table/row_group_collection.hpp +4 -2
  83. package/src/duckdb/src/include/duckdb/storage/table/standard_column_data.hpp +1 -1
  84. package/src/duckdb/src/include/duckdb/transaction/duck_transaction.hpp +1 -0
  85. package/src/duckdb/src/include/duckdb/transaction/local_storage.hpp +1 -0
  86. package/src/duckdb/src/include/duckdb/transaction/transaction_manager.hpp +1 -1
  87. package/src/duckdb/src/include/duckdb.h +8 -8
  88. package/src/duckdb/src/main/appender.cpp +1 -1
  89. package/src/duckdb/src/main/capi/duckdb_value-c.cpp +3 -3
  90. package/src/duckdb/src/main/capi/helper-c.cpp +4 -0
  91. package/src/duckdb/src/main/config.cpp +24 -11
  92. package/src/duckdb/src/main/database.cpp +6 -5
  93. package/src/duckdb/src/main/extension/extension_install.cpp +13 -8
  94. package/src/duckdb/src/main/extension/extension_load.cpp +10 -4
  95. package/src/duckdb/src/main/extension.cpp +1 -1
  96. package/src/duckdb/src/optimizer/filter_pushdown.cpp +10 -1
  97. package/src/duckdb/src/optimizer/join_filter_pushdown_optimizer.cpp +9 -5
  98. package/src/duckdb/src/optimizer/join_order/cardinality_estimator.cpp +14 -8
  99. package/src/duckdb/src/optimizer/join_order/query_graph_manager.cpp +2 -0
  100. package/src/duckdb/src/optimizer/join_order/relation_manager.cpp +15 -0
  101. package/src/duckdb/src/optimizer/optimizer.cpp +4 -1
  102. package/src/duckdb/src/optimizer/pushdown/pushdown_cross_product.cpp +1 -11
  103. package/src/duckdb/src/optimizer/pushdown/pushdown_inner_join.cpp +1 -7
  104. package/src/duckdb/src/optimizer/pushdown/pushdown_left_join.cpp +1 -1
  105. package/src/duckdb/src/optimizer/statistics/expression/propagate_cast.cpp +3 -0
  106. package/src/duckdb/src/optimizer/statistics/operator/propagate_join.cpp +1 -0
  107. package/src/duckdb/src/parser/keyword_helper.cpp +4 -0
  108. package/src/duckdb/src/parser/parser.cpp +20 -18
  109. package/src/duckdb/src/parser/transform/statement/transform_select_node.cpp +8 -3
  110. package/src/duckdb/src/planner/binder/expression/bind_function_expression.cpp +3 -0
  111. package/src/duckdb/src/planner/binder/expression/bind_lambda.cpp +7 -1
  112. package/src/duckdb/src/planner/binder/expression/bind_unnest_expression.cpp +13 -0
  113. package/src/duckdb/src/planner/binder/statement/bind_copy_database.cpp +7 -11
  114. package/src/duckdb/src/planner/binder/statement/bind_create.cpp +27 -10
  115. package/src/duckdb/src/planner/binder/statement/bind_export.cpp +24 -9
  116. package/src/duckdb/src/planner/binder/tableref/plan_joinref.cpp +1 -3
  117. package/src/duckdb/src/planner/binder.cpp +5 -6
  118. package/src/duckdb/src/planner/expression/bound_cast_expression.cpp +1 -0
  119. package/src/duckdb/src/planner/expression_binder/select_binder.cpp +9 -0
  120. package/src/duckdb/src/planner/operator/logical_copy_to_file.cpp +2 -2
  121. package/src/duckdb/src/planner/operator/logical_positional_join.cpp +1 -0
  122. package/src/duckdb/src/storage/buffer/block_handle.cpp +18 -21
  123. package/src/duckdb/src/storage/buffer/block_manager.cpp +12 -4
  124. package/src/duckdb/src/storage/buffer/buffer_handle.cpp +2 -2
  125. package/src/duckdb/src/storage/buffer/buffer_pool.cpp +12 -2
  126. package/src/duckdb/src/storage/buffer_manager.cpp +3 -2
  127. package/src/duckdb/src/storage/compression/rle.cpp +5 -2
  128. package/src/duckdb/src/storage/compression/string_uncompressed.cpp +2 -1
  129. package/src/duckdb/src/storage/metadata/metadata_manager.cpp +8 -7
  130. package/src/duckdb/src/storage/standard_buffer_manager.cpp +19 -20
  131. package/src/duckdb/src/storage/statistics/column_statistics.cpp +1 -2
  132. package/src/duckdb/src/storage/table/column_data.cpp +5 -2
  133. package/src/duckdb/src/storage/table/column_segment.cpp +2 -2
  134. package/src/duckdb/src/storage/table/row_group_collection.cpp +18 -14
  135. package/src/duckdb/src/storage/table/standard_column_data.cpp +3 -3
  136. package/src/duckdb/src/storage/wal_replay.cpp +2 -3
  137. package/src/duckdb/third_party/libpg_query/include/common/keywords.hpp +1 -0
  138. package/src/duckdb/third_party/libpg_query/include/nodes/parsenodes.hpp +1 -0
  139. package/src/duckdb/third_party/libpg_query/include/parser/parser.hpp +1 -2
  140. package/src/duckdb/third_party/libpg_query/include/pg_simplified_token.hpp +6 -4
  141. package/src/duckdb/third_party/libpg_query/include/postgres_parser.hpp +1 -1
  142. package/src/duckdb/third_party/libpg_query/postgres_parser.cpp +1 -1
  143. package/src/duckdb/third_party/libpg_query/src_backend_parser_gram.cpp +801 -799
  144. package/src/duckdb/third_party/libpg_query/src_backend_parser_parser.cpp +6 -2
  145. package/src/duckdb/third_party/libpg_query/src_common_keywords.cpp +0 -1
  146. package/src/duckdb/ub_src_common_arrow.cpp +2 -0
  147. package/vendor.py +1 -2
@@ -155,7 +155,7 @@ const char* EnumUtil::ToChars<AccessMode>(AccessMode value) {
155
155
  case AccessMode::READ_WRITE:
156
156
  return "READ_WRITE";
157
157
  default:
158
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
158
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AccessMode>", value));
159
159
  }
160
160
  }
161
161
 
@@ -173,7 +173,7 @@ AccessMode EnumUtil::FromString<AccessMode>(const char *value) {
173
173
  if (StringUtil::Equals(value, "READ_WRITE")) {
174
174
  return AccessMode::READ_WRITE;
175
175
  }
176
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
176
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AccessMode>", value));
177
177
  }
178
178
 
179
179
  template<>
@@ -184,7 +184,7 @@ const char* EnumUtil::ToChars<AggregateCombineType>(AggregateCombineType value)
184
184
  case AggregateCombineType::ALLOW_DESTRUCTIVE:
185
185
  return "ALLOW_DESTRUCTIVE";
186
186
  default:
187
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
187
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AggregateCombineType>", value));
188
188
  }
189
189
  }
190
190
 
@@ -196,7 +196,7 @@ AggregateCombineType EnumUtil::FromString<AggregateCombineType>(const char *valu
196
196
  if (StringUtil::Equals(value, "ALLOW_DESTRUCTIVE")) {
197
197
  return AggregateCombineType::ALLOW_DESTRUCTIVE;
198
198
  }
199
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
199
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AggregateCombineType>", value));
200
200
  }
201
201
 
202
202
  template<>
@@ -209,7 +209,7 @@ const char* EnumUtil::ToChars<AggregateHandling>(AggregateHandling value) {
209
209
  case AggregateHandling::FORCE_AGGREGATES:
210
210
  return "FORCE_AGGREGATES";
211
211
  default:
212
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
212
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AggregateHandling>", value));
213
213
  }
214
214
  }
215
215
 
@@ -224,7 +224,7 @@ AggregateHandling EnumUtil::FromString<AggregateHandling>(const char *value) {
224
224
  if (StringUtil::Equals(value, "FORCE_AGGREGATES")) {
225
225
  return AggregateHandling::FORCE_AGGREGATES;
226
226
  }
227
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
227
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AggregateHandling>", value));
228
228
  }
229
229
 
230
230
  template<>
@@ -235,7 +235,7 @@ const char* EnumUtil::ToChars<AggregateOrderDependent>(AggregateOrderDependent v
235
235
  case AggregateOrderDependent::NOT_ORDER_DEPENDENT:
236
236
  return "NOT_ORDER_DEPENDENT";
237
237
  default:
238
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
238
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AggregateOrderDependent>", value));
239
239
  }
240
240
  }
241
241
 
@@ -247,7 +247,7 @@ AggregateOrderDependent EnumUtil::FromString<AggregateOrderDependent>(const char
247
247
  if (StringUtil::Equals(value, "NOT_ORDER_DEPENDENT")) {
248
248
  return AggregateOrderDependent::NOT_ORDER_DEPENDENT;
249
249
  }
250
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
250
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AggregateOrderDependent>", value));
251
251
  }
252
252
 
253
253
  template<>
@@ -258,7 +258,7 @@ const char* EnumUtil::ToChars<AggregateType>(AggregateType value) {
258
258
  case AggregateType::DISTINCT:
259
259
  return "DISTINCT";
260
260
  default:
261
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
261
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AggregateType>", value));
262
262
  }
263
263
  }
264
264
 
@@ -270,7 +270,7 @@ AggregateType EnumUtil::FromString<AggregateType>(const char *value) {
270
270
  if (StringUtil::Equals(value, "DISTINCT")) {
271
271
  return AggregateType::DISTINCT;
272
272
  }
273
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
273
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AggregateType>", value));
274
274
  }
275
275
 
276
276
  template<>
@@ -281,7 +281,7 @@ const char* EnumUtil::ToChars<AlterForeignKeyType>(AlterForeignKeyType value) {
281
281
  case AlterForeignKeyType::AFT_DELETE:
282
282
  return "AFT_DELETE";
283
283
  default:
284
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
284
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AlterForeignKeyType>", value));
285
285
  }
286
286
  }
287
287
 
@@ -293,7 +293,7 @@ AlterForeignKeyType EnumUtil::FromString<AlterForeignKeyType>(const char *value)
293
293
  if (StringUtil::Equals(value, "AFT_DELETE")) {
294
294
  return AlterForeignKeyType::AFT_DELETE;
295
295
  }
296
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
296
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AlterForeignKeyType>", value));
297
297
  }
298
298
 
299
299
  template<>
@@ -304,7 +304,7 @@ const char* EnumUtil::ToChars<AlterScalarFunctionType>(AlterScalarFunctionType v
304
304
  case AlterScalarFunctionType::ADD_FUNCTION_OVERLOADS:
305
305
  return "ADD_FUNCTION_OVERLOADS";
306
306
  default:
307
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
307
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AlterScalarFunctionType>", value));
308
308
  }
309
309
  }
310
310
 
@@ -316,7 +316,7 @@ AlterScalarFunctionType EnumUtil::FromString<AlterScalarFunctionType>(const char
316
316
  if (StringUtil::Equals(value, "ADD_FUNCTION_OVERLOADS")) {
317
317
  return AlterScalarFunctionType::ADD_FUNCTION_OVERLOADS;
318
318
  }
319
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
319
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AlterScalarFunctionType>", value));
320
320
  }
321
321
 
322
322
  template<>
@@ -327,7 +327,7 @@ const char* EnumUtil::ToChars<AlterTableFunctionType>(AlterTableFunctionType val
327
327
  case AlterTableFunctionType::ADD_FUNCTION_OVERLOADS:
328
328
  return "ADD_FUNCTION_OVERLOADS";
329
329
  default:
330
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
330
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AlterTableFunctionType>", value));
331
331
  }
332
332
  }
333
333
 
@@ -339,7 +339,7 @@ AlterTableFunctionType EnumUtil::FromString<AlterTableFunctionType>(const char *
339
339
  if (StringUtil::Equals(value, "ADD_FUNCTION_OVERLOADS")) {
340
340
  return AlterTableFunctionType::ADD_FUNCTION_OVERLOADS;
341
341
  }
342
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
342
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AlterTableFunctionType>", value));
343
343
  }
344
344
 
345
345
  template<>
@@ -368,7 +368,7 @@ const char* EnumUtil::ToChars<AlterTableType>(AlterTableType value) {
368
368
  case AlterTableType::SET_COLUMN_COMMENT:
369
369
  return "SET_COLUMN_COMMENT";
370
370
  default:
371
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
371
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AlterTableType>", value));
372
372
  }
373
373
  }
374
374
 
@@ -407,7 +407,7 @@ AlterTableType EnumUtil::FromString<AlterTableType>(const char *value) {
407
407
  if (StringUtil::Equals(value, "SET_COLUMN_COMMENT")) {
408
408
  return AlterTableType::SET_COLUMN_COMMENT;
409
409
  }
410
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
410
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AlterTableType>", value));
411
411
  }
412
412
 
413
413
  template<>
@@ -432,7 +432,7 @@ const char* EnumUtil::ToChars<AlterType>(AlterType value) {
432
432
  case AlterType::SET_COLUMN_COMMENT:
433
433
  return "SET_COLUMN_COMMENT";
434
434
  default:
435
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
435
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AlterType>", value));
436
436
  }
437
437
  }
438
438
 
@@ -465,7 +465,7 @@ AlterType EnumUtil::FromString<AlterType>(const char *value) {
465
465
  if (StringUtil::Equals(value, "SET_COLUMN_COMMENT")) {
466
466
  return AlterType::SET_COLUMN_COMMENT;
467
467
  }
468
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
468
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AlterType>", value));
469
469
  }
470
470
 
471
471
  template<>
@@ -476,7 +476,7 @@ const char* EnumUtil::ToChars<AlterViewType>(AlterViewType value) {
476
476
  case AlterViewType::RENAME_VIEW:
477
477
  return "RENAME_VIEW";
478
478
  default:
479
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
479
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AlterViewType>", value));
480
480
  }
481
481
  }
482
482
 
@@ -488,7 +488,7 @@ AlterViewType EnumUtil::FromString<AlterViewType>(const char *value) {
488
488
  if (StringUtil::Equals(value, "RENAME_VIEW")) {
489
489
  return AlterViewType::RENAME_VIEW;
490
490
  }
491
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
491
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AlterViewType>", value));
492
492
  }
493
493
 
494
494
  template<>
@@ -499,7 +499,7 @@ const char* EnumUtil::ToChars<AppenderType>(AppenderType value) {
499
499
  case AppenderType::PHYSICAL:
500
500
  return "PHYSICAL";
501
501
  default:
502
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
502
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<AppenderType>", value));
503
503
  }
504
504
  }
505
505
 
@@ -511,7 +511,7 @@ AppenderType EnumUtil::FromString<AppenderType>(const char *value) {
511
511
  if (StringUtil::Equals(value, "PHYSICAL")) {
512
512
  return AppenderType::PHYSICAL;
513
513
  }
514
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
514
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<AppenderType>", value));
515
515
  }
516
516
 
517
517
  template<>
@@ -532,7 +532,7 @@ const char* EnumUtil::ToChars<ArrowDateTimeType>(ArrowDateTimeType value) {
532
532
  case ArrowDateTimeType::MONTH_DAY_NANO:
533
533
  return "MONTH_DAY_NANO";
534
534
  default:
535
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
535
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ArrowDateTimeType>", value));
536
536
  }
537
537
  }
538
538
 
@@ -559,7 +559,7 @@ ArrowDateTimeType EnumUtil::FromString<ArrowDateTimeType>(const char *value) {
559
559
  if (StringUtil::Equals(value, "MONTH_DAY_NANO")) {
560
560
  return ArrowDateTimeType::MONTH_DAY_NANO;
561
561
  }
562
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
562
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ArrowDateTimeType>", value));
563
563
  }
564
564
 
565
565
  template<>
@@ -570,7 +570,7 @@ const char* EnumUtil::ToChars<ArrowOffsetSize>(ArrowOffsetSize value) {
570
570
  case ArrowOffsetSize::LARGE:
571
571
  return "LARGE";
572
572
  default:
573
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
573
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ArrowOffsetSize>", value));
574
574
  }
575
575
  }
576
576
 
@@ -582,7 +582,7 @@ ArrowOffsetSize EnumUtil::FromString<ArrowOffsetSize>(const char *value) {
582
582
  if (StringUtil::Equals(value, "LARGE")) {
583
583
  return ArrowOffsetSize::LARGE;
584
584
  }
585
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
585
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ArrowOffsetSize>", value));
586
586
  }
587
587
 
588
588
  template<>
@@ -599,7 +599,7 @@ const char* EnumUtil::ToChars<ArrowTypeInfoType>(ArrowTypeInfoType value) {
599
599
  case ArrowTypeInfoType::ARRAY:
600
600
  return "ARRAY";
601
601
  default:
602
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
602
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ArrowTypeInfoType>", value));
603
603
  }
604
604
  }
605
605
 
@@ -620,7 +620,7 @@ ArrowTypeInfoType EnumUtil::FromString<ArrowTypeInfoType>(const char *value) {
620
620
  if (StringUtil::Equals(value, "ARRAY")) {
621
621
  return ArrowTypeInfoType::ARRAY;
622
622
  }
623
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
623
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ArrowTypeInfoType>", value));
624
624
  }
625
625
 
626
626
  template<>
@@ -635,7 +635,7 @@ const char* EnumUtil::ToChars<ArrowVariableSizeType>(ArrowVariableSizeType value
635
635
  case ArrowVariableSizeType::VIEW:
636
636
  return "VIEW";
637
637
  default:
638
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
638
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ArrowVariableSizeType>", value));
639
639
  }
640
640
  }
641
641
 
@@ -653,7 +653,7 @@ ArrowVariableSizeType EnumUtil::FromString<ArrowVariableSizeType>(const char *va
653
653
  if (StringUtil::Equals(value, "VIEW")) {
654
654
  return ArrowVariableSizeType::VIEW;
655
655
  }
656
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
656
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ArrowVariableSizeType>", value));
657
657
  }
658
658
 
659
659
  template<>
@@ -664,7 +664,7 @@ const char* EnumUtil::ToChars<BinderType>(BinderType value) {
664
664
  case BinderType::VIEW_BINDER:
665
665
  return "VIEW_BINDER";
666
666
  default:
667
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
667
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<BinderType>", value));
668
668
  }
669
669
  }
670
670
 
@@ -676,7 +676,7 @@ BinderType EnumUtil::FromString<BinderType>(const char *value) {
676
676
  if (StringUtil::Equals(value, "VIEW_BINDER")) {
677
677
  return BinderType::VIEW_BINDER;
678
678
  }
679
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
679
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<BinderType>", value));
680
680
  }
681
681
 
682
682
  template<>
@@ -689,7 +689,7 @@ const char* EnumUtil::ToChars<BindingMode>(BindingMode value) {
689
689
  case BindingMode::EXTRACT_REPLACEMENT_SCANS:
690
690
  return "EXTRACT_REPLACEMENT_SCANS";
691
691
  default:
692
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
692
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<BindingMode>", value));
693
693
  }
694
694
  }
695
695
 
@@ -704,7 +704,7 @@ BindingMode EnumUtil::FromString<BindingMode>(const char *value) {
704
704
  if (StringUtil::Equals(value, "EXTRACT_REPLACEMENT_SCANS")) {
705
705
  return BindingMode::EXTRACT_REPLACEMENT_SCANS;
706
706
  }
707
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
707
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<BindingMode>", value));
708
708
  }
709
709
 
710
710
  template<>
@@ -723,7 +723,7 @@ const char* EnumUtil::ToChars<BitpackingMode>(BitpackingMode value) {
723
723
  case BitpackingMode::FOR:
724
724
  return "FOR";
725
725
  default:
726
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
726
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<BitpackingMode>", value));
727
727
  }
728
728
  }
729
729
 
@@ -747,7 +747,7 @@ BitpackingMode EnumUtil::FromString<BitpackingMode>(const char *value) {
747
747
  if (StringUtil::Equals(value, "FOR")) {
748
748
  return BitpackingMode::FOR;
749
749
  }
750
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
750
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<BitpackingMode>", value));
751
751
  }
752
752
 
753
753
  template<>
@@ -758,7 +758,7 @@ const char* EnumUtil::ToChars<BlockState>(BlockState value) {
758
758
  case BlockState::BLOCK_LOADED:
759
759
  return "BLOCK_LOADED";
760
760
  default:
761
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
761
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<BlockState>", value));
762
762
  }
763
763
  }
764
764
 
@@ -770,7 +770,7 @@ BlockState EnumUtil::FromString<BlockState>(const char *value) {
770
770
  if (StringUtil::Equals(value, "BLOCK_LOADED")) {
771
771
  return BlockState::BLOCK_LOADED;
772
772
  }
773
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
773
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<BlockState>", value));
774
774
  }
775
775
 
776
776
  template<>
@@ -785,7 +785,7 @@ const char* EnumUtil::ToChars<CAPIResultSetType>(CAPIResultSetType value) {
785
785
  case CAPIResultSetType::CAPI_RESULT_TYPE_DEPRECATED:
786
786
  return "CAPI_RESULT_TYPE_DEPRECATED";
787
787
  default:
788
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
788
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CAPIResultSetType>", value));
789
789
  }
790
790
  }
791
791
 
@@ -803,7 +803,7 @@ CAPIResultSetType EnumUtil::FromString<CAPIResultSetType>(const char *value) {
803
803
  if (StringUtil::Equals(value, "CAPI_RESULT_TYPE_DEPRECATED")) {
804
804
  return CAPIResultSetType::CAPI_RESULT_TYPE_DEPRECATED;
805
805
  }
806
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
806
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CAPIResultSetType>", value));
807
807
  }
808
808
 
809
809
  template<>
@@ -834,7 +834,7 @@ const char* EnumUtil::ToChars<CSVState>(CSVState value) {
834
834
  case CSVState::COMMENT:
835
835
  return "COMMENT";
836
836
  default:
837
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
837
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CSVState>", value));
838
838
  }
839
839
  }
840
840
 
@@ -876,7 +876,7 @@ CSVState EnumUtil::FromString<CSVState>(const char *value) {
876
876
  if (StringUtil::Equals(value, "COMMENT")) {
877
877
  return CSVState::COMMENT;
878
878
  }
879
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
879
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CSVState>", value));
880
880
  }
881
881
 
882
882
  template<>
@@ -889,7 +889,7 @@ const char* EnumUtil::ToChars<CTEMaterialize>(CTEMaterialize value) {
889
889
  case CTEMaterialize::CTE_MATERIALIZE_NEVER:
890
890
  return "CTE_MATERIALIZE_NEVER";
891
891
  default:
892
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
892
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CTEMaterialize>", value));
893
893
  }
894
894
  }
895
895
 
@@ -904,7 +904,7 @@ CTEMaterialize EnumUtil::FromString<CTEMaterialize>(const char *value) {
904
904
  if (StringUtil::Equals(value, "CTE_MATERIALIZE_NEVER")) {
905
905
  return CTEMaterialize::CTE_MATERIALIZE_NEVER;
906
906
  }
907
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
907
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CTEMaterialize>", value));
908
908
  }
909
909
 
910
910
  template<>
@@ -917,7 +917,7 @@ const char* EnumUtil::ToChars<CatalogLookupBehavior>(CatalogLookupBehavior value
917
917
  case CatalogLookupBehavior::NEVER_LOOKUP:
918
918
  return "NEVER_LOOKUP";
919
919
  default:
920
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
920
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CatalogLookupBehavior>", value));
921
921
  }
922
922
  }
923
923
 
@@ -932,7 +932,7 @@ CatalogLookupBehavior EnumUtil::FromString<CatalogLookupBehavior>(const char *va
932
932
  if (StringUtil::Equals(value, "NEVER_LOOKUP")) {
933
933
  return CatalogLookupBehavior::NEVER_LOOKUP;
934
934
  }
935
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
935
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CatalogLookupBehavior>", value));
936
936
  }
937
937
 
938
938
  template<>
@@ -985,7 +985,7 @@ const char* EnumUtil::ToChars<CatalogType>(CatalogType value) {
985
985
  case CatalogType::DEPENDENCY_ENTRY:
986
986
  return "DEPENDENCY_ENTRY";
987
987
  default:
988
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
988
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CatalogType>", value));
989
989
  }
990
990
  }
991
991
 
@@ -1060,7 +1060,7 @@ CatalogType EnumUtil::FromString<CatalogType>(const char *value) {
1060
1060
  if (StringUtil::Equals(value, "DEPENDENCY_ENTRY")) {
1061
1061
  return CatalogType::DEPENDENCY_ENTRY;
1062
1062
  }
1063
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1063
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CatalogType>", value));
1064
1064
  }
1065
1065
 
1066
1066
  template<>
@@ -1075,7 +1075,7 @@ const char* EnumUtil::ToChars<CheckpointAbort>(CheckpointAbort value) {
1075
1075
  case CheckpointAbort::DEBUG_ABORT_AFTER_FREE_LIST_WRITE:
1076
1076
  return "DEBUG_ABORT_AFTER_FREE_LIST_WRITE";
1077
1077
  default:
1078
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1078
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CheckpointAbort>", value));
1079
1079
  }
1080
1080
  }
1081
1081
 
@@ -1093,7 +1093,7 @@ CheckpointAbort EnumUtil::FromString<CheckpointAbort>(const char *value) {
1093
1093
  if (StringUtil::Equals(value, "DEBUG_ABORT_AFTER_FREE_LIST_WRITE")) {
1094
1094
  return CheckpointAbort::DEBUG_ABORT_AFTER_FREE_LIST_WRITE;
1095
1095
  }
1096
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1096
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CheckpointAbort>", value));
1097
1097
  }
1098
1098
 
1099
1099
  template<>
@@ -1106,7 +1106,7 @@ const char* EnumUtil::ToChars<ChunkInfoType>(ChunkInfoType value) {
1106
1106
  case ChunkInfoType::EMPTY_INFO:
1107
1107
  return "EMPTY_INFO";
1108
1108
  default:
1109
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1109
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ChunkInfoType>", value));
1110
1110
  }
1111
1111
  }
1112
1112
 
@@ -1121,7 +1121,7 @@ ChunkInfoType EnumUtil::FromString<ChunkInfoType>(const char *value) {
1121
1121
  if (StringUtil::Equals(value, "EMPTY_INFO")) {
1122
1122
  return ChunkInfoType::EMPTY_INFO;
1123
1123
  }
1124
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1124
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ChunkInfoType>", value));
1125
1125
  }
1126
1126
 
1127
1127
  template<>
@@ -1134,7 +1134,7 @@ const char* EnumUtil::ToChars<ColumnDataAllocatorType>(ColumnDataAllocatorType v
1134
1134
  case ColumnDataAllocatorType::HYBRID:
1135
1135
  return "HYBRID";
1136
1136
  default:
1137
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1137
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ColumnDataAllocatorType>", value));
1138
1138
  }
1139
1139
  }
1140
1140
 
@@ -1149,7 +1149,7 @@ ColumnDataAllocatorType EnumUtil::FromString<ColumnDataAllocatorType>(const char
1149
1149
  if (StringUtil::Equals(value, "HYBRID")) {
1150
1150
  return ColumnDataAllocatorType::HYBRID;
1151
1151
  }
1152
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1152
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ColumnDataAllocatorType>", value));
1153
1153
  }
1154
1154
 
1155
1155
  template<>
@@ -1162,7 +1162,7 @@ const char* EnumUtil::ToChars<ColumnDataScanProperties>(ColumnDataScanProperties
1162
1162
  case ColumnDataScanProperties::DISALLOW_ZERO_COPY:
1163
1163
  return "DISALLOW_ZERO_COPY";
1164
1164
  default:
1165
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1165
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ColumnDataScanProperties>", value));
1166
1166
  }
1167
1167
  }
1168
1168
 
@@ -1177,7 +1177,7 @@ ColumnDataScanProperties EnumUtil::FromString<ColumnDataScanProperties>(const ch
1177
1177
  if (StringUtil::Equals(value, "DISALLOW_ZERO_COPY")) {
1178
1178
  return ColumnDataScanProperties::DISALLOW_ZERO_COPY;
1179
1179
  }
1180
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1180
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ColumnDataScanProperties>", value));
1181
1181
  }
1182
1182
 
1183
1183
  template<>
@@ -1188,7 +1188,7 @@ const char* EnumUtil::ToChars<ColumnSegmentType>(ColumnSegmentType value) {
1188
1188
  case ColumnSegmentType::PERSISTENT:
1189
1189
  return "PERSISTENT";
1190
1190
  default:
1191
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1191
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ColumnSegmentType>", value));
1192
1192
  }
1193
1193
  }
1194
1194
 
@@ -1200,7 +1200,7 @@ ColumnSegmentType EnumUtil::FromString<ColumnSegmentType>(const char *value) {
1200
1200
  if (StringUtil::Equals(value, "PERSISTENT")) {
1201
1201
  return ColumnSegmentType::PERSISTENT;
1202
1202
  }
1203
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1203
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ColumnSegmentType>", value));
1204
1204
  }
1205
1205
 
1206
1206
  template<>
@@ -1213,7 +1213,7 @@ const char* EnumUtil::ToChars<CompressedMaterializationDirection>(CompressedMate
1213
1213
  case CompressedMaterializationDirection::DECOMPRESS:
1214
1214
  return "DECOMPRESS";
1215
1215
  default:
1216
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1216
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CompressedMaterializationDirection>", value));
1217
1217
  }
1218
1218
  }
1219
1219
 
@@ -1228,7 +1228,7 @@ CompressedMaterializationDirection EnumUtil::FromString<CompressedMaterializatio
1228
1228
  if (StringUtil::Equals(value, "DECOMPRESS")) {
1229
1229
  return CompressedMaterializationDirection::DECOMPRESS;
1230
1230
  }
1231
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1231
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CompressedMaterializationDirection>", value));
1232
1232
  }
1233
1233
 
1234
1234
  template<>
@@ -1261,7 +1261,7 @@ const char* EnumUtil::ToChars<CompressionType>(CompressionType value) {
1261
1261
  case CompressionType::COMPRESSION_COUNT:
1262
1262
  return "COMPRESSION_COUNT";
1263
1263
  default:
1264
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1264
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CompressionType>", value));
1265
1265
  }
1266
1266
  }
1267
1267
 
@@ -1306,7 +1306,7 @@ CompressionType EnumUtil::FromString<CompressionType>(const char *value) {
1306
1306
  if (StringUtil::Equals(value, "COMPRESSION_COUNT")) {
1307
1307
  return CompressionType::COMPRESSION_COUNT;
1308
1308
  }
1309
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1309
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CompressionType>", value));
1310
1310
  }
1311
1311
 
1312
1312
  template<>
@@ -1317,7 +1317,7 @@ const char* EnumUtil::ToChars<ConflictManagerMode>(ConflictManagerMode value) {
1317
1317
  case ConflictManagerMode::THROW:
1318
1318
  return "THROW";
1319
1319
  default:
1320
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1320
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ConflictManagerMode>", value));
1321
1321
  }
1322
1322
  }
1323
1323
 
@@ -1329,7 +1329,7 @@ ConflictManagerMode EnumUtil::FromString<ConflictManagerMode>(const char *value)
1329
1329
  if (StringUtil::Equals(value, "THROW")) {
1330
1330
  return ConflictManagerMode::THROW;
1331
1331
  }
1332
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1332
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ConflictManagerMode>", value));
1333
1333
  }
1334
1334
 
1335
1335
  template<>
@@ -1346,7 +1346,7 @@ const char* EnumUtil::ToChars<ConstraintType>(ConstraintType value) {
1346
1346
  case ConstraintType::FOREIGN_KEY:
1347
1347
  return "FOREIGN_KEY";
1348
1348
  default:
1349
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1349
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ConstraintType>", value));
1350
1350
  }
1351
1351
  }
1352
1352
 
@@ -1367,7 +1367,7 @@ ConstraintType EnumUtil::FromString<ConstraintType>(const char *value) {
1367
1367
  if (StringUtil::Equals(value, "FOREIGN_KEY")) {
1368
1368
  return ConstraintType::FOREIGN_KEY;
1369
1369
  }
1370
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1370
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ConstraintType>", value));
1371
1371
  }
1372
1372
 
1373
1373
  template<>
@@ -1378,7 +1378,7 @@ const char* EnumUtil::ToChars<CopyFunctionReturnType>(CopyFunctionReturnType val
1378
1378
  case CopyFunctionReturnType::CHANGED_ROWS_AND_FILE_LIST:
1379
1379
  return "CHANGED_ROWS_AND_FILE_LIST";
1380
1380
  default:
1381
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1381
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CopyFunctionReturnType>", value));
1382
1382
  }
1383
1383
  }
1384
1384
 
@@ -1390,7 +1390,7 @@ CopyFunctionReturnType EnumUtil::FromString<CopyFunctionReturnType>(const char *
1390
1390
  if (StringUtil::Equals(value, "CHANGED_ROWS_AND_FILE_LIST")) {
1391
1391
  return CopyFunctionReturnType::CHANGED_ROWS_AND_FILE_LIST;
1392
1392
  }
1393
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1393
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CopyFunctionReturnType>", value));
1394
1394
  }
1395
1395
 
1396
1396
  template<>
@@ -1405,7 +1405,7 @@ const char* EnumUtil::ToChars<CopyOverwriteMode>(CopyOverwriteMode value) {
1405
1405
  case CopyOverwriteMode::COPY_APPEND:
1406
1406
  return "COPY_APPEND";
1407
1407
  default:
1408
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1408
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CopyOverwriteMode>", value));
1409
1409
  }
1410
1410
  }
1411
1411
 
@@ -1423,7 +1423,7 @@ CopyOverwriteMode EnumUtil::FromString<CopyOverwriteMode>(const char *value) {
1423
1423
  if (StringUtil::Equals(value, "COPY_APPEND")) {
1424
1424
  return CopyOverwriteMode::COPY_APPEND;
1425
1425
  }
1426
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1426
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CopyOverwriteMode>", value));
1427
1427
  }
1428
1428
 
1429
1429
  template<>
@@ -1434,7 +1434,7 @@ const char* EnumUtil::ToChars<CopyToType>(CopyToType value) {
1434
1434
  case CopyToType::EXPORT_DATABASE:
1435
1435
  return "EXPORT_DATABASE";
1436
1436
  default:
1437
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1437
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<CopyToType>", value));
1438
1438
  }
1439
1439
  }
1440
1440
 
@@ -1446,7 +1446,7 @@ CopyToType EnumUtil::FromString<CopyToType>(const char *value) {
1446
1446
  if (StringUtil::Equals(value, "EXPORT_DATABASE")) {
1447
1447
  return CopyToType::EXPORT_DATABASE;
1448
1448
  }
1449
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1449
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<CopyToType>", value));
1450
1450
  }
1451
1451
 
1452
1452
  template<>
@@ -1461,7 +1461,7 @@ const char* EnumUtil::ToChars<DataFileType>(DataFileType value) {
1461
1461
  case DataFileType::PARQUET_FILE:
1462
1462
  return "PARQUET_FILE";
1463
1463
  default:
1464
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1464
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<DataFileType>", value));
1465
1465
  }
1466
1466
  }
1467
1467
 
@@ -1479,7 +1479,7 @@ DataFileType EnumUtil::FromString<DataFileType>(const char *value) {
1479
1479
  if (StringUtil::Equals(value, "PARQUET_FILE")) {
1480
1480
  return DataFileType::PARQUET_FILE;
1481
1481
  }
1482
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1482
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<DataFileType>", value));
1483
1483
  }
1484
1484
 
1485
1485
  template<>
@@ -1536,7 +1536,7 @@ const char* EnumUtil::ToChars<DatePartSpecifier>(DatePartSpecifier value) {
1536
1536
  case DatePartSpecifier::INVALID:
1537
1537
  return "INVALID";
1538
1538
  default:
1539
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1539
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<DatePartSpecifier>", value));
1540
1540
  }
1541
1541
  }
1542
1542
 
@@ -1617,7 +1617,7 @@ DatePartSpecifier EnumUtil::FromString<DatePartSpecifier>(const char *value) {
1617
1617
  if (StringUtil::Equals(value, "INVALID")) {
1618
1618
  return DatePartSpecifier::INVALID;
1619
1619
  }
1620
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1620
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<DatePartSpecifier>", value));
1621
1621
  }
1622
1622
 
1623
1623
  template<>
@@ -1630,7 +1630,7 @@ const char* EnumUtil::ToChars<DebugInitialize>(DebugInitialize value) {
1630
1630
  case DebugInitialize::DEBUG_ONE_INITIALIZE:
1631
1631
  return "DEBUG_ONE_INITIALIZE";
1632
1632
  default:
1633
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1633
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<DebugInitialize>", value));
1634
1634
  }
1635
1635
  }
1636
1636
 
@@ -1645,7 +1645,7 @@ DebugInitialize EnumUtil::FromString<DebugInitialize>(const char *value) {
1645
1645
  if (StringUtil::Equals(value, "DEBUG_ONE_INITIALIZE")) {
1646
1646
  return DebugInitialize::DEBUG_ONE_INITIALIZE;
1647
1647
  }
1648
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1648
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<DebugInitialize>", value));
1649
1649
  }
1650
1650
 
1651
1651
  template<>
@@ -1662,7 +1662,7 @@ const char* EnumUtil::ToChars<DefaultOrderByNullType>(DefaultOrderByNullType val
1662
1662
  case DefaultOrderByNullType::NULLS_LAST_ON_ASC_FIRST_ON_DESC:
1663
1663
  return "NULLS_LAST_ON_ASC_FIRST_ON_DESC";
1664
1664
  default:
1665
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1665
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<DefaultOrderByNullType>", value));
1666
1666
  }
1667
1667
  }
1668
1668
 
@@ -1683,7 +1683,7 @@ DefaultOrderByNullType EnumUtil::FromString<DefaultOrderByNullType>(const char *
1683
1683
  if (StringUtil::Equals(value, "NULLS_LAST_ON_ASC_FIRST_ON_DESC")) {
1684
1684
  return DefaultOrderByNullType::NULLS_LAST_ON_ASC_FIRST_ON_DESC;
1685
1685
  }
1686
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1686
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<DefaultOrderByNullType>", value));
1687
1687
  }
1688
1688
 
1689
1689
  template<>
@@ -1694,7 +1694,7 @@ const char* EnumUtil::ToChars<DependencyEntryType>(DependencyEntryType value) {
1694
1694
  case DependencyEntryType::DEPENDENT:
1695
1695
  return "DEPENDENT";
1696
1696
  default:
1697
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1697
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<DependencyEntryType>", value));
1698
1698
  }
1699
1699
  }
1700
1700
 
@@ -1706,7 +1706,7 @@ DependencyEntryType EnumUtil::FromString<DependencyEntryType>(const char *value)
1706
1706
  if (StringUtil::Equals(value, "DEPENDENT")) {
1707
1707
  return DependencyEntryType::DEPENDENT;
1708
1708
  }
1709
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1709
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<DependencyEntryType>", value));
1710
1710
  }
1711
1711
 
1712
1712
  template<>
@@ -1719,7 +1719,7 @@ const char* EnumUtil::ToChars<DeprecatedIndexType>(DeprecatedIndexType value) {
1719
1719
  case DeprecatedIndexType::EXTENSION:
1720
1720
  return "EXTENSION";
1721
1721
  default:
1722
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1722
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<DeprecatedIndexType>", value));
1723
1723
  }
1724
1724
  }
1725
1725
 
@@ -1734,7 +1734,7 @@ DeprecatedIndexType EnumUtil::FromString<DeprecatedIndexType>(const char *value)
1734
1734
  if (StringUtil::Equals(value, "EXTENSION")) {
1735
1735
  return DeprecatedIndexType::EXTENSION;
1736
1736
  }
1737
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1737
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<DeprecatedIndexType>", value));
1738
1738
  }
1739
1739
 
1740
1740
  template<>
@@ -1747,7 +1747,7 @@ const char* EnumUtil::ToChars<DestroyBufferUpon>(DestroyBufferUpon value) {
1747
1747
  case DestroyBufferUpon::UNPIN:
1748
1748
  return "UNPIN";
1749
1749
  default:
1750
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1750
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<DestroyBufferUpon>", value));
1751
1751
  }
1752
1752
  }
1753
1753
 
@@ -1762,7 +1762,7 @@ DestroyBufferUpon EnumUtil::FromString<DestroyBufferUpon>(const char *value) {
1762
1762
  if (StringUtil::Equals(value, "UNPIN")) {
1763
1763
  return DestroyBufferUpon::UNPIN;
1764
1764
  }
1765
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1765
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<DestroyBufferUpon>", value));
1766
1766
  }
1767
1767
 
1768
1768
  template<>
@@ -1773,7 +1773,7 @@ const char* EnumUtil::ToChars<DistinctType>(DistinctType value) {
1773
1773
  case DistinctType::DISTINCT_ON:
1774
1774
  return "DISTINCT_ON";
1775
1775
  default:
1776
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1776
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<DistinctType>", value));
1777
1777
  }
1778
1778
  }
1779
1779
 
@@ -1785,7 +1785,7 @@ DistinctType EnumUtil::FromString<DistinctType>(const char *value) {
1785
1785
  if (StringUtil::Equals(value, "DISTINCT_ON")) {
1786
1786
  return DistinctType::DISTINCT_ON;
1787
1787
  }
1788
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1788
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<DistinctType>", value));
1789
1789
  }
1790
1790
 
1791
1791
  template<>
@@ -1802,7 +1802,7 @@ const char* EnumUtil::ToChars<ErrorType>(ErrorType value) {
1802
1802
  case ErrorType::INVALID:
1803
1803
  return "INVALID";
1804
1804
  default:
1805
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1805
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ErrorType>", value));
1806
1806
  }
1807
1807
  }
1808
1808
 
@@ -1823,7 +1823,7 @@ ErrorType EnumUtil::FromString<ErrorType>(const char *value) {
1823
1823
  if (StringUtil::Equals(value, "INVALID")) {
1824
1824
  return ErrorType::INVALID;
1825
1825
  }
1826
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1826
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ErrorType>", value));
1827
1827
  }
1828
1828
 
1829
1829
  template<>
@@ -1836,7 +1836,7 @@ const char* EnumUtil::ToChars<ExceptionFormatValueType>(ExceptionFormatValueType
1836
1836
  case ExceptionFormatValueType::FORMAT_VALUE_TYPE_STRING:
1837
1837
  return "FORMAT_VALUE_TYPE_STRING";
1838
1838
  default:
1839
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1839
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExceptionFormatValueType>", value));
1840
1840
  }
1841
1841
  }
1842
1842
 
@@ -1851,7 +1851,7 @@ ExceptionFormatValueType EnumUtil::FromString<ExceptionFormatValueType>(const ch
1851
1851
  if (StringUtil::Equals(value, "FORMAT_VALUE_TYPE_STRING")) {
1852
1852
  return ExceptionFormatValueType::FORMAT_VALUE_TYPE_STRING;
1853
1853
  }
1854
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
1854
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExceptionFormatValueType>", value));
1855
1855
  }
1856
1856
 
1857
1857
  template<>
@@ -1944,7 +1944,7 @@ const char* EnumUtil::ToChars<ExceptionType>(ExceptionType value) {
1944
1944
  case ExceptionType::INVALID_CONFIGURATION:
1945
1945
  return "INVALID_CONFIGURATION";
1946
1946
  default:
1947
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
1947
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExceptionType>", value));
1948
1948
  }
1949
1949
  }
1950
1950
 
@@ -2079,7 +2079,7 @@ ExceptionType EnumUtil::FromString<ExceptionType>(const char *value) {
2079
2079
  if (StringUtil::Equals(value, "INVALID_CONFIGURATION")) {
2080
2080
  return ExceptionType::INVALID_CONFIGURATION;
2081
2081
  }
2082
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2082
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExceptionType>", value));
2083
2083
  }
2084
2084
 
2085
2085
  template<>
@@ -2096,7 +2096,7 @@ const char* EnumUtil::ToChars<ExplainFormat>(ExplainFormat value) {
2096
2096
  case ExplainFormat::GRAPHVIZ:
2097
2097
  return "GRAPHVIZ";
2098
2098
  default:
2099
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2099
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExplainFormat>", value));
2100
2100
  }
2101
2101
  }
2102
2102
 
@@ -2117,7 +2117,7 @@ ExplainFormat EnumUtil::FromString<ExplainFormat>(const char *value) {
2117
2117
  if (StringUtil::Equals(value, "GRAPHVIZ")) {
2118
2118
  return ExplainFormat::GRAPHVIZ;
2119
2119
  }
2120
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2120
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExplainFormat>", value));
2121
2121
  }
2122
2122
 
2123
2123
  template<>
@@ -2130,7 +2130,7 @@ const char* EnumUtil::ToChars<ExplainOutputType>(ExplainOutputType value) {
2130
2130
  case ExplainOutputType::PHYSICAL_ONLY:
2131
2131
  return "PHYSICAL_ONLY";
2132
2132
  default:
2133
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2133
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExplainOutputType>", value));
2134
2134
  }
2135
2135
  }
2136
2136
 
@@ -2145,7 +2145,7 @@ ExplainOutputType EnumUtil::FromString<ExplainOutputType>(const char *value) {
2145
2145
  if (StringUtil::Equals(value, "PHYSICAL_ONLY")) {
2146
2146
  return ExplainOutputType::PHYSICAL_ONLY;
2147
2147
  }
2148
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2148
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExplainOutputType>", value));
2149
2149
  }
2150
2150
 
2151
2151
  template<>
@@ -2156,7 +2156,7 @@ const char* EnumUtil::ToChars<ExplainType>(ExplainType value) {
2156
2156
  case ExplainType::EXPLAIN_ANALYZE:
2157
2157
  return "EXPLAIN_ANALYZE";
2158
2158
  default:
2159
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2159
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExplainType>", value));
2160
2160
  }
2161
2161
  }
2162
2162
 
@@ -2168,7 +2168,7 @@ ExplainType EnumUtil::FromString<ExplainType>(const char *value) {
2168
2168
  if (StringUtil::Equals(value, "EXPLAIN_ANALYZE")) {
2169
2169
  return ExplainType::EXPLAIN_ANALYZE;
2170
2170
  }
2171
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2171
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExplainType>", value));
2172
2172
  }
2173
2173
 
2174
2174
  template<>
@@ -2181,7 +2181,7 @@ const char* EnumUtil::ToChars<ExponentType>(ExponentType value) {
2181
2181
  case ExponentType::NEGATIVE:
2182
2182
  return "NEGATIVE";
2183
2183
  default:
2184
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2184
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExponentType>", value));
2185
2185
  }
2186
2186
  }
2187
2187
 
@@ -2196,7 +2196,7 @@ ExponentType EnumUtil::FromString<ExponentType>(const char *value) {
2196
2196
  if (StringUtil::Equals(value, "NEGATIVE")) {
2197
2197
  return ExponentType::NEGATIVE;
2198
2198
  }
2199
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2199
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExponentType>", value));
2200
2200
  }
2201
2201
 
2202
2202
  template<>
@@ -2283,7 +2283,7 @@ const char* EnumUtil::ToChars<ExpressionClass>(ExpressionClass value) {
2283
2283
  case ExpressionClass::BOUND_EXPANDED:
2284
2284
  return "BOUND_EXPANDED";
2285
2285
  default:
2286
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2286
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExpressionClass>", value));
2287
2287
  }
2288
2288
  }
2289
2289
 
@@ -2409,7 +2409,7 @@ ExpressionClass EnumUtil::FromString<ExpressionClass>(const char *value) {
2409
2409
  if (StringUtil::Equals(value, "BOUND_EXPANDED")) {
2410
2410
  return ExpressionClass::BOUND_EXPANDED;
2411
2411
  }
2412
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2412
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExpressionClass>", value));
2413
2413
  }
2414
2414
 
2415
2415
  template<>
@@ -2554,7 +2554,7 @@ const char* EnumUtil::ToChars<ExpressionType>(ExpressionType value) {
2554
2554
  case ExpressionType::BOUND_EXPANDED:
2555
2555
  return "BOUND_EXPANDED";
2556
2556
  default:
2557
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2557
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExpressionType>", value));
2558
2558
  }
2559
2559
  }
2560
2560
 
@@ -2767,7 +2767,7 @@ ExpressionType EnumUtil::FromString<ExpressionType>(const char *value) {
2767
2767
  if (StringUtil::Equals(value, "BOUND_EXPANDED")) {
2768
2768
  return ExpressionType::BOUND_EXPANDED;
2769
2769
  }
2770
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2770
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExpressionType>", value));
2771
2771
  }
2772
2772
 
2773
2773
  template<>
@@ -2780,7 +2780,7 @@ const char* EnumUtil::ToChars<ExtensionABIType>(ExtensionABIType value) {
2780
2780
  case ExtensionABIType::C_STRUCT:
2781
2781
  return "C_STRUCT";
2782
2782
  default:
2783
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2783
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExtensionABIType>", value));
2784
2784
  }
2785
2785
  }
2786
2786
 
@@ -2795,7 +2795,7 @@ ExtensionABIType EnumUtil::FromString<ExtensionABIType>(const char *value) {
2795
2795
  if (StringUtil::Equals(value, "C_STRUCT")) {
2796
2796
  return ExtensionABIType::C_STRUCT;
2797
2797
  }
2798
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2798
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExtensionABIType>", value));
2799
2799
  }
2800
2800
 
2801
2801
  template<>
@@ -2812,7 +2812,7 @@ const char* EnumUtil::ToChars<ExtensionInstallMode>(ExtensionInstallMode value)
2812
2812
  case ExtensionInstallMode::NOT_INSTALLED:
2813
2813
  return "NOT_INSTALLED";
2814
2814
  default:
2815
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2815
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExtensionInstallMode>", value));
2816
2816
  }
2817
2817
  }
2818
2818
 
@@ -2833,7 +2833,7 @@ ExtensionInstallMode EnumUtil::FromString<ExtensionInstallMode>(const char *valu
2833
2833
  if (StringUtil::Equals(value, "NOT_INSTALLED")) {
2834
2834
  return ExtensionInstallMode::NOT_INSTALLED;
2835
2835
  }
2836
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2836
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExtensionInstallMode>", value));
2837
2837
  }
2838
2838
 
2839
2839
  template<>
@@ -2846,7 +2846,7 @@ const char* EnumUtil::ToChars<ExtensionLoadResult>(ExtensionLoadResult value) {
2846
2846
  case ExtensionLoadResult::NOT_LOADED:
2847
2847
  return "NOT_LOADED";
2848
2848
  default:
2849
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2849
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExtensionLoadResult>", value));
2850
2850
  }
2851
2851
  }
2852
2852
 
@@ -2861,7 +2861,7 @@ ExtensionLoadResult EnumUtil::FromString<ExtensionLoadResult>(const char *value)
2861
2861
  if (StringUtil::Equals(value, "NOT_LOADED")) {
2862
2862
  return ExtensionLoadResult::NOT_LOADED;
2863
2863
  }
2864
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2864
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExtensionLoadResult>", value));
2865
2865
  }
2866
2866
 
2867
2867
  template<>
@@ -2884,7 +2884,7 @@ const char* EnumUtil::ToChars<ExtensionUpdateResultTag>(ExtensionUpdateResultTag
2884
2884
  case ExtensionUpdateResultTag::UPDATED:
2885
2885
  return "UPDATED";
2886
2886
  default:
2887
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2887
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExtensionUpdateResultTag>", value));
2888
2888
  }
2889
2889
  }
2890
2890
 
@@ -2914,7 +2914,7 @@ ExtensionUpdateResultTag EnumUtil::FromString<ExtensionUpdateResultTag>(const ch
2914
2914
  if (StringUtil::Equals(value, "UPDATED")) {
2915
2915
  return ExtensionUpdateResultTag::UPDATED;
2916
2916
  }
2917
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2917
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExtensionUpdateResultTag>", value));
2918
2918
  }
2919
2919
 
2920
2920
  template<>
@@ -2925,7 +2925,7 @@ const char* EnumUtil::ToChars<ExtraDropInfoType>(ExtraDropInfoType value) {
2925
2925
  case ExtraDropInfoType::SECRET_INFO:
2926
2926
  return "SECRET_INFO";
2927
2927
  default:
2928
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2928
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExtraDropInfoType>", value));
2929
2929
  }
2930
2930
  }
2931
2931
 
@@ -2937,7 +2937,7 @@ ExtraDropInfoType EnumUtil::FromString<ExtraDropInfoType>(const char *value) {
2937
2937
  if (StringUtil::Equals(value, "SECRET_INFO")) {
2938
2938
  return ExtraDropInfoType::SECRET_INFO;
2939
2939
  }
2940
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
2940
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExtraDropInfoType>", value));
2941
2941
  }
2942
2942
 
2943
2943
  template<>
@@ -2968,7 +2968,7 @@ const char* EnumUtil::ToChars<ExtraTypeInfoType>(ExtraTypeInfoType value) {
2968
2968
  case ExtraTypeInfoType::INTEGER_LITERAL_TYPE_INFO:
2969
2969
  return "INTEGER_LITERAL_TYPE_INFO";
2970
2970
  default:
2971
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
2971
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ExtraTypeInfoType>", value));
2972
2972
  }
2973
2973
  }
2974
2974
 
@@ -3010,7 +3010,7 @@ ExtraTypeInfoType EnumUtil::FromString<ExtraTypeInfoType>(const char *value) {
3010
3010
  if (StringUtil::Equals(value, "INTEGER_LITERAL_TYPE_INFO")) {
3011
3011
  return ExtraTypeInfoType::INTEGER_LITERAL_TYPE_INFO;
3012
3012
  }
3013
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3013
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ExtraTypeInfoType>", value));
3014
3014
  }
3015
3015
 
3016
3016
  template<>
@@ -3023,7 +3023,7 @@ const char* EnumUtil::ToChars<FileBufferType>(FileBufferType value) {
3023
3023
  case FileBufferType::TINY_BUFFER:
3024
3024
  return "TINY_BUFFER";
3025
3025
  default:
3026
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3026
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<FileBufferType>", value));
3027
3027
  }
3028
3028
  }
3029
3029
 
@@ -3038,7 +3038,7 @@ FileBufferType EnumUtil::FromString<FileBufferType>(const char *value) {
3038
3038
  if (StringUtil::Equals(value, "TINY_BUFFER")) {
3039
3039
  return FileBufferType::TINY_BUFFER;
3040
3040
  }
3041
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3041
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<FileBufferType>", value));
3042
3042
  }
3043
3043
 
3044
3044
  template<>
@@ -3053,7 +3053,7 @@ const char* EnumUtil::ToChars<FileCompressionType>(FileCompressionType value) {
3053
3053
  case FileCompressionType::ZSTD:
3054
3054
  return "ZSTD";
3055
3055
  default:
3056
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3056
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<FileCompressionType>", value));
3057
3057
  }
3058
3058
  }
3059
3059
 
@@ -3071,7 +3071,7 @@ FileCompressionType EnumUtil::FromString<FileCompressionType>(const char *value)
3071
3071
  if (StringUtil::Equals(value, "ZSTD")) {
3072
3072
  return FileCompressionType::ZSTD;
3073
3073
  }
3074
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3074
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<FileCompressionType>", value));
3075
3075
  }
3076
3076
 
3077
3077
  template<>
@@ -3084,7 +3084,7 @@ const char* EnumUtil::ToChars<FileExpandResult>(FileExpandResult value) {
3084
3084
  case FileExpandResult::MULTIPLE_FILES:
3085
3085
  return "MULTIPLE_FILES";
3086
3086
  default:
3087
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3087
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<FileExpandResult>", value));
3088
3088
  }
3089
3089
  }
3090
3090
 
@@ -3099,7 +3099,7 @@ FileExpandResult EnumUtil::FromString<FileExpandResult>(const char *value) {
3099
3099
  if (StringUtil::Equals(value, "MULTIPLE_FILES")) {
3100
3100
  return FileExpandResult::MULTIPLE_FILES;
3101
3101
  }
3102
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3102
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<FileExpandResult>", value));
3103
3103
  }
3104
3104
 
3105
3105
  template<>
@@ -3110,7 +3110,7 @@ const char* EnumUtil::ToChars<FileGlobOptions>(FileGlobOptions value) {
3110
3110
  case FileGlobOptions::ALLOW_EMPTY:
3111
3111
  return "ALLOW_EMPTY";
3112
3112
  default:
3113
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3113
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<FileGlobOptions>", value));
3114
3114
  }
3115
3115
  }
3116
3116
 
@@ -3122,7 +3122,7 @@ FileGlobOptions EnumUtil::FromString<FileGlobOptions>(const char *value) {
3122
3122
  if (StringUtil::Equals(value, "ALLOW_EMPTY")) {
3123
3123
  return FileGlobOptions::ALLOW_EMPTY;
3124
3124
  }
3125
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3125
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<FileGlobOptions>", value));
3126
3126
  }
3127
3127
 
3128
3128
  template<>
@@ -3135,7 +3135,7 @@ const char* EnumUtil::ToChars<FileLockType>(FileLockType value) {
3135
3135
  case FileLockType::WRITE_LOCK:
3136
3136
  return "WRITE_LOCK";
3137
3137
  default:
3138
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3138
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<FileLockType>", value));
3139
3139
  }
3140
3140
  }
3141
3141
 
@@ -3150,7 +3150,7 @@ FileLockType EnumUtil::FromString<FileLockType>(const char *value) {
3150
3150
  if (StringUtil::Equals(value, "WRITE_LOCK")) {
3151
3151
  return FileLockType::WRITE_LOCK;
3152
3152
  }
3153
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3153
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<FileLockType>", value));
3154
3154
  }
3155
3155
 
3156
3156
  template<>
@@ -3167,7 +3167,7 @@ const char* EnumUtil::ToChars<FilterPropagateResult>(FilterPropagateResult value
3167
3167
  case FilterPropagateResult::FILTER_FALSE_OR_NULL:
3168
3168
  return "FILTER_FALSE_OR_NULL";
3169
3169
  default:
3170
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3170
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<FilterPropagateResult>", value));
3171
3171
  }
3172
3172
  }
3173
3173
 
@@ -3188,7 +3188,7 @@ FilterPropagateResult EnumUtil::FromString<FilterPropagateResult>(const char *va
3188
3188
  if (StringUtil::Equals(value, "FILTER_FALSE_OR_NULL")) {
3189
3189
  return FilterPropagateResult::FILTER_FALSE_OR_NULL;
3190
3190
  }
3191
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3191
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<FilterPropagateResult>", value));
3192
3192
  }
3193
3193
 
3194
3194
  template<>
@@ -3201,7 +3201,7 @@ const char* EnumUtil::ToChars<ForeignKeyType>(ForeignKeyType value) {
3201
3201
  case ForeignKeyType::FK_TYPE_SELF_REFERENCE_TABLE:
3202
3202
  return "FK_TYPE_SELF_REFERENCE_TABLE";
3203
3203
  default:
3204
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3204
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ForeignKeyType>", value));
3205
3205
  }
3206
3206
  }
3207
3207
 
@@ -3216,7 +3216,7 @@ ForeignKeyType EnumUtil::FromString<ForeignKeyType>(const char *value) {
3216
3216
  if (StringUtil::Equals(value, "FK_TYPE_SELF_REFERENCE_TABLE")) {
3217
3217
  return ForeignKeyType::FK_TYPE_SELF_REFERENCE_TABLE;
3218
3218
  }
3219
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3219
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ForeignKeyType>", value));
3220
3220
  }
3221
3221
 
3222
3222
  template<>
@@ -3227,7 +3227,7 @@ const char* EnumUtil::ToChars<FunctionNullHandling>(FunctionNullHandling value)
3227
3227
  case FunctionNullHandling::SPECIAL_HANDLING:
3228
3228
  return "SPECIAL_HANDLING";
3229
3229
  default:
3230
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3230
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<FunctionNullHandling>", value));
3231
3231
  }
3232
3232
  }
3233
3233
 
@@ -3239,7 +3239,7 @@ FunctionNullHandling EnumUtil::FromString<FunctionNullHandling>(const char *valu
3239
3239
  if (StringUtil::Equals(value, "SPECIAL_HANDLING")) {
3240
3240
  return FunctionNullHandling::SPECIAL_HANDLING;
3241
3241
  }
3242
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3242
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<FunctionNullHandling>", value));
3243
3243
  }
3244
3244
 
3245
3245
  template<>
@@ -3252,7 +3252,7 @@ const char* EnumUtil::ToChars<FunctionStability>(FunctionStability value) {
3252
3252
  case FunctionStability::CONSISTENT_WITHIN_QUERY:
3253
3253
  return "CONSISTENT_WITHIN_QUERY";
3254
3254
  default:
3255
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3255
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<FunctionStability>", value));
3256
3256
  }
3257
3257
  }
3258
3258
 
@@ -3267,7 +3267,7 @@ FunctionStability EnumUtil::FromString<FunctionStability>(const char *value) {
3267
3267
  if (StringUtil::Equals(value, "CONSISTENT_WITHIN_QUERY")) {
3268
3268
  return FunctionStability::CONSISTENT_WITHIN_QUERY;
3269
3269
  }
3270
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3270
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<FunctionStability>", value));
3271
3271
  }
3272
3272
 
3273
3273
  template<>
@@ -3278,7 +3278,7 @@ const char* EnumUtil::ToChars<GateStatus>(GateStatus value) {
3278
3278
  case GateStatus::GATE_SET:
3279
3279
  return "GATE_SET";
3280
3280
  default:
3281
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3281
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<GateStatus>", value));
3282
3282
  }
3283
3283
  }
3284
3284
 
@@ -3290,7 +3290,7 @@ GateStatus EnumUtil::FromString<GateStatus>(const char *value) {
3290
3290
  if (StringUtil::Equals(value, "GATE_SET")) {
3291
3291
  return GateStatus::GATE_SET;
3292
3292
  }
3293
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3293
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<GateStatus>", value));
3294
3294
  }
3295
3295
 
3296
3296
  template<>
@@ -3301,7 +3301,7 @@ const char* EnumUtil::ToChars<HLLStorageType>(HLLStorageType value) {
3301
3301
  case HLLStorageType::HLL_V2:
3302
3302
  return "HLL_V2";
3303
3303
  default:
3304
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3304
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<HLLStorageType>", value));
3305
3305
  }
3306
3306
  }
3307
3307
 
@@ -3313,7 +3313,7 @@ HLLStorageType EnumUtil::FromString<HLLStorageType>(const char *value) {
3313
3313
  if (StringUtil::Equals(value, "HLL_V2")) {
3314
3314
  return HLLStorageType::HLL_V2;
3315
3315
  }
3316
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3316
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<HLLStorageType>", value));
3317
3317
  }
3318
3318
 
3319
3319
  template<>
@@ -3328,7 +3328,7 @@ const char* EnumUtil::ToChars<IndexConstraintType>(IndexConstraintType value) {
3328
3328
  case IndexConstraintType::FOREIGN:
3329
3329
  return "FOREIGN";
3330
3330
  default:
3331
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3331
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<IndexConstraintType>", value));
3332
3332
  }
3333
3333
  }
3334
3334
 
@@ -3346,7 +3346,7 @@ IndexConstraintType EnumUtil::FromString<IndexConstraintType>(const char *value)
3346
3346
  if (StringUtil::Equals(value, "FOREIGN")) {
3347
3347
  return IndexConstraintType::FOREIGN;
3348
3348
  }
3349
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3349
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<IndexConstraintType>", value));
3350
3350
  }
3351
3351
 
3352
3352
  template<>
@@ -3357,7 +3357,7 @@ const char* EnumUtil::ToChars<InsertColumnOrder>(InsertColumnOrder value) {
3357
3357
  case InsertColumnOrder::INSERT_BY_NAME:
3358
3358
  return "INSERT_BY_NAME";
3359
3359
  default:
3360
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3360
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<InsertColumnOrder>", value));
3361
3361
  }
3362
3362
  }
3363
3363
 
@@ -3369,7 +3369,7 @@ InsertColumnOrder EnumUtil::FromString<InsertColumnOrder>(const char *value) {
3369
3369
  if (StringUtil::Equals(value, "INSERT_BY_NAME")) {
3370
3370
  return InsertColumnOrder::INSERT_BY_NAME;
3371
3371
  }
3372
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3372
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<InsertColumnOrder>", value));
3373
3373
  }
3374
3374
 
3375
3375
  template<>
@@ -3382,7 +3382,7 @@ const char* EnumUtil::ToChars<InterruptMode>(InterruptMode value) {
3382
3382
  case InterruptMode::BLOCKING:
3383
3383
  return "BLOCKING";
3384
3384
  default:
3385
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3385
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<InterruptMode>", value));
3386
3386
  }
3387
3387
  }
3388
3388
 
@@ -3397,7 +3397,7 @@ InterruptMode EnumUtil::FromString<InterruptMode>(const char *value) {
3397
3397
  if (StringUtil::Equals(value, "BLOCKING")) {
3398
3398
  return InterruptMode::BLOCKING;
3399
3399
  }
3400
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3400
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<InterruptMode>", value));
3401
3401
  }
3402
3402
 
3403
3403
  template<>
@@ -3416,7 +3416,7 @@ const char* EnumUtil::ToChars<JoinRefType>(JoinRefType value) {
3416
3416
  case JoinRefType::DEPENDENT:
3417
3417
  return "DEPENDENT";
3418
3418
  default:
3419
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3419
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<JoinRefType>", value));
3420
3420
  }
3421
3421
  }
3422
3422
 
@@ -3440,7 +3440,7 @@ JoinRefType EnumUtil::FromString<JoinRefType>(const char *value) {
3440
3440
  if (StringUtil::Equals(value, "DEPENDENT")) {
3441
3441
  return JoinRefType::DEPENDENT;
3442
3442
  }
3443
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3443
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<JoinRefType>", value));
3444
3444
  }
3445
3445
 
3446
3446
  template<>
@@ -3469,7 +3469,7 @@ const char* EnumUtil::ToChars<JoinType>(JoinType value) {
3469
3469
  case JoinType::RIGHT_ANTI:
3470
3470
  return "RIGHT_ANTI";
3471
3471
  default:
3472
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3472
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<JoinType>", value));
3473
3473
  }
3474
3474
  }
3475
3475
 
@@ -3508,7 +3508,7 @@ JoinType EnumUtil::FromString<JoinType>(const char *value) {
3508
3508
  if (StringUtil::Equals(value, "RIGHT_ANTI")) {
3509
3509
  return JoinType::RIGHT_ANTI;
3510
3510
  }
3511
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3511
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<JoinType>", value));
3512
3512
  }
3513
3513
 
3514
3514
  template<>
@@ -3522,8 +3522,10 @@ const char* EnumUtil::ToChars<KeywordCategory>(KeywordCategory value) {
3522
3522
  return "KEYWORD_TYPE_FUNC";
3523
3523
  case KeywordCategory::KEYWORD_COL_NAME:
3524
3524
  return "KEYWORD_COL_NAME";
3525
+ case KeywordCategory::KEYWORD_NONE:
3526
+ return "KEYWORD_NONE";
3525
3527
  default:
3526
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3528
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<KeywordCategory>", value));
3527
3529
  }
3528
3530
  }
3529
3531
 
@@ -3541,7 +3543,10 @@ KeywordCategory EnumUtil::FromString<KeywordCategory>(const char *value) {
3541
3543
  if (StringUtil::Equals(value, "KEYWORD_COL_NAME")) {
3542
3544
  return KeywordCategory::KEYWORD_COL_NAME;
3543
3545
  }
3544
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3546
+ if (StringUtil::Equals(value, "KEYWORD_NONE")) {
3547
+ return KeywordCategory::KEYWORD_NONE;
3548
+ }
3549
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<KeywordCategory>", value));
3545
3550
  }
3546
3551
 
3547
3552
  template<>
@@ -3558,7 +3563,7 @@ const char* EnumUtil::ToChars<LimitNodeType>(LimitNodeType value) {
3558
3563
  case LimitNodeType::EXPRESSION_PERCENTAGE:
3559
3564
  return "EXPRESSION_PERCENTAGE";
3560
3565
  default:
3561
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3566
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<LimitNodeType>", value));
3562
3567
  }
3563
3568
  }
3564
3569
 
@@ -3579,7 +3584,7 @@ LimitNodeType EnumUtil::FromString<LimitNodeType>(const char *value) {
3579
3584
  if (StringUtil::Equals(value, "EXPRESSION_PERCENTAGE")) {
3580
3585
  return LimitNodeType::EXPRESSION_PERCENTAGE;
3581
3586
  }
3582
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3587
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<LimitNodeType>", value));
3583
3588
  }
3584
3589
 
3585
3590
  template<>
@@ -3592,7 +3597,7 @@ const char* EnumUtil::ToChars<LoadType>(LoadType value) {
3592
3597
  case LoadType::FORCE_INSTALL:
3593
3598
  return "FORCE_INSTALL";
3594
3599
  default:
3595
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3600
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<LoadType>", value));
3596
3601
  }
3597
3602
  }
3598
3603
 
@@ -3607,7 +3612,7 @@ LoadType EnumUtil::FromString<LoadType>(const char *value) {
3607
3612
  if (StringUtil::Equals(value, "FORCE_INSTALL")) {
3608
3613
  return LoadType::FORCE_INSTALL;
3609
3614
  }
3610
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3615
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<LoadType>", value));
3611
3616
  }
3612
3617
 
3613
3618
  template<>
@@ -3736,7 +3741,7 @@ const char* EnumUtil::ToChars<LogicalOperatorType>(LogicalOperatorType value) {
3736
3741
  case LogicalOperatorType::LOGICAL_EXTENSION_OPERATOR:
3737
3742
  return "LOGICAL_EXTENSION_OPERATOR";
3738
3743
  default:
3739
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
3744
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<LogicalOperatorType>", value));
3740
3745
  }
3741
3746
  }
3742
3747
 
@@ -3925,7 +3930,7 @@ LogicalOperatorType EnumUtil::FromString<LogicalOperatorType>(const char *value)
3925
3930
  if (StringUtil::Equals(value, "LOGICAL_EXTENSION_OPERATOR")) {
3926
3931
  return LogicalOperatorType::LOGICAL_EXTENSION_OPERATOR;
3927
3932
  }
3928
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
3933
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<LogicalOperatorType>", value));
3929
3934
  }
3930
3935
 
3931
3936
  template<>
@@ -4026,7 +4031,7 @@ const char* EnumUtil::ToChars<LogicalTypeId>(LogicalTypeId value) {
4026
4031
  case LogicalTypeId::ARRAY:
4027
4032
  return "ARRAY";
4028
4033
  default:
4029
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4034
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<LogicalTypeId>", value));
4030
4035
  }
4031
4036
  }
4032
4037
 
@@ -4173,7 +4178,7 @@ LogicalTypeId EnumUtil::FromString<LogicalTypeId>(const char *value) {
4173
4178
  if (StringUtil::Equals(value, "ARRAY")) {
4174
4179
  return LogicalTypeId::ARRAY;
4175
4180
  }
4176
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4181
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<LogicalTypeId>", value));
4177
4182
  }
4178
4183
 
4179
4184
  template<>
@@ -4186,7 +4191,7 @@ const char* EnumUtil::ToChars<LookupResultType>(LookupResultType value) {
4186
4191
  case LookupResultType::LOOKUP_NULL:
4187
4192
  return "LOOKUP_NULL";
4188
4193
  default:
4189
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4194
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<LookupResultType>", value));
4190
4195
  }
4191
4196
  }
4192
4197
 
@@ -4201,7 +4206,7 @@ LookupResultType EnumUtil::FromString<LookupResultType>(const char *value) {
4201
4206
  if (StringUtil::Equals(value, "LOOKUP_NULL")) {
4202
4207
  return LookupResultType::LOOKUP_NULL;
4203
4208
  }
4204
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4209
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<LookupResultType>", value));
4205
4210
  }
4206
4211
 
4207
4212
  template<>
@@ -4214,7 +4219,7 @@ const char* EnumUtil::ToChars<MacroType>(MacroType value) {
4214
4219
  case MacroType::SCALAR_MACRO:
4215
4220
  return "SCALAR_MACRO";
4216
4221
  default:
4217
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4222
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<MacroType>", value));
4218
4223
  }
4219
4224
  }
4220
4225
 
@@ -4229,7 +4234,7 @@ MacroType EnumUtil::FromString<MacroType>(const char *value) {
4229
4234
  if (StringUtil::Equals(value, "SCALAR_MACRO")) {
4230
4235
  return MacroType::SCALAR_MACRO;
4231
4236
  }
4232
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4237
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<MacroType>", value));
4233
4238
  }
4234
4239
 
4235
4240
  template<>
@@ -4246,7 +4251,7 @@ const char* EnumUtil::ToChars<MapInvalidReason>(MapInvalidReason value) {
4246
4251
  case MapInvalidReason::INVALID_PARAMS:
4247
4252
  return "INVALID_PARAMS";
4248
4253
  default:
4249
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4254
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<MapInvalidReason>", value));
4250
4255
  }
4251
4256
  }
4252
4257
 
@@ -4267,7 +4272,7 @@ MapInvalidReason EnumUtil::FromString<MapInvalidReason>(const char *value) {
4267
4272
  if (StringUtil::Equals(value, "INVALID_PARAMS")) {
4268
4273
  return MapInvalidReason::INVALID_PARAMS;
4269
4274
  }
4270
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4275
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<MapInvalidReason>", value));
4271
4276
  }
4272
4277
 
4273
4278
  template<>
@@ -4298,7 +4303,7 @@ const char* EnumUtil::ToChars<MemoryTag>(MemoryTag value) {
4298
4303
  case MemoryTag::EXTENSION:
4299
4304
  return "EXTENSION";
4300
4305
  default:
4301
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4306
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<MemoryTag>", value));
4302
4307
  }
4303
4308
  }
4304
4309
 
@@ -4340,7 +4345,7 @@ MemoryTag EnumUtil::FromString<MemoryTag>(const char *value) {
4340
4345
  if (StringUtil::Equals(value, "EXTENSION")) {
4341
4346
  return MemoryTag::EXTENSION;
4342
4347
  }
4343
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4348
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<MemoryTag>", value));
4344
4349
  }
4345
4350
 
4346
4351
  template<>
@@ -4351,7 +4356,7 @@ const char* EnumUtil::ToChars<MetaPipelineType>(MetaPipelineType value) {
4351
4356
  case MetaPipelineType::JOIN_BUILD:
4352
4357
  return "JOIN_BUILD";
4353
4358
  default:
4354
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4359
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<MetaPipelineType>", value));
4355
4360
  }
4356
4361
  }
4357
4362
 
@@ -4363,7 +4368,7 @@ MetaPipelineType EnumUtil::FromString<MetaPipelineType>(const char *value) {
4363
4368
  if (StringUtil::Equals(value, "JOIN_BUILD")) {
4364
4369
  return MetaPipelineType::JOIN_BUILD;
4365
4370
  }
4366
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4371
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<MetaPipelineType>", value));
4367
4372
  }
4368
4373
 
4369
4374
  template<>
@@ -4454,7 +4459,7 @@ const char* EnumUtil::ToChars<MetricsType>(MetricsType value) {
4454
4459
  case MetricsType::OPTIMIZER_MATERIALIZED_CTE:
4455
4460
  return "OPTIMIZER_MATERIALIZED_CTE";
4456
4461
  default:
4457
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4462
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<MetricsType>", value));
4458
4463
  }
4459
4464
  }
4460
4465
 
@@ -4586,7 +4591,7 @@ MetricsType EnumUtil::FromString<MetricsType>(const char *value) {
4586
4591
  if (StringUtil::Equals(value, "OPTIMIZER_MATERIALIZED_CTE")) {
4587
4592
  return MetricsType::OPTIMIZER_MATERIALIZED_CTE;
4588
4593
  }
4589
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4594
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<MetricsType>", value));
4590
4595
  }
4591
4596
 
4592
4597
  template<>
@@ -4613,7 +4618,7 @@ const char* EnumUtil::ToChars<NType>(NType value) {
4613
4618
  case NType::NODE_256_LEAF:
4614
4619
  return "NODE_256_LEAF";
4615
4620
  default:
4616
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4621
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<NType>", value));
4617
4622
  }
4618
4623
  }
4619
4624
 
@@ -4649,7 +4654,7 @@ NType EnumUtil::FromString<NType>(const char *value) {
4649
4654
  if (StringUtil::Equals(value, "NODE_256_LEAF")) {
4650
4655
  return NType::NODE_256_LEAF;
4651
4656
  }
4652
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4657
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<NType>", value));
4653
4658
  }
4654
4659
 
4655
4660
  template<>
@@ -4664,7 +4669,7 @@ const char* EnumUtil::ToChars<NewLineIdentifier>(NewLineIdentifier value) {
4664
4669
  case NewLineIdentifier::SINGLE_R:
4665
4670
  return "SINGLE_R";
4666
4671
  default:
4667
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4672
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<NewLineIdentifier>", value));
4668
4673
  }
4669
4674
  }
4670
4675
 
@@ -4682,7 +4687,7 @@ NewLineIdentifier EnumUtil::FromString<NewLineIdentifier>(const char *value) {
4682
4687
  if (StringUtil::Equals(value, "SINGLE_R")) {
4683
4688
  return NewLineIdentifier::SINGLE_R;
4684
4689
  }
4685
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4690
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<NewLineIdentifier>", value));
4686
4691
  }
4687
4692
 
4688
4693
  template<>
@@ -4697,7 +4702,7 @@ const char* EnumUtil::ToChars<OnConflictAction>(OnConflictAction value) {
4697
4702
  case OnConflictAction::REPLACE:
4698
4703
  return "REPLACE";
4699
4704
  default:
4700
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4705
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OnConflictAction>", value));
4701
4706
  }
4702
4707
  }
4703
4708
 
@@ -4715,7 +4720,7 @@ OnConflictAction EnumUtil::FromString<OnConflictAction>(const char *value) {
4715
4720
  if (StringUtil::Equals(value, "REPLACE")) {
4716
4721
  return OnConflictAction::REPLACE;
4717
4722
  }
4718
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4723
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OnConflictAction>", value));
4719
4724
  }
4720
4725
 
4721
4726
  template<>
@@ -4730,7 +4735,7 @@ const char* EnumUtil::ToChars<OnCreateConflict>(OnCreateConflict value) {
4730
4735
  case OnCreateConflict::ALTER_ON_CONFLICT:
4731
4736
  return "ALTER_ON_CONFLICT";
4732
4737
  default:
4733
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4738
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OnCreateConflict>", value));
4734
4739
  }
4735
4740
  }
4736
4741
 
@@ -4748,7 +4753,7 @@ OnCreateConflict EnumUtil::FromString<OnCreateConflict>(const char *value) {
4748
4753
  if (StringUtil::Equals(value, "ALTER_ON_CONFLICT")) {
4749
4754
  return OnCreateConflict::ALTER_ON_CONFLICT;
4750
4755
  }
4751
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4756
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OnCreateConflict>", value));
4752
4757
  }
4753
4758
 
4754
4759
  template<>
@@ -4759,7 +4764,7 @@ const char* EnumUtil::ToChars<OnEntryNotFound>(OnEntryNotFound value) {
4759
4764
  case OnEntryNotFound::RETURN_NULL:
4760
4765
  return "RETURN_NULL";
4761
4766
  default:
4762
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4767
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OnEntryNotFound>", value));
4763
4768
  }
4764
4769
  }
4765
4770
 
@@ -4771,7 +4776,7 @@ OnEntryNotFound EnumUtil::FromString<OnEntryNotFound>(const char *value) {
4771
4776
  if (StringUtil::Equals(value, "RETURN_NULL")) {
4772
4777
  return OnEntryNotFound::RETURN_NULL;
4773
4778
  }
4774
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4779
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OnEntryNotFound>", value));
4775
4780
  }
4776
4781
 
4777
4782
  template<>
@@ -4782,7 +4787,7 @@ const char* EnumUtil::ToChars<OperatorFinalizeResultType>(OperatorFinalizeResult
4782
4787
  case OperatorFinalizeResultType::FINISHED:
4783
4788
  return "FINISHED";
4784
4789
  default:
4785
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4790
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OperatorFinalizeResultType>", value));
4786
4791
  }
4787
4792
  }
4788
4793
 
@@ -4794,7 +4799,7 @@ OperatorFinalizeResultType EnumUtil::FromString<OperatorFinalizeResultType>(cons
4794
4799
  if (StringUtil::Equals(value, "FINISHED")) {
4795
4800
  return OperatorFinalizeResultType::FINISHED;
4796
4801
  }
4797
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4802
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OperatorFinalizeResultType>", value));
4798
4803
  }
4799
4804
 
4800
4805
  template<>
@@ -4809,7 +4814,7 @@ const char* EnumUtil::ToChars<OperatorResultType>(OperatorResultType value) {
4809
4814
  case OperatorResultType::BLOCKED:
4810
4815
  return "BLOCKED";
4811
4816
  default:
4812
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4817
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OperatorResultType>", value));
4813
4818
  }
4814
4819
  }
4815
4820
 
@@ -4827,7 +4832,7 @@ OperatorResultType EnumUtil::FromString<OperatorResultType>(const char *value) {
4827
4832
  if (StringUtil::Equals(value, "BLOCKED")) {
4828
4833
  return OperatorResultType::BLOCKED;
4829
4834
  }
4830
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4835
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OperatorResultType>", value));
4831
4836
  }
4832
4837
 
4833
4838
  template<>
@@ -4882,7 +4887,7 @@ const char* EnumUtil::ToChars<OptimizerType>(OptimizerType value) {
4882
4887
  case OptimizerType::MATERIALIZED_CTE:
4883
4888
  return "MATERIALIZED_CTE";
4884
4889
  default:
4885
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4890
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OptimizerType>", value));
4886
4891
  }
4887
4892
  }
4888
4893
 
@@ -4960,7 +4965,7 @@ OptimizerType EnumUtil::FromString<OptimizerType>(const char *value) {
4960
4965
  if (StringUtil::Equals(value, "MATERIALIZED_CTE")) {
4961
4966
  return OptimizerType::MATERIALIZED_CTE;
4962
4967
  }
4963
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
4968
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OptimizerType>", value));
4964
4969
  }
4965
4970
 
4966
4971
  template<>
@@ -4975,7 +4980,7 @@ const char* EnumUtil::ToChars<OrderByNullType>(OrderByNullType value) {
4975
4980
  case OrderByNullType::NULLS_LAST:
4976
4981
  return "NULLS_LAST";
4977
4982
  default:
4978
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
4983
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OrderByNullType>", value));
4979
4984
  }
4980
4985
  }
4981
4986
 
@@ -4993,7 +4998,7 @@ OrderByNullType EnumUtil::FromString<OrderByNullType>(const char *value) {
4993
4998
  if (StringUtil::Equals(value, "NULLS_LAST") || StringUtil::Equals(value, "NULLS LAST")) {
4994
4999
  return OrderByNullType::NULLS_LAST;
4995
5000
  }
4996
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5001
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OrderByNullType>", value));
4997
5002
  }
4998
5003
 
4999
5004
  template<>
@@ -5006,7 +5011,7 @@ const char* EnumUtil::ToChars<OrderPreservationType>(OrderPreservationType value
5006
5011
  case OrderPreservationType::FIXED_ORDER:
5007
5012
  return "FIXED_ORDER";
5008
5013
  default:
5009
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5014
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OrderPreservationType>", value));
5010
5015
  }
5011
5016
  }
5012
5017
 
@@ -5021,7 +5026,7 @@ OrderPreservationType EnumUtil::FromString<OrderPreservationType>(const char *va
5021
5026
  if (StringUtil::Equals(value, "FIXED_ORDER")) {
5022
5027
  return OrderPreservationType::FIXED_ORDER;
5023
5028
  }
5024
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5029
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OrderPreservationType>", value));
5025
5030
  }
5026
5031
 
5027
5032
  template<>
@@ -5036,7 +5041,7 @@ const char* EnumUtil::ToChars<OrderType>(OrderType value) {
5036
5041
  case OrderType::DESCENDING:
5037
5042
  return "DESCENDING";
5038
5043
  default:
5039
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5044
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OrderType>", value));
5040
5045
  }
5041
5046
  }
5042
5047
 
@@ -5054,7 +5059,7 @@ OrderType EnumUtil::FromString<OrderType>(const char *value) {
5054
5059
  if (StringUtil::Equals(value, "DESCENDING") || StringUtil::Equals(value, "DESC")) {
5055
5060
  return OrderType::DESCENDING;
5056
5061
  }
5057
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5062
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OrderType>", value));
5058
5063
  }
5059
5064
 
5060
5065
  template<>
@@ -5065,7 +5070,7 @@ const char* EnumUtil::ToChars<OutputStream>(OutputStream value) {
5065
5070
  case OutputStream::STREAM_STDERR:
5066
5071
  return "STREAM_STDERR";
5067
5072
  default:
5068
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5073
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<OutputStream>", value));
5069
5074
  }
5070
5075
  }
5071
5076
 
@@ -5077,7 +5082,7 @@ OutputStream EnumUtil::FromString<OutputStream>(const char *value) {
5077
5082
  if (StringUtil::Equals(value, "STREAM_STDERR")) {
5078
5083
  return OutputStream::STREAM_STDERR;
5079
5084
  }
5080
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5085
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<OutputStream>", value));
5081
5086
  }
5082
5087
 
5083
5088
  template<>
@@ -5118,7 +5123,7 @@ const char* EnumUtil::ToChars<ParseInfoType>(ParseInfoType value) {
5118
5123
  case ParseInfoType::UPDATE_EXTENSIONS_INFO:
5119
5124
  return "UPDATE_EXTENSIONS_INFO";
5120
5125
  default:
5121
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5126
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ParseInfoType>", value));
5122
5127
  }
5123
5128
  }
5124
5129
 
@@ -5175,7 +5180,7 @@ ParseInfoType EnumUtil::FromString<ParseInfoType>(const char *value) {
5175
5180
  if (StringUtil::Equals(value, "UPDATE_EXTENSIONS_INFO")) {
5176
5181
  return ParseInfoType::UPDATE_EXTENSIONS_INFO;
5177
5182
  }
5178
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5183
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ParseInfoType>", value));
5179
5184
  }
5180
5185
 
5181
5186
  template<>
@@ -5188,7 +5193,7 @@ const char* EnumUtil::ToChars<ParserExtensionResultType>(ParserExtensionResultTy
5188
5193
  case ParserExtensionResultType::DISPLAY_EXTENSION_ERROR:
5189
5194
  return "DISPLAY_EXTENSION_ERROR";
5190
5195
  default:
5191
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5196
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ParserExtensionResultType>", value));
5192
5197
  }
5193
5198
  }
5194
5199
 
@@ -5203,7 +5208,7 @@ ParserExtensionResultType EnumUtil::FromString<ParserExtensionResultType>(const
5203
5208
  if (StringUtil::Equals(value, "DISPLAY_EXTENSION_ERROR")) {
5204
5209
  return ParserExtensionResultType::DISPLAY_EXTENSION_ERROR;
5205
5210
  }
5206
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5211
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ParserExtensionResultType>", value));
5207
5212
  }
5208
5213
 
5209
5214
  template<>
@@ -5222,7 +5227,7 @@ const char* EnumUtil::ToChars<PartitionSortStage>(PartitionSortStage value) {
5222
5227
  case PartitionSortStage::FINISHED:
5223
5228
  return "FINISHED";
5224
5229
  default:
5225
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5230
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PartitionSortStage>", value));
5226
5231
  }
5227
5232
  }
5228
5233
 
@@ -5246,7 +5251,7 @@ PartitionSortStage EnumUtil::FromString<PartitionSortStage>(const char *value) {
5246
5251
  if (StringUtil::Equals(value, "FINISHED")) {
5247
5252
  return PartitionSortStage::FINISHED;
5248
5253
  }
5249
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5254
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PartitionSortStage>", value));
5250
5255
  }
5251
5256
 
5252
5257
  template<>
@@ -5259,7 +5264,7 @@ const char* EnumUtil::ToChars<PartitionedColumnDataType>(PartitionedColumnDataTy
5259
5264
  case PartitionedColumnDataType::HIVE:
5260
5265
  return "HIVE";
5261
5266
  default:
5262
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5267
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PartitionedColumnDataType>", value));
5263
5268
  }
5264
5269
  }
5265
5270
 
@@ -5274,7 +5279,7 @@ PartitionedColumnDataType EnumUtil::FromString<PartitionedColumnDataType>(const
5274
5279
  if (StringUtil::Equals(value, "HIVE")) {
5275
5280
  return PartitionedColumnDataType::HIVE;
5276
5281
  }
5277
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5282
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PartitionedColumnDataType>", value));
5278
5283
  }
5279
5284
 
5280
5285
  template<>
@@ -5285,7 +5290,7 @@ const char* EnumUtil::ToChars<PartitionedTupleDataType>(PartitionedTupleDataType
5285
5290
  case PartitionedTupleDataType::RADIX:
5286
5291
  return "RADIX";
5287
5292
  default:
5288
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5293
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PartitionedTupleDataType>", value));
5289
5294
  }
5290
5295
  }
5291
5296
 
@@ -5297,7 +5302,7 @@ PartitionedTupleDataType EnumUtil::FromString<PartitionedTupleDataType>(const ch
5297
5302
  if (StringUtil::Equals(value, "RADIX")) {
5298
5303
  return PartitionedTupleDataType::RADIX;
5299
5304
  }
5300
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5305
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PartitionedTupleDataType>", value));
5301
5306
  }
5302
5307
 
5303
5308
  template<>
@@ -5316,7 +5321,7 @@ const char* EnumUtil::ToChars<PendingExecutionResult>(PendingExecutionResult val
5316
5321
  case PendingExecutionResult::EXECUTION_FINISHED:
5317
5322
  return "EXECUTION_FINISHED";
5318
5323
  default:
5319
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5324
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PendingExecutionResult>", value));
5320
5325
  }
5321
5326
  }
5322
5327
 
@@ -5340,7 +5345,7 @@ PendingExecutionResult EnumUtil::FromString<PendingExecutionResult>(const char *
5340
5345
  if (StringUtil::Equals(value, "EXECUTION_FINISHED")) {
5341
5346
  return PendingExecutionResult::EXECUTION_FINISHED;
5342
5347
  }
5343
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5348
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PendingExecutionResult>", value));
5344
5349
  }
5345
5350
 
5346
5351
  template<>
@@ -5503,7 +5508,7 @@ const char* EnumUtil::ToChars<PhysicalOperatorType>(PhysicalOperatorType value)
5503
5508
  case PhysicalOperatorType::CREATE_SECRET:
5504
5509
  return "CREATE_SECRET";
5505
5510
  default:
5506
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5511
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PhysicalOperatorType>", value));
5507
5512
  }
5508
5513
  }
5509
5514
 
@@ -5743,7 +5748,7 @@ PhysicalOperatorType EnumUtil::FromString<PhysicalOperatorType>(const char *valu
5743
5748
  if (StringUtil::Equals(value, "CREATE_SECRET")) {
5744
5749
  return PhysicalOperatorType::CREATE_SECRET;
5745
5750
  }
5746
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5751
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PhysicalOperatorType>", value));
5747
5752
  }
5748
5753
 
5749
5754
  template<>
@@ -5792,7 +5797,7 @@ const char* EnumUtil::ToChars<PhysicalType>(PhysicalType value) {
5792
5797
  case PhysicalType::INVALID:
5793
5798
  return "INVALID";
5794
5799
  default:
5795
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5800
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PhysicalType>", value));
5796
5801
  }
5797
5802
  }
5798
5803
 
@@ -5861,7 +5866,7 @@ PhysicalType EnumUtil::FromString<PhysicalType>(const char *value) {
5861
5866
  if (StringUtil::Equals(value, "INVALID")) {
5862
5867
  return PhysicalType::INVALID;
5863
5868
  }
5864
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5869
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PhysicalType>", value));
5865
5870
  }
5866
5871
 
5867
5872
  template<>
@@ -5872,7 +5877,7 @@ const char* EnumUtil::ToChars<PragmaType>(PragmaType value) {
5872
5877
  case PragmaType::PRAGMA_CALL:
5873
5878
  return "PRAGMA_CALL";
5874
5879
  default:
5875
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5880
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PragmaType>", value));
5876
5881
  }
5877
5882
  }
5878
5883
 
@@ -5884,7 +5889,7 @@ PragmaType EnumUtil::FromString<PragmaType>(const char *value) {
5884
5889
  if (StringUtil::Equals(value, "PRAGMA_CALL")) {
5885
5890
  return PragmaType::PRAGMA_CALL;
5886
5891
  }
5887
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5892
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PragmaType>", value));
5888
5893
  }
5889
5894
 
5890
5895
  template<>
@@ -5899,7 +5904,7 @@ const char* EnumUtil::ToChars<PreparedParamType>(PreparedParamType value) {
5899
5904
  case PreparedParamType::INVALID:
5900
5905
  return "INVALID";
5901
5906
  default:
5902
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5907
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PreparedParamType>", value));
5903
5908
  }
5904
5909
  }
5905
5910
 
@@ -5917,7 +5922,7 @@ PreparedParamType EnumUtil::FromString<PreparedParamType>(const char *value) {
5917
5922
  if (StringUtil::Equals(value, "INVALID")) {
5918
5923
  return PreparedParamType::INVALID;
5919
5924
  }
5920
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5925
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PreparedParamType>", value));
5921
5926
  }
5922
5927
 
5923
5928
  template<>
@@ -5928,7 +5933,7 @@ const char* EnumUtil::ToChars<PreparedStatementMode>(PreparedStatementMode value
5928
5933
  case PreparedStatementMode::PREPARE_AND_EXECUTE:
5929
5934
  return "PREPARE_AND_EXECUTE";
5930
5935
  default:
5931
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5936
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<PreparedStatementMode>", value));
5932
5937
  }
5933
5938
  }
5934
5939
 
@@ -5940,7 +5945,7 @@ PreparedStatementMode EnumUtil::FromString<PreparedStatementMode>(const char *va
5940
5945
  if (StringUtil::Equals(value, "PREPARE_AND_EXECUTE")) {
5941
5946
  return PreparedStatementMode::PREPARE_AND_EXECUTE;
5942
5947
  }
5943
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5948
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<PreparedStatementMode>", value));
5944
5949
  }
5945
5950
 
5946
5951
  template<>
@@ -5955,7 +5960,7 @@ const char* EnumUtil::ToChars<ProfilerPrintFormat>(ProfilerPrintFormat value) {
5955
5960
  case ProfilerPrintFormat::NO_OUTPUT:
5956
5961
  return "NO_OUTPUT";
5957
5962
  default:
5958
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5963
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ProfilerPrintFormat>", value));
5959
5964
  }
5960
5965
  }
5961
5966
 
@@ -5973,7 +5978,7 @@ ProfilerPrintFormat EnumUtil::FromString<ProfilerPrintFormat>(const char *value)
5973
5978
  if (StringUtil::Equals(value, "NO_OUTPUT")) {
5974
5979
  return ProfilerPrintFormat::NO_OUTPUT;
5975
5980
  }
5976
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
5981
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ProfilerPrintFormat>", value));
5977
5982
  }
5978
5983
 
5979
5984
  template<>
@@ -5990,7 +5995,7 @@ const char* EnumUtil::ToChars<QuantileSerializationType>(QuantileSerializationTy
5990
5995
  case QuantileSerializationType::DECIMAL_CONTINUOUS_LIST:
5991
5996
  return "DECIMAL_CONTINUOUS_LIST";
5992
5997
  default:
5993
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
5998
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<QuantileSerializationType>", value));
5994
5999
  }
5995
6000
  }
5996
6001
 
@@ -6011,7 +6016,7 @@ QuantileSerializationType EnumUtil::FromString<QuantileSerializationType>(const
6011
6016
  if (StringUtil::Equals(value, "DECIMAL_CONTINUOUS_LIST")) {
6012
6017
  return QuantileSerializationType::DECIMAL_CONTINUOUS_LIST;
6013
6018
  }
6014
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6019
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<QuantileSerializationType>", value));
6015
6020
  }
6016
6021
 
6017
6022
  template<>
@@ -6028,7 +6033,7 @@ const char* EnumUtil::ToChars<QueryNodeType>(QueryNodeType value) {
6028
6033
  case QueryNodeType::CTE_NODE:
6029
6034
  return "CTE_NODE";
6030
6035
  default:
6031
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6036
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<QueryNodeType>", value));
6032
6037
  }
6033
6038
  }
6034
6039
 
@@ -6049,7 +6054,7 @@ QueryNodeType EnumUtil::FromString<QueryNodeType>(const char *value) {
6049
6054
  if (StringUtil::Equals(value, "CTE_NODE")) {
6050
6055
  return QueryNodeType::CTE_NODE;
6051
6056
  }
6052
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6057
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<QueryNodeType>", value));
6053
6058
  }
6054
6059
 
6055
6060
  template<>
@@ -6064,7 +6069,7 @@ const char* EnumUtil::ToChars<QueryResultType>(QueryResultType value) {
6064
6069
  case QueryResultType::ARROW_RESULT:
6065
6070
  return "ARROW_RESULT";
6066
6071
  default:
6067
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6072
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<QueryResultType>", value));
6068
6073
  }
6069
6074
  }
6070
6075
 
@@ -6082,7 +6087,7 @@ QueryResultType EnumUtil::FromString<QueryResultType>(const char *value) {
6082
6087
  if (StringUtil::Equals(value, "ARROW_RESULT")) {
6083
6088
  return QueryResultType::ARROW_RESULT;
6084
6089
  }
6085
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6090
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<QueryResultType>", value));
6086
6091
  }
6087
6092
 
6088
6093
  template<>
@@ -6095,7 +6100,7 @@ const char* EnumUtil::ToChars<QuoteRule>(QuoteRule value) {
6095
6100
  case QuoteRule::NO_QUOTES:
6096
6101
  return "NO_QUOTES";
6097
6102
  default:
6098
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6103
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<QuoteRule>", value));
6099
6104
  }
6100
6105
  }
6101
6106
 
@@ -6110,7 +6115,7 @@ QuoteRule EnumUtil::FromString<QuoteRule>(const char *value) {
6110
6115
  if (StringUtil::Equals(value, "NO_QUOTES")) {
6111
6116
  return QuoteRule::NO_QUOTES;
6112
6117
  }
6113
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6118
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<QuoteRule>", value));
6114
6119
  }
6115
6120
 
6116
6121
  template<>
@@ -6173,7 +6178,7 @@ const char* EnumUtil::ToChars<RelationType>(RelationType value) {
6173
6178
  case RelationType::DELIM_GET_RELATION:
6174
6179
  return "DELIM_GET_RELATION";
6175
6180
  default:
6176
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6181
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<RelationType>", value));
6177
6182
  }
6178
6183
  }
6179
6184
 
@@ -6263,7 +6268,7 @@ RelationType EnumUtil::FromString<RelationType>(const char *value) {
6263
6268
  if (StringUtil::Equals(value, "DELIM_GET_RELATION")) {
6264
6269
  return RelationType::DELIM_GET_RELATION;
6265
6270
  }
6266
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6271
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<RelationType>", value));
6267
6272
  }
6268
6273
 
6269
6274
  template<>
@@ -6274,7 +6279,7 @@ const char* EnumUtil::ToChars<RenderMode>(RenderMode value) {
6274
6279
  case RenderMode::COLUMNS:
6275
6280
  return "COLUMNS";
6276
6281
  default:
6277
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6282
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<RenderMode>", value));
6278
6283
  }
6279
6284
  }
6280
6285
 
@@ -6286,7 +6291,7 @@ RenderMode EnumUtil::FromString<RenderMode>(const char *value) {
6286
6291
  if (StringUtil::Equals(value, "COLUMNS")) {
6287
6292
  return RenderMode::COLUMNS;
6288
6293
  }
6289
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6294
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<RenderMode>", value));
6290
6295
  }
6291
6296
 
6292
6297
  template<>
@@ -6301,7 +6306,7 @@ const char* EnumUtil::ToChars<ResultModifierType>(ResultModifierType value) {
6301
6306
  case ResultModifierType::LIMIT_PERCENT_MODIFIER:
6302
6307
  return "LIMIT_PERCENT_MODIFIER";
6303
6308
  default:
6304
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6309
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ResultModifierType>", value));
6305
6310
  }
6306
6311
  }
6307
6312
 
@@ -6319,7 +6324,7 @@ ResultModifierType EnumUtil::FromString<ResultModifierType>(const char *value) {
6319
6324
  if (StringUtil::Equals(value, "LIMIT_PERCENT_MODIFIER")) {
6320
6325
  return ResultModifierType::LIMIT_PERCENT_MODIFIER;
6321
6326
  }
6322
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6327
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ResultModifierType>", value));
6323
6328
  }
6324
6329
 
6325
6330
  template<>
@@ -6332,7 +6337,7 @@ const char* EnumUtil::ToChars<SampleMethod>(SampleMethod value) {
6332
6337
  case SampleMethod::RESERVOIR_SAMPLE:
6333
6338
  return "Reservoir";
6334
6339
  default:
6335
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6340
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SampleMethod>", value));
6336
6341
  }
6337
6342
  }
6338
6343
 
@@ -6347,7 +6352,7 @@ SampleMethod EnumUtil::FromString<SampleMethod>(const char *value) {
6347
6352
  if (StringUtil::Equals(value, "Reservoir")) {
6348
6353
  return SampleMethod::RESERVOIR_SAMPLE;
6349
6354
  }
6350
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6355
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SampleMethod>", value));
6351
6356
  }
6352
6357
 
6353
6358
  template<>
@@ -6360,7 +6365,7 @@ const char* EnumUtil::ToChars<SampleType>(SampleType value) {
6360
6365
  case SampleType::RESERVOIR_PERCENTAGE_SAMPLE:
6361
6366
  return "RESERVOIR_PERCENTAGE_SAMPLE";
6362
6367
  default:
6363
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6368
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SampleType>", value));
6364
6369
  }
6365
6370
  }
6366
6371
 
@@ -6375,7 +6380,7 @@ SampleType EnumUtil::FromString<SampleType>(const char *value) {
6375
6380
  if (StringUtil::Equals(value, "RESERVOIR_PERCENTAGE_SAMPLE")) {
6376
6381
  return SampleType::RESERVOIR_PERCENTAGE_SAMPLE;
6377
6382
  }
6378
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6383
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SampleType>", value));
6379
6384
  }
6380
6385
 
6381
6386
  template<>
@@ -6386,7 +6391,7 @@ const char* EnumUtil::ToChars<ScanType>(ScanType value) {
6386
6391
  case ScanType::PARQUET:
6387
6392
  return "PARQUET";
6388
6393
  default:
6389
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6394
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ScanType>", value));
6390
6395
  }
6391
6396
  }
6392
6397
 
@@ -6398,7 +6403,7 @@ ScanType EnumUtil::FromString<ScanType>(const char *value) {
6398
6403
  if (StringUtil::Equals(value, "PARQUET")) {
6399
6404
  return ScanType::PARQUET;
6400
6405
  }
6401
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6406
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ScanType>", value));
6402
6407
  }
6403
6408
 
6404
6409
  template<>
@@ -6409,7 +6414,7 @@ const char* EnumUtil::ToChars<SecretDisplayType>(SecretDisplayType value) {
6409
6414
  case SecretDisplayType::UNREDACTED:
6410
6415
  return "UNREDACTED";
6411
6416
  default:
6412
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6417
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SecretDisplayType>", value));
6413
6418
  }
6414
6419
  }
6415
6420
 
@@ -6421,7 +6426,7 @@ SecretDisplayType EnumUtil::FromString<SecretDisplayType>(const char *value) {
6421
6426
  if (StringUtil::Equals(value, "UNREDACTED")) {
6422
6427
  return SecretDisplayType::UNREDACTED;
6423
6428
  }
6424
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6429
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SecretDisplayType>", value));
6425
6430
  }
6426
6431
 
6427
6432
  template<>
@@ -6434,7 +6439,7 @@ const char* EnumUtil::ToChars<SecretPersistType>(SecretPersistType value) {
6434
6439
  case SecretPersistType::PERSISTENT:
6435
6440
  return "PERSISTENT";
6436
6441
  default:
6437
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6442
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SecretPersistType>", value));
6438
6443
  }
6439
6444
  }
6440
6445
 
@@ -6449,7 +6454,7 @@ SecretPersistType EnumUtil::FromString<SecretPersistType>(const char *value) {
6449
6454
  if (StringUtil::Equals(value, "PERSISTENT")) {
6450
6455
  return SecretPersistType::PERSISTENT;
6451
6456
  }
6452
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6457
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SecretPersistType>", value));
6453
6458
  }
6454
6459
 
6455
6460
  template<>
@@ -6468,7 +6473,7 @@ const char* EnumUtil::ToChars<SequenceInfo>(SequenceInfo value) {
6468
6473
  case SequenceInfo::SEQ_OWN:
6469
6474
  return "SEQ_OWN";
6470
6475
  default:
6471
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6476
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SequenceInfo>", value));
6472
6477
  }
6473
6478
  }
6474
6479
 
@@ -6492,7 +6497,7 @@ SequenceInfo EnumUtil::FromString<SequenceInfo>(const char *value) {
6492
6497
  if (StringUtil::Equals(value, "SEQ_OWN")) {
6493
6498
  return SequenceInfo::SEQ_OWN;
6494
6499
  }
6495
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6500
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SequenceInfo>", value));
6496
6501
  }
6497
6502
 
6498
6503
  template<>
@@ -6509,7 +6514,7 @@ const char* EnumUtil::ToChars<SetOperationType>(SetOperationType value) {
6509
6514
  case SetOperationType::UNION_BY_NAME:
6510
6515
  return "UNION_BY_NAME";
6511
6516
  default:
6512
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6517
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SetOperationType>", value));
6513
6518
  }
6514
6519
  }
6515
6520
 
@@ -6530,7 +6535,7 @@ SetOperationType EnumUtil::FromString<SetOperationType>(const char *value) {
6530
6535
  if (StringUtil::Equals(value, "UNION_BY_NAME")) {
6531
6536
  return SetOperationType::UNION_BY_NAME;
6532
6537
  }
6533
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6538
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SetOperationType>", value));
6534
6539
  }
6535
6540
 
6536
6541
  template<>
@@ -6547,7 +6552,7 @@ const char* EnumUtil::ToChars<SetScope>(SetScope value) {
6547
6552
  case SetScope::VARIABLE:
6548
6553
  return "VARIABLE";
6549
6554
  default:
6550
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6555
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SetScope>", value));
6551
6556
  }
6552
6557
  }
6553
6558
 
@@ -6568,7 +6573,7 @@ SetScope EnumUtil::FromString<SetScope>(const char *value) {
6568
6573
  if (StringUtil::Equals(value, "VARIABLE")) {
6569
6574
  return SetScope::VARIABLE;
6570
6575
  }
6571
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6576
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SetScope>", value));
6572
6577
  }
6573
6578
 
6574
6579
  template<>
@@ -6579,7 +6584,7 @@ const char* EnumUtil::ToChars<SetType>(SetType value) {
6579
6584
  case SetType::RESET:
6580
6585
  return "RESET";
6581
6586
  default:
6582
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6587
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SetType>", value));
6583
6588
  }
6584
6589
  }
6585
6590
 
@@ -6591,7 +6596,7 @@ SetType EnumUtil::FromString<SetType>(const char *value) {
6591
6596
  if (StringUtil::Equals(value, "RESET")) {
6592
6597
  return SetType::RESET;
6593
6598
  }
6594
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6599
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SetType>", value));
6595
6600
  }
6596
6601
 
6597
6602
  template<>
@@ -6606,7 +6611,7 @@ const char* EnumUtil::ToChars<SettingScope>(SettingScope value) {
6606
6611
  case SettingScope::INVALID:
6607
6612
  return "INVALID";
6608
6613
  default:
6609
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6614
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SettingScope>", value));
6610
6615
  }
6611
6616
  }
6612
6617
 
@@ -6624,7 +6629,7 @@ SettingScope EnumUtil::FromString<SettingScope>(const char *value) {
6624
6629
  if (StringUtil::Equals(value, "INVALID")) {
6625
6630
  return SettingScope::INVALID;
6626
6631
  }
6627
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6632
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SettingScope>", value));
6628
6633
  }
6629
6634
 
6630
6635
  template<>
@@ -6635,7 +6640,7 @@ const char* EnumUtil::ToChars<ShowType>(ShowType value) {
6635
6640
  case ShowType::DESCRIBE:
6636
6641
  return "DESCRIBE";
6637
6642
  default:
6638
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6643
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<ShowType>", value));
6639
6644
  }
6640
6645
  }
6641
6646
 
@@ -6647,7 +6652,7 @@ ShowType EnumUtil::FromString<ShowType>(const char *value) {
6647
6652
  if (StringUtil::Equals(value, "DESCRIBE")) {
6648
6653
  return ShowType::DESCRIBE;
6649
6654
  }
6650
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6655
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<ShowType>", value));
6651
6656
  }
6652
6657
 
6653
6658
  template<>
@@ -6666,7 +6671,7 @@ const char* EnumUtil::ToChars<SimplifiedTokenType>(SimplifiedTokenType value) {
6666
6671
  case SimplifiedTokenType::SIMPLIFIED_TOKEN_COMMENT:
6667
6672
  return "SIMPLIFIED_TOKEN_COMMENT";
6668
6673
  default:
6669
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6674
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SimplifiedTokenType>", value));
6670
6675
  }
6671
6676
  }
6672
6677
 
@@ -6690,7 +6695,7 @@ SimplifiedTokenType EnumUtil::FromString<SimplifiedTokenType>(const char *value)
6690
6695
  if (StringUtil::Equals(value, "SIMPLIFIED_TOKEN_COMMENT")) {
6691
6696
  return SimplifiedTokenType::SIMPLIFIED_TOKEN_COMMENT;
6692
6697
  }
6693
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6698
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SimplifiedTokenType>", value));
6694
6699
  }
6695
6700
 
6696
6701
  template<>
@@ -6701,7 +6706,7 @@ const char* EnumUtil::ToChars<SinkCombineResultType>(SinkCombineResultType value
6701
6706
  case SinkCombineResultType::BLOCKED:
6702
6707
  return "BLOCKED";
6703
6708
  default:
6704
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6709
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SinkCombineResultType>", value));
6705
6710
  }
6706
6711
  }
6707
6712
 
@@ -6713,7 +6718,7 @@ SinkCombineResultType EnumUtil::FromString<SinkCombineResultType>(const char *va
6713
6718
  if (StringUtil::Equals(value, "BLOCKED")) {
6714
6719
  return SinkCombineResultType::BLOCKED;
6715
6720
  }
6716
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6721
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SinkCombineResultType>", value));
6717
6722
  }
6718
6723
 
6719
6724
  template<>
@@ -6726,7 +6731,7 @@ const char* EnumUtil::ToChars<SinkFinalizeType>(SinkFinalizeType value) {
6726
6731
  case SinkFinalizeType::BLOCKED:
6727
6732
  return "BLOCKED";
6728
6733
  default:
6729
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6734
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SinkFinalizeType>", value));
6730
6735
  }
6731
6736
  }
6732
6737
 
@@ -6741,7 +6746,7 @@ SinkFinalizeType EnumUtil::FromString<SinkFinalizeType>(const char *value) {
6741
6746
  if (StringUtil::Equals(value, "BLOCKED")) {
6742
6747
  return SinkFinalizeType::BLOCKED;
6743
6748
  }
6744
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6749
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SinkFinalizeType>", value));
6745
6750
  }
6746
6751
 
6747
6752
  template<>
@@ -6752,7 +6757,7 @@ const char* EnumUtil::ToChars<SinkNextBatchType>(SinkNextBatchType value) {
6752
6757
  case SinkNextBatchType::BLOCKED:
6753
6758
  return "BLOCKED";
6754
6759
  default:
6755
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6760
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SinkNextBatchType>", value));
6756
6761
  }
6757
6762
  }
6758
6763
 
@@ -6764,7 +6769,7 @@ SinkNextBatchType EnumUtil::FromString<SinkNextBatchType>(const char *value) {
6764
6769
  if (StringUtil::Equals(value, "BLOCKED")) {
6765
6770
  return SinkNextBatchType::BLOCKED;
6766
6771
  }
6767
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6772
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SinkNextBatchType>", value));
6768
6773
  }
6769
6774
 
6770
6775
  template<>
@@ -6777,7 +6782,7 @@ const char* EnumUtil::ToChars<SinkResultType>(SinkResultType value) {
6777
6782
  case SinkResultType::BLOCKED:
6778
6783
  return "BLOCKED";
6779
6784
  default:
6780
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6785
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SinkResultType>", value));
6781
6786
  }
6782
6787
  }
6783
6788
 
@@ -6792,7 +6797,7 @@ SinkResultType EnumUtil::FromString<SinkResultType>(const char *value) {
6792
6797
  if (StringUtil::Equals(value, "BLOCKED")) {
6793
6798
  return SinkResultType::BLOCKED;
6794
6799
  }
6795
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6800
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SinkResultType>", value));
6796
6801
  }
6797
6802
 
6798
6803
  template<>
@@ -6805,7 +6810,7 @@ const char* EnumUtil::ToChars<SourceResultType>(SourceResultType value) {
6805
6810
  case SourceResultType::BLOCKED:
6806
6811
  return "BLOCKED";
6807
6812
  default:
6808
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6813
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SourceResultType>", value));
6809
6814
  }
6810
6815
  }
6811
6816
 
@@ -6820,7 +6825,7 @@ SourceResultType EnumUtil::FromString<SourceResultType>(const char *value) {
6820
6825
  if (StringUtil::Equals(value, "BLOCKED")) {
6821
6826
  return SourceResultType::BLOCKED;
6822
6827
  }
6823
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6828
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SourceResultType>", value));
6824
6829
  }
6825
6830
 
6826
6831
  template<>
@@ -6833,7 +6838,7 @@ const char* EnumUtil::ToChars<StatementReturnType>(StatementReturnType value) {
6833
6838
  case StatementReturnType::NOTHING:
6834
6839
  return "NOTHING";
6835
6840
  default:
6836
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6841
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<StatementReturnType>", value));
6837
6842
  }
6838
6843
  }
6839
6844
 
@@ -6848,7 +6853,7 @@ StatementReturnType EnumUtil::FromString<StatementReturnType>(const char *value)
6848
6853
  if (StringUtil::Equals(value, "NOTHING")) {
6849
6854
  return StatementReturnType::NOTHING;
6850
6855
  }
6851
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
6856
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<StatementReturnType>", value));
6852
6857
  }
6853
6858
 
6854
6859
  template<>
@@ -6915,7 +6920,7 @@ const char* EnumUtil::ToChars<StatementType>(StatementType value) {
6915
6920
  case StatementType::UPDATE_EXTENSIONS_STATEMENT:
6916
6921
  return "UPDATE_EXTENSIONS_STATEMENT";
6917
6922
  default:
6918
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
6923
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<StatementType>", value));
6919
6924
  }
6920
6925
  }
6921
6926
 
@@ -7011,7 +7016,7 @@ StatementType EnumUtil::FromString<StatementType>(const char *value) {
7011
7016
  if (StringUtil::Equals(value, "UPDATE_EXTENSIONS_STATEMENT")) {
7012
7017
  return StatementType::UPDATE_EXTENSIONS_STATEMENT;
7013
7018
  }
7014
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7019
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<StatementType>", value));
7015
7020
  }
7016
7021
 
7017
7022
  template<>
@@ -7030,7 +7035,7 @@ const char* EnumUtil::ToChars<StatisticsType>(StatisticsType value) {
7030
7035
  case StatisticsType::ARRAY_STATS:
7031
7036
  return "ARRAY_STATS";
7032
7037
  default:
7033
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7038
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<StatisticsType>", value));
7034
7039
  }
7035
7040
  }
7036
7041
 
@@ -7054,7 +7059,7 @@ StatisticsType EnumUtil::FromString<StatisticsType>(const char *value) {
7054
7059
  if (StringUtil::Equals(value, "ARRAY_STATS")) {
7055
7060
  return StatisticsType::ARRAY_STATS;
7056
7061
  }
7057
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7062
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<StatisticsType>", value));
7058
7063
  }
7059
7064
 
7060
7065
  template<>
@@ -7071,7 +7076,7 @@ const char* EnumUtil::ToChars<StatsInfo>(StatsInfo value) {
7071
7076
  case StatsInfo::CAN_HAVE_NULL_AND_VALID_VALUES:
7072
7077
  return "CAN_HAVE_NULL_AND_VALID_VALUES";
7073
7078
  default:
7074
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7079
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<StatsInfo>", value));
7075
7080
  }
7076
7081
  }
7077
7082
 
@@ -7092,7 +7097,7 @@ StatsInfo EnumUtil::FromString<StatsInfo>(const char *value) {
7092
7097
  if (StringUtil::Equals(value, "CAN_HAVE_NULL_AND_VALID_VALUES")) {
7093
7098
  return StatsInfo::CAN_HAVE_NULL_AND_VALID_VALUES;
7094
7099
  }
7095
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7100
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<StatsInfo>", value));
7096
7101
  }
7097
7102
 
7098
7103
  template<>
@@ -7171,7 +7176,7 @@ const char* EnumUtil::ToChars<StrTimeSpecifier>(StrTimeSpecifier value) {
7171
7176
  case StrTimeSpecifier::WEEK_NUMBER_ISO:
7172
7177
  return "WEEK_NUMBER_ISO";
7173
7178
  default:
7174
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7179
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<StrTimeSpecifier>", value));
7175
7180
  }
7176
7181
  }
7177
7182
 
@@ -7285,7 +7290,7 @@ StrTimeSpecifier EnumUtil::FromString<StrTimeSpecifier>(const char *value) {
7285
7290
  if (StringUtil::Equals(value, "WEEK_NUMBER_ISO")) {
7286
7291
  return StrTimeSpecifier::WEEK_NUMBER_ISO;
7287
7292
  }
7288
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7293
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<StrTimeSpecifier>", value));
7289
7294
  }
7290
7295
 
7291
7296
  template<>
@@ -7306,7 +7311,7 @@ const char* EnumUtil::ToChars<StreamExecutionResult>(StreamExecutionResult value
7306
7311
  case StreamExecutionResult::EXECUTION_FINISHED:
7307
7312
  return "EXECUTION_FINISHED";
7308
7313
  default:
7309
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7314
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<StreamExecutionResult>", value));
7310
7315
  }
7311
7316
  }
7312
7317
 
@@ -7333,7 +7338,7 @@ StreamExecutionResult EnumUtil::FromString<StreamExecutionResult>(const char *va
7333
7338
  if (StringUtil::Equals(value, "EXECUTION_FINISHED")) {
7334
7339
  return StreamExecutionResult::EXECUTION_FINISHED;
7335
7340
  }
7336
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7341
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<StreamExecutionResult>", value));
7337
7342
  }
7338
7343
 
7339
7344
  template<>
@@ -7350,7 +7355,7 @@ const char* EnumUtil::ToChars<SubqueryType>(SubqueryType value) {
7350
7355
  case SubqueryType::ANY:
7351
7356
  return "ANY";
7352
7357
  default:
7353
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7358
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<SubqueryType>", value));
7354
7359
  }
7355
7360
  }
7356
7361
 
@@ -7371,7 +7376,7 @@ SubqueryType EnumUtil::FromString<SubqueryType>(const char *value) {
7371
7376
  if (StringUtil::Equals(value, "ANY")) {
7372
7377
  return SubqueryType::ANY;
7373
7378
  }
7374
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7379
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<SubqueryType>", value));
7375
7380
  }
7376
7381
 
7377
7382
  template<>
@@ -7382,7 +7387,7 @@ const char* EnumUtil::ToChars<TableColumnType>(TableColumnType value) {
7382
7387
  case TableColumnType::GENERATED:
7383
7388
  return "GENERATED";
7384
7389
  default:
7385
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7390
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TableColumnType>", value));
7386
7391
  }
7387
7392
  }
7388
7393
 
@@ -7394,7 +7399,7 @@ TableColumnType EnumUtil::FromString<TableColumnType>(const char *value) {
7394
7399
  if (StringUtil::Equals(value, "GENERATED")) {
7395
7400
  return TableColumnType::GENERATED;
7396
7401
  }
7397
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7402
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TableColumnType>", value));
7398
7403
  }
7399
7404
 
7400
7405
  template<>
@@ -7413,7 +7418,7 @@ const char* EnumUtil::ToChars<TableFilterType>(TableFilterType value) {
7413
7418
  case TableFilterType::STRUCT_EXTRACT:
7414
7419
  return "STRUCT_EXTRACT";
7415
7420
  default:
7416
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7421
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TableFilterType>", value));
7417
7422
  }
7418
7423
  }
7419
7424
 
@@ -7437,7 +7442,7 @@ TableFilterType EnumUtil::FromString<TableFilterType>(const char *value) {
7437
7442
  if (StringUtil::Equals(value, "STRUCT_EXTRACT")) {
7438
7443
  return TableFilterType::STRUCT_EXTRACT;
7439
7444
  }
7440
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7445
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TableFilterType>", value));
7441
7446
  }
7442
7447
 
7443
7448
  template<>
@@ -7468,7 +7473,7 @@ const char* EnumUtil::ToChars<TableReferenceType>(TableReferenceType value) {
7468
7473
  case TableReferenceType::DELIM_GET:
7469
7474
  return "DELIM_GET";
7470
7475
  default:
7471
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7476
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TableReferenceType>", value));
7472
7477
  }
7473
7478
  }
7474
7479
 
@@ -7510,7 +7515,7 @@ TableReferenceType EnumUtil::FromString<TableReferenceType>(const char *value) {
7510
7515
  if (StringUtil::Equals(value, "DELIM_GET")) {
7511
7516
  return TableReferenceType::DELIM_GET;
7512
7517
  }
7513
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7518
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TableReferenceType>", value));
7514
7519
  }
7515
7520
 
7516
7521
  template<>
@@ -7527,7 +7532,7 @@ const char* EnumUtil::ToChars<TableScanType>(TableScanType value) {
7527
7532
  case TableScanType::TABLE_SCAN_LATEST_COMMITTED_ROWS:
7528
7533
  return "TABLE_SCAN_LATEST_COMMITTED_ROWS";
7529
7534
  default:
7530
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7535
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TableScanType>", value));
7531
7536
  }
7532
7537
  }
7533
7538
 
@@ -7548,7 +7553,7 @@ TableScanType EnumUtil::FromString<TableScanType>(const char *value) {
7548
7553
  if (StringUtil::Equals(value, "TABLE_SCAN_LATEST_COMMITTED_ROWS")) {
7549
7554
  return TableScanType::TABLE_SCAN_LATEST_COMMITTED_ROWS;
7550
7555
  }
7551
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7556
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TableScanType>", value));
7552
7557
  }
7553
7558
 
7554
7559
  template<>
@@ -7559,7 +7564,7 @@ const char* EnumUtil::ToChars<TaskExecutionMode>(TaskExecutionMode value) {
7559
7564
  case TaskExecutionMode::PROCESS_PARTIAL:
7560
7565
  return "PROCESS_PARTIAL";
7561
7566
  default:
7562
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7567
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TaskExecutionMode>", value));
7563
7568
  }
7564
7569
  }
7565
7570
 
@@ -7571,7 +7576,7 @@ TaskExecutionMode EnumUtil::FromString<TaskExecutionMode>(const char *value) {
7571
7576
  if (StringUtil::Equals(value, "PROCESS_PARTIAL")) {
7572
7577
  return TaskExecutionMode::PROCESS_PARTIAL;
7573
7578
  }
7574
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7579
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TaskExecutionMode>", value));
7575
7580
  }
7576
7581
 
7577
7582
  template<>
@@ -7586,7 +7591,7 @@ const char* EnumUtil::ToChars<TaskExecutionResult>(TaskExecutionResult value) {
7586
7591
  case TaskExecutionResult::TASK_BLOCKED:
7587
7592
  return "TASK_BLOCKED";
7588
7593
  default:
7589
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7594
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TaskExecutionResult>", value));
7590
7595
  }
7591
7596
  }
7592
7597
 
@@ -7604,7 +7609,7 @@ TaskExecutionResult EnumUtil::FromString<TaskExecutionResult>(const char *value)
7604
7609
  if (StringUtil::Equals(value, "TASK_BLOCKED")) {
7605
7610
  return TaskExecutionResult::TASK_BLOCKED;
7606
7611
  }
7607
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7612
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TaskExecutionResult>", value));
7608
7613
  }
7609
7614
 
7610
7615
  template<>
@@ -7617,7 +7622,7 @@ const char* EnumUtil::ToChars<TimestampCastResult>(TimestampCastResult value) {
7617
7622
  case TimestampCastResult::ERROR_NON_UTC_TIMEZONE:
7618
7623
  return "ERROR_NON_UTC_TIMEZONE";
7619
7624
  default:
7620
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7625
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TimestampCastResult>", value));
7621
7626
  }
7622
7627
  }
7623
7628
 
@@ -7632,7 +7637,7 @@ TimestampCastResult EnumUtil::FromString<TimestampCastResult>(const char *value)
7632
7637
  if (StringUtil::Equals(value, "ERROR_NON_UTC_TIMEZONE")) {
7633
7638
  return TimestampCastResult::ERROR_NON_UTC_TIMEZONE;
7634
7639
  }
7635
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7640
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TimestampCastResult>", value));
7636
7641
  }
7637
7642
 
7638
7643
  template<>
@@ -7645,7 +7650,7 @@ const char* EnumUtil::ToChars<TransactionModifierType>(TransactionModifierType v
7645
7650
  case TransactionModifierType::TRANSACTION_READ_WRITE:
7646
7651
  return "TRANSACTION_READ_WRITE";
7647
7652
  default:
7648
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7653
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TransactionModifierType>", value));
7649
7654
  }
7650
7655
  }
7651
7656
 
@@ -7660,7 +7665,7 @@ TransactionModifierType EnumUtil::FromString<TransactionModifierType>(const char
7660
7665
  if (StringUtil::Equals(value, "TRANSACTION_READ_WRITE")) {
7661
7666
  return TransactionModifierType::TRANSACTION_READ_WRITE;
7662
7667
  }
7663
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7668
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TransactionModifierType>", value));
7664
7669
  }
7665
7670
 
7666
7671
  template<>
@@ -7675,7 +7680,7 @@ const char* EnumUtil::ToChars<TransactionType>(TransactionType value) {
7675
7680
  case TransactionType::ROLLBACK:
7676
7681
  return "ROLLBACK";
7677
7682
  default:
7678
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7683
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TransactionType>", value));
7679
7684
  }
7680
7685
  }
7681
7686
 
@@ -7693,7 +7698,7 @@ TransactionType EnumUtil::FromString<TransactionType>(const char *value) {
7693
7698
  if (StringUtil::Equals(value, "ROLLBACK")) {
7694
7699
  return TransactionType::ROLLBACK;
7695
7700
  }
7696
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7701
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TransactionType>", value));
7697
7702
  }
7698
7703
 
7699
7704
  template<>
@@ -7710,7 +7715,7 @@ const char* EnumUtil::ToChars<TupleDataPinProperties>(TupleDataPinProperties val
7710
7715
  case TupleDataPinProperties::ALREADY_PINNED:
7711
7716
  return "ALREADY_PINNED";
7712
7717
  default:
7713
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7718
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<TupleDataPinProperties>", value));
7714
7719
  }
7715
7720
  }
7716
7721
 
@@ -7731,7 +7736,7 @@ TupleDataPinProperties EnumUtil::FromString<TupleDataPinProperties>(const char *
7731
7736
  if (StringUtil::Equals(value, "ALREADY_PINNED")) {
7732
7737
  return TupleDataPinProperties::ALREADY_PINNED;
7733
7738
  }
7734
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7739
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<TupleDataPinProperties>", value));
7735
7740
  }
7736
7741
 
7737
7742
  template<>
@@ -7750,7 +7755,7 @@ const char* EnumUtil::ToChars<UndoFlags>(UndoFlags value) {
7750
7755
  case UndoFlags::SEQUENCE_VALUE:
7751
7756
  return "SEQUENCE_VALUE";
7752
7757
  default:
7753
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7758
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<UndoFlags>", value));
7754
7759
  }
7755
7760
  }
7756
7761
 
@@ -7774,7 +7779,7 @@ UndoFlags EnumUtil::FromString<UndoFlags>(const char *value) {
7774
7779
  if (StringUtil::Equals(value, "SEQUENCE_VALUE")) {
7775
7780
  return UndoFlags::SEQUENCE_VALUE;
7776
7781
  }
7777
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7782
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<UndoFlags>", value));
7778
7783
  }
7779
7784
 
7780
7785
  template<>
@@ -7793,7 +7798,7 @@ const char* EnumUtil::ToChars<UnionInvalidReason>(UnionInvalidReason value) {
7793
7798
  case UnionInvalidReason::NULL_TAG:
7794
7799
  return "NULL_TAG";
7795
7800
  default:
7796
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7801
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<UnionInvalidReason>", value));
7797
7802
  }
7798
7803
  }
7799
7804
 
@@ -7817,7 +7822,7 @@ UnionInvalidReason EnumUtil::FromString<UnionInvalidReason>(const char *value) {
7817
7822
  if (StringUtil::Equals(value, "NULL_TAG")) {
7818
7823
  return UnionInvalidReason::NULL_TAG;
7819
7824
  }
7820
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7825
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<UnionInvalidReason>", value));
7821
7826
  }
7822
7827
 
7823
7828
  template<>
@@ -7826,7 +7831,7 @@ const char* EnumUtil::ToChars<VectorAuxiliaryDataType>(VectorAuxiliaryDataType v
7826
7831
  case VectorAuxiliaryDataType::ARROW_AUXILIARY:
7827
7832
  return "ARROW_AUXILIARY";
7828
7833
  default:
7829
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7834
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<VectorAuxiliaryDataType>", value));
7830
7835
  }
7831
7836
  }
7832
7837
 
@@ -7835,7 +7840,7 @@ VectorAuxiliaryDataType EnumUtil::FromString<VectorAuxiliaryDataType>(const char
7835
7840
  if (StringUtil::Equals(value, "ARROW_AUXILIARY")) {
7836
7841
  return VectorAuxiliaryDataType::ARROW_AUXILIARY;
7837
7842
  }
7838
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7843
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<VectorAuxiliaryDataType>", value));
7839
7844
  }
7840
7845
 
7841
7846
  template<>
@@ -7862,7 +7867,7 @@ const char* EnumUtil::ToChars<VectorBufferType>(VectorBufferType value) {
7862
7867
  case VectorBufferType::ARRAY_BUFFER:
7863
7868
  return "ARRAY_BUFFER";
7864
7869
  default:
7865
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7870
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<VectorBufferType>", value));
7866
7871
  }
7867
7872
  }
7868
7873
 
@@ -7898,7 +7903,7 @@ VectorBufferType EnumUtil::FromString<VectorBufferType>(const char *value) {
7898
7903
  if (StringUtil::Equals(value, "ARRAY_BUFFER")) {
7899
7904
  return VectorBufferType::ARRAY_BUFFER;
7900
7905
  }
7901
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7906
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<VectorBufferType>", value));
7902
7907
  }
7903
7908
 
7904
7909
  template<>
@@ -7915,7 +7920,7 @@ const char* EnumUtil::ToChars<VectorType>(VectorType value) {
7915
7920
  case VectorType::SEQUENCE_VECTOR:
7916
7921
  return "SEQUENCE_VECTOR";
7917
7922
  default:
7918
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7923
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<VectorType>", value));
7919
7924
  }
7920
7925
  }
7921
7926
 
@@ -7936,7 +7941,7 @@ VectorType EnumUtil::FromString<VectorType>(const char *value) {
7936
7941
  if (StringUtil::Equals(value, "SEQUENCE_VECTOR")) {
7937
7942
  return VectorType::SEQUENCE_VECTOR;
7938
7943
  }
7939
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
7944
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<VectorType>", value));
7940
7945
  }
7941
7946
 
7942
7947
  template<>
@@ -7963,7 +7968,7 @@ const char* EnumUtil::ToChars<VerificationType>(VerificationType value) {
7963
7968
  case VerificationType::INVALID:
7964
7969
  return "INVALID";
7965
7970
  default:
7966
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
7971
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<VerificationType>", value));
7967
7972
  }
7968
7973
  }
7969
7974
 
@@ -7999,7 +8004,7 @@ VerificationType EnumUtil::FromString<VerificationType>(const char *value) {
7999
8004
  if (StringUtil::Equals(value, "INVALID")) {
8000
8005
  return VerificationType::INVALID;
8001
8006
  }
8002
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
8007
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<VerificationType>", value));
8003
8008
  }
8004
8009
 
8005
8010
  template<>
@@ -8012,7 +8017,7 @@ const char* EnumUtil::ToChars<VerifyExistenceType>(VerifyExistenceType value) {
8012
8017
  case VerifyExistenceType::DELETE_FK:
8013
8018
  return "DELETE_FK";
8014
8019
  default:
8015
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
8020
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<VerifyExistenceType>", value));
8016
8021
  }
8017
8022
  }
8018
8023
 
@@ -8027,7 +8032,7 @@ VerifyExistenceType EnumUtil::FromString<VerifyExistenceType>(const char *value)
8027
8032
  if (StringUtil::Equals(value, "DELETE_FK")) {
8028
8033
  return VerifyExistenceType::DELETE_FK;
8029
8034
  }
8030
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
8035
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<VerifyExistenceType>", value));
8031
8036
  }
8032
8037
 
8033
8038
  template<>
@@ -8088,7 +8093,7 @@ const char* EnumUtil::ToChars<WALType>(WALType value) {
8088
8093
  case WALType::WAL_FLUSH:
8089
8094
  return "WAL_FLUSH";
8090
8095
  default:
8091
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
8096
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<WALType>", value));
8092
8097
  }
8093
8098
  }
8094
8099
 
@@ -8175,7 +8180,7 @@ WALType EnumUtil::FromString<WALType>(const char *value) {
8175
8180
  if (StringUtil::Equals(value, "WAL_FLUSH")) {
8176
8181
  return WALType::WAL_FLUSH;
8177
8182
  }
8178
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
8183
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<WALType>", value));
8179
8184
  }
8180
8185
 
8181
8186
  template<>
@@ -8188,7 +8193,7 @@ const char* EnumUtil::ToChars<WindowAggregationMode>(WindowAggregationMode value
8188
8193
  case WindowAggregationMode::SEPARATE:
8189
8194
  return "SEPARATE";
8190
8195
  default:
8191
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
8196
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<WindowAggregationMode>", value));
8192
8197
  }
8193
8198
  }
8194
8199
 
@@ -8203,7 +8208,7 @@ WindowAggregationMode EnumUtil::FromString<WindowAggregationMode>(const char *va
8203
8208
  if (StringUtil::Equals(value, "SEPARATE")) {
8204
8209
  return WindowAggregationMode::SEPARATE;
8205
8210
  }
8206
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
8211
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<WindowAggregationMode>", value));
8207
8212
  }
8208
8213
 
8209
8214
  template<>
@@ -8228,7 +8233,7 @@ const char* EnumUtil::ToChars<WindowBoundary>(WindowBoundary value) {
8228
8233
  case WindowBoundary::EXPR_FOLLOWING_RANGE:
8229
8234
  return "EXPR_FOLLOWING_RANGE";
8230
8235
  default:
8231
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
8236
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<WindowBoundary>", value));
8232
8237
  }
8233
8238
  }
8234
8239
 
@@ -8261,7 +8266,7 @@ WindowBoundary EnumUtil::FromString<WindowBoundary>(const char *value) {
8261
8266
  if (StringUtil::Equals(value, "EXPR_FOLLOWING_RANGE")) {
8262
8267
  return WindowBoundary::EXPR_FOLLOWING_RANGE;
8263
8268
  }
8264
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
8269
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<WindowBoundary>", value));
8265
8270
  }
8266
8271
 
8267
8272
  template<>
@@ -8276,7 +8281,7 @@ const char* EnumUtil::ToChars<WindowExcludeMode>(WindowExcludeMode value) {
8276
8281
  case WindowExcludeMode::TIES:
8277
8282
  return "TIES";
8278
8283
  default:
8279
- throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented", value));
8284
+ throw NotImplementedException(StringUtil::Format("Enum value: '%d' not implemented in ToChars<WindowExcludeMode>", value));
8280
8285
  }
8281
8286
  }
8282
8287
 
@@ -8294,7 +8299,7 @@ WindowExcludeMode EnumUtil::FromString<WindowExcludeMode>(const char *value) {
8294
8299
  if (StringUtil::Equals(value, "TIES")) {
8295
8300
  return WindowExcludeMode::TIES;
8296
8301
  }
8297
- throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented", value));
8302
+ throw NotImplementedException(StringUtil::Format("Enum value: '%s' not implemented in FromString<WindowExcludeMode>", value));
8298
8303
  }
8299
8304
 
8300
8305
  }