Dandandan commented on issue #18411: URL: https://github.com/apache/datafusion/issues/18411#issuecomment-3677789347
> > If we know the range is small we could do that. I just don't think we have any statistics that can tell for sure that the range will be small. > > I agree with that. Unfortunately min/max statistics don't tell you anything about string length. > > That's why I was asking about `char(1)` initially which does provide the information we're looking for. In an ideal world this type hint would be carried through all the way to the grouping code where it could be used to make this choice. Yes agreed. -- 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]
