@@ -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.
@@ -1579,7 +1579,7 @@ pub struct TableSample {
15791579 pub offset : Option < Expr > ,
15801580}
15811581
1582- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1582+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
15831583#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
15841584#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
15851585/// Modifier specifying whether `SAMPLE` or `TABLESAMPLE` keyword was used.
@@ -1630,7 +1630,7 @@ impl fmt::Display for TableSampleQuantity {
16301630}
16311631
16321632/// The table sample method names
1633- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1633+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
16341634#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
16351635#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
16361636/// Sampling method used by `TABLESAMPLE`.
@@ -1674,7 +1674,7 @@ impl fmt::Display for TableSampleSeed {
16741674 }
16751675}
16761676
1677- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1677+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
16781678#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
16791679#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
16801680/// Modifier specifying how the sample seed is applied.
@@ -1694,7 +1694,7 @@ impl fmt::Display for TableSampleSeedModifier {
16941694 }
16951695}
16961696
1697- #[ derive( Debug , Clone , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
1697+ #[ derive( Debug , Clone , Copy , PartialEq , PartialOrd , Eq , Ord , Hash ) ]
16981698#[ cfg_attr( feature = "serde" , derive( Serialize , Deserialize ) ) ]
16991699#[ cfg_attr( feature = "visitor" , derive( Visit , VisitMut ) ) ]
17001700/// Unit used with a `TABLESAMPLE` quantity (rows or percent).
0 commit comments