简体   繁体   English

如何在 Azure datafactory 上查询 Azure databricks 数据?

[英]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.

相关问题 Azure Datafactory:如何在转换数据流中实现嵌套的 sql 查询 - Azure Datafactory: How to implement nested sql query in transformation data flow 如何在没有笔记本的情况下从 Azure Databricks Spark 群集查询数据? - How to query data from Azure Databricks Spark cluster without notebooks? Azure DataFactory复制数据-如何知道它已完成复制数据? - Azure DataFactory Copy Data - how to know it has done copying data? 从 Azure Datafactory 管道中的 Databricks Notebook 获取异常 - Get exceptions from Databricks Notebook in Azure Datafactory pipeline 在 azure datafactory 中,如何将数据从 blob 复制到 sql 而不会重复? - In azure datafactory how to copy data from blob to sql without duplication? Azure DataFactory Salesforce(数据读取!=数据写入) - Azure DataFactory Salesforce (data read != data written) 如何将Azure DataFactory(v2)作业迁移到另一个DataFactory(2) - How to Migrate Azure DataFactory(v2) Job to another DataFactory(2) Azure Data Lake Gen 2与DataFactory的集成 - Azure Data Lake Gen 2 Integration with DataFactory 在 Azure 数据工厂中获取历史数据副本的日期 - Getting dates for historical data copy in Azure datafactory 如何使用 Azure DataFactory 解压缩 rar 文件 - How to uncompress rar files using Azure DataFactory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM