cdap icon indicating copy to clipboard operation
cdap copied to clipboard

Add a Calcite-based implementation for conversion of SQL statements from one SQL dialect to another

Open DJSagarAhire opened this issue 3 years ago • 0 comments

This change does the following:

  • Creates an expression factory for compiling SQL expressions in one SQL dialect to another
  • Adds an interface for conversion from one SQL dialect to another in cdap-data-pipeline-base
  • Adds an implementation for the validation and conversion using Calcite in a new module cdap-calcite which also shades its dependency on Guava 31 using maven-shade-plugin.

Note:

  • ENUM and UNION types are currently unsupported as Calcite has no support for them (as far as I could find).

DJSagarAhire avatar Jan 19 '23 08:01 DJSagarAhire