mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-30 10:47:22 +00:00
parent
46b7c03788
commit
e951cd5278
5 changed files with 42 additions and 2 deletions
|
@ -1623,6 +1623,11 @@ fn parse_cast() {
|
|||
expr_from_projection(only(&select.projection))
|
||||
);
|
||||
|
||||
one_statement_parses_to(
|
||||
"SELECT CAST(id AS MEDIUMINT) FROM customer",
|
||||
"SELECT CAST(id AS MEDIUMINT) FROM customer",
|
||||
);
|
||||
|
||||
one_statement_parses_to(
|
||||
"SELECT CAST(id AS BIGINT) FROM customer",
|
||||
"SELECT CAST(id AS BIGINT) FROM customer",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue