diff --git a/flint/flint-spark-integration/src/main/scala/org/opensearch/flint/spark/FlintSparkIndex.scala b/flint/flint-spark-integration/src/main/scala/org/opensearch/flint/spark/FlintSparkIndex.scala index 45932f7ed8..7a3acd8cb2 100644 --- a/flint/flint-spark-integration/src/main/scala/org/opensearch/flint/spark/FlintSparkIndex.scala +++ b/flint/flint-spark-integration/src/main/scala/org/opensearch/flint/spark/FlintSparkIndex.scala @@ -49,4 +49,4 @@ object FlintSparkIndex { * ID column name. */ val ID_COLUMN: String = "id" -} \ No newline at end of file +} diff --git a/flint/integ-test/src/test/scala/org/opensearch/flint/spark/FlintSparkSkippingIndexSuite.scala b/flint/integ-test/src/test/scala/org/opensearch/flint/spark/FlintSparkSkippingIndexITSuite.scala similarity index 99% rename from flint/integ-test/src/test/scala/org/opensearch/flint/spark/FlintSparkSkippingIndexSuite.scala rename to flint/integ-test/src/test/scala/org/opensearch/flint/spark/FlintSparkSkippingIndexITSuite.scala index f8d6b67d8b..af7605d956 100644 --- a/flint/integ-test/src/test/scala/org/opensearch/flint/spark/FlintSparkSkippingIndexSuite.scala +++ b/flint/integ-test/src/test/scala/org/opensearch/flint/spark/FlintSparkSkippingIndexITSuite.scala @@ -26,7 +26,7 @@ import org.apache.spark.sql.flint.config.FlintSparkConf._ import org.apache.spark.sql.functions.col import org.apache.spark.sql.streaming.StreamTest -class FlintSparkSkippingIndexSuite +class FlintSparkSkippingIndexITSuite extends QueryTest with FlintSuite with OpenSearchSuite @@ -205,12 +205,14 @@ class FlintSparkSkippingIndexSuite flint .skippingIndex() .onTable(testTable) + .addPartitions("year") .create() assertThrows[IllegalStateException] { flint .skippingIndex() .onTable(testTable) + .addPartitions("year") .create() } }