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(ourlogs): Add item type check to resolver #6914

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

colin-sentry
Copy link
Member

Now that trace_item_table is the union of both logs and spans, send item_type in the WHERE clause

@colin-sentry colin-sentry requested review from a team as code owners February 25, 2025 22:00
@colin-sentry colin-sentry requested a review from phacops February 25, 2025 22:01
Comment on lines -71 to +75
for column in request.columns:
if column.HasField("key"):
key_col = attribute_key_to_expression(column.key)
for col in request.columns:
if col.HasField("key"):
key_col = attribute_key_to_expression(col.key)
Copy link
Member

Choose a reason for hiding this comment

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

why the rename?

Copy link
Member Author

Choose a reason for hiding this comment

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

python hoists the column out of the loop scope to shadow the import, makes pypy mad

@colin-sentry colin-sentry merged commit d8c61d1 into master Feb 26, 2025
32 checks passed
@colin-sentry colin-sentry deleted the ourlogs_item_type branch February 26, 2025 16:08
volokluev pushed a commit that referenced this pull request Feb 27, 2025
Now that trace_item_table is the union of both logs and spans, send
item_type in the `WHERE` clause
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.

3 participants