Skip to content

Commit

Permalink
Improved the exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
malhotrashivam committed Sep 15, 2023
1 parent 5a23cd8 commit b7d846e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,9 @@ private static void buildChildren(Types.GroupBuilder builder, Iterator<SchemaEle
TimestampType timestamp = logicalType.getTIMESTAMP();
if (!timestamp.isAdjustedToUTC) {
// TODO(deephaven-core#976): Unable to read non UTC adjusted timestamps
throw new ParquetFileReaderException(
"Only UTC timestamp is supported, found time column with isAdjustedToUTC=false");
throw new ParquetFileReaderException(String.format(
"Only UTC timestamp is supported, found time column `%s` with isAdjustedToUTC=false",
schemaElement.getName()));
}
}
((Types.Builder) childBuilder).as(getLogicalTypeAnnotation(logicalType));
Expand Down
Binary file added server/jetty-app/fastparquet.parquet
Binary file not shown.

0 comments on commit b7d846e

Please sign in to comment.