iffyio commented on code in PR #2358:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2358#discussion_r3323070008
##########
src/dialect/spark.rs:
##########
@@ -116,6 +116,17 @@ impl Dialect for SparkSqlDialect {
true
}
+ /// Spark 4.0 added SQL pipe syntax (`|>`), sharing the operator set with
+ /// the Google BigQuery / Pipe-SQL paper implementations already
+ /// supported by [`BigQueryDialect`](crate::dialect::BigQueryDialect).
+ ///
Review Comment:
```suggestion
```
##########
tests/sqlparser_spark.rs:
##########
@@ -327,3 +327,12 @@ fn test_substring() {
"SELECT SUBSTRING(s, 1, 3) FROM t",
);
}
+
+// --------------------------------
+// Pipe operator (`|>`)
+// --------------------------------
Review Comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]