Add cluster by support for replace syntax (#12524)
authorAdarsh Sanjeev <adarshsanjeev@gmail.com>
Tue, 17 May 2022 09:45:29 +0000 (15:15 +0530)
committerGitHub <noreply@github.com>
Tue, 17 May 2022 09:45:29 +0000 (15:15 +0530)
commitfcb1c0b7bfc737d76e7dd956b5f4ff49055007c7
tree3b27093179f1e33098dac77b90f39df1b9e6bf5d
parentb23ddc5939d2537a51896a5082c610bf2c2bee9e
Add cluster by support for replace syntax (#12524)

* Add cluster by support for replace syntax

* Add unit test for with list
sql/src/main/codegen/includes/common.ftl
sql/src/main/codegen/includes/insert.ftl
sql/src/main/codegen/includes/replace.ftl
sql/src/main/java/org/apache/druid/sql/calcite/parser/DruidSqlParserUtils.java
sql/src/main/java/org/apache/druid/sql/calcite/parser/DruidSqlReplace.java
sql/src/main/java/org/apache/druid/sql/calcite/planner/DruidPlanner.java
sql/src/test/java/org/apache/druid/sql/calcite/CalciteReplaceDmlTest.java
sql/src/test/java/org/apache/druid/sql/calcite/parser/DruidSqlUnparseTest.java