@@ -322,7 +322,7 @@ impl fmt::Display for Table {
322322}
323323
324324/// What did this select look like?
325- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
325+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
326326#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
327327#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
328328pub enum SelectFlavor {
@@ -649,7 +649,7 @@ impl fmt::Display for With {
649649 }
650650}
651651
652- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
652+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
653653#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
654654#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
655655/// Indicates whether a CTE is materialized or not.
@@ -1185,7 +1185,7 @@ pub struct TableFunctionArgs {
11851185 pub settings : Option < Vec < Setting > > ,
11861186}
11871187
1188- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1188+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
11891189#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
11901190#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
11911191/// Type of index hint (e.g., `USE`, `IGNORE`, `FORCE`).
@@ -1208,7 +1208,7 @@ impl fmt::Display for TableIndexHintType {
12081208 }
12091209}
12101210
1211- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1211+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
12121212#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
12131213#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
12141214/// The kind of index referenced by an index hint (e.g. `USE INDEX`).
@@ -1228,7 +1228,7 @@ impl fmt::Display for TableIndexType {
12281228 }
12291229}
12301230
1231- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1231+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
12321232#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
12331233#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
12341234/// Which clause the table index hint applies to.
@@ -1585,7 +1585,7 @@ pub struct TableSample {
15851585 pub offset : Option < Expr > ,
15861586}
15871587
1588- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1588+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
15891589#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
15901590#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
15911591/// Modifier specifying whether `SAMPLE` or `TABLESAMPLE` keyword was used.
@@ -1636,7 +1636,7 @@ impl fmt::Display for TableSampleQuantity {
16361636}
16371637
16381638/// The table sample method names
1639- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1639+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
16401640#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
16411641#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
16421642/// Sampling method used by `TABLESAMPLE`.
@@ -1680,7 +1680,7 @@ impl fmt::Display for TableSampleSeed {
16801680 }
16811681}
16821682
1683- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1683+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
16841684#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
16851685#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
16861686/// Modifier specifying how the sample seed is applied.
@@ -1700,7 +1700,7 @@ impl fmt::Display for TableSampleSeedModifier {
17001700 }
17011701}
17021702
1703- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1703+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
17041704#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
17051705#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
17061706/// Unit used with a `TABLESAMPLE` quantity (rows or percent).
0 commit comments