是否有人使用 SSMS v18.2 或 Azure Data Studio 连接到 DataBricks 集群并查询 DataBricks 表和/或 DataBricks 文件系统 (dbfs)?
想知道如何设置它以在连接中显示 DataBricks 服务器并使用 PolyBase 连接到 dbfs
我可以使用 PolyBase 命令连接到 ADLS,如下所示:
-- Scoped Credential
CREATE DATABASE SCOPED CREDENTIAL myScopedCredential
WITH
IDENTITY = '<MyId>@https://login.microsoftonline.com/<Id2>/oauth2/token',
SECRET = '<MySecret>';
-- External Data Source
CREATE EXTERNAL DATA SOURCE myDataSource
WITH
(
TYPE = HADOOP,
LOCATION = 'adl://mydatalakeserver.azuredatalakestore.net',
CREDENTIAL = myScopedCredential
)
-- Something similar to setup for dbfs?
-- What IDENTITY used for Scoped Credential?