-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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(ingest): improve extract-sql-agg-log command #12803
Conversation
Adds the ability to extract all tables, instead of just the query log table. This lets us inspect the full internal state of the SqlParsingAggregator.
Codecov ReportAttention: Patch coverage is ✅ All tests successful. No failed tests found.
📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
@@ -391,29 +395,78 @@ def test_path_spec(config: str, input: str, path_spec_key: str) -> None: | |||
raise e | |||
|
|||
|
|||
def _jsonify(data: Any) -> Any: | |||
if dataclasses.is_dataclass(data): | |||
# dataclasses.asdict() is recursive, which is not what we want. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we want dataclassess recursion if we do as well in recursion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated the comment to clarify
Adds the ability to extract all tables, instead of just the query log table. This lets us inspect the full internal state of the SqlParsingAggregator.
Checklist