From 828b4d2a87af920fd87e08e631032cee423d0e7a Mon Sep 17 00:00:00 2001 From: Tomoyuki Morita Date: Thu, 19 Sep 2024 14:07:03 -0700 Subject: [PATCH] Disable auto download Signed-off-by: Tomoyuki Morita --- async-query-core/README.md | 1 + async-query-core/build.gradle | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/async-query-core/README.md b/async-query-core/README.md index 1910e19063..08301c024d 100644 --- a/async-query-core/README.md +++ b/async-query-core/README.md @@ -39,3 +39,4 @@ To update the grammar files, update `build.gradle` file (in `downloadG4Files` ta ``` ./gradlew async-query-core:downloadG4Files ``` +This will overwrite the files under `src/main/antlr`. \ No newline at end of file diff --git a/async-query-core/build.gradle b/async-query-core/build.gradle index 6a507a4a9e..bc5fcd4b24 100644 --- a/async-query-core/build.gradle +++ b/async-query-core/build.gradle @@ -21,7 +21,7 @@ tasks.register('downloadG4Files', Exec) { executable 'curl' - def opensearchSparkBranch = "0.6" + def opensearchSparkBranch = "0.5" def apacheSparkVersionTag = "v3.5.1" args '-o', 'src/main/antlr/FlintSparkSqlExtensions.g4', "https://raw.githubusercontent.com/opensearch-project/opensearch-spark/${opensearchSparkBranch}/flint-spark-integration/src/main/antlr4/FlintSparkSqlExtensions.g4" args '-o', 'src/main/antlr/SparkSqlBase.g4', "https://raw.githubusercontent.com/opensearch-project/opensearch-spark/${opensearchSparkBranch}/flint-spark-integration/src/main/antlr4/SparkSqlBase.g4"