-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test dynamic column names in resultsets #344
Conversation
d3455f1
to
b97275e
Compare
Finally able to reproduce the bug scenario:
|
ed12232
to
cfdae2e
Compare
e9ca59c
to
0b8bd79
Compare
0b8bd79 which picks up the fix passes https://jenkins.crate.io/job/CrateDB/job/qa/job/crate_qa_on_pr/563/execution/node/202/log/ 102573c without the fix fails with Currently the version upgrades are limited to |
Hi @mfussenegger could you take a look at this test before I start resolving the timeout errors(which will come back when I revert the temporarily removed changes) |
92389b8
to
3017537
Compare
Hi @matriv could you review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks, good, thank you, left a comment.
tests/bwc/test_upgrade.py
Outdated
cursor.execute('SELECT cols from doc.parted') | ||
result = cursor.fetchall() | ||
for row in result: | ||
if row[0] is not None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't happen, right? wouldn't be better to remove the check and have it throw an error if the result is null
?
Also, please do a REFRESH
after the INSERT, to make sure that we test all the values for cols
.
2a0787b
to
77a718c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this going to stop producing the broken version because we had released a fix that caused it?
I'd think we'd need a dedicated version path that uses the broken version, and then moves to the newer ones which contain mitigations?
For all tables created in |
Okay, I thought we had backported a fix to 5.7 that prevents that issue from happening? |
The fix is crate/crate#17178 and is only merged to |
77a718c
to
318a628
Compare
Summary of the changes / Why this is an improvement
Adding a test for crate/crate#17580.
Checklist