@sqlanvil/cli 1.28.0 → 1.29.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 (3) hide show
  1. package/bundle.js +496 -27
  2. package/package.json +4 -2
  3. package/worker_bundle.js +356 -1
package/worker_bundle.js CHANGED
@@ -89,6 +89,7 @@ const sqlanvil = $root.sqlanvil = (() => {
89
89
  * @property {string|null} [warehouse] WorkflowSettings warehouse
90
90
  * @property {Object.<string,sqlanvil.IConnectionConfig>|null} [connections] WorkflowSettings connections
91
91
  * @property {Object.<string,sqlanvil.IEnvironment>|null} [environments] WorkflowSettings environments
92
+ * @property {boolean|null} [preserveGovernanceControls] WorkflowSettings preserveGovernanceControls
92
93
  */
93
94
 
94
95
  /**
@@ -261,6 +262,14 @@ const sqlanvil = $root.sqlanvil = (() => {
261
262
  */
262
263
  WorkflowSettings.prototype.environments = $util.emptyObject;
263
264
 
265
+ /**
266
+ * WorkflowSettings preserveGovernanceControls.
267
+ * @member {boolean} preserveGovernanceControls
268
+ * @memberof sqlanvil.WorkflowSettings
269
+ * @instance
270
+ */
271
+ WorkflowSettings.prototype.preserveGovernanceControls = false;
272
+
264
273
  /**
265
274
  * Creates a new WorkflowSettings instance using the specified properties.
266
275
  * @function create
@@ -334,6 +343,8 @@ const sqlanvil = $root.sqlanvil = (() => {
334
343
  writer.uint32(/* id 19, wireType 2 =*/154).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
335
344
  $root.sqlanvil.Environment.encode(message.environments[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork(), q + 1).ldelim().ldelim();
336
345
  }
346
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
347
+ writer.uint32(/* id 20, wireType 0 =*/160).bool(message.preserveGovernanceControls);
337
348
  return writer;
338
349
  };
339
350
 
@@ -513,6 +524,10 @@ const sqlanvil = $root.sqlanvil = (() => {
513
524
  message.environments[key] = value;
514
525
  break;
515
526
  }
527
+ case 20: {
528
+ message.preserveGovernanceControls = reader.bool();
529
+ break;
530
+ }
516
531
  default:
517
532
  reader.skipType(tag & 7, long);
518
533
  break;
@@ -634,6 +649,9 @@ const sqlanvil = $root.sqlanvil = (() => {
634
649
  return "environments." + error;
635
650
  }
636
651
  }
652
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
653
+ if (typeof message.preserveGovernanceControls !== "boolean")
654
+ return "preserveGovernanceControls: boolean expected";
637
655
  return null;
638
656
  };
639
657
 
@@ -730,6 +748,8 @@ const sqlanvil = $root.sqlanvil = (() => {
730
748
  message.environments[keys[i]] = $root.sqlanvil.Environment.fromObject(object.environments[keys[i]], long + 1);
731
749
  }
732
750
  }
751
+ if (object.preserveGovernanceControls != null)
752
+ message.preserveGovernanceControls = Boolean(object.preserveGovernanceControls);
733
753
  return message;
734
754
  };
735
755
 
@@ -772,6 +792,7 @@ const sqlanvil = $root.sqlanvil = (() => {
772
792
  object.extension = null;
773
793
  object.includeTestsInCompiledGraph = false;
774
794
  object.warehouse = "";
795
+ object.preserveGovernanceControls = false;
775
796
  }
776
797
  if (message.sqlanvilCoreVersion != null && Object.hasOwnProperty.call(message, "sqlanvilCoreVersion"))
777
798
  object.sqlanvilCoreVersion = message.sqlanvilCoreVersion;
@@ -830,6 +851,8 @@ const sqlanvil = $root.sqlanvil = (() => {
830
851
  object.environments[keys2[j]] = $root.sqlanvil.Environment.toObject(message.environments[keys2[j]], options, q + 1);
831
852
  }
832
853
  }
854
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
855
+ object.preserveGovernanceControls = message.preserveGovernanceControls;
833
856
  return object;
834
857
  };
835
858
 
@@ -4581,6 +4604,7 @@ const sqlanvil = $root.sqlanvil = (() => {
4581
4604
  * @property {sqlanvil.IPostgresOptions|null} [postgres] TableConfig postgres
4582
4605
  * @property {sqlanvil.ISupabaseOptions|null} [supabase] TableConfig supabase
4583
4606
  * @property {sqlanvil.IMysqlOptions|null} [mysql] TableConfig mysql
4607
+ * @property {boolean|null} [preserveGovernanceControls] TableConfig preserveGovernanceControls
4584
4608
  */
4585
4609
 
4586
4610
  /**
@@ -4814,6 +4838,23 @@ const sqlanvil = $root.sqlanvil = (() => {
4814
4838
  */
4815
4839
  TableConfig.prototype.mysql = null;
4816
4840
 
4841
+ /**
4842
+ * TableConfig preserveGovernanceControls.
4843
+ * @member {boolean|null|undefined} preserveGovernanceControls
4844
+ * @memberof sqlanvil.ActionConfig.TableConfig
4845
+ * @instance
4846
+ */
4847
+ TableConfig.prototype.preserveGovernanceControls = null;
4848
+
4849
+ // OneOf field names bound to virtual getters and setters
4850
+ let $oneOfFields;
4851
+
4852
+ // Virtual OneOf for proto3 optional field
4853
+ Object.defineProperty(TableConfig.prototype, "_preserveGovernanceControls", {
4854
+ get: $util.oneOfGetter($oneOfFields = ["preserveGovernanceControls"]),
4855
+ set: $util.oneOfSetter($oneOfFields)
4856
+ });
4857
+
4817
4858
  /**
4818
4859
  * Creates a new TableConfig instance using the specified properties.
4819
4860
  * @function create
@@ -4902,6 +4943,8 @@ const sqlanvil = $root.sqlanvil = (() => {
4902
4943
  $root.sqlanvil.SupabaseOptions.encode(message.supabase, writer.uint32(/* id 26, wireType 2 =*/210).fork(), q + 1).ldelim();
4903
4944
  if (message.mysql != null && Object.hasOwnProperty.call(message, "mysql"))
