2017-04-20 6 views
1

Ich muss mehrere Bilder aus meinem lokalen Ordner in Azure Data Lake Store hochladen.Laden Sie Bilder auf Data Lake Store mit u sql

Ich war auf der Suche auf den Link:
https://blogs.msdn.microsoft.com/azuredatalake/2016/08/18/introducing-image-processing-in-u-sql/

Ich bin in der Lage Detail der Bilder zu bekommen, aber ich will auch mehrere Bilder auf Azure Daten See Shop hochladen.
Bitte schlagen Sie vor, ist es möglich in U SQL oder ich muss einen anderen Ansatz für die gleiche verwenden?
Es wäre toll, wenn Sie einen Referenzlink für das gleiche teilen.

Dank

Antwort

1

Mit 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 
Verwandte Themen