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

feat(core): add structured trace #271

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

skyzh
Copy link
Member

@skyzh skyzh commented Dec 19, 2024

(See memo_dump.planner.sql for the example)

Compared with the standard log-based trace, structured trace puts all information related to one group together, therefore helping the developer understand what's going on in the system. The trace is appended during apply_rule and optimize_inputs with a step and a stage number, indicating the order of the operations.

@skyzh skyzh force-pushed the skyzh/optimizer-structured-trace branch from e7aab86 to e05b193 Compare December 19, 2024 22:15
@skyzh skyzh requested a review from yliang412 December 19, 2024 22:15
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