Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static String createKind(String kindName) {
FullEntity<IncompleteKey> entity = Entity.newBuilder(incompleteKey)
.set("firstName", PluginPropertyUtils.pluginProp("name"))
.set("age", Integer.parseInt(PluginPropertyUtils.pluginProp("age")))
.set("isValid", PluginPropertyUtils.pluginProp("result").isEmpty())
.set("isValid", Boolean.parseBoolean(PluginPropertyUtils.pluginProp("result")))
.set("postalAdd", Float.parseFloat(PluginPropertyUtils.pluginProp("address")))
// Add other properties as needed
.build();
Expand Down
2 changes: 1 addition & 1 deletion src/e2e-test/resources/pluginParameters.properties
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ bqExecuteInsertFile=testdata/BQExecute/BQExecuteInsertFile
fieldName=_key_
name=Antonio
age=23
result=
result=true
address=123.2
filterOptions=[{"key":"isValid","value":"true"}]
propertyName=firstName
Expand Down
Loading