mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-30 02:44:11 +00:00
Support SHOW FUNCTIONS
(#620)
* support SHOW FUNCTIONS * Update keywords.rs * Update mod.rs * Update sqlparser_common.rs * Fix CI issues
This commit is contained in:
parent
fccae77c5e
commit
495ab59aad
4 changed files with 29 additions and 0 deletions
|
@ -5569,3 +5569,13 @@ fn parse_cursor() {
|
|||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_show_functions() {
|
||||
assert_eq!(
|
||||
verified_stmt("SHOW FUNCTIONS LIKE 'pattern'"),
|
||||
Statement::ShowFunctions {
|
||||
filter: Some(ShowStatementFilter::Like("pattern".into())),
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue