Skip to content

Conversation

@pabloem
Copy link
Member

@pabloem pabloem commented May 2, 2019

@pabloem
Copy link
Member Author

pabloem commented May 2, 2019

Run Python PreCommit

@pabloem
Copy link
Member Author

pabloem commented May 2, 2019

Run Python PostCommit

@tvalentyn
Copy link
Contributor

Run Python Postcommit

| "WriteWithMultipleDests2" >> beam.io.gcp.bigquery.WriteToBigQuery(
table=value_provider.StaticValueProvider(
str, '%s:%s' % (self.project, output_table_2)),
schema=bigquery.SCHEMA_AUTODETECT,
Copy link
Contributor

@tvalentyn tvalentyn May 6, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that SCHEMA_AUTODETECT does not work if BQ has to ingest bytes data into a table that has bytes field.
Also, should we have a test with and without autodetect behavior?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are tests with and without this feature running in that file. WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that should be fine and we don't need to duplicate every test twice, but you might want to do a one-off run of integration tests where the value of autodetection flag is changed to the opposite value, to make sure there are no surprises.

@tvalentyn
Copy link
Contributor

I think we should loop in Cham, who reviewed previous BQ PRs, perhaps once the tests pass.
//cc: @chamikaramj

@pabloem
Copy link
Member Author

pabloem commented May 6, 2019

Run Python PostCommit

3 similar comments
@pabloem
Copy link
Member Author

pabloem commented May 6, 2019

Run Python PostCommit

@pabloem
Copy link
Member Author

pabloem commented May 6, 2019

Run Python PostCommit

@pabloem
Copy link
Member Author

pabloem commented May 6, 2019

Run Python PostCommit

@pabloem
Copy link
Member Author

pabloem commented May 7, 2019

Run Portable_Python PreCommit

@pabloem
Copy link
Member Author

pabloem commented May 7, 2019

Run Python Precommit

@pabloem
Copy link
Member Author

pabloem commented May 7, 2019

Run Python PostCommit

2 similar comments
@pabloem
Copy link
Member Author

pabloem commented May 7, 2019

Run Python PostCommit

@pabloem
Copy link
Member Author

pabloem commented May 7, 2019

Run Python PostCommit

@pabloem
Copy link
Member Author

pabloem commented May 8, 2019

Run Python PostCommit

@tvalentyn
Copy link
Contributor

LGTM, thank you! Please squash commits before the merge.

@pabloem pabloem merged commit 20badac into apache:master May 8, 2019
@pabloem pabloem deleted the no-autodetect branch May 8, 2019 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants