Skip to content
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

remove all duplicated logic, move all macroses and query parsing functionality to golang, and compile golang parser to WASM #690

Merged
merged 123 commits into from
Mar 10, 2025

Conversation

lunaticusgreen
Copy link
Collaborator

@lunaticusgreen lunaticusgreen commented Dec 10, 2024

fix #688

@Slach Slach self-requested a review December 11, 2024 07:41
@Slach Slach added this to the 3.4.0 milestone Dec 11, 2024
Slach added 6 commits February 5, 2025 17:48
…hich will contains more outliers than avg or other kind of aggregation, fix #500

Signed-off-by: Eugene Klimov <[email protected]>
Signed-off-by: Eugene Klimov <[email protected]>
Signed-off-by: Eugene Klimov <[email protected]>
Signed-off-by: Eugene Klimov <[email protected]>
# "/Grafana Datasource Plugin For Clickhouse/e2e/many categories/*": [
# (Fail, "Waiting for the fix https://github.com/Altinity/clickhouse-grafana/issues/705")
# ],
"/Grafana Datasource Plugin For Clickhouse/e2e/many categories/*": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but we resolved issue?, we need to comment it

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add comment back here

@@ -225,40 +225,10 @@ def annotations_without_time_reformatting(self):
with delay():
assert actions.compare_screenshots_percent(screenshot_name_1="event_tme_panel", screenshot_name_2="toUInt64_panel") > 0.9, error()


@TestScenario
def many_categories(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong way, why we remove tests?

@@ -31,7 +31,7 @@ def function_check(self, query, expected_reformatted_query):

with Then("I check reformatted query"):
with delay():
assert expected_reformatted_query in sql_editor.get_reformatted_query(query_name='A'), error()
assert expected_reformatted_query.replace("\n", "") in sql_editor.get_reformatted_query(query_name='A'), error()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe space instead of empty line?

# "/Grafana Datasource Plugin For Clickhouse/e2e/many categories/*": [
# (Fail, "Waiting for the fix https://github.com/Altinity/clickhouse-grafana/issues/705")
# ],
"/Grafana Datasource Plugin For Clickhouse/e2e/many categories/*": [
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add comment back here

@Slach Slach merged commit e7a2af4 into master Mar 10, 2025
3 checks passed
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.

Rewrite parser to golang only
4 participants