-
Notifications
You must be signed in to change notification settings - Fork 244
Open
Labels
compilergood first issueTasks suited for learning the compiler codebaseTasks suited for learning the compiler codebaselanguage-designChanges to PRQL-the-languageChanges to PRQL-the-language
Description
The round function implemented in the major RDBMS seems to do rounding, is rounding ideal for the behavior of the PRQL's round function?
In other words, I am wondering if the behavior of the round function should be changed to bankers' rounding.
In general, rounding is very easy to implement on the user side compared to bankers' rounding, since all we have to do is add 0.5 and trunc that.
Related duckdb's issue: duckdb/duckdb#2348
snth and jangorecki
Metadata
Metadata
Assignees
Labels
compilergood first issueTasks suited for learning the compiler codebaseTasks suited for learning the compiler codebaselanguage-designChanges to PRQL-the-languageChanges to PRQL-the-language