@polyglot-sql/sdk 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2614,6 +2614,17 @@ declare type CreateTable = {
2614
2614
  * ClickHouse: UUID 'xxx' clause after table name
2615
2615
  */
2616
2616
  uuid?: string | null;
2617
+ /**
2618
+ * WITH PARTITION COLUMNS (col_name col_type, ...) — currently used by BigQuery
2619
+ * for hive-partitioned external tables. Not dialect-prefixed since the syntax
2620
+ * could appear in other engines.
2621
+ */
2622
+ with_partition_columns?: Array<ColumnDef>;
2623
+ /**
2624
+ * WITH CONNECTION `project.region.connection` — currently used by BigQuery
2625
+ * for external tables that reference a Cloud Resource connection.
2626
+ */
2627
+ with_connection?: TableRef | null;
2617
2628
  };
2618
2629
 
2619
2630
  /**
@@ -9509,6 +9520,10 @@ declare type MultitableInserts = {
9509
9520
  * Leading comments before the statement
9510
9521
  */
9511
9522
  leading_comments: Array<string>;
9523
+ /**
9524
+ * OVERWRITE modifier (Snowflake: INSERT OVERWRITE ALL)
9525
+ */
9526
+ overwrite?: boolean;
9512
9527
  };
9513
9528
 
9514
9529
  /**
package/dist/index.d.ts CHANGED
@@ -2614,6 +2614,17 @@ declare type CreateTable = {
2614
2614
  * ClickHouse: UUID 'xxx' clause after table name
2615
2615
  */
2616
2616
  uuid?: string | null;
2617
+ /**
2618
+ * WITH PARTITION COLUMNS (col_name col_type, ...) — currently used by BigQuery
2619
+ * for hive-partitioned external tables. Not dialect-prefixed since the syntax
2620
+ * could appear in other engines.
2621
+ */
2622
+ with_partition_columns?: Array<ColumnDef>;
2623
+ /**
2624
+ * WITH CONNECTION `project.region.connection` — currently used by BigQuery
2625
+ * for external tables that reference a Cloud Resource connection.
2626
+ */
2627
+ with_connection?: TableRef | null;
2617
2628
  };
2618
2629
 
2619
2630
  /**
@@ -9509,6 +9520,10 @@ declare type MultitableInserts = {
9509
9520
  * Leading comments before the statement
9510
9521
  */
9511
9522
  leading_comments: Array<string>;
9523
+ /**
9524
+ * OVERWRITE modifier (Snowflake: INSERT OVERWRITE ALL)
9525
+ */
9526
+ overwrite?: boolean;
9512
9527
  };
9513
9528
 
9514
9529
  /**
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-sql/sdk",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "SQL dialect translator powered by WebAssembly",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",