romanb commented on code in PR #1803:
URL:
https://github.com/apache/datafusion-sqlparser-rs/pull/1803#discussion_r2037467456
##########
tests/sqlparser_mysql.rs:
##########
@@ -1926,6 +1926,106 @@ fn parse_select_with_numeric_prefix_column_name() {
}
}
+#[test]
+fn parse_qualified_identifiers_with_numeric_prefix() {
+ // Case 1: Qualified column name that starts with digits.
+ mysql().verified_stmt("SELECT t.15to29 FROM my_table AS t");
+ match mysql()
+ .parse_sql_statements("SELECT t.15to29 FROM my_table AS t")
+ .unwrap()
+ .pop()
+ {
Review Comment:
Yes, that simplifies the test, I was simply ignorant of the return value.
Thanks for the 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]