Skip to content

Commit 95d7b86

Browse files
authored
Fix typos (#1785)
1 parent be98b30 commit 95d7b86

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/dialect/snowflake.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ impl Dialect for SnowflakeDialect {
310310
}
311311

312312
// `FETCH` can be considered an alias as long as it's not followed by `FIRST`` or `NEXT`
313-
// which would give it a different meanins, for example: `SELECT 1 FETCH FIRST 10 ROWS` - not an alias
313+
// which would give it a different meanings, for example: `SELECT 1 FETCH FIRST 10 ROWS` - not an alias
314314
Keyword::FETCH
315315
if parser.peek_keyword(Keyword::FIRST) || parser.peek_keyword(Keyword::NEXT) =>
316316
{

src/keywords.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,7 @@ pub const RESERVED_FOR_COLUMN_ALIAS: &[Keyword] = &[
10841084
Keyword::END,
10851085
];
10861086

1087-
// Global list of reserved keywords alloweed after FROM.
1087+
// Global list of reserved keywords allowed after FROM.
10881088
// Parser should call Dialect::get_reserved_keyword_after_from
10891089
// to allow for each dialect to customize the list.
10901090
pub const RESERVED_FOR_TABLE_FACTOR: &[Keyword] = &[

tests/sqlparser_common.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14528,7 +14528,7 @@ fn test_geometric_unary_operators() {
1452814528
}
1452914529

1453014530
#[test]
14531-
fn test_geomtery_type() {
14531+
fn test_geometry_type() {
1453214532
let sql = "point '1,2'";
1453314533
assert_eq!(
1453414534
all_dialects_where(|d| d.supports_geometric_types()).verified_expr(sql),

0 commit comments

Comments
 (0)