mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-11 06:22:04 +00:00
Snowflake: support for object constants (#1223)
This commit is contained in:
parent
2490034948
commit
deaa6d8151
6 changed files with 81 additions and 1 deletions
|
@ -170,6 +170,11 @@ pub trait Dialect: Debug + Any {
|
|||
fn supports_named_fn_args_with_eq_operator(&self) -> bool {
|
||||
false
|
||||
}
|
||||
/// Returns true if the dialect supports defining structs or objects using a
|
||||
/// syntax like `{'x': 1, 'y': 2, 'z': 3}`.
|
||||
fn supports_dictionary_syntax(&self) -> bool {
|
||||
false
|
||||
}
|
||||
/// Returns true if the dialect has a CONVERT function which accepts a type first
|
||||
/// and an expression second, e.g. `CONVERT(varchar, 1)`
|
||||
fn convert_type_before_value(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue