Azure Stream Analytics: File name prefix

Aris Konomis 6 Reputation points
2021-03-30T13:38:40.213+00:00

While using ADLS Gen 1 as output for a Stream Analytics job, if the file path pattern doesn't contain a trailing slash (/), the last pattern in the file path is treated as a file name prefix.
For example, if the path pattern is 'dir/{date}/{time}' the file created is 'dir/2021/03/30/00_filename.json'.
However, applying the same logic with an ADLS Gen 2 output the time variable is treated as a regular directory: 'dir/2021/03/30/00/filename.json'.
Is there a way to specify the file name prefix in an ADLS Gen 2 output?

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,335 questions
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
330 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Saurabh Sharma 23,671 Reputation points Microsoft Employee
    2021-04-07T20:42:47.953+00:00

    Hi @Aris Konomis ,

    I have received confirmation from products team that this behavior is by design. Could you please provide this as a feature request at Azure Stream Analytics Uservoice so that community can upvote and the product team can plan to include in future releases.

    Thanks
    Saurabh

    ----------

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    1 person found this answer helpful.