使用u sql在data lake store上传图像

时间:2017-04-20 12:24:22

标签: azure azure-data-lake

我需要将本地文件夹中的多个图像上传到Azure Data Lake store。

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

我能够获得图像的细节,但我还想在Azure Data湖商店上传多个图像 请建议,是否可以在U SQL中或我需要使用任何其他方法相同?
如果您将共享相同的参考链接,那将会很棒。

由于

2 个答案:

答案 0 :(得分:1)

使用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://docs.microsoft.com/en-us/powershell/module/azurerm.datalakestore/import-azurermdatalakestoreitem?view=azurermps-3.8.0

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

答案 1 :(得分:1)