Reputation: 331
i want to read multiple files from multiple folder using U-SQL without date time. folder structure is
input input1 file1.csv file2.csv input2 file3.csv
Upvotes: 2
Views: 633
Reputation: 14389
Jamil's answer will work. If you want more control, you can simply list the files you want as a comma separated list, eg
@data =
EXTRACT col1 int,
col2 int,
col3 int,
col4 int
FROM "input/input1/file1.csv",
"input/input1/file2.csv",
"input/input2/file3.csv"
USING Extractors.Csv();
Upvotes: 0