Loading AVRO files from local filesystem.#3427
Conversation
Generated with `avro-tools`
$ avro-tools fromjson \
--schema-file tests/data/colors.avroschema \
tests/data/colors.json > tests/data/colors.avro
See:
http://www.michael-noll.com/blog/2013/03/17/reading-and-writing-avro-files-from-the-command-line/
|
@tswast Can you push your branch to this repository, so that the system test actually gets run by the CI before we merge? |
|
@tswast If you don't have |
|
Also, @tweeter0830 reported that the patch did not fix the issue with uploading AVRO data. |
|
I saw that, but I was not able to reproduce the issue after the patch. |
|
Hmm, I see that this change made the Avro load test pass, but now the CSV load test fails. |
|
@tswast That is weird, as the testcase clearly sets the schema on the table: it should be passing the schema along. |
|
We missed the "fields" property of the schema object in the patch. Seems to be running fine now. https://circleci.com/gh/GoogleCloudPlatform/google-cloud-python/1922 |
|
I've pushed the branch here (as |
|
BQ system tests are green on Circle CI. |
Adds an integration test for loading AVRO files.
Don't set the schema if none is provided (patch).
Closes #3416.