azure data flow source: how to deal with csv files with columns in different order
javier cohenar
211
Reputation points
I'm importing different CSV files in a Data Flow activity. All source files have the same columns, but I realized that sometimes columns are in different order leading data flow to mix data from different columns
Example : say file1.csv is
Col_A Col_B, Col_C
A1 B1 C1
and file2.csv
Col_A Col_C, Col_B
A2 C2 B2
Result in data flow activity is:
Col_A Col_C, Col_B
A2 C2 B2
A1 B1 C1
However expected result is
Col_A Col_C, Col_B
A2 C2 B2
A1 C1 B1
Is there a way to deal with this situation?
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,624 questions
Sign in to answer