Allowing event logging in TMUDF and scalar UDF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Confirmed
|
Wishlist
|
Hans Zeller |
Bug Description
TMUDF (and scalar UDF if possible) should have a mechanism that allows the user implementing the TMUDF (or scalar UDF) to enter event log entries into the same event logging infrastructure that SQL uses. This allows the user to read the user-defined events through the same log TMUDF that will be used to access the rest of the SQL event log. This will greatly help debugging TMUDF (or scalar UDF) in a multi-node environment. It also consolidates the logging mechanism and opens up a channel to allow user-defined diagnosis information in UDF, much the same way like the rest of the SQL components.
After discussion with the TMUDF architect, we agree to enter this Wishlist item for considering such future enhancement.
Hope to add this to the C++ interface that is used at compile time right now, and should be extended to runtime.