Adding in inherited environment variables to local executor

This commit is contained in:
Kinesin Data Technologies Incorporated
2022-09-29 14:07:01 -03:00
parent 4ba2a3aa26
commit 1746470367
2 changed files with 37 additions and 5 deletions
+4
View File
@@ -18,6 +18,10 @@ impl DerefMut for VarMap {
}
impl VarMap {
pub fn new() -> Self {
VarMap(HashMap::new())
}
// Derive variables from a given interval
pub fn from_interval(int: &Interval, tz: Tz) -> Self {
let start = int.start.with_timezone(&tz);