mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-13 23:42:05 +00:00
Add support for mysql table hints (#1675)
This commit is contained in:
parent
fdbe864d0d
commit
f7b0812b01
12 changed files with 266 additions and 5 deletions
|
@ -362,6 +362,7 @@ pub fn table(name: impl Into<String>) -> TableFactor {
|
|||
with_ordinality: false,
|
||||
json_path: None,
|
||||
sample: None,
|
||||
index_hints: vec![],
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -376,6 +377,7 @@ pub fn table_from_name(name: ObjectName) -> TableFactor {
|
|||
with_ordinality: false,
|
||||
json_path: None,
|
||||
sample: None,
|
||||
index_hints: vec![],
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -393,6 +395,7 @@ pub fn table_with_alias(name: impl Into<String>, alias: impl Into<String>) -> Ta
|
|||
with_ordinality: false,
|
||||
json_path: None,
|
||||
sample: None,
|
||||
index_hints: vec![],
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue