From d413e89009e423549027c3fd00e5115383435731 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:35:54 -0800 Subject: [PATCH] Make GrammarElement public (#3161) (#3162) (cherry picked from commit 380dd34b3c43f31b9d8eb1eed1e2541fedc80c31) Signed-off-by: Tomoyuki Morita Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../java/org/opensearch/sql/spark/validator/GrammarElement.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/async-query-core/src/main/java/org/opensearch/sql/spark/validator/GrammarElement.java b/async-query-core/src/main/java/org/opensearch/sql/spark/validator/GrammarElement.java index 217640bada..0dc0e8944b 100644 --- a/async-query-core/src/main/java/org/opensearch/sql/spark/validator/GrammarElement.java +++ b/async-query-core/src/main/java/org/opensearch/sql/spark/validator/GrammarElement.java @@ -8,7 +8,7 @@ import lombok.AllArgsConstructor; @AllArgsConstructor -enum GrammarElement { +public enum GrammarElement { ALTER_NAMESPACE("ALTER (DATABASE|TABLE|NAMESPACE)"), ALTER_VIEW("ALTER VIEW"), CREATE_NAMESPACE("CREATE (DATABASE|TABLE|NAMESPACE)"),