ADF Dataflow lookup dynamically filter records from source stream

Ganesh Pathak 1 Reputation point
2021-09-28T10:23:10.45+00:00

Hi ,

We are having 100 million of data from the source table(sparkpool table).
However we need to fetch less number of record based on the other source stream (file).
Now if we consider the data flow to lookup synapse table, we need to fetch complete data which is later joined with other source stream.
Ideally in lookup we should restrict the data from source.
If this is the way lookup designed in data-flow, please suggest any workaround.

Thanks

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,422 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,651 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 37,971 Reputation points Microsoft Employee
    2021-09-29T06:30:49.16+00:00

    Hi @Ganesh Pathak ,

    Welcome to Microsoft Q&A Platform. Thank you for posting query here.

    You can use Query option to query only specific data from your source table. In dataflows, If your source transformation pointing to table then under source options you may be able to see query option.

    Lookup in transformation in dataflows, will try to perform kind of left join. It will take all rows from your Primary stream and lookup streams and perform lookup to return results. Please check below link to know more about lookup transformation.
    https://learn.microsoft.com/en-us/azure/data-factory/data-flow-lookup

    You can also consider creating a new table(using Spark notebook may be) from your source table with subset of data and then consume that in your ETL workflow.

    Hope this will help. Please let us know if any further queries. Thank you.

    -------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments