将内容上传到Azure Data Lake存储中

发布于 2025-02-06 11:54:44 字数 179 浏览 2 评论 0原文

将文件上传到存储的常见过程是:

  • 创建新文件
  • 附加内容
  • 泛滥数据

我遇到的问题是,存储包含Databricks使用的创建文件事件,并且在数据泛滥之后未“消耗”文件。

是否可以与内容一起创建/上传文件?就像在Azure门户上的上传文件功能一样。

Common process to upload a file to the storage is to:

  • create new file
  • append content
  • flush data

I have a problem that storage contains the create file event, used by the databricks, and files are not “consumed” after the data flush.

Is it possible to create/upload a file together with the content? Like the upload file functionality on Azure Portal.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

世俗缘 2025-02-13 11:54:44

当添加或修改BLOB时,您可以使用Azure Logic应用程序实现需求(仅属性)(v2)触发器。以下是我的逻辑应用程序的流程。

结果:

“在此处输入图像说明”

我正在尝试使用put Menthod将文件上传到Postman的Azure Storage。

参考文献:
将文件上传到azure blob存储

You can achieve your requirement using Azure logic Apps through When a blob is added or modified (properties only) (V2) trigger. Below is the flow of my logic app.

enter image description here

RESULT:

enter image description here

I'm trying to upload file to Azure storage from Postman using PUT Menthod.

enter image description here

REFERENCES:
Uploading files to Azure Blob Storage

埋葬我深情 2025-02-13 11:54:44

Flush操作的发生 close 参数,默认情况下设置为false

将所有数据附加到文件上后,应使用CLOSS设置为true进行冲洗。

这将意味着该文件已完全上传,并将触发存储帐户事件。

更多信息: https://learn.microsoft.com/en-us/dotnet/api/azure.storage.files.datalake.datalakefileclient.flushasync?view = azure-dotnet #parameters

It occurred that Flush operation has the close parameter, set as false by default.

When all data has been appended to the file, Flush should be performed with close set as true.

That will mean that file has been fully uploaded and the Storage account event will be triggered.

More info: https://learn.microsoft.com/en-us/dotnet/api/azure.storage.files.datalake.datalakefileclient.flushasync?view=azure-dotnet#parameters

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文