I want to create a path at run-time and check whether the path and file is exist or not in ADLS. As per my understanding using U-SQL its not possible to generate the path at run time for e.g. -
DECLARE @filePath string = @"/temppath";
FILE.EXISTS(@filePath "/" DateTime.UtcNow.AddDays(-numberofdays).Year "/" DateTime.UtcNow.AddDays(-numberofdays).Month "/" DateTime.UtcNow.AddDays(-numberofdays).day "/test.csv") as [outputVal]
For this I have written UDF but even there I have to pass the initial path i.e. @filePath of ADLS. Please let me know how to do it.