From ea8b2a7e13531e5ec922f60314422cdbccd098e0 Mon Sep 17 00:00:00 2001 From: Chen Dai Date: Thu, 2 Nov 2023 11:16:00 -0700 Subject: [PATCH] Remove unused parser IT Signed-off-by: Chen Dai --- .../spark/sql/FlintSparkSqlParserSuite.scala | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 flint-spark-integration/src/test/scala/org/opensearch/flint/spark/sql/FlintSparkSqlParserSuite.scala diff --git a/flint-spark-integration/src/test/scala/org/opensearch/flint/spark/sql/FlintSparkSqlParserSuite.scala b/flint-spark-integration/src/test/scala/org/opensearch/flint/spark/sql/FlintSparkSqlParserSuite.scala deleted file mode 100644 index 87ea34582..000000000 --- a/flint-spark-integration/src/test/scala/org/opensearch/flint/spark/sql/FlintSparkSqlParserSuite.scala +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright OpenSearch Contributors - * SPDX-License-Identifier: Apache-2.0 - */ - -package org.opensearch.flint.spark.sql - -import org.scalatest.matchers.should.Matchers - -import org.apache.spark.FlintSuite - -class FlintSparkSqlParserSuite extends FlintSuite with Matchers { - - test("create skipping index with filtering condition") { - the[UnsupportedOperationException] thrownBy { - sql(""" - | CREATE SKIPPING INDEX ON alb_logs - | (client_ip VALUE_SET) - | WHERE status != 200 - | WITH (auto_refresh = true) - |""".stripMargin) - } should have message "Filtering condition is not supported: WHERE status != 200" - } - - ignore("create covering index with filtering condition") { - the[UnsupportedOperationException] thrownBy { - sql(""" - | CREATE INDEX test ON alb_logs - | (elb, client_ip) - | WHERE status != 404 - | WITH (auto_refresh = true) - |""".stripMargin) - } should have message "Filtering condition is not supported: WHERE status != 404" - } -}