This content has been marked as final.
Show 3 replies
-
1. Re: Providing result set warnings from UDFs?
markaddleman Jan 29, 2013 12:02 PM (in response to markaddleman)(crap, posted that too quickly)
Most of the ExecutionContext API doesn't apply to UDFs. Perhaps a new interface is needed? If the first (or last) parameter in the UDF method signature takes this new interface, Teiid would pass it in (I presume that Teiid is using typical reflection to invoke the UDF so this kind of introspection should be straightforward).
Log an issue?
-
2. Re: Providing result set warnings from UDFs?
shawkins Jan 29, 2013 12:17 PM (in response to markaddleman)Mark,
Based upon the udf signature we'll pass the CommandContext and from there you can use the addWarning method.
Steve
-
3. Re: Providing result set warnings from UDFs?
markaddleman Jan 29, 2013 12:44 PM (in response to shawkins)Perfect. It's even doc'd. I should have RTFM.