Update inline and catalog UDF docs #24496
Merged
+100
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I first tested catalog UDF with Python in the Trino CLI .. and that didnt work. So I completed the initial linked PR without the example that I am now adding here.
The thing I discovered is that it all works in DBeaver with the JDBC driver, so there must be some parsing issue in the CLI. Let me know if you want me to file a separate issue @electrum
Basically if I enter the query in the CLI to create the function .. I cant press enter to run it .. it just keeps adding empty lines
So I think we ideally should fix the CLI before the release or before we merge this PR.
Update.. I tested with an old CLI .. will verify with 468-snapshot version.
Further update @electrum - it works fine with CLI from 468 .. so.. do we need to document that somewhere ..
Additional context and related issues
#24441
Release notes
(x) This is not user-visible or is docs only, and no release notes are required.