4904
4945
  $root.sqlanvil.MysqlOptions.encode(message.mysql, writer.uint32(/* id 27, wireType 2 =*/218).fork(), q + 1).ldelim();
4946
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
4947
+ writer.uint32(/* id 28, wireType 0 =*/224).bool(message.preserveGovernanceControls);
4905
4948
  return writer;
4906
4949
  };
4907
4950
 
@@ -5100,6 +5143,10 @@ const sqlanvil = $root.sqlanvil = (() => {
5100
5143
  message.mysql = $root.sqlanvil.MysqlOptions.decode(reader, reader.uint32(), undefined, long + 1);
5101
5144
  break;
5102
5145
  }
5146
+ case 28: {
5147
+ message.preserveGovernanceControls = reader.bool();
5148
+ break;
5149
+ }
5103
5150
  default:
5104
5151
  reader.skipType(tag & 7, long);
5105
5152
  break;
@@ -5267,6 +5314,10 @@ const sqlanvil = $root.sqlanvil = (() => {
5267
5314
  if (error)
5268
5315
  return "mysql." + error;
5269
5316
  }
5317
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls")) {
5318
+ if (typeof message.preserveGovernanceControls !== "boolean")
5319
+ return "preserveGovernanceControls: boolean expected";
5320
+ }
5270
5321
  return null;
5271
5322
  };
5272
5323
 
@@ -5410,6 +5461,8 @@ const sqlanvil = $root.sqlanvil = (() => {
5410
5461
  throw TypeError(".sqlanvil.ActionConfig.TableConfig.mysql: object expected");
5411
5462
  message.mysql = $root.sqlanvil.MysqlOptions.fromObject(object.mysql, long + 1);
5412
5463
  }
5464
+ if (object.preserveGovernanceControls != null)
5465
+ message.preserveGovernanceControls = Boolean(object.preserveGovernanceControls);
5413
5466
  return message;
5414
5467
  };
5415
5468
 
@@ -5545,6 +5598,11 @@ const sqlanvil = $root.sqlanvil = (() => {
5545
5598
  object.supabase = $root.sqlanvil.SupabaseOptions.toObject(message.supabase, options, q + 1);
5546
5599
  if (message.mysql != null && Object.hasOwnProperty.call(message, "mysql"))
5547
5600
  object.mysql = $root.sqlanvil.MysqlOptions.toObject(message.mysql, options, q + 1);
5601
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls")) {
5602
+ object.preserveGovernanceControls = message.preserveGovernanceControls;
5603
+ if (options.oneofs)
5604
+ object._preserveGovernanceControls = "preserveGovernanceControls";
5605
+ }
5548
5606
  return object;
5549
5607
  };
5550
5608
 
@@ -6800,6 +6858,22 @@ const sqlanvil = $root.sqlanvil = (() => {
6800
6858
  return values;
6801
6859
  })();
6802
6860
 
6861
+ /**
6862
+ * IncrementalStrategy enum.
6863
+ * @name sqlanvil.ActionConfig.IncrementalStrategy
6864
+ * @enum {number}
6865
+ * @property {number} INCREMENTAL_STRATEGY_UNSPECIFIED=0 INCREMENTAL_STRATEGY_UNSPECIFIED value
6866
+ * @property {number} INCREMENTAL_STRATEGY_MERGE=1 INCREMENTAL_STRATEGY_MERGE value
6867
+ * @property {number} INCREMENTAL_STRATEGY_INSERT_OVERWRITE=2 INCREMENTAL_STRATEGY_INSERT_OVERWRITE value
6868
+ */
6869
+ ActionConfig.IncrementalStrategy = (function() {
6870
+ const valuesById = {}, values = Object.create(valuesById);
6871
+ values[valuesById[0] = "INCREMENTAL_STRATEGY_UNSPECIFIED"] = 0;
6872
+ values[valuesById[1] = "INCREMENTAL_STRATEGY_MERGE"] = 1;
6873
+ values[valuesById[2] = "INCREMENTAL_STRATEGY_INSERT_OVERWRITE"] = 2;
6874
+ return values;
6875
+ })();
6876
+
6803
6877
  ActionConfig.IncrementalTableConfig = (function() {
6804
6878
 
6805
6879
  /**
@@ -6836,6 +6910,8 @@ const sqlanvil = $root.sqlanvil = (() => {
6836
6910
  * @property {sqlanvil.IPostgresOptions|null} [postgres] IncrementalTableConfig postgres
6837
6911
  * @property {sqlanvil.ISupabaseOptions|null} [supabase] IncrementalTableConfig supabase
6838
6912
  * @property {sqlanvil.IMysqlOptions|null} [mysql] IncrementalTableConfig mysql
6913
+ * @property {sqlanvil.ActionConfig.IncrementalStrategy|null} [incrementalStrategy] IncrementalTableConfig incrementalStrategy
6914
+ * @property {Array.<string>|null} [incrementalPredicates] IncrementalTableConfig incrementalPredicates
6839
6915
  */
6840
6916
 
6841
6917
  /**
@@ -6856,6 +6932,7 @@ const sqlanvil = $root.sqlanvil = (() => {
6856
6932
  this.clusterBy = [];
6857
6933
  this.labels = {};
6858
6934
  this.additionalOptions = {};
6935
+ this.incrementalPredicates = [];
6859
6936
  if (properties)
6860
6937
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
6861
6938
  if (properties[keys[i]] != null && keys[i] !== "__proto__")
@@ -7102,6 +7179,22 @@ const sqlanvil = $root.sqlanvil = (() => {
7102
7179
  */
7103
7180
  IncrementalTableConfig.prototype.mysql = null;
7104
7181
 
7182
+ /**
7183
+ * IncrementalTableConfig incrementalStrategy.
7184
+ * @member {sqlanvil.ActionConfig.IncrementalStrategy} incrementalStrategy
7185
+ * @memberof sqlanvil.ActionConfig.IncrementalTableConfig
7186
+ * @instance
7187
+ */
7188
+ IncrementalTableConfig.prototype.incrementalStrategy = 0;
7189
+
7190
+ /**
7191
+ * IncrementalTableConfig incrementalPredicates.
7192
+ * @member {Array.<string>} incrementalPredicates
7193
+ * @memberof sqlanvil.ActionConfig.IncrementalTableConfig
7194
+ * @instance
7195
+ */
7196
+ IncrementalTableConfig.prototype.incrementalPredicates = $util.emptyArray;
7197
+
7105
7198
  /**
7106
7199
  * Creates a new IncrementalTableConfig instance using the specified properties.
7107
7200
  * @function create
@@ -7199,6 +7292,11 @@ const sqlanvil = $root.sqlanvil = (() => {
7199
7292
  $root.sqlanvil.SupabaseOptions.encode(message.supabase, writer.uint32(/* id 29, wireType 2 =*/234).fork(), q + 1).ldelim();
