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:
| PRODUCT | QUANTITY_0 | QUANTITY_1 | QUANTITY_2 | QUANTITY_3 | QUANTITY_4 |
|---|---|---|---|---|---|
| product_1 | 10 | 20 | 15 | 25 | 10 |
| product_2 | 50 | 65 | 55 | 30 | 80 |
See also:
AutoMultiColumnArrayConversion