Hi!
firstly, thank you so much for this tool.
It's been amazingly helpful for me 🙇 .
I wanted to file an issue about seeing negative values in the modulo (%) result.
To reproduce:
$ csvq -v
csvq version 1.18.1
$ csvq "SELECT (CEIL(13041 / 60) % 60)"
+-------------------------+
| (CEIL(13041 / 60) % 60) |
+-------------------------+
| -23 |
+-------------------------+
I was expecting 37 there since CEIL(13041/60) = 217 and 217 % 60 = 37, not -23.
I am thinking this is a possible bug 🤔
Hi!
firstly, thank you so much for this tool.
It's been amazingly helpful for me 🙇 .
I wanted to file an issue about seeing negative values in the modulo (
%) result.To reproduce:
I was expecting 37 there since
CEIL(13041/60) = 217and217 % 60 = 37, not-23.I am thinking this is a possible bug 🤔