Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
2.22.0
Description
In the following code:
public FieldValueBuilder withFieldValues(Map<String, Object> values) { checkState(values.isEmpty()); return new FieldValueBuilder(schema, null).withFieldValues(values); }
checkState should check `this.values` instead of the passed arguments.
The issue is that as it is now, we cannot use this function to build a Row from Map.
thanks.
Attachments
Issue Links
- is duplicated by
-
BEAM-10918 Row.withSchema.withFieldValues(Map) is broken
- Resolved
- links to