Azure / Azure/usql

How dynamically create multiple output files from 1 or more input files?

Open
#129 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
231
Forks
666
PR merge metrics
No merged PRs in 30d

Description

is it possible to create dynamically output files depend on the date?
For example:

DECLARE @output_Path string = @"/Folder/**_{_Date:yyyy}{_Date:MM}_out.tsv"_**;
@ex =
EXTRACT
ID int,
EventTime string
FROM @IN
USING Extractors.text()

@res =
SELECT ID,
DateTime.Parse(EventTime) AS _Date
FROM @ex

OUTPUT @res
TO @output_Path
USING Outputters.csv()

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.