Skip to content

Questions for CONNECTION in COPY and CREATE STAGE #6620

Answered by Xuanwo
Xuanwo asked this question in Q&A
Discussion options

You must be logged in to vote

The existing document already says users can optionally specify an endpoint URL for s3 external located files.

The doc is out-of-date. ENDPOINT_URL didn't implement at all.

We will place all connection-related options with the new change into CONNECTION.

And CONNECTION is optional for now.

Same question for ACCESS_KEY_ID & SECRET_ACCESS_KEY. The existing document indicates they are optional as well. How about now?

No, ACCESS_KEY_ID and SECRET_ACCESS_KEY are required now. Databend could return an error if those values are missing. Those values will check based on different services:

  • s3: optional: ACCESS_KEY_ID, SECRET_ACCESS_KEY, ENDPOINT_URL, REGION, ENABLE_VIRTUAL_HOST_STYLE
  • azblob:…

Replies: 1 comment 2 replies

Comment options

Xuanwo
Jul 14, 2022
Collaborator Author

You must be logged in to vote
2 replies
@Xuanwo
Comment options

Xuanwo Jul 14, 2022
Collaborator Author

@soyeric128
Comment options

Answer selected by Xuanwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #6615 on July 14, 2022 05:26.