Skip to content

Commit f01301d

Browse files
committed
only parse pipe operator if dialect supports it
1 parent 6d4e722 commit f01301d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/parser/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10653,7 +10653,11 @@ impl<'a> Parser<'a> {
1065310653
None
1065410654
};
1065510655

10656-
let pipe_operators = self.parse_pipe_operators()?;
10656+
let pipe_operators = if self.dialect.supports_pipe_operator() {
10657+
self.parse_pipe_operators()?
10658+
} else {
10659+
Vec::new()
10660+
};
1065710661

1065810662
Ok(Query {
1065910663
with,

0 commit comments

Comments
 (0)