Comments (3)
cf. #26252
from google-cloud-ruby.
You can set it in the block passed to load_job
:
my_load_job = dataset.load_job "my_new_table", my_file do |schema|
schema.column_name_character_map = "strict"
end
Adding another argument to load_job
makes an already too-long argument list even longer. Is there a reason we need that?
from google-cloud-ruby.
You're right, passing the configuration to the block actually works.
To my opinion, it's better to have all options available directly through the named params of the method, and have not different behaviors depending on the options but it's totally personal.
from google-cloud-ruby.
Related Issues (20)
- [Nightly CI Failures] Failures detected for google-cloud-datastore-admin HOT 1
- [Nightly CI Failures] Failures detected for google-cloud-datastore-v1 HOT 1
- Warning: a recent release failed
- "Google::Cloud::Vision.image_annotator" crashes Puma app server in Rails controller, but same code runs fine as a standalone ruby script HOT 2
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise HOT 1
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise-v1 HOT 1
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise-v1beta1 HOT 1
- Warning: a recent release failed
- [Nightly CI Failures] Failures detected for google-cloud-bigtable HOT 8
- [Nightly CI Failures] Failures detected for google-cloud-bigquery HOT 1
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise-v1beta1 HOT 2
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise HOT 2
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise-v1 HOT 3
- [Nightly CI Failures] Failures detected for google-cloud-recommendation_engine-v1beta1 HOT 3
- [Nightly CI Failures] Failures detected for google-cloud-recommendation_engine HOT 3
- Unable to run text_detection with image arguments HOT 3
- Warning: a recent release failed
- Warning: a recent release failed HOT 1
- Warning: a recent release failed
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 google-cloud-ruby.