Skip to content

Conversation

knudtty
Copy link
Contributor

@knudtty knudtty commented Aug 20, 2025

Closes HDX-1965

Copy link

changeset-bot bot commented Aug 20, 2025

🦋 Changeset detected

Latest commit: 4b77c9e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@hyperdx/common-utils Patch
@hyperdx/app Patch
@hyperdx/api Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Aug 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
hyperdx-v2-oss-app Ready Ready Preview Comment Aug 29, 2025 8:45pm

SELECT DISTINCT JSONDynamicPathsWithTypes(${{ Identifier: column }}) as paths
FROM ${tableExpr({ database: databaseName, table: tableName })} ${where}
LIMIT ${{ Int32: maxKeys }}
SETTINGS timeout_overflow_mode = 'break', max_execution_time = 2
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to hardcode this max_execution_time? Where did the 2 come from?

Copy link
Contributor Author

@knudtty knudtty Aug 20, 2025

Choose a reason for hiding this comment

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

Came from a suggestion by Mike, I think it's reasonable. It should find all of the common JSON paths + some dynamic paths. But there is an alternate approach using distinctJSONPathsAndTypes, but is a full aggregation. I think we should try this and gather feedback from large volume users of the JSON type

@teeohhem teeohhem self-requested a review August 20, 2025 16:46
Copy link
Contributor

@teeohhem teeohhem left a comment

Choose a reason for hiding this comment

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

@knudtty left some feedback. Also the CI tests need some love :)

Copy link
Contributor

github-actions bot commented Aug 21, 2025

Stably Runner - Test Suite - 'Smoke Test'

Test Suite Run Result: 🟢 Success (4/4 tests passed) [dashboard]


This comment was generated from stably-runner-action

@kodiakhq kodiakhq bot merged commit 52483f6 into main Aug 29, 2025
6 of 8 checks passed
@kodiakhq kodiakhq bot deleted the aaron/enable-json-filters branch August 29, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants