Skip to content

Conversation

@plamut
Copy link
Contributor

@plamut plamut commented Jan 24, 2020

Fixes #10194.

For some reason the number of rows in the public test file us-states-by-date.csv has changed from 50 to 49. This PR adjusts the affected test.

PR checklist

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

@tswast
Copy link
Contributor

tswast commented Jan 24, 2020

@shollyman Can you look into why this CSV changed and revert it back to the correct file? Note: we should have a rolling backup of files in the storage-samples project that owns this bucket.

@tswast
Copy link
Contributor

tswast commented Jan 24, 2020

I just looked at the bucket. It was indeed modified at January 22, 2020 at 4:20:49 PM UTC-6. Not sure by whom.

$ diff bigquery_us-states_us-states-by-date*
1d0
< name,post_abbr,date
51c50
< Wyoming,WY,1890-07-10
\ No newline at end of file
---
> Wyoming,WY,1890-07-10

Looks like the header line was removed and a new line added at the end. Not sure why.

@tswast
Copy link
Contributor

tswast commented Jan 24, 2020

I've restored the file from backup. Closing this PR.

@tswast tswast closed this Jan 24, 2020
@plamut plamut deleted the fix-partitions-snippet-test branch January 27, 2020 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement. testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BigQuery: the test for load partitioned table sample fails

3 participants