my flink flow is as follows: db --> flink temp table (input) --> processing --> flink temp table (output - filesystem connector - csv or parquet)
i want to re-order the columns in the output - what is a convenient way to achieve this?
I tried using TableDescriptor with schema and columns in the order I expect in the output, the sql is constructed as: insert into otable (desired column order) from (select desired_column_order from itable)
The output parquet file still reflects the original input table field order.
Any tips? help?