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.

태그

database, delete, insert, jdbc, openflow, sql, update

입력 요구 사항

REQUIRED

민감한 동적 속성 지원

false

속성

속성

설명

연결 풀링 서비스

데이터베이스에 대한 연결을 얻는 데 사용되는 연결 풀링 서비스입니다

Max Batch Size

단일 배치에서 처리할 수 있는 최대 FlowFiles 개수

Max Content Reference Size

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.

관계

이름

설명

실패

SQL 문을 실행할 수 없습니다

성공

SQL 문이 성공적으로 실행되었습니다