Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support connection in stage related table functions #13749

Closed
youngsofun opened this issue Nov 17, 2023 · 3 comments · Fixed by #13890
Closed

support connection in stage related table functions #13749

youngsofun opened this issue Nov 17, 2023 · 3 comments · Fixed by #13890
Assignees

Comments

@youngsofun
Copy link
Member

youngsofun commented Nov 17, 2023

we did not support uri because it need connection

for now, user can work around by create a stage first.
since we now support used defined connenction, we can use INFER_SCHEMA(location ='<uri>', connection='<conn_name>'), it save user from creating a object for URIs that not need connection (http, fs)

Originally posted by @youngsofun in #13746 (comment)

@guojidan
Copy link
Contributor

I want to solve it, please assign to me

@guojidan
Copy link
Contributor

I have some confused, for stage we can relate connection when crate it, so we not need relate them in table function?
for http/ fs, stage not support it yet when create stage, so we need temporary convert location = <uri> to stage without add stage to meta?

@youngsofun
Copy link
Member Author

youngsofun commented Nov 30, 2023

I have some confused, for stage we can relate connection when crate it, so we not need relate them in table function? for http/ fs, stage not support it yet when create stage, so we need temporary convert location = <uri> to stage without add stage to meta?

yes, we have kind of location

  1. user stage or created stage from uri + [connection] (recommended for production)
  2. used uri + [connection] directly.

you can refer to the code of copy into table

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants