Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public void testParquetInt64TimeMillisToArrow() {
.named("a"))
.named("root")))
.isInstanceOf(IllegalStateException.class)
.hasMessage("TIME(MILLIS,false) can only annotate INT32");
.hasMessage("TIME(MILLIS,false) can only annotate [INT32]");
}

@Test
Expand All @@ -581,7 +581,7 @@ public void testParquetInt32TimeMicrosToArrow() {
.named("a"))
.named("root")))
.isInstanceOf(IllegalStateException.class)
.hasMessage("TIME(MICROS,false) can only annotate INT64");
.hasMessage("TIME(MICROS,false) can only annotate [INT64]");
}

@Test
Expand Down Expand Up @@ -649,7 +649,7 @@ public void testParquetInt32TimestampMillisToArrow() {
.named("a"))
.named("root")))
.isInstanceOf(IllegalStateException.class)
.hasMessage("TIMESTAMP(MILLIS,false) can only annotate INT64");
.hasMessage("TIMESTAMP(MILLIS,false) can only annotate [INT64]");
}

@Test
Expand All @@ -660,6 +660,6 @@ public void testParquetInt32TimestampMicrosToArrow() {
.named("a"))
.named("root")))
.isInstanceOf(IllegalStateException.class)
.hasMessage("TIMESTAMP(MICROS,false) can only annotate INT64");
.hasMessage("TIMESTAMP(MICROS,false) can only annotate [INT64]");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Maybe we can drop the brackets to avoid having to update these tests

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was an intentional change as there might be multiple valid physical types and I felt printing as an array helps readability

}
}
Loading