Skip to content

Commit 36e29ed

Browse files
committed
fix: the align in range query must exist
1 parent e98e6b3 commit 36e29ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10413,7 +10413,7 @@ impl<'a> Parser<'a> {
1041310413
fill = Some(self.next_token().to_string());
1041410414
}
1041510415
}
10416-
if align.is_none() && fill.is_some() {
10416+
if align.is_none() {
1041710417
return Err(ParserError::ParserError(
1041810418
"ALIGN argument cannot be omitted in the range select query".into(),
1041910419
));

0 commit comments

Comments
 (0)