linkedin-calcite
linkedin-calcite copied to clipboard
Alias mismatch bugfix
Applied various commits from upstream to backport a fix which appends the correct alias in projected fields.
Commits for reference:
[CALCITE-3593] JDBC adapter generates incorrect HAVING clause for BigQuery (Jin Xing) https://github.com/apache/calcite/commit/3621b61ea0bca953652a2e6d1838e5a296c6a007
https://issues.apache.org/jira/browse/CALCITE-3751 https://github.com/apache/calcite/commit/3c9e156aea4a246318e1fa9ea299adfc9479e20e
https://github.com/apache/calcite/commit/76ec79728847427f27706da2c05c4e3c7ab29f95 Add ignoreClauses flag in builder and update visit(filter e) to use that in RelToSqlC & PigRelToSqlC
[CALCITE-3936] https://github.com/apache/calcite/pull/2047 https://github.com/apache/calcite/commit/8bfc3804ebcf08a9b4015be5f9b7dac92cdbe6fa
Testing: sh-3.2$ ./mvnw clean install -Dgpg.skip -Dcheckstyle.skip -f core/pom.xml [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:45 min [INFO] Finished at: 2023-02-28T05:12:23-08:00 [INFO] ------------------------------------------------------------------------