Skip to content

Improve SQL routine description#22863

Merged
mosabua merged 1 commit intotrinodb:masterfrom
simpligility:routine
Jul 31, 2024
Merged

Improve SQL routine description#22863
mosabua merged 1 commit intotrinodb:masterfrom
simpligility:routine

Conversation

@mosabua
Copy link
Copy Markdown
Member

@mosabua mosabua commented Jul 29, 2024

Description

I hope to work against the assumption of some readers that routines can invoke other SQL statements and are more than simple functions with this addition. The Limitation section already details that but maybe this can help some more.

Additional context and related issues

There are also suggestions to say that a function operates from data from one row, but I think that is actually wrong. For example you could write a JOIN that combines multiple rows and then uses values from the different rows as input value for a function.

I was thinking about using "scalar function" .. but I am not 100% sure.. since I think it could return a JSON construct. Also .. not sure if readers necessary understand without defining it more.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

@cla-bot cla-bot bot added the cla-signed label Jul 29, 2024
@github-actions github-actions bot added the docs label Jul 29, 2024
@mosabua mosabua changed the title Improve SQL description Improve SQL routine description Jul 29, 2024
Copy link
Copy Markdown
Member

@Ordinant Ordinant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. If approved by others, I'll use this wording in the Galaxy pages.

@mosabua mosabua force-pushed the routine branch 2 times, most recently from 18f79a9 to a6b8d29 Compare July 30, 2024 19:03
@mosabua
Copy link
Copy Markdown
Member Author

mosabua commented Jul 30, 2024

@electrum did some more refinement .. I hope this is ok now.

- And overview with links to more details
@mosabua
Copy link
Copy Markdown
Member Author

mosabua commented Jul 31, 2024

Fyi @Jessie212 .. this will force a rebase on your PR probably

@mosabua mosabua merged commit 998cf5c into trinodb:master Jul 31, 2024
@mosabua mosabua deleted the routine branch July 31, 2024 05:12
@github-actions github-actions bot added this to the 454 milestone Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants