You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datafusion.apache.org by gi...@apache.org on 2025/10/04 06:39:42 UTC

(datafusion-sqlparser-rs) branch main updated: [databricks] update dialect to support grouping by with modifier (#2047)

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion-sqlparser-rs.git


The following commit(s) were added to refs/heads/main by this push:
     new ade40826 [databricks] update dialect to support grouping by with modifier (#2047)
ade40826 is described below

commit ade40826563451cc14c130af9d689f4050dbdb15
Author: nick young <yo...@gmail.com>
AuthorDate: Fri Oct 3 23:35:09 2025 -0700

    [databricks] update dialect to support grouping by with modifier (#2047)
    
    Co-authored-by: Ifeanyi Ubah <if...@yahoo.com>
---
 src/dialect/databricks.rs | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/dialect/databricks.rs b/src/dialect/databricks.rs
index 4bb8c8d5..c5d5f974 100644
--- a/src/dialect/databricks.rs
+++ b/src/dialect/databricks.rs
@@ -69,4 +69,9 @@ impl Dialect for DatabricksDialect {
     fn supports_nested_comments(&self) -> bool {
         true
     }
+
+    /// See <https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-qry-select-groupby.html>
+    fn supports_group_by_with_modifier(&self) -> bool {
+        true
+    }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datafusion.apache.org
For additional commands, e-mail: commits-help@datafusion.apache.org