尝试从 Azure 数据仓库连接到 Azure Blob 存储时出现错误
Msg 105019, Level 16, State 1, Line 100
EXTERNAL TABLE access failed due to internal error: 'Java exception raised on call to HdfsBridge_Connect. Java exception message:
Parameters provided to connect to the Azure storage account are not valid.: Error [Parameters provided to connect to the Azure storage account are not valid.] occurred while accessing external file.'
CREATE DATABASE SCOPED CREDENTIAL AzureStorageCredential
WITH IDENTITY = 'SHARED ACCESS SIGNATURE',
SECRET = 'abcdeXXXXXXXXXXXXXXXXXXXXXXXXX';
CREATE EXTERNAL DATA SOURCE MyAzureStorage1 WITH (
TYPE = HADOOP,
LOCATION = 'wasb://Container@mydwblob.blob.core.windows.net/',
CREDENTIAL = AzureStorageCredential
);
CREATE EXTERNAL TABLE dbo.MyExternalTable(
VendorID varchar(50) NULL,
)
WITH (
LOCATION='/2016/', DATA_SOURCE = MyAzureStorage1,
FILE_FORMAT = myfileformat,REJECT_TYPE = VALUE,REJECT_VALUE = 1000
myfileformat,REJECT_TYPE = VALUE,REJECT_VALUE = 1000
) ;
有什么不对?