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

Does Bigtable have concept of URI or anything similar? #2

Open
matthewmturner opened this issue Mar 19, 2022 · 6 comments
Open

Does Bigtable have concept of URI or anything similar? #2

matthewmturner opened this issue Mar 19, 2022 · 6 comments

Comments

@matthewmturner
Copy link

I'm trying to think if this could be accessed using just SQL. I was thinking something like
CREATE EXTERNAL TABLE abc STORED AS BIGTABLE LOCATION uri

@jychen7
Copy link
Member

jychen7 commented Apr 2, 2022

yes (or no), bigtable have uri like https://googleapis.com/bigtable/projects/project_id/instances/instance_id/tables/table_name (source)

it does not have friendly name/schema like gs://, however, we can support custom format in Datafusion, e.g. bigtable://{project_id}/{instance_id}/{table_name}

@matthewmturner
Copy link
Author

Ok, thx. Im focusing on cfg driven approach for now. Will revist uri in the future if needed. I will close this unless its something you are interested in.

@jychen7
Copy link
Member

jychen7 commented Apr 2, 2022

I think about adding to datafusion DDL, but it seems requiring datafusion requires datafusion-bigtable as optional dependency similar to apache/datafusion#2111?

@matthewmturner
Copy link
Author

I was hoping to eventually enable custom SQL in which case the relevant SQL keywords could be bundled with packages such as this rather than in datafusion itself.

@jychen7
Copy link
Member

jychen7 commented Apr 2, 2022

yes, agree

@jychen7
Copy link
Member

jychen7 commented Jun 26, 2022

I will close this unless its something you are interested in.

@matthewmturner thanks, I agree we can close it first

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

No branches or pull requests

2 participants