Forum Discussion
About Pipeline Query
- Anonymous8 months ago
Hi kye1crystal ,
Thank you for clarifying. The T-SQL Query option shown in your screenshot is only available in the Copy Data activity when using the Lakehouse SQL analytics endpoint.
For the Lookup activity, this option isn't supported with Lakehouse connections. Lookup can reference only Tables or Files, which is why you don't see the query textbox.
If you want to run a query as part of your Lookup logic, you can use the Azure SQL Database connector and connect it to the Lakehouse SQL analytics endpoint. This way, Lookup will support T-SQL queries.
I hope this explains the behavior.
Thank you.
Hi kye1,
THe Lookup activity does not support queries for lakehouses, only Tables and Files.
I recommend you vote for this idea: Query a lakehouse using LookUP Activity - Microsoft Fabric Community
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.