7200
7293
  if (message.mysql != null && Object.hasOwnProperty.call(message, "mysql"))
7201
7294
  $root.sqlanvil.MysqlOptions.encode(message.mysql, writer.uint32(/* id 30, wireType 2 =*/242).fork(), q + 1).ldelim();
7295
+ if (message.incrementalStrategy != null && Object.hasOwnProperty.call(message, "incrementalStrategy"))
7296
+ writer.uint32(/* id 31, wireType 0 =*/248).int32(message.incrementalStrategy);
7297
+ if (message.incrementalPredicates != null && message.incrementalPredicates.length)
7298
+ for (let i = 0; i < message.incrementalPredicates.length; ++i)
7299
+ writer.uint32(/* id 32, wireType 2 =*/258).string(message.incrementalPredicates[i]);
7202
7300
  return writer;
7203
7301
  };
7204
7302
 
@@ -7415,6 +7513,16 @@ const sqlanvil = $root.sqlanvil = (() => {
7415
7513
  message.mysql = $root.sqlanvil.MysqlOptions.decode(reader, reader.uint32(), undefined, long + 1);
7416
7514
  break;
7417
7515
  }
7516
+ case 31: {
7517
+ message.incrementalStrategy = reader.int32();
7518
+ break;
7519
+ }
7520
+ case 32: {
7521
+ if (!(message.incrementalPredicates && message.incrementalPredicates.length))
7522
+ message.incrementalPredicates = [];
7523
+ message.incrementalPredicates.push(reader.string());
7524
+ break;
7525
+ }
7418
7526
  default:
7419
7527
  reader.skipType(tag & 7, long);
7420
7528
  break;
@@ -7605,6 +7713,22 @@ const sqlanvil = $root.sqlanvil = (() => {
7605
7713
  if (error)
7606
7714
  return "mysql." + error;
7607
7715
  }
7716
+ if (message.incrementalStrategy != null && Object.hasOwnProperty.call(message, "incrementalStrategy"))
7717
+ switch (message.incrementalStrategy) {
7718
+ default:
7719
+ return "incrementalStrategy: enum value expected";
7720
+ case 0:
7721
+ case 1:
7722
+ case 2:
7723
+ break;
7724
+ }
7725
+ if (message.incrementalPredicates != null && Object.hasOwnProperty.call(message, "incrementalPredicates")) {
7726
+ if (!Array.isArray(message.incrementalPredicates))
7727
+ return "incrementalPredicates: array expected";
7728
+ for (let i = 0; i < message.incrementalPredicates.length; ++i)
7729
+ if (!$util.isString(message.incrementalPredicates[i]))
7730
+ return "incrementalPredicates: string[] expected";
7731
+ }
7608
7732
  return null;
7609
7733
  };
7610
7734
 
@@ -7783,6 +7907,33 @@ const sqlanvil = $root.sqlanvil = (() => {
7783
7907
  throw TypeError(".sqlanvil.ActionConfig.IncrementalTableConfig.mysql: object expected");
7784
7908
  message.mysql = $root.sqlanvil.MysqlOptions.fromObject(object.mysql, long + 1);
7785
7909
  }
7910
+ switch (object.incrementalStrategy) {
7911
+ default:
7912
+ if (typeof object.incrementalStrategy === "number") {
7913
+ message.incrementalStrategy = object.incrementalStrategy;
7914
+ break;
7915
+ }
7916
+ break;
7917
+ case "INCREMENTAL_STRATEGY_UNSPECIFIED":
7918
+ case 0:
7919
+ message.incrementalStrategy = 0;
7920
+ break;
7921
+ case "INCREMENTAL_STRATEGY_MERGE":
7922
+ case 1:
7923
+ message.incrementalStrategy = 1;
7924
+ break;
7925
+ case "INCREMENTAL_STRATEGY_INSERT_OVERWRITE":
7926
+ case 2:
7927
+ message.incrementalStrategy = 2;
7928
+ break;
7929
+ }
7930
+ if (object.incrementalPredicates) {
7931
+ if (!Array.isArray(object.incrementalPredicates))
7932
+ throw TypeError(".sqlanvil.ActionConfig.IncrementalTableConfig.incrementalPredicates: array expected");
7933
+ message.incrementalPredicates = [];
7934
+ for (let i = 0; i < object.incrementalPredicates.length; ++i)
7935
+ message.incrementalPredicates[i] = String(object.incrementalPredicates[i]);
7936
+ }
7786
7937
  return message;
7787
7938
  };
7788
7939
 
@@ -7811,6 +7962,7 @@ const sqlanvil = $root.sqlanvil = (() => {
7811
7962
  object.uniqueKey = [];
7812
7963
  object.columns = [];
7813
7964
  object.clusterBy = [];
7965
+ object.incrementalPredicates = [];
7814
7966
  }
7815
7967
  if (options.objects || options.defaults) {
7816
7968
  object.labels = {};
@@ -7838,6 +7990,7 @@ const sqlanvil = $root.sqlanvil = (() => {
7838
7990
  object.postgres = null;
7839
7991
  object.supabase = null;
7840
7992
  object.mysql = null;
7993
+ object.incrementalStrategy = options.enums === String ? "INCREMENTAL_STRATEGY_UNSPECIFIED" : 0;
7841
7994
  }
7842
7995
  if (message.name != null && Object.hasOwnProperty.call(message, "name"))
7843
7996
  object.name = message.name;
@@ -7933,6 +8086,13 @@ const sqlanvil = $root.sqlanvil = (() => {
7933
8086
  object.supabase = $root.sqlanvil.SupabaseOptions.toObject(message.supabase, options, q + 1);
7934
8087
  if (message.mysql != null && Object.hasOwnProperty.call(message, "mysql"))
7935
8088
  object.mysql = $root.sqlanvil.MysqlOptions.toObject(message.mysql, options, q + 1);
8089
+ if (message.incrementalStrategy != null && Object.hasOwnProperty.call(message, "incrementalStrategy"))
8090
+ object.incrementalStrategy = options.enums === String ? $root.sqlanvil.ActionConfig.IncrementalStrategy[message.incrementalStrategy] === undefined ? message.incrementalStrategy : $root.sqlanvil.ActionConfig.IncrementalStrategy[message.incrementalStrategy] : message.incrementalStrategy;
8091
+ if (message.incrementalPredicates && message.incrementalPredicates.length) {
8092
+ object.incrementalPredicates = [];
8093
+ for (let j = 0; j < message.incrementalPredicates.length; ++j)
8094
+ object.incrementalPredicates[j] = message.incrementalPredicates[j];
8095
+ }
7936
8096
  return object;
7937
8097
  };
7938
8098
 
@@ -21103,6 +21263,7 @@ const sqlanvil = $root.sqlanvil = (() => {
21103
21263
  * @property {boolean|null} [includeTestsInCompiledGraph] ProjectConfig includeTestsInCompiledGraph
21104
21264
  * @property {Object.<string,sqlanvil.IConnectionConfig>|null} [connections] ProjectConfig connections
21105
21265
  * @property {string|null} [warehouseConnection] ProjectConfig warehouseConnection
21266
+ * @property {boolean|null} [preserveGovernanceControls] ProjectConfig preserveGovernanceControls
21106
21267
  */
21107
21268
 
21108
21269
  /**
@@ -21258,6 +21419,14 @@ const sqlanvil = $root.sqlanvil = (() => {
21258
21419
  */
21259
21420
  ProjectConfig.prototype.warehouseConnection = "";
21260
21421
 
21422
+ /**
21423
+ * ProjectConfig preserveGovernanceControls.
21424
+ * @member {boolean} preserveGovernanceControls
21425
+ * @memberof sqlanvil.ProjectConfig
21426
+ * @instance
21427
+ */
21428
+ ProjectConfig.prototype.preserveGovernanceControls = false;
21429
+
21261
21430
  /**
21262
21431
  * Creates a new ProjectConfig instance using the specified properties.
21263
21432
  * @function create
@@ -21324,6 +21493,8 @@ const sqlanvil = $root.sqlanvil = (() => {
21324
21493
  }
21325
21494
  if (message.warehouseConnection != null && Object.hasOwnProperty.call(message, "warehouseConnection"))
21326
21495
  writer.uint32(/* id 24, wireType 2 =*/194).string(message.warehouseConnection);
21496
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
21497
+ writer.uint32(/* id 25, wireType 0 =*/200).bool(message.preserveGovernanceControls);
21327
21498
  return writer;
21328
21499
  };
21329
21500
 
@@ -21474,6 +21645,10 @@ const sqlanvil = $root.sqlanvil = (() => {
21474
21645
  message.warehouseConnection = reader.string();
21475
21646
  break;
21476
21647
  }
21648
+ case 25: {
21649
+ message.preserveGovernanceControls = reader.bool();
21650
+ break;
21651
+ }
21477
21652
  default:
21478
21653
  reader.skipType(tag & 7, long);
21479
21654
  break;
@@ -21580,6 +21755,9 @@ const sqlanvil = $root.sqlanvil = (() => {
21580
21755
  if (message.warehouseConnection != null && Object.hasOwnProperty.call(message, "warehouseConnection"))
21581
21756
  if (!$util.isString(message.warehouseConnection))
21582
21757
  return "warehouseConnection: string expected";
21758
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
21759
+ if (typeof message.preserveGovernanceControls !== "boolean")
21760
+ return "preserveGovernanceControls: boolean expected";
21583
21761
  return null;
21584
21762
  };
21585
21763
 
@@ -21659,6 +21837,8 @@ const sqlanvil = $root.sqlanvil = (() => {
21659
21837
  }
21660
21838
  if (object.warehouseConnection != null)
21661
21839
  message.warehouseConnection = String(object.warehouseConnection);
21840
+ if (object.preserveGovernanceControls != null)
21841
+ message.preserveGovernanceControls = Boolean(object.preserveGovernanceControls);
21662
21842
  return message;
21663
21843
  };
21664
21844
 
@@ -21699,6 +21879,7 @@ const sqlanvil = $root.sqlanvil = (() => {
21699
21879
  object.defaultReservation = "";
21700
21880
  object.includeTestsInCompiledGraph = false;
21701
21881
  object.warehouseConnection = "";
21882
+ object.preserveGovernanceControls = false;
21702
21883
  }
21703
21884
  if (message.warehouse != null && Object.hasOwnProperty.call(message, "warehouse"))
21704
21885
  object.warehouse = message.warehouse;
@@ -21747,6 +21928,8 @@ const sqlanvil = $root.sqlanvil = (() => {
21747
21928
  }
21748
21929
  if (message.warehouseConnection != null && Object.hasOwnProperty.call(message, "warehouseConnection"))
21749
21930
  object.warehouseConnection = message.warehouseConnection;
21931
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
21932
+ object.preserveGovernanceControls = message.preserveGovernanceControls;
21750
21933
  return object;
21751
21934
  };
21752
21935
 
@@ -22491,6 +22674,8 @@ const sqlanvil = $root.sqlanvil = (() => {
22491
22674
  * @property {sqlanvil.TableFormat|null} [tableFormat] BigQueryOptions tableFormat
22492
22675
  * @property {sqlanvil.FileFormat|null} [fileFormat] BigQueryOptions fileFormat
22493
22676
  * @property {string|null} [storageUri] BigQueryOptions storageUri
22677
+ * @property {Array.<string>|null} [incrementalPredicates] BigQueryOptions incrementalPredicates
22678
+ * @property {boolean|null} [preserveGovernanceControls] BigQueryOptions preserveGovernanceControls
22494
22679
  */
22495
22680
 
22496
22681
  /**
@@ -22505,6 +22690,7 @@ const sqlanvil = $root.sqlanvil = (() => {
22505
22690
  this.clusterBy = [];
22506
22691
  this.labels = {};
22507
22692
  this.additionalOptions = {};
22693
+ this.incrementalPredicates = [];
22508
22694
  if (properties)
22509
22695
  for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
22510
22696
  if (properties[keys[i]] != null && keys[i] !== "__proto__")
@@ -22599,6 +22785,22 @@ const sqlanvil = $root.sqlanvil = (() => {
22599
22785
  */
22600
22786
  BigQueryOptions.prototype.storageUri = "";
22601
22787
 
22788
+ /**
22789
+ * BigQueryOptions incrementalPredicates.
22790
+ * @member {Array.<string>} incrementalPredicates
22791
+ * @memberof sqlanvil.BigQueryOptions
22792
+ * @instance
22793
+ */
22794
+ BigQueryOptions.prototype.incrementalPredicates = $util.emptyArray;
22795
+
22796
+ /**
22797
+ * BigQueryOptions preserveGovernanceControls.
22798
+ * @member {boolean} preserveGovernanceControls
22799
+ * @memberof sqlanvil.BigQueryOptions
22800
+ * @instance
22801
+ */
22802
+ BigQueryOptions.prototype.preserveGovernanceControls = false;
22803
+
22602
22804
  /**
22603
22805
  * Creates a new BigQueryOptions instance using the specified properties.
22604
22806
  * @function create
@@ -22652,6 +22854,11 @@ const sqlanvil = $root.sqlanvil = (() => {
22652
22854
  writer.uint32(/* id 10, wireType 0 =*/80).int32(message.fileFormat);
22653
22855
  if (message.storageUri != null && Object.hasOwnProperty.call(message, "storageUri"))
22654
22856
  writer.uint32(/* id 11, wireType 2 =*/90).string(message.storageUri);
22857
+ if (message.incrementalPredicates != null && message.incrementalPredicates.length)
22858
+ for (let i = 0; i < message.incrementalPredicates.length; ++i)
22859
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.incrementalPredicates[i]);
22860
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
22861
+ writer.uint32(/* id 13, wireType 0 =*/104).bool(message.preserveGovernanceControls);
22655
22862
  return writer;
22656
22863
  };
22657
22864
 
@@ -22780,6 +22987,16 @@ const sqlanvil = $root.sqlanvil = (() => {
22780
22987
  message.storageUri = reader.string();
22781
22988
  break;
22782
22989
  }
22990
+ case 12: {
22991
+ if (!(message.incrementalPredicates && message.incrementalPredicates.length))
22992
+ message.incrementalPredicates = [];
22993
+ message.incrementalPredicates.push(reader.string());
22994
+ break;
22995
+ }
22996
+ case 13: {
22997
+ message.preserveGovernanceControls = reader.bool();
22998
+ break;
22999
+ }
22783
23000
  default:
22784
23001
  reader.skipType(tag & 7, long);
22785
23002
  break;
@@ -22876,6 +23093,16 @@ const sqlanvil = $root.sqlanvil = (() => {
22876
23093
  if (message.storageUri != null && Object.hasOwnProperty.call(message, "storageUri"))
22877
23094
  if (!$util.isString(message.storageUri))
22878
23095
  return "storageUri: string expected";
23096
+ if (message.incrementalPredicates != null && Object.hasOwnProperty.call(message, "incrementalPredicates")) {
23097
+ if (!Array.isArray(message.incrementalPredicates))
23098
+ return "incrementalPredicates: array expected";
23099
+ for (let i = 0; i < message.incrementalPredicates.length; ++i)
23100
+ if (!$util.isString(message.incrementalPredicates[i]))
23101
+ return "incrementalPredicates: string[] expected";
23102
+ }
23103
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
23104
+ if (typeof message.preserveGovernanceControls !== "boolean")
23105
+ return "preserveGovernanceControls: boolean expected";
22879
23106
  return null;
22880
23107
  };
22881
23108
 
@@ -22968,6 +23195,15 @@ const sqlanvil = $root.sqlanvil = (() => {
22968
23195
  }
22969
23196
  if (object.storageUri != null)
22970
23197
  message.storageUri = String(object.storageUri);
23198
+ if (object.incrementalPredicates) {
23199
+ if (!Array.isArray(object.incrementalPredicates))
23200
+ throw TypeError(".sqlanvil.BigQueryOptions.incrementalPredicates: array expected");
23201
+ message.incrementalPredicates = [];
23202
+ for (let i = 0; i < object.incrementalPredicates.length; ++i)
23203
+ message.incrementalPredicates[i] = String(object.incrementalPredicates[i]);
23204
+ }
23205
+ if (object.preserveGovernanceControls != null)
23206
+ message.preserveGovernanceControls = Boolean(object.preserveGovernanceControls);
22971
23207
  return message;
22972
23208
  };
22973
23209
 
@@ -22988,8 +23224,10 @@ const sqlanvil = $root.sqlanvil = (() => {
22988
23224
  if (q > $util.recursionLimit)
22989
23225
  throw Error("max depth exceeded");
22990
23226
  let object = {};
22991
- if (options.arrays || options.defaults)
23227
+ if (options.arrays || options.defaults) {
22992
23228
  object.clusterBy = [];
23229
+ object.incrementalPredicates = [];
23230
+ }
22993
23231
  if (options.objects || options.defaults) {
22994
23232
  object.labels = {};
22995
23233
  object.additionalOptions = {};
@@ -23003,6 +23241,7 @@ const sqlanvil = $root.sqlanvil = (() => {
23003
23241
  object.tableFormat = options.enums === String ? "TABLE_FORMAT_UNSPECIFIED" : 0;
23004
23242
  object.fileFormat = options.enums === String ? "FILE_FORMAT_UNSPECIFIED" : 0;
23005
23243
  object.storageUri = "";
23244
+ object.preserveGovernanceControls = false;
23006
23245
  }
23007
23246
  if (message.partitionBy != null && Object.hasOwnProperty.call(message, "partitionBy"))
23008
23247
  object.partitionBy = message.partitionBy;
@@ -23042,6 +23281,13 @@ const sqlanvil = $root.sqlanvil = (() => {
23042
23281
  object.fileFormat = options.enums === String ? $root.sqlanvil.FileFormat[message.fileFormat] === undefined ? message.fileFormat : $root.sqlanvil.FileFormat[message.fileFormat] : message.fileFormat;
23043
23282
  if (message.storageUri != null && Object.hasOwnProperty.call(message, "storageUri"))
23044
23283
  object.storageUri = message.storageUri;
23284
+ if (message.incrementalPredicates && message.incrementalPredicates.length) {
23285
+ object.incrementalPredicates = [];
23286
+ for (let j = 0; j < message.incrementalPredicates.length; ++j)
23287
+ object.incrementalPredicates[j] = message.incrementalPredicates[j];
23288
+ }
23289
+ if (message.preserveGovernanceControls != null && Object.hasOwnProperty.call(message, "preserveGovernanceControls"))
23290
+ object.preserveGovernanceControls = message.preserveGovernanceControls;
23045
23291
  return object;
23046
23292
  };
23047
23293
 
@@ -24763,6 +25009,22 @@ const sqlanvil = $root.sqlanvil = (() => {
24763
25009
  return values;
24764
25010
  })();
24765
25011
 
25012
+ /**
25013
+ * IncrementalStrategy enum.
25014
+ * @name sqlanvil.IncrementalStrategy
25015
+ * @enum {number}
25016
+ * @property {number} INCREMENTAL_STRATEGY_UNSPECIFIED=0 INCREMENTAL_STRATEGY_UNSPECIFIED value
25017
+ * @property {number} MERGE=1 MERGE value
25018
+ * @property {number} INSERT_OVERWRITE=2 INSERT_OVERWRITE value
25019
+ */
25020
+ sqlanvil.IncrementalStrategy = (function() {
25021
+ const valuesById = {}, values = Object.create(valuesById);
25022
+ values[valuesById[0] = "INCREMENTAL_STRATEGY_UNSPECIFIED"] = 0;
25023
+ values[valuesById[1] = "MERGE"] = 1;
25024
+ values[valuesById[2] = "INSERT_OVERWRITE"] = 2;
25025
+ return values;
25026
+ })();
25027
+
24766
25028
  sqlanvil.Table = (function() {
24767
25029
 
24768
25030
  /**
@@ -24790,6 +25052,7 @@ const sqlanvil = $root.sqlanvil = (() => {
24790
25052
  * @property {Array.<string>|null} [incrementalPreOps] Table incrementalPreOps
24791
25053
  * @property {Array.<string>|null} [incrementalPostOps] Table incrementalPostOps
24792
25054
  * @property {string|null} [jitCode] Table jitCode
25055
+ * @property {sqlanvil.IncrementalStrategy|null} [incrementalStrategy] Table incrementalStrategy
24793
25056
  * @property {sqlanvil.IBigQueryOptions|null} [bigquery] Table bigquery
24794
25057
  * @property {sqlanvil.IPostgresOptions|null} [postgres] Table postgres
24795
25058
  * @property {sqlanvil.ISupabaseOptions|null} [supabase] Table supabase
@@ -24987,6 +25250,14 @@ const sqlanvil = $root.sqlanvil = (() => {
24987
25250
  */
24988
25251
  Table.prototype.jitCode = "";
24989
25252
 
25253
+ /**
25254
+ * Table incrementalStrategy.
25255
+ * @member {sqlanvil.IncrementalStrategy} incrementalStrategy
25256
+ * @memberof sqlanvil.Table
25257
+ * @instance
25258
+ */
25259
+ Table.prototype.incrementalStrategy = 0;
25260
+
24990
25261
  /**
24991
25262
  * Table bigquery.
24992
25263
  * @member {sqlanvil.IBigQueryOptions|null|undefined} bigquery
@@ -25114,6 +25385,8 @@ const sqlanvil = $root.sqlanvil = (() => {
25114
25385
  $root.sqlanvil.SupabaseOptions.encode(message.supabase, writer.uint32(/* id 40, wireType 2 =*/322).fork(), q + 1).ldelim();
25115
25386
  if (message.mysql != null && Object.hasOwnProperty.call(message, "mysql"))
25116
25387
  $root.sqlanvil.MysqlOptions.encode(message.mysql, writer.uint32(/* id 41, wireType 2 =*/330).fork(), q + 1).ldelim();
25388
+ if (message.incrementalStrategy != null && Object.hasOwnProperty.call(message, "incrementalStrategy"))
25389
+ writer.uint32(/* id 42, wireType 0 =*/336).int32(message.incrementalStrategy);
25117
25390
  return writer;
25118
25391
  };
25119
25392
 
@@ -25252,6 +25525,10 @@ const sqlanvil = $root.sqlanvil = (() => {
25252
25525
  message.jitCode = reader.string();
25253
25526
  break;
25254
25527
  }
25528
+ case 42: {
25529
+ message.incrementalStrategy = reader.int32();
25530
+ break;
25531
+ }
25255
25532
  case 22: {
25256
25533
  message.bigquery = $root.sqlanvil.BigQueryOptions.decode(reader, reader.uint32(), undefined, long + 1);
25257
25534
  break;
@@ -25430,6 +25707,15 @@ const sqlanvil = $root.sqlanvil = (() => {
25430
25707
  if (message.jitCode != null && Object.hasOwnProperty.call(message, "jitCode"))
25431
25708
  if (!$util.isString(message.jitCode))
25432
25709
  return "jitCode: string expected";
25710
+ if (message.incrementalStrategy != null && Object.hasOwnProperty.call(message, "incrementalStrategy"))
25711
+ switch (message.incrementalStrategy) {
25712
+ default:
25713
+ return "incrementalStrategy: enum value expected";
25714
+ case 0:
25715
+ case 1:
25716
+ case 2:
25717
+ break;
25718
+ }
25433
25719
  if (message.bigquery != null && Object.hasOwnProperty.call(message, "bigquery")) {
25434
25720
  let error = $root.sqlanvil.BigQueryOptions.verify(message.bigquery, long + 1);
25435
25721
  if (error)
@@ -25625,6 +25911,26 @@ const sqlanvil = $root.sqlanvil = (() => {
25625
25911
  }
25626
25912
  if (object.jitCode != null)
25627
25913
  message.jitCode = String(object.jitCode);
25914
+ switch (object.incrementalStrategy) {
25915
+ default:
25916
+ if (typeof object.incrementalStrategy === "number") {
25917
+ message.incrementalStrategy = object.incrementalStrategy;
25918
+ break;
25919
+ }
25920
+ break;
25921
+ case "INCREMENTAL_STRATEGY_UNSPECIFIED":
25922
+ case 0:
25923
+ message.incrementalStrategy = 0;
25924
+ break;
25925
+ case "MERGE":
25926
+ case 1:
25927
+ message.incrementalStrategy = 1;
25928
+ break;
25929
+ case "INSERT_OVERWRITE":
25930
+ case 2:
25931
+ message.incrementalStrategy = 2;
25932
+ break;
25933
+ }
25628
25934
  if (object.bigquery != null) {
25629
25935
  if (!$util.isObject(object.bigquery))
25630
25936
  throw TypeError(".sqlanvil.Table.bigquery: object expected");
@@ -25696,6 +26002,7 @@ const sqlanvil = $root.sqlanvil = (() => {
25696
26002
  object.postgres = null;
25697
26003
  object.supabase = null;
25698
26004
  object.mysql = null;
26005
+ object.incrementalStrategy = options.enums === String ? "INCREMENTAL_STRATEGY_UNSPECIFIED" : 0;
25699
26006
  }
25700
26007
  if (message.type != null && Object.hasOwnProperty.call(message, "type"))
25701
26008
  object.type = message.type;
@@ -25770,6 +26077,8 @@ const sqlanvil = $root.sqlanvil = (() => {
25770
26077
  object.supabase = $root.sqlanvil.SupabaseOptions.toObject(message.supabase, options, q + 1);
25771
26078
  if (message.mysql != null && Object.hasOwnProperty.call(message, "mysql"))
25772
26079
  object.mysql = $root.sqlanvil.MysqlOptions.toObject(message.mysql, options, q + 1);
26080
+ if (message.incrementalStrategy != null && Object.hasOwnProperty.call(message, "incrementalStrategy"))
26081
+ object.incrementalStrategy = options.enums === String ? $root.sqlanvil.IncrementalStrategy[message.incrementalStrategy] === undefined ? message.incrementalStrategy : $root.sqlanvil.IncrementalStrategy[message.incrementalStrategy] : message.incrementalStrategy;
25773
26082
  return object;
25774
26083
  };
25775
26084
 
@@ -37781,6 +38090,7 @@ const sqlanvil = $root.sqlanvil = (() => {
37781
38090
  * @property {boolean|null} [includeDependents] RunConfig includeDependents
37782
38091
  * @property {boolean|null} [fullRefresh] RunConfig fullRefresh
37783
38092
  * @property {number|null} [timeoutMillis] RunConfig timeoutMillis
38093
+ * @property {number|null} [jitTimeoutMillis] RunConfig jitTimeoutMillis
37784
38094
  * @property {boolean|null} [disableSetMetadata] RunConfig disableSetMetadata
37785
38095
  * @property {boolean|null} [useRunCache] RunConfig useRunCache
37786
38096
  */
@@ -37850,6 +38160,14 @@ const sqlanvil = $root.sqlanvil = (() => {
37850
38160
  */
37851
38161
  RunConfig.prototype.timeoutMillis = 0;
37852
38162
 
38163
+ /**
38164
+ * RunConfig jitTimeoutMillis.
38165
+ * @member {number} jitTimeoutMillis
38166
+ * @memberof sqlanvil.RunConfig
38167
+ * @instance
38168
+ */
38169
+ RunConfig.prototype.jitTimeoutMillis = 0;
38170
+
37853
38171
  /**
37854
38172
  * RunConfig disableSetMetadata.
37855
38173
  * @member {boolean} disableSetMetadata
@@ -37910,6 +38228,8 @@ const sqlanvil = $root.sqlanvil = (() => {
37910
38228
  writer.uint32(/* id 8, wireType 0 =*/64).bool(message.useRunCache);
37911
38229
  if (message.disableSetMetadata != null && Object.hasOwnProperty.call(message, "disableSetMetadata"))
37912
38230
  writer.uint32(/* id 9, wireType 0 =*/72).bool(message.disableSetMetadata);
38231
+ if (message.jitTimeoutMillis != null && Object.hasOwnProperty.call(message, "jitTimeoutMillis"))
38232
+ writer.uint32(/* id 10, wireType 0 =*/80).int32(message.jitTimeoutMillis);
37913
38233
  if (message.includeDependents != null && Object.hasOwnProperty.call(message, "includeDependents"))
37914
38234
  writer.uint32(/* id 11, wireType 0 =*/88).bool(message.includeDependents);
37915
38235
  return writer;
@@ -37980,6 +38300,10 @@ const sqlanvil = $root.sqlanvil = (() => {
37980
38300
  message.timeoutMillis = reader.int32();
37981
38301
  break;
37982
38302
  }
38303
+ case 10: {
38304
+ message.jitTimeoutMillis = reader.int32();
38305
+ break;
38306
+ }
37983
38307
  case 9: {
37984
38308
  message.disableSetMetadata = reader.bool();
37985
38309
  break;
@@ -38053,6 +38377,9 @@ const sqlanvil = $root.sqlanvil = (() => {
38053
38377
  if (message.timeoutMillis != null && Object.hasOwnProperty.call(message, "timeoutMillis"))
38054
38378
  if (!$util.isInteger(message.timeoutMillis))
38055
38379
  return "timeoutMillis: integer expected";
38380
+ if (message.jitTimeoutMillis != null && Object.hasOwnProperty.call(message, "jitTimeoutMillis"))
38381
+ if (!$util.isInteger(message.jitTimeoutMillis))
38382
+ return "jitTimeoutMillis: integer expected";
38056
38383
  if (message.disableSetMetadata != null && Object.hasOwnProperty.call(message, "disableSetMetadata"))
38057
38384
  if (typeof message.disableSetMetadata !== "boolean")
38058
38385
  return "disableSetMetadata: boolean expected";
@@ -38102,6 +38429,8 @@ const sqlanvil = $root.sqlanvil = (() => {
38102
38429
  message.fullRefresh = Boolean(object.fullRefresh);
38103
38430
  if (object.timeoutMillis != null)
38104
38431
  message.timeoutMillis = object.timeoutMillis | 0;
38432
+ if (object.jitTimeoutMillis != null)
38433
+ message.jitTimeoutMillis = object.jitTimeoutMillis | 0;
38105
38434
  if (object.disableSetMetadata != null)
38106
38435
  message.disableSetMetadata = Boolean(object.disableSetMetadata);
38107
38436
  if (object.useRunCache != null)
@@ -38136,6 +38465,7 @@ const sqlanvil = $root.sqlanvil = (() => {
38136
38465
  object.timeoutMillis = 0;
38137
38466
  object.useRunCache = false;
38138
38467
  object.disableSetMetadata = false;
38468
+ object.jitTimeoutMillis = 0;
38139
38469
  object.includeDependents = false;
38140
38470
  }
38141
38471
  if (message.actions && message.actions.length) {
@@ -38158,6 +38488,8 @@ const sqlanvil = $root.sqlanvil = (() => {
38158
38488
  object.useRunCache = message.useRunCache;
38159
38489
  if (message.disableSetMetadata != null && Object.hasOwnProperty.call(message, "disableSetMetadata"))
38160
38490
  object.disableSetMetadata = message.disableSetMetadata;
38491
+ if (message.jitTimeoutMillis != null && Object.hasOwnProperty.call(message, "jitTimeoutMillis"))
38492
+ object.jitTimeoutMillis = message.jitTimeoutMillis;
38161
38493
  if (message.includeDependents != null && Object.hasOwnProperty.call(message, "includeDependents"))
38162
38494
  object.includeDependents = message.includeDependents;
38163
38495
  return object;
@@ -42296,6 +42628,7 @@ const sqlanvil = $root.sqlanvil = (() => {
42296
42628
  * @property {string|null} [errorMessage] TaskResult errorMessage
42297
42629
  * @property {sqlanvil.ITiming|null} [timing] TaskResult timing
42298
42630
  * @property {sqlanvil.IExecutionMetadata|null} [metadata] TaskResult metadata
42631
+ * @property {string|null} [compiledSql] TaskResult compiledSql
42299
42632
  */
42300
42633
 
42301
42634
  /**
@@ -42345,6 +42678,14 @@ const sqlanvil = $root.sqlanvil = (() => {
42345
42678
  */
42346
42679
  TaskResult.prototype.metadata = null;
42347
42680
 
42681
+ /**
42682
+ * TaskResult compiledSql.
42683
+ * @member {string} compiledSql
42684
+ * @memberof sqlanvil.TaskResult
42685
+ * @instance
42686
+ */
42687
+ TaskResult.prototype.compiledSql = "";
42688
+
42348
42689
  /**
42349
42690
  * Creates a new TaskResult instance using the specified properties.
42350
42691
  * @function create
@@ -42381,6 +42722,8 @@ const sqlanvil = $root.sqlanvil = (() => {
42381
42722
  $root.sqlanvil.Timing.encode(message.timing, writer.uint32(/* id 3, wireType 2 =*/26).fork(), q + 1).ldelim();
42382
42723
  if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
42383
42724
  $root.sqlanvil.ExecutionMetadata.encode(message.metadata, writer.uint32(/* id 4, wireType 2 =*/34).fork(), q + 1).ldelim();
42725
+ if (message.compiledSql != null && Object.hasOwnProperty.call(message, "compiledSql"))
42726
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.compiledSql);
42384
42727
  return writer;
42385
42728
  };
42386
42729
 
@@ -42437,6 +42780,10 @@ const sqlanvil = $root.sqlanvil = (() => {
42437
42780
  message.metadata = $root.sqlanvil.ExecutionMetadata.decode(reader, reader.uint32(), undefined, long + 1);
42438
42781
  break;
42439
42782
  }
42783
+ case 5: {
42784
+ message.compiledSql = reader.string();
42785
+ break;
42786
+ }
42440
42787
  default:
42441
42788
  reader.skipType(tag & 7, long);
42442
42789
  break;
@@ -42501,6 +42848,9 @@ const sqlanvil = $root.sqlanvil = (() => {
42501
42848
  if (error)
42502
42849
  return "metadata." + error;
42503
42850
  }
42851
+ if (message.compiledSql != null && Object.hasOwnProperty.call(message, "compiledSql"))
42852
+ if (!$util.isString(message.compiledSql))
42853
+ return "compiledSql: string expected";
42504
42854
  return null;
42505
42855
  };
42506
42856
 
@@ -42566,6 +42916,8 @@ const sqlanvil = $root.sqlanvil = (() => {
42566
42916
  throw TypeError(".sqlanvil.TaskResult.metadata: object expected");
42567
42917
  message.metadata = $root.sqlanvil.ExecutionMetadata.fromObject(object.metadata, long + 1);
42568
42918
  }
42919
+ if (object.compiledSql != null)
42920
+ message.compiledSql = String(object.compiledSql);
42569
42921
  return message;
42570
42922
  };
42571
42923
 
@@ -42591,6 +42943,7 @@ const sqlanvil = $root.sqlanvil = (() => {
42591
42943
  object.errorMessage = "";
42592
42944
  object.timing = null;
42593
42945
  object.metadata = null;
42946
+ object.compiledSql = "";
42594
42947
  }
42595
42948
  if (message.status != null && Object.hasOwnProperty.call(message, "status"))
42596
42949
  object.status = options.enums === String ? $root.sqlanvil.TaskResult.ExecutionStatus[message.status] === undefined ? message.status : $root.sqlanvil.TaskResult.ExecutionStatus[message.status] : message.status;
@@ -42600,6 +42953,8 @@ const sqlanvil = $root.sqlanvil = (() => {
42600
42953
  object.timing = $root.sqlanvil.Timing.toObject(message.timing, options, q + 1);
42601
42954
  if (message.metadata != null && Object.hasOwnProperty.call(message, "metadata"))
42602
42955
  object.metadata = $root.sqlanvil.ExecutionMetadata.toObject(message.metadata, options, q + 1);
42956
+ if (message.compiledSql != null && Object.hasOwnProperty.call(message, "compiledSql"))
42957
+ object.compiledSql = message.compiledSql;
42603
42958
  return object;
42604
42959
  };
42605
42960