You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Andy Grove (Jira)" <ji...@apache.org> on 2020/05/16 19:04:00 UTC

[jira] [Created] (ARROW-8829) [Rust] Implement SQL parser

Andy Grove created ARROW-8829:
---------------------------------

             Summary: [Rust] Implement SQL parser
                 Key: ARROW-8829
                 URL: https://issues.apache.org/jira/browse/ARROW-8829
             Project: Apache Arrow
          Issue Type: Sub-task
          Components: Rust, Rust - DataFusion
            Reporter: Andy Grove
            Assignee: Andy Grove
             Fix For: 1.0.0


Implement SQL parser that can take a Vec<SQLToken> and produce a SQL AST.

We can potentially break this down into separate JIRAs.

It needs to support:
 * Single table SELECT ... FROM
 * WHERE
 * GROUP BY
 * ORDER BY
 * LIMIT

It needs to support the following expressions:
 * Literals (long, string, double)
 * Identifiers
 * Binary expressions
 ** Arithmetic (+, -, *, /, %)
 ** Boolean (AND, OR)
 ** Comparison (=, !=, <, <=, >, >=, <>)
 * Unary boolean expression: NOT
 * CAST(expr AS type)
 * Aliased expressions: expr AS alias



--
This message was sent by Atlassian Jira
(v8.3.4#803005)