mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-10-10 05:52:13 +00:00
Add fn support_group_by_expr to Dialect trait (#896)
This commit is contained in:
parent
2b37e4ae6e
commit
2296de2bc4
5 changed files with 17 additions and 1 deletions
|
@ -113,6 +113,10 @@ pub trait Dialect: Debug + Any {
|
|||
fn supports_within_after_array_aggregation(&self) -> bool {
|
||||
false
|
||||
}
|
||||
/// Returns true if the dialects supports `group sets, roll up, or cube` expressions.
|
||||
fn supports_group_by_expr(&self) -> bool {
|
||||
false
|
||||
}
|
||||
/// Dialect-specific prefix parser override
|
||||
fn parse_prefix(&self, _parser: &mut Parser) -> Option<Result<Expr, ParserError>> {
|
||||
// return None to fall back to the default behavior
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue