-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WRITE_TRUNCATE appending to table #2326
Comments
@DannyLee12 in #2327 I tried to reproduce this issue, creating a new system test which loads the same table twice, with Can you figure out what differs between your case and that new test? |
@tseaver I see you are using This is a quote from these documents:
Emphasis mine. Is it possible to update the docs referenced? Thanks again. |
The documentation that you referenced is a more general and somewhat language agnostic documentation to describe the architecture of the service. I think this might be more helpful for you. |
@DannyLee12 those docs describe the field names which the back-end requires be set in the JSON payloads: the property names we expose in the FWIW: @jonparrott and his team are working on exposing correct snippets for each API language wrapper in the back-end docs. Those snippets will be tested, and therefore match this library. |
@tseaver @daspecster Thanks guys, as with everything, it's obvious once you know. Thanks again, really appreciate the assistance. |
Using the templates found here
Running the commands
This piece of code appends to my table instead of overwriting it like the docs say.
I know this because if I use:
after the job it has increased by 2 million - the size of the table.
I use a workaround as follows:
Which seems to work fine, and the while loop is just me making certain that the table is deleted but when I tested it without the while loop it also worked.
Anyway, the issue is WRITE_TRUNCATE isn't doing what it say it does in the docs.
The text was updated successfully, but these errors were encountered: