Skip to content

Conversation

@Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Sep 11, 2025

Description

Pretty-prints Calcite explain output as a special case of exception handling

image

Because I'm tired of living like this

image

The lexer/colorization isn't perfect (the explain grammar seems largely made up & has random parsing warts), but still infinitely better than the alternative

Issues Resolved

My eyes strain less when debugging Calcite issues now

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
@Swiddis Swiddis changed the title Add pretty calcite output Add pretty calcite explain output Sep 11, 2025
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
@Swiddis Swiddis changed the base branch from 1.0-legacy to 1.0-dev September 12, 2025 00:01
@Swiddis Swiddis merged commit 88e0e73 into opensearch-project:1.0-dev Sep 12, 2025
4 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.

1 participant