Distinct from blob storage

Vineet S 1,390 Reputation points
2024-08-11T19:03:29.4733333+00:00

Hi, how to read distinct data from blob storage without using data flow ie table1---- company code(columnname) p1, p2, p1,p5, p2.. Pls share screenshot

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,640 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pinaki Ghatak 5,600 Reputation points Microsoft Employee Volunteer Moderator
    2024-08-13T13:50:50.2033333+00:00

    Hello @Vineet S

    To read distinct data from blob storage without using data flow, you can use Azure Stream Analytics. Here's an example query that reads data from a CSV file in blob storage and selects distinct values from the "company code" column:

    SELECT DISTINCT [company code] INTO output FROM input
    

    Here's a screenshot of how you can create a Stream Analytics job and configure it to read from blob storage: Stream Analytics job configuration

    And here's a screenshot of how you can create an input for the job and specify the path to the CSV file in blob storage: Stream Analytics input configuration


    I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.