[英]How to query Azure databricks data on Azure datafactory?
My source data is in ADLS and its table format is in ADB data.我的源数据在 ADLS 中,其表格格式在 ADB 数据中。
Now I'm creating a lookup activity inside the ADF pipeline where I have to write a SELECT query on the table present in ADB.现在我在 ADF 管道中创建了一个查找活动,我必须在 ADB 中的表上编写一个 SELECT 查询。
Can you please share your suggestions on how this link can be achieved?您能否分享您对如何实现此链接的建议?
The query property in the lookup activity accepts an expression, not a SQL statement.查找活动中的查询属性接受表达式,而不是 SQL 语句。
Ref: https://docs.microsoft.com/en-us/azure/data-factory/control-flow-expression-language-functions参考: https://docs.microsoft.com/en-us/azure/data-factory/control-flow-expression-language-functions
You can set the source as a Stored Procedure or you can use the Copy activity to query the results from the result of the lookup.您可以将源设置为存储过程,也可以使用 Copy 活动从查找结果中查询结果。
See the example here: https://docs.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity#pipeline请参阅此处的示例: https://docs.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity#pipeline
if I understand the ask here you are trying to connect to an ADB instance and exeecute an query.如果我理解这里的问题,您正在尝试连接到 ADB 实例并执行查询。 Lookup activity does not support ADB.查找活动不支持 ADB。 https://docs.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity AFAIK, you dont need to go the ADB route, you can directly query ADLS. https://docs.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity AFAIK,不需要go的ADB路由,直接查询ADLS即可。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.