You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2021/01/11 11:24:43 UTC

[arrow] branch master updated: ARROW-11165: [Rust][DataFusion] Document Postgres as standard SQL dialect

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

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 3be7592  ARROW-11165: [Rust][DataFusion] Document Postgres as standard SQL dialect
3be7592 is described below

commit 3be759251b5e2bacc18f1617c5118ae6e2218f68
Author: Andrew Lamb <an...@nerdnetworks.org>
AuthorDate: Mon Jan 11 06:23:18 2021 -0500

    ARROW-11165: [Rust][DataFusion] Document Postgres as standard SQL dialect
    
    PROPOSAL Document postgres as the target SQL / function dialect and rationale for this choice. I will also send an email to the dev mailing list soliciting feedback
    
    There are several comments and more discussion on https://github.com/apache/arrow/pull/9108
    
    Closes #9127 from alamb/alamb/ARROW-11165-dialect
    
    Authored-by: Andrew Lamb <an...@nerdnetworks.org>
    Signed-off-by: Andrew Lamb <an...@nerdnetworks.org>
---
 rust/datafusion/README.md | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/rust/datafusion/README.md b/rust/datafusion/README.md
index c868825..7229dd5 100644
--- a/rust/datafusion/README.md
+++ b/rust/datafusion/README.md
@@ -91,6 +91,13 @@ This library currently supports the following SQL constructs:
 * `GROUP BY` together with one of the following aggregations: `MIN`, `MAX`, `COUNT`, `SUM`, `AVG`
 * `ORDER BY` together with an expression and optional `ASC` or `DESC` and also optional `NULLS FIRST` or `NULLS LAST`
 
+## Supported Functions
+
+DataFusion strives to implement a subset of the [PostgreSQL SQL dialect](https://www.postgresql.org/docs/current/functions.html) where possible. We explicitly choose a single dialect to maximize interoperability with other tools and allow reuse of the PostgreSQL documents and tutorials as much as possible.
+
+Currently, only a subset of the PosgreSQL dialect is implemented, and we will document any deviations.
+
+
 ## Supported Data Types
 
 DataFusion uses Arrow, and thus the Arrow type system, for query