Comments (7)
@julioyildo A quick update - directly implementing the export-to-csv functionality in cell magic is not planned, but there are plans to add a dedicated "export API" on the backend. That API can then be integrated in cell magic.
It's not something that can be expected in the very near future, though.
from python-bigquery.
@julioyildo It's not planned AFAIK, but exporting data as CSV actually sounds as something that quite a few people might find useful (IMHO). I will bring up the proposal at the next meeting.
Also, thanks for the detailed specs and even a sample implementation!
from python-bigquery.
@NI1993 I can ask if anything has changed in this regard, will post any updates under your feature request.
Edit: I see that the original feature request is about the Jupyter notebook cell magic, thus thanks for opening a new request.
from python-bigquery.
Thank you @plamut ! :)
from python-bigquery.
@julioyildo A quick update - directly implementing the export-to-csv functionality in cell magic is not planned, but there are plans to add a dedicated "export API" on the backend. That API can then be integrated in cell magic.
It's not something that can be expected in the very near future, though.
@plamut Any updates that you know of regarding this feature?
It would be extremely helpful for me as well.
from python-bigquery.
@plamut Thanks, Highly appreciated!
from python-bigquery.
Revisiting this FR as it's languished for a bit.
I'm going to close this out, as this seems like a clear win for the EXPORT DATA
statement to get query results quickly and easily to a CSV file in GCS.
https://cloud.google.com/bigquery/docs/exporting-data#sql for examples of using this, but the core idea is that you can run exports via the query language, rather than needing to accomplish this in two stages.
from python-bigquery.
Related Issues (20)
- Add slot_ms to the Python QueryPlanEntry class HOT 1
- protobuf-4.25.3 is incompatible with the library and results in an import error HOT 3
- Bug introduced in v3.12.0 HOT 8
- Warning: a recent release failed
- shapely >= 2.0.0 not supported for google-cloud-bigquery = "^2.x.x" with extras pandas HOT 2
- NULL is incorrectly introduced in previously working query HOT 11
- Warning: a recent release failed HOT 1
- Warning: a recent release failed HOT 1
- Warning: a recent release failed HOT 1
- .create_table method not working on BigQuery, if the table is an ibis table HOT 2
- `load_table_from_dataframe` doesn't respect `schema` fields order when specified HOT 2
- `query_and_wait` use in `Cursor.execute` breaks `default_query_job_config` in SQLAlchemy BQ Dialect HOT 2
- get_iam_policy and set_iam_policy are missing doc strings
- pyarrow import error in 3.20.0 HOT 9
- Support string_dtype, etc. in to_geodataframe HOT 2
- perf: don't retry getQueryResults as often with ambiguous errors in `QueryJob.result()` HOT 2
- Natural language support in BigQuery HOT 1
- AttributeError: module 'google._upb._message' has no attribute 'MessageMapContainer' HOT 3
- Dependency version mismatch on pyarrow HOT 4
- extract_table() yields 403 error on GCS bucket with retention policy 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 python-bigquery.