@@ -1895,7 +1895,7 @@ impl ToStringifiedPlan for LogicalPlan {
1895
1895
}
1896
1896
1897
1897
/// Produces no rows: An empty relation with an empty schema
1898
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
1898
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
1899
1899
pub struct EmptyRelation {
1900
1900
/// Whether to produce a placeholder row
1901
1901
pub produce_one_row : bool ,
@@ -1925,7 +1925,7 @@ pub struct EmptyRelation {
1925
1925
/// intermediate table, then empty the intermediate table.
1926
1926
///
1927
1927
/// [Postgres Docs]: https://www.postgresql.org/docs/current/queries-with.html#QUERIES-WITH-RECURSIVE
1928
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
1928
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
1929
1929
pub struct RecursiveQuery {
1930
1930
/// Name of the query
1931
1931
pub name : String ,
@@ -1942,7 +1942,7 @@ pub struct RecursiveQuery {
1942
1942
/// Values expression. See
1943
1943
/// [Postgres VALUES](https://www.postgresql.org/docs/current/queries-values.html)
1944
1944
/// documentation for more details.
1945
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
1945
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
1946
1946
pub struct Values {
1947
1947
/// The table schema
1948
1948
pub schema : DFSchemaRef ,
@@ -2023,7 +2023,7 @@ pub fn projection_schema(input: &LogicalPlan, exprs: &[Expr]) -> Result<Arc<DFSc
2023
2023
}
2024
2024
2025
2025
/// Aliased subquery
2026
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2026
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2027
2027
// mark non_exhaustive to encourage use of try_new/new()
2028
2028
#[ non_exhaustive]
2029
2029
pub struct SubqueryAlias {
@@ -2071,7 +2071,7 @@ impl SubqueryAlias {
2071
2071
///
2072
2072
/// Filter should not be created directly but instead use `try_new()`
2073
2073
/// and that these fields are only pub to support pattern matching
2074
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2074
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2075
2075
#[ non_exhaustive]
2076
2076
pub struct Filter {
2077
2077
/// The predicate expression, which must have Boolean type.
@@ -2174,7 +2174,7 @@ impl Filter {
2174
2174
}
2175
2175
2176
2176
/// Window its input based on a set of window spec and window function (e.g. SUM or RANK)
2177
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2177
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2178
2178
pub struct Window {
2179
2179
/// The incoming logical plan
2180
2180
pub input : Arc < LogicalPlan > ,
@@ -2368,7 +2368,7 @@ impl TableScan {
2368
2368
}
2369
2369
2370
2370
/// Apply Cross Join to two logical plans
2371
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2371
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2372
2372
pub struct CrossJoin {
2373
2373
/// Left input
2374
2374
pub left : Arc < LogicalPlan > ,
@@ -2379,7 +2379,7 @@ pub struct CrossJoin {
2379
2379
}
2380
2380
2381
2381
/// Repartition the plan based on a partitioning scheme.
2382
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2382
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2383
2383
pub struct Repartition {
2384
2384
/// The incoming logical plan
2385
2385
pub input : Arc < LogicalPlan > ,
@@ -2388,7 +2388,7 @@ pub struct Repartition {
2388
2388
}
2389
2389
2390
2390
/// Union multiple inputs
2391
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2391
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2392
2392
pub struct Union {
2393
2393
/// Inputs to merge
2394
2394
pub inputs : Vec < Arc < LogicalPlan > > ,
@@ -2398,7 +2398,7 @@ pub struct Union {
2398
2398
2399
2399
/// Prepare a statement but do not execute it. Prepare statements can have 0 or more
2400
2400
/// `Expr::Placeholder` expressions that are filled in during execution
2401
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2401
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2402
2402
pub struct Prepare {
2403
2403
/// The name of the statement
2404
2404
pub name : String ,
@@ -2430,7 +2430,7 @@ pub struct Prepare {
2430
2430
/// | parent_span_id | Utf8 | YES |
2431
2431
/// +--------------------+-----------------------------+-------------+
2432
2432
/// ```
2433
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2433
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2434
2434
pub struct DescribeTable {
2435
2435
/// Table schema
2436
2436
pub schema : Arc < Schema > ,
@@ -2440,7 +2440,7 @@ pub struct DescribeTable {
2440
2440
2441
2441
/// Produces a relation with string representations of
2442
2442
/// various parts of the plan
2443
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2443
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2444
2444
pub struct Explain {
2445
2445
/// Should extra (detailed, intermediate plans) be included?
2446
2446
pub verbose : bool ,
@@ -2456,7 +2456,7 @@ pub struct Explain {
2456
2456
2457
2457
/// Runs the actual plan, and then prints the physical plan with
2458
2458
/// with execution metrics.
2459
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2459
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2460
2460
pub struct Analyze {
2461
2461
/// Should extra detail be included?
2462
2462
pub verbose : bool ,
@@ -2471,7 +2471,7 @@ pub struct Analyze {
2471
2471
// the manual `PartialEq` is removed in favor of a derive.
2472
2472
// (see `PartialEq` the impl for details.)
2473
2473
#[ allow( clippy:: derived_hash_with_manual_eq) ]
2474
- #[ derive( Clone , Eq , Hash ) ]
2474
+ #[ derive( Debug , Clone , Eq , Hash ) ]
2475
2475
pub struct Extension {
2476
2476
/// The runtime extension operator
2477
2477
pub node : Arc < dyn UserDefinedLogicalNode > ,
@@ -2487,7 +2487,7 @@ impl PartialEq for Extension {
2487
2487
}
2488
2488
2489
2489
/// Produces the first `n` tuples from its input and discards the rest.
2490
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2490
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2491
2491
pub struct Limit {
2492
2492
/// Number of rows to skip before fetch
2493
2493
pub skip : usize ,
@@ -2499,7 +2499,7 @@ pub struct Limit {
2499
2499
}
2500
2500
2501
2501
/// Removes duplicate rows from the input
2502
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2502
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2503
2503
pub enum Distinct {
2504
2504
/// Plain `DISTINCT` referencing all selection expressions
2505
2505
All ( Arc < LogicalPlan > ) ,
@@ -2518,7 +2518,7 @@ impl Distinct {
2518
2518
}
2519
2519
2520
2520
/// Removes duplicate rows from the input
2521
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2521
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2522
2522
pub struct DistinctOn {
2523
2523
/// The `DISTINCT ON` clause expression list
2524
2524
pub on_expr : Vec < Expr > ,
@@ -2604,7 +2604,7 @@ impl DistinctOn {
2604
2604
2605
2605
/// Aggregates its input based on a set of grouping and aggregate
2606
2606
/// expressions (e.g. SUM).
2607
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2607
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2608
2608
// mark non_exhaustive to encourage use of try_new/new()
2609
2609
#[ non_exhaustive]
2610
2610
pub struct Aggregate {
@@ -2767,7 +2767,7 @@ fn calc_func_dependencies_for_project(
2767
2767
}
2768
2768
2769
2769
/// Sorts its input according to a list of sort expressions.
2770
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2770
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2771
2771
pub struct Sort {
2772
2772
/// The sort expressions
2773
2773
pub expr : Vec < Expr > ,
@@ -2778,7 +2778,7 @@ pub struct Sort {
2778
2778
}
2779
2779
2780
2780
/// Join two logical plans on one or more join columns
2781
- #[ derive( Clone , PartialEq , Eq , Hash ) ]
2781
+ #[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
2782
2782
pub struct Join {
2783
2783
/// Left input
2784
2784
pub left : Arc < LogicalPlan > ,
0 commit comments