You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "gianm (via GitHub)" <gi...@apache.org> on 2025/07/01 07:56:01 UTC
[PR] Use 'trunc' to make certain tests more robust. (druid)
gianm opened a new pull request, #18183:
URL: https://github.com/apache/druid/pull/18183
Some queries involving trigonometric, exponential, or logarithmic functions produce different results on different platforms. This change uses 'trunc' to harmonize results across platforms.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] Use 'trunc' to make certain tests more robust. (druid)
Posted by "gianm (via GitHub)" <gi...@apache.org>.
gianm commented on PR #18183:
URL: https://github.com/apache/druid/pull/18183#issuecomment-3022461151
> interesting that result order changes in some cases - but its not ordered; so it doesn't matter....
I thought that was odd too, and tracked it down to a feature in Quidem. It sorts resultsets when it believes that the SQL query does not have an `ORDER BY` (I say "believes" because it does not really have a true parser, it's a simple function `Quidem#isProbablyDeterministic`). The idea is that when the SQL query is not explicitly ordered, the underlying database might return rows in any order, so Quidem wants to ignore the order. It uses a simple lexicographic sort that includes whitespace, so whitespace differences can cause the results to end up in a different order.
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] Use 'trunc' to make certain tests more robust. (druid)
Posted by "kgyrtkirk (via GitHub)" <gi...@apache.org>.
kgyrtkirk commented on PR #18183:
URL: https://github.com/apache/druid/pull/18183#issuecomment-3022527021
oh...really? that again...I've also bumped into that a while back...sorry for the trouble....
it should really be fixed
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org
Re: [PR] Use 'trunc' to make certain tests more robust. (druid)
Posted by "gianm (via GitHub)" <gi...@apache.org>.
gianm merged PR #18183:
URL: https://github.com/apache/druid/pull/18183
--
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: commits-unsubscribe@druid.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org