-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#707 Added support for SumInt(Int), SumDec(BigDecimal) and AvgDec(BigDecimal) #751
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @balanka the direction is good but I would like to see a real test against Postgresql or other DB. Also it seems that the build has failed.
def spec = suite("Aggregate Expression")( | ||
test("+ works on integer, Double and BigDecimal columns") { | ||
val query = agSelect | ||
assert(query)(anything) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure what you're testing here....what's agSelect
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added new enhanced Test AgregationSpec for Postgesql
and removed core/jvm/src/test/scala/zio/sql/ExprSpec.scala
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI-build seems to be flaky my local build was successful
37 tests passed. 0 tests failed. 1 tests ignored.
Executed in 6 m 15 s
Added code to support for SumInt(Int), SumDec(BigDecimal) and AvgDec(BigDecimal)