Open mbasmanova opened 5 months ago
@mbasmanova, @kagamiori : We have been discussing Presto java behavior for these queries in https://github.com/prestodb/presto/issues/21304.
In summary, IGNORE NULLs seems like a no-op in Presto java unless I'm misunderstaning. So I feel the Prestissimo behavior is better. Would be great to hear your thoughts.
@aditi-pandit Aditi, thank you for looking. I see that Presto simply ignores 'IGNORE NULLS' setting when using aggregate function in a window operator. This is hacky, but I guess it works most of the time because most aggregate functions ignore null inputs anyway.
It would be nice to find out where Presto's behavior matches SQL spec. If it does, then we'll need to fix Velox to also ignore 'IGNORE NULLS' setting for aggregate functions.
Bug description
Meta query sample: 20240405_000418_00069_vscy5
CC: @kagamiori @aditi-pandit @amitkdutta
System information
n/a
Relevant logs
No response