sql-machine-learning / sqlflow

Brings SQL and AI together.
https://sqlflow.org
Apache License 2.0
5.09k stars 698 forks source link

Experiment on Using Third Party Parser to Parse SQL Program #1065

Closed tonyyang-svail closed 4 years ago

tonyyang-svail commented 4 years ago

This issue is used to bookkeep the progress of the experiment.

Motivation: #998 and #1045 Design: https://github.com/sql-machine-learning/sqlflow/blob/develop/parser/README.md

The experiment want to prove: by changing TRAIN to TO TRAIN, leveraging the third party parser can

  1. Splitting the SQL program into multiple SQL statements.
  2. Splitting the standard SQL and the extended SQL.

Current progress:

  1. TiDB parser: https://github.com/sql-machine-learning/sqlflow/pull/1046
  2. HiveQL parser: TBD
  3. Calcite parser: TBD
typhoonzero commented 4 years ago

We already have third-party parsers to implement "collaborative parsing".