Skip to main content

final class atoti.MultiColumnArrayConversion

Convert an external table where array values are stored with one element per column to a table with array columns. Groups of a least 2 columns named as "f{prefix}_{index}" (indices being consecutive and starting with 0 or 1) can be converted into array columns.

Example

external_table has 5 QUANTITY_{index} columns:
and its content is: It can be converted into a table with an array column:

column_prefixes : Set[str]

The prefixes of the array element columns in the external table. One array column per prefix will be created.