Analysis-Services/UsqlScripts/large_multiple/dbgen_version.usql

20 строки
541 B
Plaintext

@raw_parsed = EXTRACT child_id int,
dv_version string,
dv_create_date string,
dv_create_time string,
dv_cmdline_args string,
empty string
FROM "wasb://dbgen-version@<blob storage account name>/{*}_{child_id}_100.dat"
USING Extractors.Text(delimiter: '|');
@filtered_results = SELECT dv_version,
dv_create_date,
dv_create_time,
dv_cmdline_args
FROM @raw_parsed
WHERE child_id BETWEEN 1 AND 100;
OUTPUT @filtered_results
TO "/large_multiple/dbgen_version.csv"
USING Outputters.Csv(outputHeader: true);