Skip to content

Commit

Permalink
[Hotfix][Connector-v2][HbaseSink]Fix default timestamp (#4958)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightzhao authored Jun 25, 2023
1 parent 4db857a commit 3d8f3bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void close() throws IOException {

private Put convertRowToPut(SeaTunnelRow row) {
byte[] rowkey = getRowkeyFromRow(row);
long timestamp = HConstants.LATEST_TIMESTAMP;
long timestamp = System.currentTimeMillis();
if (versionColumnIndex != -1) {
timestamp = (Long) row.getField(versionColumnIndex);
}
Expand Down

0 comments on commit 3d8f3bf

Please sign in to comment.