Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESQL: Warn about division (elastic#109716)
When you divide two integers or two longs we round towards 0. Like Postgres or Java or Rust or C. Other systems, like MySQL or SPL or Javascript or Python always produce a floating point number. We should warn folks about this. It's genuinely unexpected for some folks. OTOH, converting into a floating point number would be unexpected for other folks. Oh well, let's document what we've got.
- Loading branch information