mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 06:18:17 +00:00
Snowflake: support position with normal function call syntax (#1341)
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
This commit is contained in:
parent
7fdb2ec5d1
commit
c3ba2f33c6
3 changed files with 39 additions and 27 deletions
|
@ -2256,3 +2256,9 @@ fn asof_joins() {
|
|||
"ORDER BY s.observed",
|
||||
));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_parse_position() {
|
||||
snowflake().verified_query("SELECT position('an', 'banana', 1)");
|
||||
snowflake().verified_query("SELECT n, h, POSITION(n IN h) FROM pos");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue