Skip to content

Fix visitParamExtractRaw for strings with unbalanced { or [.#11318

Merged
alexey-milovidov merged 1 commit intoClickHouse:masterfrom
devwout:master
May 31, 2020
Merged

Fix visitParamExtractRaw for strings with unbalanced { or [.#11318
alexey-milovidov merged 1 commit intoClickHouse:masterfrom
devwout:master

Conversation

@devwout
Copy link
Copy Markdown
Contributor

@devwout devwout commented May 30, 2020

Closes #11254 .

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Fix visitParamExtractRaw when extracted JSON has strings with unbalanced { or [.

@blinkov blinkov added the pr-bugfix Pull request with bugfix, not backported by default label May 30, 2020
@alexey-milovidov alexey-milovidov self-assigned this May 31, 2020
@alexey-milovidov
Copy link
Copy Markdown
Member

Ok. All tests have passed.

Functional stateless tests (memory) — Some queries hung

Actually it's Ok (false positive). Some queries continue to run in background for 10 seconds, and the fail happeded due to test order randomization. Will fix it in our infrastructure.

@alexey-milovidov
Copy link
Copy Markdown
Member

Integration tests (asan) — failed:1

It's flacky test, #11320

Stress test (thread) — Sanitizer assert (in stderr.log)

Actually it's OOM on our test machine.

@alexey-milovidov alexey-milovidov merged commit 5b2b373 into ClickHouse:master May 31, 2020
alexey-milovidov added a commit that referenced this pull request May 31, 2020
KochetovNicolai pushed a commit that referenced this pull request Jun 8, 2020
Fix visitParamExtractRaw for strings with unbalanced { or [.

(cherry picked from commit 5b2b373)
KochetovNicolai pushed a commit that referenced this pull request Jun 8, 2020
Fix visitParamExtractRaw for strings with unbalanced { or [.

(cherry picked from commit 5b2b373)
KochetovNicolai pushed a commit that referenced this pull request Jun 8, 2020
Fix visitParamExtractRaw for strings with unbalanced { or [.

(cherry picked from commit 5b2b373)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

visitParamExtractRaw does not work if the JSON contains a string with unmatched { or [

4 participants