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

Feature request : user friendly methods for Querybuilder , show and sql #3076

Open
djouallah opened this issue Dec 22, 2024 · 2 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@djouallah
Copy link

first thanks for finally exposing the SQL interface of datafusion inside delta_rs, it just make perfect sense, it was always hard to explain why we need to download datafusion twice.

this is just for aesthetic reasons and for compatibility with the broader ecosystem

QueryBuilder().execute, it will be nice to have QueryBuilder().sql()

and instead of writing
print(pa.Table.from_batches(QueryBuilder().execute(value)))

something like this will be nice

QueryBuilder().sql("select 42").show()

thank you again,

@djouallah djouallah added the enhancement New feature or request label Dec 22, 2024
@ion-elgreco
Copy link
Collaborator

@djouallah can you make a PR for this?

@ion-elgreco ion-elgreco added help wanted Extra attention is needed good first issue Good for newcomers labels Dec 22, 2024
@djouallah
Copy link
Author

@ion-elgreco I wish, I barely knows how to write simple Python and a bit of sql :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants