Fixed the commit
This commit is contained in:
Родитель
2c31e3eb8a
Коммит
e24e18daa5
|
@ -17,7 +17,7 @@ DECLARE @IngestDatePartition = @IngestDate.ToString("yyyy-MM-dd");
|
|||
EXTRACT EventName string
|
||||
,IngestDate DateTime
|
||||
,Data SqlMap<string, byte[]>
|
||||
FROM "wasb://raw@ghinsightsms.blob.core.windows.net/{EventName:*}/v1/{IngestDate:yyyy}/{IngestDate:MM}/{EventName:*}_{IngestDate:yyyy}_{IngestDate:MM}_{IngestDate:dd}.json.gz"
|
||||
FROM "wasb://raw@ghinsightspublic.blob.core.windows.net/{EventName:*}/v1/{IngestDate:yyyy}/{IngestDate:MM}/{EventName:*}_{IngestDate:yyyy}_{IngestDate:MM}_{IngestDate:dd}.json.gz"
|
||||
USING GHInsights.USql.Extractors.FlatJson(outputColumnName: "Data");
|
||||
|
||||
ALTER TABLE Staging.GHTorrent.GitHubData DROP IF EXISTS PARTITION (@IngestDatePartition);
|
||||
|
@ -31,4 +31,4 @@ SELECT EventName
|
|||
FROM @ExtractedData
|
||||
WHERE IngestDate == @IngestDate;
|
||||
|
||||
END;
|
||||
END;
|
||||
|
|
Загрузка…
Ссылка в новой задаче