feat: add relationship to backend in endpoint query for inferring language#2500
Merged
Ziinc merged 4 commits intoLogflare:mainfrom Jul 16, 2025
Merged
feat: add relationship to backend in endpoint query for inferring language#2500Ziinc merged 4 commits intoLogflare:mainfrom
Ziinc merged 4 commits intoLogflare:mainfrom
Conversation
Ziinc
reviewed
Jul 7, 2025
priv/repo/migrations/20250705172040_populate_backend_id_for_existing_queries.exs
Outdated
Show resolved
Hide resolved
priv/repo/migrations/20250705171800_add_backend_id_to_endpoint_queries.exs
Outdated
Show resolved
Hide resolved
ed7f758 to
0c740d9
Compare
0c740d9 to
59bd5fe
Compare
Ziinc
approved these changes
Jul 14, 2025
Ziinc
reviewed
Jul 15, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Minimal changes needed to setup relationship between an endpoint
Queryand aBackend.If the language is not set and a backend is when creating a new query - the system will infer the language, with some additional checks around the single tenant/supabase mode flags.
The intent is to pave the way for handling the query language in a more dynamic way. Future PRs will leverage this for supporting clickhouse SQL dialect for endpoint queries.