Skip to content

Commit c791530

Browse files
author
chengyitian
committed
AJ-861: fix issue about 'getStreamTableTimestamp' logic;
1 parent f9c9877 commit c791530

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/com/xxdb/multithreadedtablewriter/MultithreadedTableWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ private void init(String hostName, int port, String userId, String password,
568568
Entity tableType = pConn.run("typestr(" + tableName + ")");
569569
if (tableType.getString().equals("STREAMING TABLE")) {
570570
BasicString streamTableTimestampColName = (BasicString) pConn.run("getStreamTableTimestamp(" + tableName_ + ")");
571-
if (Objects.nonNull(streamTableTimestampColName)) {
571+
if (!Utils.isEmpty(streamTableTimestampColName.getString())) {
572572
isSetStreamTableTimestamp = true;
573573
}
574574
}

0 commit comments

Comments
 (0)