小编Sum*_*mer的帖子

列出 Azure Synapse 中 Spark 代码中的目录内容

在 Databricks 的 Scala 语言中,命令dbutils.fs.ls列出目录的内容。但是,我正在 Azure Synapse 中的笔记本上工作,它没有 dbutils 包。dbutils.fs.ls 对应的 Spark 命令是什么?

%%scala
  dbutils.fs.ls("abfss://container@datalake.dfs.core.windows.net/outputs/wrangleddata")
Run Code Online (Sandbox Code Playgroud)
%%spark
  // list the content of a directory. ????
Run Code Online (Sandbox Code Playgroud)

scala azure-synapse

6
推荐指数
1
解决办法
1万
查看次数

Databricks 笔记本多光标

我想在 Databricks 笔记本中使用多光标功能,但我找不到。这个支持吗?有一个插件吗?

我将 IntelliJ Idea 多行编辑功能视为一个完美的示例: https: //www.jetbrains.com/help/rider/Multicursor.html

editor intellij-idea databricks

4
推荐指数
1
解决办法
2952
查看次数

Azure Powershell Get-AzDataFactory 返回错误:在命名空间“Microsoft.DataFactory”中找不到资源类型

我在 Azure 中使用 powershell 控制台来运行此 commandlet:

Get-AzDataFactory -ResourceGroupName "rg-name"
Run Code Online (Sandbox Code Playgroud)

我收到以下错误消息:

Get-AzDataFactory: HTTP Status Code: NotFound
Error Code: InvalidResourceType
Error Message: The resource type could not be found in 
the namespace 'Microsoft.DataFactory' for api version '2015-10-01'.
Request Id: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Timestamp (Utc):05/11/2021 17:22:11
Run Code Online (Sandbox Code Playgroud)

此消息是什么意思以及如何解决该问题?

azure azure-powershell azure-data-factory

2
推荐指数
1
解决办法
905
查看次数

Azure DevOps Pipeline NPM 安装任务失败并出现 node-gyp 构建错误

我正在尝试在 Azure DevOps 中构建 Azure Pipeline。问题是当管道运行时,npm 构建任务中发生错误。难道是package.json中有一些过时的包?或者说 npm 已经过时了?

\n

请参阅管道开始运行的教程中的步骤 4:\n https://learn.microsoft.com/en-us/learn/modules/create-a-build-pipeline/6-create-the-pipeline

\n

管道中构建任务的屏幕截图:

\n

在此输入图像描述

\n

原始日志:

\n
2021-12-03T00:13:53.4119601Z ##[section]Starting: Run npm install\n2021-12-03T00:13:53.4130006Z ==============================================================================\n2021-12-03T00:13:53.4130664Z Task         : npm\n2021-12-03T00:13:53.4144256Z Description  : Install and publish npm packages, or run an npm command. Supports npmjs.com and authenticated registries like Azure Artifacts.\n2021-12-03T00:13:53.4145177Z Version      : 1.187.0\n2021-12-03T00:13:53.4145620Z Author       : Microsoft Corporation\n2021-12-03T00:13:53.4146127Z Help         : https://learn.microsoft.com/azure/devops/pipelines/tasks/package/npm\n2021-12-03T00:13:53.4146868Z ==============================================================================\n2021-12-03T00:13:54.7198556Z [command]/usr/local/bin/npm --version\n2021-12-03T00:13:55.4151672Z 8.1.0\n2021-12-03T00:13:56.0808980Z [command]/usr/local/bin/npm config list\n2021-12-03T00:13:56.3808693Z ; "env" config from environment\n2021-12-03T00:13:56.3811792Z \n2021-12-03T00:13:56.3813271Z userconfig = "/home/vsts/work/1/npm/13.npmrc" \n2021-12-03T00:13:56.3814393Z \n2021-12-03T00:13:56.3815603Z ; node bin location …
Run Code Online (Sandbox Code Playgroud)

npm-install azure-devops azure-pipelines

2
推荐指数
1
解决办法
1万
查看次数