问题
I'm trying to execute the following command in Azure Data Warehouse:
CREATE EXTERNAL DATA SOURCE Brand WITH (TYPE=HADOOP, LOCATION ='wasbs://brand@mywarehouse.blob.core.windows.net' CREDENTIAL = StorageCred);
And I get this error message:
Incorrect syntax near 'HADOOP'.
I've tried it with and with the command after hadoop, nothing seems to work. Azure Data Warehouse reports version 13.0.400 and I've tried with two versions of SQL Management Studio with the most recent being version 13.0.600.65
回答1:
It sounds to me like you're not actually getting the command to Azure SQL DW. Look at what I recommended to this guy, and use SSDT instead of SSMS, and see if that resolves it for you. https://stackoverflow.com/a/32693813/144351
来源:https://stackoverflow.com/questions/32901234/polybase-create-external-datasource-giving-syntax-error