gpt4 book ai didi

azure - 使用 u sql 将图像上传到数据湖存储

转载 作者:行者123 更新时间:2023-12-03 01:47:59 24 4
gpt4 key购买 nike

我需要将多个图像从本地文件夹上传到 Azure Data Lake 存储。

我正在查看链接:
https://blogs.msdn.microsoft.com/azuredatalake/2016/08/18/introducing-image-processing-in-u-sql/

我能够获取图像的详细信息,但我还想在 Azure Data Lake 存储上上传多个图像。
请建议,在 U SQL 中是否可能,或者我需要使用任何其他方法来实现相同的目的?
如果您能分享任何相同的引用链接,那就太好了。

谢谢

最佳答案

使用 PowerShell

# Log in to your Azure account
Login-AzureRmAccount

# Modify variables as required
$DataLakeStoreAccount = #"<yourAccountNameHere>";
$DataLakeStorePath = "/Samples/Data";
$destinationFile = "/Samples/Data/Test.txt";
$localFile = "C:\Temp\Test.txt";


# upload file
Import-AzureRmDataLakeStoreItem -AccountName $DataLakeStoreAccount -Path $localfile -Destination $destinationFile;
# https://learn.microsoft.com/en-us/powershell/module/azurerm.datalakestore/import-azurermdatalakestoreitem?view=azurermps-3.8.0

#verify
Get-AzureRmDataLakeStoreChildItem -AccountName $DataLakeStoreAccount -Path $DataLakeStorePath;
# https://learn.microsoft.com/en-us/powershell/module/azurerm.datalakestore/get-azurermdatalakestorechilditem?view=azurermps-3.8.0

关于azure - 使用 u sql 将图像上传到数据湖存储,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43519466/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com