We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b91b15 commit a4b18dbCopy full SHA for a4b18db
1 file changed
redis5/redis5-sink/src/main/java/com/dtstack/flink/sql/sink/redis/RedisOutputFormat.java
@@ -166,7 +166,7 @@ public void writeRecord(Tuple2 record) throws IOException {
166
for (int i = 0; i < fieldNames.length; i++) {
167
StringBuilder key = new StringBuilder();
168
key.append(tableName).append(":").append(perKey).append(":").append(fieldNames[i]);
169
- jedis.set(key.toString(), (String) row.getField(i));
+ jedis.set(key.toString(), row.getField(i).toString());
170
}
171
outRecords.inc();
172
0 commit comments