Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently the SQL SELECT query used by ExecuteSQL is specified by a required processor property. This property does accept Expression Language (EL), so it is possible if the query is in the flow file contents, that an ExtractText processor could be used to put the query in an attribute, then the Select Query property in ExecuteSQL could reference the attribute using Expression Language.
However that seems like an unnecessary extra step, especially when users have data flows that generate SQL statements, or when their flow accepts files containing SQL statements.
An improvement to the ExecuteSQL processor could be to make the Select Query property not required, and if it is empty, the contents of the flow file will be used as the query value.
Attachments
Issue Links
- links to