Skip to content

Commit

Permalink
Update PipeEventCollector.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveYurongSu committed Oct 18, 2024
1 parent da7531d commit 1a49b94
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,11 @@ private void parseAndCollectEvent(final PipeTsFileInsertionEvent sourceEvent) th
return;
}

if (!forceTabletFormat && !sourceEvent.shouldParseTimeOrPattern()) {
collectEvent(sourceEvent);
return;
}

if (sourceEvent.isTableModelEvent() && sourceEvent.getTablePattern() == null) {
if (!forceTabletFormat
&& (!sourceEvent.shouldParseTimeOrPattern()
|| (sourceEvent.isTableModelEvent()
&& sourceEvent.getTablePattern() == null
&& !sourceEvent.shouldParseTime()))) {
collectEvent(sourceEvent);
return;
}
Expand Down

0 comments on commit 1a49b94

Please sign in to comment.