iffyio commented on code in PR #2090:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/2090#discussion_r2518149292
##########
src/ast/spans.rs:
##########
@@ -2535,4 +2542,22 @@ ALTER TABLE users
assert_eq!(stmt_span.start, (2, 13).into());
assert_eq!(stmt_span.end, (4, 11).into());
}
+
+ #[test]
+ fn test_update_statement_span() {
Review Comment:
Oh I imagine for the scope of this PR, we can either assert the incomplete
span as-is in the insert statement test, or we could change the test sql to
e.g. `INSERT INTO foo SELECT ...` given the select query has implemented the
Spanned trait?
--
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]