kbendick commented on a change in pull request #1579:
URL: https://github.com/apache/iceberg/pull/1579#discussion_r503512635
##########
File path:
mr/src/test/java/org/apache/iceberg/mr/hive/TestHiveIcebergFilterFactory.java
##########
@@ -207,8 +206,8 @@ public void testBooleanType() {
@Test
public void testDateType() {
SearchArgument.Builder builder = SearchArgumentFactory.newBuilder();
- Date gmtDate = new Date(LocalDate.of(2015, 11,
12).atStartOfDay(ZoneOffset.UTC).toInstant().toEpochMilli());
- SearchArgument arg = builder.startAnd().equals("date",
PredicateLeaf.Type.DATE, gmtDate).end().build();
+ Date date = Date.valueOf("2015-11-12");
Review comment:
I reverted this to the previous code. It's running on my local now with
the patch for `daysFromDate`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]