Skip to content

sql: fix logic test#26402

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rjnn:fix_logic_tests
Jun 4, 2018
Merged

sql: fix logic test#26402
craig[bot] merged 1 commit intocockroachdb:masterfrom
rjnn:fix_logic_tests

Conversation

@rjnn
Copy link
Copy Markdown
Contributor

@rjnn rjnn commented Jun 4, 2018

When multiple options are specified in a logic test, the options must be comma separated, not space separated, otherwise only the first option will be picked up.

@rjnn rjnn requested review from a team, andy-kimball and justinj June 4, 2018 20:59
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

When multiple options are specified in a logic test, the options must
be comma separated, not space separated, otherwise only the first
option will be picked up.

Release note: None
@rjnn rjnn force-pushed the fix_logic_tests branch from db2c71f to e780c9b Compare June 4, 2018 21:00
@rjnn rjnn mentioned this pull request Jun 4, 2018
@andy-kimball
Copy link
Copy Markdown
Contributor

:lgtm:


Review status: 0 of 2 files reviewed at latest revision, all discussions resolved, some commit checks pending.


Comments from Reviewable

@justinj
Copy link
Copy Markdown
Contributor

justinj commented Jun 4, 2018

LGTM

@rjnn
Copy link
Copy Markdown
Contributor Author

rjnn commented Jun 4, 2018

bors r+

@rjnn
Copy link
Copy Markdown
Contributor Author

rjnn commented Jun 4, 2018

In this case it silently slipped through because the rowsort is currently not doing any work, as the underlying implementation for those two queries was deterministic. I only detected it once I changed the implementation into something nondeterministic (via using distributed SQL execution), which triggered the failure.

craig bot pushed a commit that referenced this pull request Jun 4, 2018
26397: scripts: Remove "default" scope from gceworker r=a-robinson a=a-robinson

I don't know what the default scope is/was, but it's no longer being
accepted. The "cloud-platform" scope is enough to give full permissions
on the project.

Release note: None

26402: sql: fix logic test r=arjunravinarayan a=arjunravinarayan

When multiple options are specified in a logic test, the options must be comma separated, not space separated, otherwise only the first option will be picked up.


Co-authored-by: Alex Robinson <alexdwanerobinson@gmail.com>
Co-authored-by: Arjun Narayan <arjun@cockroachlabs.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 4, 2018

Build succeeded

@craig craig bot merged commit e780c9b into cockroachdb:master Jun 4, 2018
@rjnn rjnn deleted the fix_logic_tests branch June 4, 2018 21:20
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.

4 participants