Skip to content
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

Test/increase coverage #121

Merged
merged 6 commits into from
Dec 23, 2021
Merged

Conversation

eruizalo
Copy link
Collaborator

@eruizalo eruizalo commented Dec 5, 2021

No description provided.

@eruizalo eruizalo added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 5, 2021
@codecov
Copy link

codecov bot commented Dec 5, 2021

Codecov Report

Merging #121 (ca021ba) into main (cfb1982) will increase coverage by 9.58%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #121      +/-   ##
==========================================
+ Coverage   81.87%   91.44%   +9.58%     
==========================================
  Files          39       39              
  Lines         579      596      +17     
  Branches        7       10       +3     
==========================================
+ Hits          474      545      +71     
+ Misses        105       51      -54     
Impacted Files Coverage Δ
core/src/main/scala/doric/DoricColumn.scala 74.07% <ø> (+24.07%) ⬆️
core/src/main/scala/doric/sem/AggregationOps.scala 75.00% <ø> (ø)
core/src/main/scala/doric/sem/JoinOps.scala 100.00% <ø> (ø)
...re/src/main/scala/doric/syntax/BinaryColumns.scala 100.00% <ø> (ø)
...e/src/main/scala/doric/syntax/BooleanColumns.scala 100.00% <ø> (ø)
...re/src/main/scala/doric/syntax/CommonColumns.scala 94.12% <ø> (+21.90%) ⬆️
core/src/main/scala/doric/syntax/DateColumns.scala 100.00% <ø> (ø)
...re/src/main/scala/doric/syntax/StringColumns.scala 100.00% <ø> (ø)
...src/main/scala/doric/syntax/TimestampColumns.scala 80.00% <ø> (ø)
...doric/RelationalGroupedDatasetDoricInterface.scala 100.00% <ø> (ø)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cfb1982...ca021ba. Read the comment docs.

@@ -90,6 +98,9 @@ private[sem] trait AggregationOps
* "age" -> "max"
* ))
* }}}
* @todo this example is not from doric
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alfonsorr take a look at this

* @group Aggregation Numeric Type
* @see [[org.apache.spark.sql.functions.sum(e:* org.apache.spark.sql.functions.sum]]
*/
def sum2Long[T: NumericIntegerType](col: DoricColumn[T]): LongColumn =
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alfonsorr DYT this name is OK?

core/src/test/scala/doric/Equalities.scala Outdated Show resolved Hide resolved
@eruizalo eruizalo merged commit 50e7a9b into hablapps:main Dec 23, 2021
@eruizalo eruizalo deleted the test/increase_coverage branch December 23, 2021 16:38
@eruizalo eruizalo added this to the V1 milestone Dec 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants