@celigo/api-specs 0.2.355 → 0.2.356

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/import.yml CHANGED
@@ -3663,9 +3663,14 @@ components:
3663
3663
  type: boolean
3664
3664
  description: |-
3665
3665
  When true, the statement in `query` replaces the auto-generated MERGE / INSERT for the
3666
- bulk load, enabling ignore-existing logic or conditional updates. Saving it true with no
3666
+ bulk load, enabling ignore-existing logic or conditional updates. The statement reads the
3667
+ staging table as `{{{import.jdbc.bulkLoad.preMergeTemporaryTable}}}` and writes the
3668
+ destination as `{{{import.jdbc.bulkLoad.tableName}}}`; the path is `jdbc`, not `rdbms`,
3669
+ and a name outside it is not defined. Saving it true with no
3667
3670
  `query` entry fails with 422 `missing_required_field` ("jdbc bulk_load imports require a
3668
3671
  query."), on create and on update.
3672
+ x-celigo-ai-guidance:
3673
+ - Write both table placeholders with triple braces and the `import.jdbc.bulkLoad.` path. Bare `tableName` and `preMergeTemporaryTable`, and the `import.rdbms.bulkLoad.` path used by rdbms imports, are not in the JDBC template model, so the load fails. Double braces HTML-escape the value, which breaks a quoted identifier such as `"SCHEMA"."TABLE"`.
3669
3674
  aggregation:
3670
3675
  type: object
3671
3676
  description: |-
@@ -6356,7 +6361,7 @@ components:
6356
6361
  → **USE `["bulk_load"]`** with:
6357
6362
  - `bulkLoad.tableName` (required — omitting it fails the save with 422 `missing_required_field` "rdbms imports require a tableName.")
6358
6363
  - `bulkLoad.primaryKeys` for upsert/merge (auto-generates MERGE)
6359
- - `bulkLoad.overrideMergeQuery: true` for custom SQL (ignore-existing, conditional updates, multi-table ops). The override SQL goes in `query` and references `{{preMergeTemporaryTable}}` (also written `{{import.rdbms.bulkLoad.preMergeTemporaryTable}}`) for the staging table and `{{tableName}}` for the destination.
6364
+ - `bulkLoad.overrideMergeQuery: true` for custom SQL (ignore-existing, conditional updates, multi-table ops). The override SQL goes in `query` and references `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` for the staging table and `{{{import.rdbms.bulkLoad.tableName}}}` for the destination.
6360
6365
  - No `primaryKeys` for pure INSERT (auto-generates INSERT)
6361
6366
  - No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
6362
6367
  - **Amazon Redshift needs no AWS setup for bulk_load**: Celigo stages the files in Celigo-managed encrypted storage and Redshift loads them with COPY — no S3 bucket, IAM role, cluster role attachment or extra connection field. The save is accepted on either `redshift.authType` (accesskey and awsIam) and against a provisioned cluster or a Serverless workgroup alike. Never steer a Redshift import to bulk_insert for lack of setup.
@@ -6629,11 +6634,12 @@ components:
6629
6634
  type: boolean
6630
6635
  description: |-
6631
6636
  When true, a custom merge query replaces the auto-generated MERGE statement, enabling ignore-existing logic, conditional updates, or multi-table operations ("Override merge/insert statement" on the import form).
6632
- The override SQL lives in `query` and references `{{preMergeTemporaryTable}}` (also written `{{import.rdbms.bulkLoad.preMergeTemporaryTable}}`) for the staging table and `{{tableName}}` for the destination table.
6637
+ The override SQL lives in `query` and references `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` for the staging table and `{{{import.rdbms.bulkLoad.tableName}}}` for the destination table. These are the only names for them: bare `tableName` and `preMergeTemporaryTable` without the path are not defined, and the load fails.
6633
6638
  The SQL itself in this field fails the save: 422 `invalid_field` "Invalid value '<the statement>' for field 'rdbms.bulkLoad.overrideMergeQuery'. Reason: CastError."
6634
6639
  x-celigo-ai-guidance:
6635
6640
  - This is the switch, not the SQL. Set it to true and put the statement in `query` (one string); the import form shows the SQL box only while "Override merge/insert statement" is checked. With it false or absent the platform generates the INSERT / MERGE from `bulkLoad.tableName` and `bulkLoad.primaryKeys`, and `query` stays empty.
6636
- - 'The statement runs after the files are loaded into the staging table: read from `{{preMergeTemporaryTable}}` (also written `{{import.rdbms.bulkLoad.preMergeTemporaryTable}}`) and write to `{{tableName}}`; the form warns when the staging-table placeholder is missing. Use it for ignore-existing, conditional updates or multi-table work the generated MERGE cannot express — for example `INSERT INTO {{tableName}} (id, total) SELECT id, total FROM {{preMergeTemporaryTable}}`.'
6641
+ - 'The statement runs after the files are loaded into the staging table: read from `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` and write to `{{{import.rdbms.bulkLoad.tableName}}}`; the form warns when the staging-table placeholder is missing. Use it for ignore-existing, conditional updates or multi-table work the generated MERGE cannot express — for example `INSERT INTO {{{import.rdbms.bulkLoad.tableName}}} (id, total) SELECT id, total FROM {{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}`.'
6642
+ - Write both table placeholders with triple braces and the full `import.rdbms.bulkLoad.` path. Bare `tableName` and `preMergeTemporaryTable` without the path are not in the template model, so the load fails. Double braces escape the name as a quoted string literal (`'<staging table>'`), which the database rejects as a table reference.
6637
6643
  aggregation:
6638
6644
  type: object
6639
6645
  description: 'How the staged files are cut and handed to the database. The import form writes it for a new bulk-load import when the account''s `enableSizeBasedAggregation` flag is on for that database (Snowflake included — its form offers bulk_load without the flag but writes `aggregation` only with it; the Azure Synapse form writes `loadDataAsAvailable: false` for every new bulk-load import, no flag involved); the server fills `type` and `maxFileSizeInMB` when they are omitted, so `loadDataAsAvailable` is the only value to author.'
package/dist/tool.yml CHANGED
@@ -16432,9 +16432,14 @@ components:
16432
16432
  type: boolean
16433
16433
  description: |-
16434
16434
  When true, the statement in `query` replaces the auto-generated MERGE / INSERT for the
16435
- bulk load, enabling ignore-existing logic or conditional updates. Saving it true with no
16435
+ bulk load, enabling ignore-existing logic or conditional updates. The statement reads the
16436
+ staging table as `{{{import.jdbc.bulkLoad.preMergeTemporaryTable}}}` and writes the
16437
+ destination as `{{{import.jdbc.bulkLoad.tableName}}}`; the path is `jdbc`, not `rdbms`,
16438
+ and a name outside it is not defined. Saving it true with no
16436
16439
  `query` entry fails with 422 `missing_required_field` ("jdbc bulk_load imports require a
16437
16440
  query."), on create and on update.
16441
+ x-celigo-ai-guidance:
16442
+ - Write both table placeholders with triple braces and the `import.jdbc.bulkLoad.` path. Bare `tableName` and `preMergeTemporaryTable`, and the `import.rdbms.bulkLoad.` path used by rdbms imports, are not in the JDBC template model, so the load fails. Double braces HTML-escape the value, which breaks a quoted identifier such as `"SCHEMA"."TABLE"`.
16438
16443
  aggregation:
16439
16444
  type: object
16440
16445
  description: |-
@@ -18839,7 +18844,7 @@ components:
18839
18844
  → **USE `["bulk_load"]`** with:
18840
18845
  - `bulkLoad.tableName` (required — omitting it fails the save with 422 `missing_required_field` "rdbms imports require a tableName.")
18841
18846
  - `bulkLoad.primaryKeys` for upsert/merge (auto-generates MERGE)
18842
- - `bulkLoad.overrideMergeQuery: true` for custom SQL (ignore-existing, conditional updates, multi-table ops). The override SQL goes in `query` and references `{{preMergeTemporaryTable}}` (also written `{{import.rdbms.bulkLoad.preMergeTemporaryTable}}`) for the staging table and `{{tableName}}` for the destination.
18847
+ - `bulkLoad.overrideMergeQuery: true` for custom SQL (ignore-existing, conditional updates, multi-table ops). The override SQL goes in `query` and references `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` for the staging table and `{{{import.rdbms.bulkLoad.tableName}}}` for the destination.
18843
18848
  - No `primaryKeys` for pure INSERT (auto-generates INSERT)
18844
18849
  - No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
18845
18850
  - **Amazon Redshift needs no AWS setup for bulk_load**: Celigo stages the files in Celigo-managed encrypted storage and Redshift loads them with COPY — no S3 bucket, IAM role, cluster role attachment or extra connection field. The save is accepted on either `redshift.authType` (accesskey and awsIam) and against a provisioned cluster or a Serverless workgroup alike. Never steer a Redshift import to bulk_insert for lack of setup.
@@ -19112,11 +19117,12 @@ components:
19112
19117
  type: boolean
19113
19118
  description: |-
19114
19119
  When true, a custom merge query replaces the auto-generated MERGE statement, enabling ignore-existing logic, conditional updates, or multi-table operations ("Override merge/insert statement" on the import form).
19115
- The override SQL lives in `query` and references `{{preMergeTemporaryTable}}` (also written `{{import.rdbms.bulkLoad.preMergeTemporaryTable}}`) for the staging table and `{{tableName}}` for the destination table.
19120
+ The override SQL lives in `query` and references `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` for the staging table and `{{{import.rdbms.bulkLoad.tableName}}}` for the destination table. These are the only names for them: bare `tableName` and `preMergeTemporaryTable` without the path are not defined, and the load fails.
19116
19121
  The SQL itself in this field fails the save: 422 `invalid_field` "Invalid value '<the statement>' for field 'rdbms.bulkLoad.overrideMergeQuery'. Reason: CastError."
19117
19122
  x-celigo-ai-guidance:
19118
19123
  - This is the switch, not the SQL. Set it to true and put the statement in `query` (one string); the import form shows the SQL box only while "Override merge/insert statement" is checked. With it false or absent the platform generates the INSERT / MERGE from `bulkLoad.tableName` and `bulkLoad.primaryKeys`, and `query` stays empty.
19119
- - 'The statement runs after the files are loaded into the staging table: read from `{{preMergeTemporaryTable}}` (also written `{{import.rdbms.bulkLoad.preMergeTemporaryTable}}`) and write to `{{tableName}}`; the form warns when the staging-table placeholder is missing. Use it for ignore-existing, conditional updates or multi-table work the generated MERGE cannot express — for example `INSERT INTO {{tableName}} (id, total) SELECT id, total FROM {{preMergeTemporaryTable}}`.'
19124
+ - 'The statement runs after the files are loaded into the staging table: read from `{{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}` and write to `{{{import.rdbms.bulkLoad.tableName}}}`; the form warns when the staging-table placeholder is missing. Use it for ignore-existing, conditional updates or multi-table work the generated MERGE cannot express — for example `INSERT INTO {{{import.rdbms.bulkLoad.tableName}}} (id, total) SELECT id, total FROM {{{import.rdbms.bulkLoad.preMergeTemporaryTable}}}`.'
19125
+ - Write both table placeholders with triple braces and the full `import.rdbms.bulkLoad.` path. Bare `tableName` and `preMergeTemporaryTable` without the path are not in the template model, so the load fails. Double braces escape the name as a quoted string literal (`'<staging table>'`), which the database rejects as a table reference.
19120
19126
  aggregation:
19121
19127
  type: object
19122
19128
  description: 'How the staged files are cut and handed to the database. The import form writes it for a new bulk-load import when the account''s `enableSizeBasedAggregation` flag is on for that database (Snowflake included — its form offers bulk_load without the flag but writes `aggregation` only with it; the Azure Synapse form writes `loadDataAsAvailable: false` for every new bulk-load import, no flag involved); the server fills `type` and `maxFileSizeInMB` when they are omitted, so `loadDataAsAvailable` is the only value to author.'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celigo/api-specs",
3
- "version": "0.2.355",
3
+ "version": "0.2.356",
4
4
  "private": false,
5
5
  "description": "Public OpenAPI bundles (dist/) and the celigo-cli lint schema pack (schemas.json).",
6
6
  "keywords": [
package/schemas.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "provenance": {
3
3
  "repo": "celigo/integrator-api-specs",
4
- "iasCommit": "c754af60",
4
+ "iasCommit": "238fe4d3",
5
5
  "generatedAt": "2026-11-28"
6
6
  },
7
7
  "roots": {