Skip to content

Commit 1dfe1b7

Browse files
committed
Apply spotless formatting to PredicateAnalyzer test
The new gt_normalizesVarcharLiteralAgainstTimestampField signature should sit on one line per Google Java Format, fixing the spotlessJavaCheck violation on the macOS unit jobs. Signed-off-by: Jialiang Liang <jiallian@amazon.com>
1 parent 1c8b5df commit 1dfe1b7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

opensearch/src/test/java/org/opensearch/sql/opensearch/request/PredicateAnalyzerTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,8 +1154,7 @@ void notEquals_generatesBoolQueryForDateTime() throws ExpressionNotAnalyzableExc
11541154
* field's type so the shard's default date parser accepts the value.
11551155
*/
11561156
@Test
1157-
void gt_normalizesVarcharLiteralAgainstTimestampField()
1158-
throws ExpressionNotAnalyzableException {
1157+
void gt_normalizesVarcharLiteralAgainstTimestampField() throws ExpressionNotAnalyzableException {
11591158
RexLiteral varcharLiteral = (RexLiteral) builder.makeLiteral("1987-02-03 04:34:56");
11601159
RexNode call = builder.makeCall(SqlStdOperatorTable.GREATER_THAN, field4, varcharLiteral);
11611160
QueryBuilder result = PredicateAnalyzer.analyze(call, schema, fieldTypes);

0 commit comments

Comments
 (0)