mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-22 06:54:07 +00:00
Support SQLite column definitions with no type (#1075)
This commit is contained in:
parent
a75778c8c7
commit
a430d1a5a7
6 changed files with 51 additions and 3 deletions
|
@ -221,6 +221,11 @@ fn parse_create_table_gencol() {
|
|||
sqlite_and_generic().verified_stmt("CREATE TABLE t1 (a INT, b INT AS (a * 2) STORED)");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_create_table_untyped() {
|
||||
sqlite().verified_stmt("CREATE TABLE t1 (a, b AS (a * 2), c NOT NULL)");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_placeholder() {
|
||||
// In postgres, this would be the absolute value operator '@' applied to the column 'xxx'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue