ExecuteSQLStatement 2025.10.2.19

バンドル

com.snowflake.openflow.runtime | runtime-database-processors-nar

説明

Executes a SQL DDL or DML Statement against a database. This Processor allows Expression Language to be evaluated against FlowFile attributes in order to parameterize the SQL for each FlowFile.

タグ

データベース、削除、挿入、jdbc、オープンフロー、SQL、更新

入力要件

REQUIRED

機密動的プロパティをサポート

false

プロパティ

プロパティ

説明

接続プーリングサービス

データベースへの接続を取得するために使用される接続プーリングサービス。

最大バッチサイズ

1バッチで処理する FlowFiles の最大数。

最大コンテンツリファレンスサイズ

SQL プロパティが ${flowfile_content} をリファレンスしている場合、このプロパティは、メモリに読み込み可能な FlowFile の最大サイズを指定します。FlowFile がこの値より大きい場合、 FlowFile は失敗にルーティングされます。SQL プロパティが ${flowfile_content} をリファレンスしていない場合、この値は影響しません。

SQL

The SQL statement to execute. The SQL may make use of Expression Language to reference attributes. In this case, the Processor will rewrite the query using parameters in order to avoid SQL Injection attacks. When referencing Expression Language, the entire value must be a single Expression. For example, INSERT INTO TABLE X (name) VALUES ( '${name}') is valid, but INSERT INTO TABLE X (name) VALUES ( 'Mr. ${name}') is not because Expression Language is used within a String value. The SQL may also reference ${flowfile_content} in order to reference the content of the FlowFile as UTF-8 encoded text.

リレーションシップ

名前

説明

failure

SQL ステートメントを実行できませんでした。

success

SQL ステートメントは正常に実行されました。