Conversation
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
|
👋 A new build is available for this PR based on 226e6b2. |
|
I think we should add some of the most important UDTF keywords. NOT DETERMINISTIC |
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
Done! I updated the screen cap above |
|
ON Common1, I did Any and all columns returned by the udtf should be referenced by name. `-- statement: -- User-defined table function |
|
Delimited column names aren't handled by the support. |
chrjorgensen
left a comment
There was a problem hiding this comment.
@SanjulaGanepola See comments by @forstie for required changes.
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
|
@forstie @chrjorgensen This PR is ready for review and testing again. |
|
CEAC had a good comment in general, that applies here. We could include DBGVIEW = *SOURCE in the Set Option statement. |
|
I think I have the vsix properly updated. udtf: select * from dogshow.account; Create this, which is wrong -- User-defined table function |
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
|
@forstie Can you try installing the version here: https://github.com/codefori/vscode-db2i/actions/runs/19973304026/artifacts/4780743820 |
|
@forstie I gave this a try again and it works fine on my end. I also had Devansh try this out and it also works for him (he has a Mac). Can you give this a try once more? @chrjorgensen Would you be able to give this a try? |
forstie
left a comment
There was a problem hiding this comment.
I added a comment with a query that doesn't generate cleanly using the new udtf: keyword.
Please take a look at it.
…lation Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
|
@forstie Thanks for the review. I ended up fixing two issues you found:
|
|
The improvements work very well, thank you. udtf: select lower('HI') from sysibm.sysdummy1; -- User-defined table function |
forstie
left a comment
There was a problem hiding this comment.
Very nice strides forward. Well done!
Comments addressed. Lets merge!


Changes
This PR adds
udtfas a new SQL prefix for generating the skeleton for a user-defined table function as requested in #458