This commit is contained in:
John Vandenberg 2025-03-31 21:47:53 +11:00 committed by GitHub
parent be98b30eb3
commit 95d7b86da5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -310,7 +310,7 @@ impl Dialect for SnowflakeDialect {
}
// `FETCH` can be considered an alias as long as it's not followed by `FIRST`` or `NEXT`
// which would give it a different meanins, for example: `SELECT 1 FETCH FIRST 10 ROWS` - not an alias
// which would give it a different meanings, for example: `SELECT 1 FETCH FIRST 10 ROWS` - not an alias
Keyword::FETCH
if parser.peek_keyword(Keyword::FIRST) || parser.peek_keyword(Keyword::NEXT) =>
{

View file

@ -1084,7 +1084,7 @@ pub const RESERVED_FOR_COLUMN_ALIAS: &[Keyword] = &[
Keyword::END,
];
// Global list of reserved keywords alloweed after FROM.
// Global list of reserved keywords allowed after FROM.
// Parser should call Dialect::get_reserved_keyword_after_from
// to allow for each dialect to customize the list.
pub const RESERVED_FOR_TABLE_FACTOR: &[Keyword] = &[

View file

@ -14528,7 +14528,7 @@ fn test_geometric_unary_operators() {
}
#[test]
fn test_geomtery_type() {
fn test_geometry_type() {
let sql = "point '1,2'";
assert_eq!(
all_dialects_where(|d| d.supports_geometric_types()).verified_expr(sql),