-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
database_observability: split out sqlparser functions (#2743)
Move the sqlparser functions from query_sample to a new file. This should allow swapping the parser for a different implementation, if needed. We're still tied to types from the underlying library, but I think it's fine for now. Tests are moved around while maintaining the same coverage percentage. Now the query_sample tests are more focussed on testing the collector logic rather than the parsing of sql queries.
- Loading branch information
1 parent
e84c222
commit 38f2bd3
Showing
5 changed files
with
280 additions
and
321 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.