Struct vegafusion_sql::dialect::Dialect
source · pub struct Dialect {Show 20 fields
pub quote_style: char,
pub binary_ops: HashSet<Operator>,
pub binary_op_transforms: HashMap<Operator, Arc<dyn BinaryOperatorTransformer>>,
pub scalar_functions: HashSet<String>,
pub aggregate_functions: HashSet<String>,
pub window_functions: HashSet<String>,
pub scalar_transformers: HashMap<String, Arc<dyn FunctionTransformer>>,
pub aggregate_transformers: HashMap<String, Arc<dyn FunctionTransformer>>,
pub values_mode: ValuesMode,
pub supports_null_ordering: bool,
pub impute_fully_qualified: bool,
pub joinaggregate_fully_qualified: bool,
pub supports_bounded_window_frames: bool,
pub supports_window_frame_groups: bool,
pub supports_frames_in_navigation_window_functions: bool,
pub supports_frames_in_numbering_window_functions: bool,
pub cast_datatypes: HashMap<DataType, SqlDataType>,
pub cast_transformers: HashMap<(DataType, DataType), Arc<dyn CastTransformer>>,
pub cast_propagates_null: bool,
pub supports_non_finite_floats: bool,
/* private fields */
}Fields§
§quote_style: charThe starting quote if any. Valid quote characters are the single quote, double quote, backtick, and opening square bracket.
binary_ops: HashSet<Operator>Supported binary operators
binary_op_transforms: HashMap<Operator, Arc<dyn BinaryOperatorTransformer>>Transforms for binary operators
scalar_functions: HashSet<String>Names of supported scalar functions that match the semantics of the DataFusion implementation
aggregate_functions: HashSet<String>Names of supported aggregate functions that match the semantics of the DataFusion implementation
window_functions: HashSet<String>Names of supported window functions that match the semantics of the DataFusion implementation
scalar_transformers: HashMap<String, Arc<dyn FunctionTransformer>>Scalar function transformations
aggregate_transformers: HashMap<String, Arc<dyn FunctionTransformer>>Aggregate function transformations
values_mode: ValuesModeImplementation mode for inline VALUES
supports_null_ordering: boolWhether NULLS FIRST, NULLS LAST is supported in ORDER BY
impute_fully_qualified: boolWhether to use fully qualified table.column expressions when referencing nested queries in impute queries
joinaggregate_fully_qualified: boolWhether to use fully qualified table.column expressions when referencing nested queries in joinaggregate queries
supports_bounded_window_frames: boolWhether dialect supports the use of bounded window frames
supports_window_frame_groups: boolWhether dialect supports the GROUPS option to window frames
Whether dialect supports the use of explicit window frames for navigation window functions (first_value, last_value, nth_value)
supports_frames_in_numbering_window_functions: boolWhether dialect supports the use of explicit window frames for numbering window functions (row_number, rank, etc)
cast_datatypes: HashMap<DataType, SqlDataType>Mapping from Arrow DataTypes to SqlParser DataTypes for dialect
cast_transformers: HashMap<(DataType, DataType), Arc<dyn CastTransformer>>Cast expression transformations between particular data types
cast_propagates_null: boolWhether dialect supports null values in cast expressions
supports_non_finite_floats: boolWhether dialect supports -inf, nan, and inf float values. If false, non-finite values are converted to NULL