Comments (16)
Sorry.
Can you repull and retry please?
from bigfunctions.
Simply remove max_rows_per_query from the yaml file where you don't want it to be applied and redeploy the function of the yaml file.
It does nothing if you put it in config.yaml.
from bigfunctions.
That's it. After I changed max_rows_per_query in get.yaml everything is working fine. Thank you so much for your help!
from bigfunctions.
Hi,
Thanks for creating this issue.
I am using firestore in datastore mode for quota management.
But this seems to complexify the deployment for people in their GCP project:
- deployer needs to have enabled firestore
- deployer needs to have his firestore in datastore mode.
- This is impossible to do if the deployer is already using firestore in native mode...
- service account used in the function needs to have the permission to write to firestore
That's why I am considering removing quota management by default.
What do you think?
What's more, I am not very happy with the scalability of how quota management is done for now. I am considering changing that in the future..
from bigfunctions.
I would rather not have quota management than enable additional services.
In my case, firestore will be just another thing to worry about. And to be honest - a dealbreaker.
from bigfunctions.
Sounds good.
I will add an option to choose the quota manager backend (with none by default).
So it should work for you.
I'll let you know.
from bigfunctions.
@dmustafic-datafin I pushed to main branch the updates.
Can you tell me if it works for you?
Here is the commit:
5f72e80
from bigfunctions.
Hey, I pulled the commit, reinstalled the function and now I get this:
from bigfunctions.
You nailed it man, it works! Thank you so much!
from bigfunctions.
Hey, another issue :(
I am executing a stored procedure that queries a lot of data from an API. I changed the code so it uses my get function. But I'm getting the error.
from bigfunctions.
bq function seems to be deployed correctly.
from bigfunctions.
You can change quota or disable them in the yaml of the function before deploying it.
Now, as you don't use Firestore, the only quota that is taken into consideration is the number of rows per query.
from bigfunctions.
For instance in geocode function you have:
If you deploy with this config, users can call it on table of 10 rows maximum.
Remove the quotas entries in this yaml before redeploying
from bigfunctions.
The email address given in error is configured in your config.yaml at field quota_contact
from bigfunctions.
When you deploy for the first time (since I made the modification) it will ask you this parameter and save it in config.yaml
from bigfunctions.
If I make the max_row_per_query parameter in the top of yaml file, like this, is it ok? I still get the same error but with my email this time:
from bigfunctions.
Related Issues (20)
- [new]: `export_to_pubsub(project, topic, data, attributes)` HOT 1
- [new]: `export_to_datastore(project, namespace, kind, key, value)` HOT 1
- [new]: `export_to_bigtable(project, table, key, value)`
- [new]: `get_datastore_data(project, namespace, kind, key)`
- [bug]: `upload_table_to_gsheet `: does not keep column ordered HOT 1
- [new]: `copy_table(table_src, table_dest)` HOT 3
- [bug]: `exchange_rate`: it does not work HOT 3
- [bug]: `explore_column `: can't make visualization work HOT 6
- [bug]: ask_ai deployment has problems and few debug hints HOT 2
- pandas_corr(FULL_TABLE_ID STRING)
- [bug]: `bigfunctions.eu.translate`: it does not work HOT 3
- [new]: `refresh_tableau(obj_title_to_refresh)`
- [feature]: improve quota management and other config
- [new]: `array_intersect(arr1, arr2)`
- [bug]: `get_latest_partition_timestamp`: has a undeclared variable HOT 5
- [bug]: a statement isn't working with new procedure HOT 1
- [new]: `send_teams_message(message, webhook_url)` HOT 2
- [new]: `timestamp_to_unix_date_time(timestamp_expression TIMESTAMP, date_time_part STRING)` HOT 1
- [new]: `timestamp_from_unix_date_time(unix_date_time INT64, date_time_part STRING)` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigfunctions.