Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Database Query (DB Query), a processor function, helps the user request data from a database and enrich the data in your stream. The data retrieved from the database can be from multiple tables.

...

Note
titleNote!

A high value can result in an error due to memory outage. If so, the stream fails with the following error message in the log:
“Stream failed to complete due to reaching resource limits”

However, this error is received for memory issues in general and can have other causes than a high value for the maximum number of items in the cache.

...

Note
titleNote!

The Database Query function supports Variable Insertion when writing SQL statements. 

Code Block
titleExample for Interpolation
SELECT dep FROM emp WHERE id = ${id} AND name = ${name}; 


...