Skip to content

Commit e761e13

Browse files
Merge pull request #671 from antiguru/log_channel_typ
Log channel container type
2 parents 4f413ea + cffbf26 commit e761e13

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

timely/src/dataflow/stream.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ impl<S: Scope, C: Container> StreamCore<S, C> {
6060
scope_addr: self.scope.addr().to_vec(),
6161
source: (self.name.node, self.name.port),
6262
target: (target.node, target.port),
63+
typ: std::any::type_name::<C>().to_string(),
6364
}));
6465

6566
self.scope.add_edge(self.name, target);

timely/src/logging.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ pub struct ChannelsEvent {
9191
pub source: (usize, usize),
9292
/// Target descriptor, indicating operator index and input port.
9393
pub target: (usize, usize),
94+
/// The type of data on the channel, as a string.
95+
pub typ: String,
9496
}
9597

9698
#[derive(Debug, Clone)]

0 commit comments

Comments
 (0)