Skip to content

Commit 44be6d0

Browse files
author
dapeng
committed
修复空数据异常
1 parent 46763a7 commit 44be6d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hbase/hbase-sink/src/main/java/com/dtstack/flink/sql/sink/hbase/HbaseOutputFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public void writeRecord(Tuple2 tuple2) {
165165

166166
protected void dealInsert(Row record) {
167167
Put put = getPutByRow(record);
168-
if (put == null) {
168+
if (put.isEmpty()) {
169169
return;
170170
}
171171

0 commit comments

Comments
 (0)