In Storage Table I have dynamicaly generated PartitionKey in YYYY-MM-DD-HH
format. And I need querying this in Data Factory Pipeline
I need something like this:
PartitionKey eq DateTime.Now.ToString("yyyyMMddHH")
It is possible? Thanks ...
You could use formatDateTime
dynamic date functions in ADF.
TEST:
configuration:
output:
UPDATE:
Sorry for my uncompletely answer.I figured it out by using below expression:
@concat('PartitionKey eq ''', variables('dateValue'),'''')
Screenshot:
Entire structure:
I got some clues from this link,also provide for you:Azure Data Factory Expression Query for Copy activity.