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:05:00 UTC
[jira] [Updated] (ARROW-8829) [Rust] Implement SQL parser
[ https://issues.apache.org/jira/browse/ARROW-8829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Grove updated ARROW-8829:
------------------------------
Description:
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
* Scalar functions
* Aggregate functions
was:
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
> [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
> Priority: Major
> 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
> * Scalar functions
> * Aggregate functions
--
This message was sent by Atlassian Jira
(v8.3.4#803005)