drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Nadeau <jacq...@apache.org>
Subject Why does GroupScan have min, max and enforceWidth?
Date Tue, 07 Jul 2015 22:01:24 GMT
Hey Guys,

In reviewing GroupScan [1], I noted that we have an enforceWidth method in
addition to getMin and getMax.  If we set min == max, wouldn't that
accomplish the same task?  Or am I missing a nuance here?  It seems like
the location referenced in the javadoc could just as well look at whether
getMin() > 1.  Thoughts?

thanks,
Jacques

[1]
https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/GroupScan.java#L61

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message