atoti.AutoMultiColumnArrayConversion(Pass it to a DirectQuery
*,
separator: str ='',
threshold: int =50,
)
*ConnectionConfig class to automatically convert all external tables with array values stored with one element per column to tables with array columns.
external_table has this content:
It has 5
QUANTITY{separator}{index} columns (where separator is "_").
Since 5 is greater than the threshold passed above, the automatic conversion will activate and these 5 columns will be merged into an array column:
See also:
MultiColumnArrayConversion.