I am having difficulty creating external table in SMSS. I have the dataset stored in BLOB storage and try to load it from there in to external table. I keep getting this error:
HdfsBridge::recordReaderFillBuffer - Unexpected error encountered filling record reader buffer: HadoopSqlException: Error converting data type NVARCHAR to INT
i used the following query
CREATE EXTERNAL TABLE [ext].[klant](
[number] [int] NOT NULL,
[customer_id] [int] NOT NULL,
[status] [nvarchar](50) NOT NULL,
[shipping.postcode] [nvarchar](50) NOT NULL,
[date_created] [datetime2](0) NOT NULL,
[date_completed] [datetime2](0) NOT NULL,
[shipping.address_1] [nvarchar](50) NOT NULL,
[shipping.city] [nvarchar](50) NOT NULL
)
WITH (
LOCATION='/customer/',
DATA_SOURCE = storage,
FILE_FORMAT = fileformat,
REJECT_TYPE = VALUE,
REJECT_VALUE = 0
);
I also tried to solve this problem in ADF by copying the data from source to table, but with no luck. I hope somebody could help me with this problem. thanks in advance
TYPE = HadoopandLOCATION = wasbs://<container>@<storage_account>.blob.core.windows.netPlease see the following tutorial on how to set this up: learn.microsoft.com/en-us/azure/synapse-analytics/…