Skip to content

Commit

Permalink
Fix for DataUnion to native Java conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenvandisseldorp committed May 29, 2024
1 parent aadb332 commit f1bf7d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ public Object fromDataObject(DataObject value) {
if (value instanceof DataStruct val) return fromDataStruct(val);
if (value instanceof DataTuple val) return fromDataTuple(val);

if (value instanceof DataUnion val) return val.value();
if (value instanceof DataUnion val) return fromDataObject(val.value());

throw new KSMLExecutionException("Can not convert DataObject to native dataType: " + value.getClass().getSimpleName());
}
Expand Down

0 comments on commit f1bf7d4

Please sign in to comment.