Skip to content

Commit e013f37

Browse files
authored
Merge pull request #341 from trocco-io/fix/nstring_to_json_to_origin
Fix NString value to JSON
2 parents bf10532 + bd0f0d3 commit e013f37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embulk-output-jdbc/src/main/java/org/embulk/output/jdbc/setter/NStringColumnSetter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ public void timestampValue(final Instant v) throws IOException, SQLException
6161
@Override
6262
public void jsonValue(Value v) throws IOException, SQLException
6363
{
64-
defaultValue.setNString();
64+
batch.setNString(v.toJson());
6565
}
6666
}

0 commit comments

Comments
 (0)