You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by lu...@apache.org on 2026/10/05 14:34:51 UTC
(datafusion-sqlparser-rs) branch upstream/sqlite-postfix-colon updated: SQLite: Trim test comments for colon-traversal rejection
This is an automated email from the ASF dual-hosted git repository.
LucaCappelletti94 pushed a commit to branch upstream/sqlite-postfix-colon
in repository https://gitbox.apache.org/repos/asf/datafusion-sqlparser-rs.git
The following commit(s) were added to refs/heads/upstream/sqlite-postfix-colon by this push:
new 4c16affc SQLite: Trim test comments for colon-traversal rejection
4c16affc is described below
commit 4c16affc30938ecc9ff577b18546d04b9cdea105
Author: LucaCappelletti94 <ca...@gmail.com>
AuthorDate: Mon Oct 5 16:34:44 2026 +0200
SQLite: Trim test comments for colon-traversal rejection
---
tests/sqlparser_sqlite.rs | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/sqlparser_sqlite.rs b/tests/sqlparser_sqlite.rs
index 2ed39bfc..9c332c36 100644
--- a/tests/sqlparser_sqlite.rs
+++ b/tests/sqlparser_sqlite.rs
@@ -1030,7 +1030,6 @@ fn parse_colon_does_not_start_json_access() {
assert!(sqlite().parse_sql_statements("SELECT c:se").is_err());
assert!(sqlite().parse_sql_statements("SELECT a:b FROM t").is_err());
- // Named parameters are unaffected, `:` still starts a placeholder.
let ast = sqlite().verified_only_select("SELECT :xxx");
assert_eq!(
ast.projection[0],
@@ -1039,7 +1038,6 @@ fn parse_colon_does_not_start_json_access() {
)),
);
- // Other dialects keep the `:` traversal operator.
assert!(TestedDialects::new(vec![Box::new(GenericDialect {})])
.parse_sql_statements("SELECT a:b FROM t")
.is_ok());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org