@celigo/api-specs 0.2.240 → 0.2.242
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 +3 -3
- package/dist/tool.yml +3 -3
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/import.yml
CHANGED
|
@@ -5649,7 +5649,7 @@ components:
|
|
|
5649
5649
|
per_page: Execute one SQL statement per page (batch) of records.
|
|
5650
5650
|
first_page: Execute the SQL statement once for the first page only, typically for setup or cleanup scripts.
|
|
5651
5651
|
bulk_load: Stage data as a file and load via database-native COPY/bulk mechanism for maximum throughput.
|
|
5652
|
-
x-celigo-ui-override: Required by the RDBMS import form (rdbms.queryType is required:true). The form defaults a new import to bulk_load wherever it offers that option — Snowflake always; Google BigQuery, Microsoft SQL Server (cloud connections only), Azure Synapse and Amazon Redshift when the account's enableSizeBasedAggregation feature flag is on for that database — and to bulk_insert otherwise. Encoded to mirror the form so builders produce connectable configurations.
|
|
5652
|
+
x-celigo-ui-override: Required by the RDBMS import form (rdbms.queryType is required:true). The form defaults a new import to bulk_load wherever it offers that option — Snowflake always; Google BigQuery, Microsoft SQL Server (cloud connections only), Azure Synapse and Amazon Redshift when the account's enableSizeBasedAggregation feature flag is on for that database (Redshift only once its updated import form has reached the account as well) — and to bulk_insert otherwise. Encoded to mirror the form so builders produce connectable configurations.
|
|
5653
5653
|
description: |-
|
|
5654
5654
|
Execution strategy for the SQL operation, which determines the required companion field: per_record, per_page, and first_page require `query`; bulk_insert requires `bulkInsert`; bulk_load requires `bulkLoad`.
|
|
5655
5655
|
Prefer the highest-performance type the operation supports: bulk_load (Snowflake, Google BigQuery, Microsoft SQL Server on a cloud connection, Azure Synapse and Amazon Redshift — handles INSERT, upsert via `bulkLoad.primaryKeys`, and custom merge or ignore-existing logic via `bulkLoad.overrideMergeQuery`), then bulk_insert for pure INSERTs, then per_page, then per_record only when the logic cannot be expressed as a batch operation.
|
|
@@ -5677,7 +5677,7 @@ components:
|
|
|
5677
5677
|
- No `primaryKeys` for pure INSERT (auto-generates INSERT)
|
|
5678
5678
|
- No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
|
|
5679
5679
|
- **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.
|
|
5680
|
-
- The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server, Synapse
|
|
5680
|
+
- The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server, Synapse; Snowflake always shows it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
|
|
5681
5681
|
|
|
5682
5682
|
**STEP 2: Database does NOT support bulk_load**
|
|
5683
5683
|
- **Pure INSERT**: → **USE `["bulk_insert"]`** (requires `bulkInsert` object)
|
|
@@ -9358,7 +9358,7 @@ components:
|
|
|
9358
9358
|
x-enumDescriptions:
|
|
9359
9359
|
all: One file per flow run — every record from the run (per export, or per request on real-time flows) in a single file
|
|
9360
9360
|
page: One file per page of records
|
|
9361
|
-
key: One file per
|
|
9361
|
+
key: One file per key (the option's label in the transfer form) — EDI file definitions only; records sharing the aggregation key derived from the file definition's document type are combined into one document
|
|
9362
9362
|
description: |-
|
|
9363
9363
|
Which batches of a run's records become separate output files. EDI file definitions
|
|
9364
9364
|
(`file.type: filedefinition`) are written per page or per key, never per run; `key`
|
package/dist/tool.yml
CHANGED
|
@@ -17749,7 +17749,7 @@ components:
|
|
|
17749
17749
|
per_page: Execute one SQL statement per page (batch) of records.
|
|
17750
17750
|
first_page: Execute the SQL statement once for the first page only, typically for setup or cleanup scripts.
|
|
17751
17751
|
bulk_load: Stage data as a file and load via database-native COPY/bulk mechanism for maximum throughput.
|
|
17752
|
-
x-celigo-ui-override: Required by the RDBMS import form (rdbms.queryType is required:true). The form defaults a new import to bulk_load wherever it offers that option — Snowflake always; Google BigQuery, Microsoft SQL Server (cloud connections only), Azure Synapse and Amazon Redshift when the account's enableSizeBasedAggregation feature flag is on for that database — and to bulk_insert otherwise. Encoded to mirror the form so builders produce connectable configurations.
|
|
17752
|
+
x-celigo-ui-override: Required by the RDBMS import form (rdbms.queryType is required:true). The form defaults a new import to bulk_load wherever it offers that option — Snowflake always; Google BigQuery, Microsoft SQL Server (cloud connections only), Azure Synapse and Amazon Redshift when the account's enableSizeBasedAggregation feature flag is on for that database (Redshift only once its updated import form has reached the account as well) — and to bulk_insert otherwise. Encoded to mirror the form so builders produce connectable configurations.
|
|
17753
17753
|
description: |-
|
|
17754
17754
|
Execution strategy for the SQL operation, which determines the required companion field: per_record, per_page, and first_page require `query`; bulk_insert requires `bulkInsert`; bulk_load requires `bulkLoad`.
|
|
17755
17755
|
Prefer the highest-performance type the operation supports: bulk_load (Snowflake, Google BigQuery, Microsoft SQL Server on a cloud connection, Azure Synapse and Amazon Redshift — handles INSERT, upsert via `bulkLoad.primaryKeys`, and custom merge or ignore-existing logic via `bulkLoad.overrideMergeQuery`), then bulk_insert for pure INSERTs, then per_page, then per_record only when the logic cannot be expressed as a batch operation.
|
|
@@ -17777,7 +17777,7 @@ components:
|
|
|
17777
17777
|
- No `primaryKeys` for pure INSERT (auto-generates INSERT)
|
|
17778
17778
|
- No `bulkInsert` beside it (the server drops a `bulkInsert` sent with bulk_load)
|
|
17779
17779
|
- **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.
|
|
17780
|
-
- The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server, Synapse
|
|
17780
|
+
- The import form shows the bulk_load option only when the account's `enableSizeBasedAggregation` feature flag is on for that database (BigQuery, SQL Server, Synapse; Snowflake always shows it). Amazon Redshift has two gates: its import form gains the option only with the form update that followed the bulk-load release — until that update reaches an account, no flag setting shows it there — and from then on the same flag gates it. The flag is the form's switch, not the API's — a Redshift bulk_load import saves on an account whose flag has no redshift entry (off, to the form) — so author it, and tell the user when the option appears on their import form: once the flag is on for the account, and on Redshift once the updated form has reached it as well. An answer that names only the flag is incomplete for Redshift. A form that does not list the option cannot show a stored bulk_load, and picking any listed query type there switches the import to that type (bulk_insert most often); today's forms keep a stored bulk_load through a plain save, while the updated Redshift form rewrites an unlisted bulk_load to bulk_insert on save — so until the option shows, a change to the import's query type goes through the API or this assistant, not the form.
|
|
17781
17781
|
|
|
17782
17782
|
**STEP 2: Database does NOT support bulk_load**
|
|
17783
17783
|
- **Pure INSERT**: → **USE `["bulk_insert"]`** (requires `bulkInsert` object)
|
|
@@ -21458,7 +21458,7 @@ components:
|
|
|
21458
21458
|
x-enumDescriptions:
|
|
21459
21459
|
all: One file per flow run — every record from the run (per export, or per request on real-time flows) in a single file
|
|
21460
21460
|
page: One file per page of records
|
|
21461
|
-
key: One file per
|
|
21461
|
+
key: One file per key (the option's label in the transfer form) — EDI file definitions only; records sharing the aggregation key derived from the file definition's document type are combined into one document
|
|
21462
21462
|
description: |-
|
|
21463
21463
|
Which batches of a run's records become separate output files. EDI file definitions
|
|
21464
21464
|
(`file.type: filedefinition`) are written per page or per key, never per run; `key`
|
package/package.json
CHANGED