Skip to content

Commit 0cfd788

Browse files
author
Siri Teja Gaddameedi
committed
Fix build
Signed-off-by: Siri Teja Gaddameedi <[email protected]>
1 parent 5ee0cb5 commit 0cfd788

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

async-query-core/src/main/java/org/opensearch/sql/spark/utils/SQLQueryUtils.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -318,23 +318,23 @@ public Void visitAlterMaterializedViewStatement(
318318

319319
@Override
320320
public Void visitVacuumCoveringIndexStatement(
321-
FlintSparkSqlExtensionsParser.VacuumCoveringIndexStatementContext ctx) {
321+
FlintSparkSqlExtensionsParser.VacuumCoveringIndexStatementContext ctx) {
322322
indexQueryDetailsBuilder.indexQueryActionType(IndexQueryActionType.VACUUM);
323323
indexQueryDetailsBuilder.indexType(FlintIndexType.COVERING);
324324
return super.visitVacuumCoveringIndexStatement(ctx);
325325
}
326326

327327
@Override
328328
public Void visitVacuumSkippingIndexStatement(
329-
FlintSparkSqlExtensionsParser.VacuumSkippingIndexStatementContext ctx) {
329+
FlintSparkSqlExtensionsParser.VacuumSkippingIndexStatementContext ctx) {
330330
indexQueryDetailsBuilder.indexQueryActionType(IndexQueryActionType.VACUUM);
331331
indexQueryDetailsBuilder.indexType(FlintIndexType.SKIPPING);
332332
return super.visitVacuumSkippingIndexStatement(ctx);
333333
}
334334

335335
@Override
336336
public Void visitVacuumMaterializedViewStatement(
337-
FlintSparkSqlExtensionsParser.VacuumMaterializedViewStatementContext ctx) {
337+
FlintSparkSqlExtensionsParser.VacuumMaterializedViewStatementContext ctx) {
338338
indexQueryDetailsBuilder.indexQueryActionType(IndexQueryActionType.VACUUM);
339339
indexQueryDetailsBuilder.indexType(FlintIndexType.MATERIALIZED_VIEW);
340340
indexQueryDetailsBuilder.mvName(ctx.mvName.getText());

async-query-core/src/test/java/org/opensearch/sql/spark/utils/SQLQueryUtilsTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void testExtractionFromFlintSkippingIndexQueries() {
140140
+ " WHERE elb_status_code = 500 "
141141
+ " WITH (auto_refresh = true)",
142142
"DROP SKIPPING INDEX ON myS3.default.alb_logs",
143-
"VACUUM SKIPPING INDEX ON myS3.default.alb_logs",
143+
"VACUUM SKIPPING INDEX ON myS3.default.alb_logs",
144144
"ALTER SKIPPING INDEX ON myS3.default.alb_logs WITH (auto_refresh = false)",
145145
};
146146

@@ -171,7 +171,7 @@ void testExtractionFromFlintCoveringIndexQueries() {
171171
+ " WHERE elb_status_code = 500 "
172172
+ " WITH (auto_refresh = true)",
173173
"DROP INDEX elb_and_requestUri ON myS3.default.alb_logs",
174-
"VACUUM INDEX elb_and_requestUri ON myS3.default.alb_logs",
174+
"VACUUM INDEX elb_and_requestUri ON myS3.default.alb_logs",
175175
"ALTER INDEX elb_and_requestUri ON myS3.default.alb_logs WITH (auto_refresh = false)"
176176
};
177177

0 commit comments

Comments
 (0)