mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Add support for TABLESAMPLE (#1580)
This commit is contained in:
parent
7bc6ddb8fb
commit
316bb14135
20 changed files with 546 additions and 458 deletions
|
@ -185,16 +185,7 @@ fn test_values_clause() {
|
|||
"SELECT * FROM values",
|
||||
));
|
||||
assert_eq!(
|
||||
Some(&TableFactor::Table {
|
||||
name: ObjectName(vec![Ident::new("values")]),
|
||||
alias: None,
|
||||
args: None,
|
||||
with_hints: vec![],
|
||||
version: None,
|
||||
partitions: vec![],
|
||||
with_ordinality: false,
|
||||
json_path: None,
|
||||
}),
|
||||
Some(&table_from_name(ObjectName(vec![Ident::new("values")]))),
|
||||
query
|
||||
.body
|
||||
.as_select()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue