雪花外部表指向Azure Blob
我已经创建了一个指向Azure blob的外部表,但其中没有任何数据 我已经使用了我在外部表中用于创建Snowpipe的通知集成,数据正在使用Snowpipe加载到表中 注意:Azure端的所有配置都已完成 我的代码雪花外部表指向Azure Blob,azure,snowflake-cloud-data-platform,snowflake-pipe,Azure,Snowflake Cloud Data Platform,Snowflake Pipe,我已经创建了一个指向Azure blob的外部表,但其中没有任何数据 我已经使用了我在外部表中用于创建Snowpipe的通知集成,数据正在使用Snowpipe加载到表中 注意:Azure端的所有配置都已完成 我的代码 create notification integration MY_AZURE_INT1 enabled = true type = queue notification_provider = azure_storage_queue azure_storage_q
create notification integration MY_AZURE_INT1
enabled = true
type = queue
notification_provider = azure_storage_queue
azure_storage_queue_primary_uri = 'https://xxxhhhhhdfdfdgdh'
azure_tenant_id = '093715bd-960e-470c-b5b9-4981d133361c'
创建的通知
CREATE OR REPLACE STAGE AZURE_STAGE
url = 'azure://snowpipedatastorage342345.blob.core.windows.net/snowpipe-source-blob'
credentials = (azure_sas_token=
'?sp=rl&st=2020-09-17T12:15:20Z&se=2020-10-18T12:15:00Z&sv=2019-12-12&sr=c&sig=gnCc%2FfGk8005pBXNe2DMSeZIPqZy2GE4NsbereghhDwyE%3D
');
创造舞台
create or replace external table ext_table
integration = 'MY_AZURE_INT1'
with location = @AZURE_STAGE/call_center
file_format = (format_name = CSV_FORMAT)
auto_refresh = true
REFRESH_ON_CREATE = TRUE
雪管
create or replace pipe spipe1
auto_ingest = true
integration = 'MY_AZURE_INT1'
as
copy into call_center
from @AZURE_STAGE/call_center
file_format = (format_name = CSV_FORMAT)
pattern='.*[.]csv';
正在加载使用Snowpipe的数据,而使用外部表时未加载任何数据