Skip to main content Skip to complementary content

Flattening map limitations

This section describes the limitation you may encounter when using the flattening map feature.

Elements and data types not supported by the AgConcat function

Generating a flattening map may require using the AgConcat function to map elements that are not in the pivot. However, the Any element and the None data type are not supported by this function. As a result, when creating a flattening map for a structure containing an Any element or an element with the data type None, it can only be automatically mapped if it is in the pivot.

The following example uses this JSON input:
{
	"elem_1" : "value 1",
	"elem_2" : "value 2",
	"values" : {
		"value" : [ ]
	}
}
					
Since the values array does not contain any data, a child element Any is created when importing the structure:
When creating a flattening map, if /values/value is set as pivot, the following map is generated:
If it is removed from the pivot, the Any element is not mapped in the generated map.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!