columnq: add apply_query() and exec_query_with_df() to query::graphql module#348
Merged
houqp merged 3 commits intoroapi:mainfrom Oct 21, 2024
Merged
columnq: add apply_query() and exec_query_with_df() to query::graphql module#348houqp merged 3 commits intoroapi:mainfrom
apply_query() and exec_query_with_df() to query::graphql module#348houqp merged 3 commits intoroapi:mainfrom
Conversation
houqp
approved these changes
Oct 21, 2024
houqp
pushed a commit
that referenced
this pull request
Oct 21, 2024
…t module (#349) Following this PR #348 This PR exposes two functions from the columnq::query::rest module: apply_query() exec_query_with_df() This PR also includes breaking changes to ensure consistency with the function names in the `columnq::query::graphql` module. I renamed the function `query_table` to `exec_table_query`.
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.
Hello,
This PR exposes two functions from the
columnq::query::graphqlmodule:apply_query()exec_query_with_df()These functions are similar to
query_to_df()andexec_query(), but they accept aDataFrameinstead of aSessionContext.This is useful for defining rules directly within a
DataFramewithout modifying the table schema in DataFusion's session context.