Skip to content

Commit

Permalink
Fix time field use error (#12249)
Browse files Browse the repository at this point in the history
* Fix time field use error

* rebuid

Co-authored-by: liu.changqing <changqing_l@kingdee.com>
  • Loading branch information
casuallc and liu.changqing committed Jan 6, 2022
1 parent 016fb87 commit 793dd91
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -580,7 +580,7 @@ public boolean advanceNextPosition() {
currentRowValuesMap.put(columnHandle, longValueProvider(this.partition));
} else if (PulsarInternalColumn.EVENT_TIME.getName().equals(columnHandle.getName())) {
currentRowValuesMap.put(columnHandle, PulsarFieldValueProviders.timeValueProvider(
this.currentMessage.getEventTime(), this.currentMessage.getPublishTime() == 0));
this.currentMessage.getEventTime(), this.currentMessage.getEventTime() == 0));
} else if (PulsarInternalColumn.PUBLISH_TIME.getName().equals(columnHandle.getName())) {
currentRowValuesMap.put(columnHandle, PulsarFieldValueProviders.timeValueProvider(
this.currentMessage.getPublishTime(), this.currentMessage.getPublishTime() == 0));
Expand Down

0 comments on commit 793dd91

Please sign in to comment.