question

ArisKonomis-2679 avatar image
1 Vote"
ArisKonomis-2679 asked DheerajAwale-4542 commented

Azure Stream Analytics: File name prefix

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-storageazure-stream-analytics
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ariskonomis-2679 Thanks for using Microsoft Q&A !!

I am checking internally with the products team on this and update you once I have any updates.

0 Votes 0 ·

1 Answer

SaurabhSharma-msft avatar image
0 Votes"
SaurabhSharma-msft answered DheerajAwale-4542 commented

Hi @ariskonomis-2679,

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.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ariskonomis-2679 I have not heard back from you. Did my answer solve your issue? If so, please mark as accepted answer. If not, please let me know how I may better assist.

0 Votes 0 ·

Hi @ariskonomis-2679 Please let me know if you find above reply useful. If yes, please "Accept Answer" in the above reply. This will help other community members facing similar query to refer to this solution.

Thanks,
Saurabh

0 Votes 0 ·

Why this behavior is by design? This clearly looks like a bug in the Azure. Every service at-least provides the ability to customize file name.

0 Votes 0 ·