Skip to content

Revert "JSONCompactWithProgress query output format"#69989

Merged
alexey-milovidov merged 1 commit intomasterfrom
revert-66205-output-format-json-compact-with-progress
Sep 26, 2024
Merged

Revert "JSONCompactWithProgress query output format"#69989
alexey-milovidov merged 1 commit intomasterfrom
revert-66205-output-format-json-compact-with-progress

Conversation

@alexey-milovidov
Copy link
Copy Markdown
Member

Reverts #66205

@Algunenano, Basic testing shown that it does not work as intended:

curl -v http://localhost:8123/ -d "SELECT count(), sum(cityHash64(*)) FROM hits FORMAT JSONCompactWithProgress"

@Algunenano
JSONCompactWithProgress does not work in clickhouse-local:
https://pastila.nl/?0024596c/d039cc99db3cc026de2afeb283771e72#x1s8sFhPOSCAPko0dGFHAw==

Whitespaces are weirdly inconsistent in different elements.

The data is not flushed on every progress packet in clickhouse-client, which defeats the purpose:
https://pastila.nl/?000055ae/75b3d3ea4b6c667b7ea188b2dbf75535#vrQYam7YEVr3JUVWTuFIKg==
(everything was displayed in a single step after 20 sec)

No... it does not even work in curl 😞

@alexey-milovidov alexey-milovidov self-assigned this Sep 26, 2024
@alexey-milovidov alexey-milovidov merged commit a7371ce into master Sep 26, 2024
@alexey-milovidov alexey-milovidov deleted the revert-66205-output-format-json-compact-with-progress branch September 26, 2024 07:49
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-synced-to-cloud The PR is synced to the cloud repo label Sep 26, 2024
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-backports-created-cloud deprecated label, NOOP label Sep 26, 2024
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Sep 26, 2024
robot-clickhouse-ci-1 added a commit that referenced this pull request Sep 26, 2024
Backport #69989 to 24.9: Revert "JSONCompactWithProgress query output format"
@ArctypeZach
Copy link
Copy Markdown
Contributor

@alexey-milovidov - is there an open issue for the underlying problem with flushing progress? Should I open one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants