Skip to content

Commit 4673567

Browse files
committed
fix: resolve proto conflicts
1 parent f22080c commit 4673567

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

datafusion/proto-common/src/generated/pbjson.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,12 +2007,7 @@ impl<'de> serde::Deserialize<'de> for CsvOptions {
20072007
if truncated_rows__.is_some() {
20082008
return Err(serde::de::Error::duplicate_field("truncatedRows"));
20092009
}
2010-
<<<<<<< HEAD
2011-
2012-
truncated_rows__ =
2013-
=======
20142010
truncated_rows__ =
2015-
>>>>>>> upstream/branch-51
20162011
Some(map_.next_value::<::pbjson::private::BytesDeserialize<_>>()?.0)
20172012
;
20182013
}

datafusion/proto/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@
9797
//! assert_eq!(format!("{:?}", plan), format!("{:?}", logical_round_trip));
9898
//! # Ok(())
9999
//! # }
100-
<<<<<<< HEAD
101-
=======
102100
//! ```
103101
//! # Example: Serializing [`ExecutionPlan`]s
104102
//!
@@ -122,7 +120,6 @@
122120
//! # Ok(())
123121
//! # }
124122
//! ```
125-
>>>>>>> upstream/branch-51
126123
pub mod bytes;
127124
pub mod common;
128125
pub mod generated;

datafusion/proto/tests/cases/roundtrip_physical_plan.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,10 @@ use arrow::csv::WriterBuilder;
3232
use arrow::datatypes::{Fields, TimeUnit};
3333
use datafusion::physical_expr::aggregate::AggregateExprBuilder;
3434
use datafusion::physical_plan::coalesce_batches::CoalesceBatchesExec;
35-
<<<<<<< HEAD
3635
use datafusion::physical_plan::node_id::{
3736
annotate_node_id_for_execution_plan, NodeIdAnnotator,
3837
};
39-
=======
4038
use datafusion::physical_plan::metrics::MetricType;
41-
>>>>>>> upstream/branch-51
4239
use datafusion_expr::dml::InsertOp;
4340
use datafusion_functions_aggregate::approx_percentile_cont::approx_percentile_cont_udaf;
4441
use datafusion_functions_aggregate::array_agg::array_agg_udaf;
@@ -150,14 +147,8 @@ fn roundtrip_test_and_return(
150147
let proto: protobuf::PhysicalPlanNode =
151148
protobuf::PhysicalPlanNode::try_from_physical_plan(exec_plan.clone(), codec)
152149
.expect("to proto");
153-
<<<<<<< HEAD
154-
let runtime = ctx.runtime_env();
155150
let mut result_exec_plan: Arc<dyn ExecutionPlan> = proto
156-
.try_into_physical_plan(ctx, runtime.deref(), codec)
157-
=======
158-
let result_exec_plan: Arc<dyn ExecutionPlan> = proto
159151
.try_into_physical_plan(&ctx.task_ctx(), codec)
160-
>>>>>>> upstream/branch-51
161152
.expect("from proto");
162153

163154
// Qi: workaround for NodeId not being serialized/deserialized,

0 commit comments

Comments
 (0)