|
3 | 3 | * SPDX-License-Identifier: Apache-2.0 |
4 | 4 | */ |
5 | 5 |
|
6 | | -package org.opensearch.sql.calcite.remote; |
| 6 | +package org.opensearch.sql.calcite.standalone; |
7 | 7 |
|
8 | 8 | import static org.opensearch.sql.expression.datetime.DateTimeFunctions.exprYearweek; |
9 | 9 | import static org.opensearch.sql.expression.datetime.DateTimeFunctions.formatNow; |
|
28 | 28 | import java.util.Locale; |
29 | 29 | import org.hamcrest.Matchers; |
30 | 30 | import org.json.JSONObject; |
31 | | -import org.junit.Ignore; |
32 | 31 | import org.junit.jupiter.api.Test; |
33 | 32 | import org.opensearch.client.Request; |
34 | 33 | import org.opensearch.sql.data.model.ExprDateValue; |
35 | 34 | import org.opensearch.sql.data.model.ExprIntegerValue; |
36 | 35 | import org.opensearch.sql.expression.function.FunctionProperties; |
37 | | -import org.opensearch.sql.ppl.PPLIntegTestCase; |
38 | 36 |
|
39 | | -public class CalcitePPLDateTimeBuiltinFunctionIT extends PPLIntegTestCase { |
| 37 | +public class CalcitePPLDateTimeBuiltinFunctionIT extends CalcitePPLIntegTestCase { |
40 | 38 | @Override |
41 | | - public void init() throws Exception { |
| 39 | + public void init() throws IOException { |
42 | 40 | super.init(); |
43 | 41 | enableCalcite(); |
44 | 42 | disallowCalciteFallback(); |
@@ -871,7 +869,6 @@ public void testDayName() throws IOException { |
871 | 869 | * LAST_DAY(DATE/STRING/TIMESTAMP/TIME) -> DATE (last day of the month as a DATE for a valid |
872 | 870 | * argument.) MAKE_DATE(DOUBLE, DOUBLE) -> DATE (Create a date from the year and day of year.) |
873 | 871 | */ |
874 | | - @Ignore |
875 | 872 | @Test |
876 | 873 | public void testDayNameAndMonthNameAndMakeDate() throws IOException { |
877 | 874 | JSONObject actual = |
@@ -970,7 +967,6 @@ public void testMakeDateWithNullIO() throws IOException { |
970 | 967 | * date value given the day number N. DATETIME: (TIMESTAMP, STRING) -> TIMESTAMP (TIMESTAMP) -> |
971 | 968 | * TIMESTAMP Converts the datetime to a new timezone |
972 | 969 | */ |
973 | | - @Ignore |
974 | 970 | @Test |
975 | 971 | public void testDateFormatAndDatetimeAndFromDays() throws IOException { |
976 | 972 | JSONObject actual = |
|
0 commit comments