Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently the JOLT transformation in JoltTransformRecord is applied to each record individually, and a single record is expected and written out. However there are some cases where multiple output records are desired for each input record, such as "hoisting" a nested array of records up to the top-level (without a top-level key which would make it a single record). For example:
Input record:
{"x": [
,
{"a": 3, "b": 4},
{"a": 5, "b": 6}]}
Desired output (3 records):
[
,
,
{"a": 5, "b": 6}]
This would currently still require the schema of the array elements to be identical, as the first transformed record's schema will be used to write all the output records.
Attachments
Issue Links
- links to