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 6cacff9 commit 24db97aCopy full SHA for 24db97a
rust/cubesql/cubesql/src/transport/ctx.rs
@@ -14,6 +14,9 @@ pub struct MetaContext {
14
pub cube_to_data_source: HashMap<String, String>,
15
pub data_source_to_sql_generator: HashMap<String, Arc<dyn SqlGenerator + Send + Sync>>,
16
pub compiler_id: Uuid,
17
+ /// DateTime when MetaContext was created, but it can be used as last schema update when
18
+ /// CompilerCache is used
19
+ pub created_at: chrono::DateTime<chrono::Utc>,
20
}
21
22
#[derive(Debug, Clone)]
@@ -72,6 +75,7 @@ impl MetaContext {
72
75
cube_to_data_source,
73
76
data_source_to_sql_generator,
74
77
compiler_id,
78
+ created_at: chrono::Utc::now(),
79
80
81
0 commit comments