I am trying to copy from azure data lake gen2 to table in azure synapse warehouse using local ssms. The COPY INTO
statement is neither throwing any errors and nor dumping the data. I am copying the pandas df from centos server to azure data lake gen2 using sep=',', encoding='utf-8'
. Here is the COPY statement that I am using.
COPY INTO dbo.SALES_CUTOMER_D
FROM 'https://acoount_name/test-file-system/SALES_CUSTOMER_D_0.csv'
WITH (
FILE_TYPE = 'csv',
CREDENTIAL=(IDENTITY= 'Storage Account Key', SECRET=''),
FIELDQUOTE = '"',
FIELDTERMINATOR=',',
ROWTERMINATOR='\r\n',
ENCODING = 'UTF8',
FIRSTROW = 2
)