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

feat: support create table from select api #923

Closed
wants to merge 2 commits into from

Conversation

yulaicui
Copy link
Contributor

@yulaicui yulaicui commented Jul 8, 2023

This PR adds api support for create table from select.
for instance
cursor.query("CREATE TABLE transcript AS SELECT SpeechRecognizer(audio) FROM video").execute()
can be written as
select_rel = cursor.table("video").select("SpeechRecognizer(audio)")
cursor.create_table("transcript", query=select_rel).execute()

@yulaicui yulaicui requested a review from jarulraj July 10, 2023 18:02
@jarulraj
Copy link
Member

This was resolved in #1125

@jarulraj jarulraj closed this Sep 17, 2023
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 this pull request may close these issues.

2 participants