Skip to content

Commit

Permalink
Pipe: Fix TsFileInsertionEventTableParserTabletIterator NPE issue (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
luoluoyuyu authored Oct 29, 2024
1 parent d395906 commit fdc7175
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private Tablet buildNextTablet() throws IOException {
tablet.addTimestamp(rowIndex, timestamp);
for (int i = 0, fieldSize = row.length - 1; i < fieldSize; i++) {
final Object value =
columnSchemas.get(i).getType() != DATE
columnSchemas.get(i).getType() != DATE || row[i] == null
? row[i]
: DateUtils.parseIntToLocalDate((Integer) row[i]);
tablet.addValue(columnNames.get(i), rowIndex, value);
Expand Down

0 comments on commit fdc7175

Please sign in to comment.