rkrishn7 commented on code in PR #27664:
URL: https://github.com/apache/datafusion/pull/27664#discussion_r4688551096
##########
datafusion/physical-plan/src/aggregates/group_values/multi_group_by/mod.rs:
##########
@@ -1162,11 +1176,25 @@ impl<const STREAMING: bool> GroupValues for
GroupValuesColumn<STREAMING> {
return Ok(());
}
if !STREAMING {
- self.vectorized_intern(cols, groups)
+ self.vectorized_intern::<INSERT>(cols, groups)
} else {
- self.scalarized_intern(cols, groups)
+ self.scalarized_intern::<INSERT>(cols, groups)
}
}
+}
+
+impl<const STREAMING: bool> GroupValues for GroupValuesColumn<STREAMING> {
+ fn intern(&mut self, cols: &[ArrayRef], groups: &mut Vec<usize>) ->
Result<()> {
+ self.probe::<true>(cols, groups)
+ }
+
+ fn lookup(&mut self, cols: &[ArrayRef], groups: &mut Vec<usize>) ->
Result<()> {
Review Comment:
Added in
[c152890](https://github.com/apache/datafusion/pull/27664/commits/c152890e190ebcaf3e95d0a3680e47441212654c)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]