-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: main
Are you sure you want to change the base?
Conversation
716ef09
to
74e55a0
Compare
There was a problem hiding this 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" } |
There was a problem hiding this comment.
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" }
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
Fixes #599 See for the real work datafusion-contrib/datafusion-federation#81