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

refactor: upgrade to datafusion 43 #600

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nathanielc
Copy link
Collaborator

@nathanielc nathanielc requested a review from a team as a code owner November 19, 2024 19:26
@nathanielc nathanielc requested review from stbrody and removed request for a team November 19, 2024 19:26
@nathanielc nathanielc force-pushed the feat/flight-sql-prepared-statements branch from 716ef09 to 74e55a0 Compare November 19, 2024 19:27
Copy link
Contributor

@dav1do dav1do left a comment

Choose a reason for hiding this comment

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

Looks like you need to use a remote patch but looks like nice clean up

Cargo.toml Outdated

[patch."https://github.com/datafusion-contrib/datafusion-federation.git"]
# Can remove once https://github.com/datafusion-contrib/datafusion-federation/pull/81 merges
datafusion-flight-sql-server = { path = "../datafusion-federation/datafusion-flight-sql-server" }
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this should be your repo for now: datafusion-flight-sql-server = { git = "https://github.com/nathanielc/datafusion-federation.git", branch = "feat/put-prepared" }

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, I should point at my branch... However reviews on that repo are pretty fast so I am hoping that it gets reviewed before this is ready to merge so that I can just point to main instead of my branch. If not I'll update here.

@@ -22,13 +22,13 @@ pub async fn run(
/// Constructs a new server and can be started.
pub fn new_server(ctx: SessionContext) -> anyhow::Result<Router> {
let svc = FlightServiceServer::new(
FlightSqlService::new(ctx.state()).with_sql_options(Some(
FlightSqlService::new(ctx.state()).with_sql_options(
Copy link
Contributor

Choose a reason for hiding this comment

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

nice

@@ -178,7 +180,7 @@ impl TableProvider for CacheTable {
&self,
_state: &dyn Session,
input: Arc<dyn ExecutionPlan>,
overwrite: bool,
insert_op: InsertOp,
Copy link
Contributor

Choose a reason for hiding this comment

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

nice

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.

Implement Prepared statement support in FlighSQL server
2 participants