We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f9d4d8 commit 28d2aeaCopy full SHA for 28d2aea
optd-cost-model/src/common/properties/mod.rs
@@ -5,8 +5,6 @@ use super::predicates::constant_pred::ConstantType;
5
pub mod attr_ref;
6
pub mod schema;
7
8
-const DEFAULT_NAME: &str = "unnamed";
9
-
10
#[derive(Clone, Debug, Serialize, Deserialize)]
11
pub struct Attribute {
12
pub name: String,
@@ -23,14 +21,3 @@ impl std::fmt::Display for Attribute {
23
21
}
24
22
25
26
27
-impl Attribute {
28
- /// Generate a field that is only a place holder whose members are never used.
29
- fn placeholder() -> Self {
30
- Self {
31
- name: DEFAULT_NAME.to_string(),
32
- typ: ConstantType::Binary,
33
- nullable: true,
34
- }
35
36
-}
0 commit comments