You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Test
void testDescSkippingIndex() {
String descSkippingIndex = "DESC SKIPPING INDEX ON mys3.default.http_logs";
Assertions.assertTrue(SQLQueryUtils.isIndexQuery(descSkippingIndex));
IndexDetails indexDetails = SQLQueryUtils.extractIndexDetails(descSkippingIndex);
FullyQualifiedTableName fullyQualifiedTableName = indexDetails.getFullyQualifiedTableName();
Assertions.assertNull(indexDetails.getIndexName());
Assertions.assertNull(fullyQualifiedTableName);
Assertions.assertEquals(SKIPPING, indexDetails.getIndexType());
}
Index Type can't be null
java.lang.NullPointerException: Index Type can't be null
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:921)
at org.opensearch.sql.spark.dispatcher.model.IndexDetails$IndexDetailsBuilder.build(IndexDetails.java:76)
The text was updated successfully, but these errors were encountered:
Customized UT, failed.
The text was updated successfully, but these errors were encountered: