databend icon indicating copy to clipboard operation
databend copied to clipboard

Failed to create a stage on azure blob storage.

Open nashgao opened this issue 1 year ago • 2 comments

Hi guys, new to databend just trying to figure out how to use it along with azure blob storage.

I was trying to create a new stage base on the blob storage and found the pattern for the url as:

'azblob://<container>[<path/>]'

So I tried to run this command under bendsql

CREATE STAGE test
    URL='azblob://my-container/'
    CONNECTION =(ENDPOINT_URL='https://my-username.blob.core.windows.net/my-cotainer/' account_key='my-account-key' account_name='my-account-name');

then it returned with this error

 APIError: ResponseError with 2001: InvalidArgument:  source: databend_common_proto_conv::from_to_protobuf::Incompatible: Incompatible: stage type: azblob 

Unfortunately I couldn't find a fully working example for azure storage (everything is s3 related), is it possible for anyone to tell me what i did wrong, or databend just doesn't support azure storage as of now.

nashgao avatar Apr 14 '24 11:04 nashgao

@Xuanwo may be able to assist with this issue.

BohuTANG avatar Apr 14 '24 13:04 BohuTANG

Should be fixed in https://github.com/datafuselabs/databend/pull/15234

Xuanwo avatar Apr 15 '24 02:04 Xuanwo