-
Notifications
You must be signed in to change notification settings - Fork 50
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
chore(ibis): introduce a script for query locally #869
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about using an env var WREN_CONFIG_ROOT
and using fixed file names like manifest.json
, function_list
, connection_info.json
?
In my use case, I won't put them in the same folder. I could get the manifest from another project and the function list from the ibis resource. I think it's more flexible. |
Because I also use |
How about a |
hmm.. I think it is just a script for testing locally, not for production. I don't prefer to have an additional config file for it. Why not just use |
Oh! cool. The |
Thanks @grieve54706 |
Description
This PR implements a simple Python script to execute an SQL locally. Currently, only implement the BigQuery connection in this PR.
Given the required environment variables, we can input an SQL file like