Skip to content

Commit 9480074

Browse files
jayvdbayman-sigma
authored andcommitted
Fix typos (apache#1785)
1 parent d6cb766 commit 9480074

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
@@ -14531,7 +14531,7 @@ fn test_geometric_unary_operators() {
1453114531
}
1453214532

1453314533
#[test]
14534-
fn test_geomtery_type() {
14534+
fn test_geometry_type() {
1453514535
let sql = "point '1,2'";
1453614536
assert_eq!(
1453714537
all_dialects_where(|d| d.supports_geometric_types()).verified_expr(sql),

0 commit comments

Comments
 (0)