You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My read on this is that this is a editorial mistake. ShowStatementFilter would be suitable for SHOW FUNCTION STATUS statement (MySQL-specific).
If we want to have Presto/Trino-specific SHOW FUNCTIONS, should we drop syntax that neither of them supports?
SHOW FUNCTIONS
https://github.com/sqlparser-rs/sqlparser-rs/blob/7282ce22f9f031a2c9fd5831427f01f2f0dbb978/src/ast/mod.rs#L2450-L2453
it allow syntax
however, it's also documented to match Presto's SHOW FUNCTIONS
which doesn't allow ILIKE nor WHERE (and wouldn't know how the WHERE should be applied)
https://prestodb.io/docs/current/sql/show-functions.html
worth noting that Trino's SHOW FUNCTIONS is similar, but allows additional schema filter
https://trino.io/docs/current/sql/show-functions.html
The text was updated successfully, but these errors were encountered: