Forum Discussion

Mathan1787's avatar
Mathan1787
Icon for Helper I rankHelper I
3 years ago

Datapipeline-LookUp-Lakehouse

Hi,

 

Look up activty in data pipeline has query option only for external data store type (for azure sql database) but when i select the delta table i cant able to query. what are the other option we could use it to run a query against lakehouse tables in pipeline.

7 Replies

  • DennesTorres's avatar
    DennesTorres
    Icon for Power Participant rankPower Participant

    Hi,

    Query the lakehouse is possible. The lookup activity has two options : Workspace and External.

    The workspace option allow you to query the lakehouse.


    What seems to be a limitation, and may be you could add this into the "Ideas" area, is that "Workspace" requires the lakehouse to be in the same workspace as the pipeline. 

    In some cases, if you would like to access a different lakehouse, but you have one in the same workspace, maybe you could create a view in the one on the same workspace making a query to the external one?

    Kind Regards,

    Dennes

    • DennesTorres's avatar
      DennesTorres
      Icon for Power Participant rankPower Participant

      Hi,

      One possible workaround is to use a SQL Database connection and point to the lakehouse SQL Endpoint. It's not a perfect solution, but probably will work.

       

      Kind Regards,

       

      Dennes

      • ajarora's avatar
        ajarora
        Icon for Microsoft Employee rankMicrosoft Employee

        Even the cross workspace limitation should be addressable by creating a shortcut to the remote lakehouse, in the current workspace.

  • Thanks sql end point worked in this case. it would be great to have a query option for lakehouse.