-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] Document null
/edge case handling for SQL functions
#74193
Comments
Pinging @elastic/es-ql (Team:QL) |
Pinging @elastic/es-docs (Team:Docs) |
Similar to #68531. We should also check the way we document other edge case for args (e.g. a negative integer for string functions), to have a consistency across all functions, e.g. should it be marked with |
Thanks @matriv. IMO it's more concise to provide this in the description of the arg. You avoid having to restate the arg name. I can work on making this consistent as part of my changes. |
Yep, It's fine to have it there, I added this extra check for those cases, because back then I remember there were a few inconsistencies as well (apart from the null handling). |
null
handling for SQL functionsnull
/edge case handling for SQL functions
We don't consistently document how our SQL functions handle
null
values and other edge cases (such as negative integers in string function args). We should update the docs for each function so users know what to expect.Due to the number of functions, we'll likely need to break this up over several PRs. We should prioritize string functions so we can document the changes in #68379
null
handling for functions #74444null
handling for functions #74444null
handling for functions #74444Full-Text Search Functions(already done)null
handling for functions #74444null
handing for string functions #74201, [DOCS] SQL: Move string fn null/edge handling to arg descriptions #74255null
handling for functions #74444null
handling for functions #74444Conditional Functions And Expressions(already done)System Functions(already done)CC @astefan
The text was updated successfully, but these errors were encountered: