hablapps / doric

Type safety for spark columns
https://www.hablapps.com/doric/
Apache License 2.0
77 stars 11 forks source link

feat: [+] decimal round with mode & (array) mkString functions #354

Open eruizalo opened 1 year ago

eruizalo commented 1 year ago

Description

(relatively ) new doric functions:

Related Issue and dependencies

How Has This Been Tested?

github-actions[bot] commented 1 year ago

:octocat: This is an auto-generated comment created by:

Actor Triggering actor Sender
eruizalo
eruizalo
eruizalo
eruizalo
eruizalo
eruizalo
Triggered by: - Workflow name: "CI" at .github/workflows/ci.yml - URL: [https://github.com/hablapps/doric/actions/runs/6784770726](https://github.com/hablapps/doric/actions/runs/6784770726) - on workflow_run:completed

Test summary report 📊

Spark version testing
3.0.0 685 passed, 2 skipped
3.0.1 685 passed, 2 skipped
3.0.2 685 passed, 2 skipped
3.0 685 passed, 2 skipped
3.1.0 713 passed, 2 failed, 2 skipped
3.1.1 713 passed, 2 failed, 2 skipped
3.1.2 713 passed, 2 failed, 2 skipped
3.1 713 passed, 2 failed, 2 skipped
3.2.0 719 passed, 2 skipped
3.2.1 719 passed, 2 skipped
3.2.2 719 passed, 2 skipped
3.2 719 passed, 2 skipped
3.3.0 719 passed, 2 skipped
3.3.1 719 passed, 2 skipped
3.3 719 passed, 2 skipped
3.4 719 passed, 2 skipped
codecov[bot] commented 1 year ago

Codecov Report

Merging #354 (9fb606e) into main (6aeb249) will decrease coverage by 0.22%. The diff coverage is 70.00%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/hablapps/doric/pull/354/graphs/tree.svg?width=650&height=150&src=pr&token=N7ZXUXZX1I&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps)](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) ```diff @@ Coverage Diff @@ ## main #354 +/- ## ========================================== - Coverage 97.69% 97.47% -0.22% ========================================== Files 62 62 Lines 1255 1264 +9 Branches 37 33 -4 ========================================== + Hits 1226 1232 +6 - Misses 29 32 +3 ``` | [Flag](https://app.codecov.io/gh/hablapps/doric/pull/354/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) | Coverage Δ | | |---|---|---| | [spark-3.0.x](https://app.codecov.io/gh/hablapps/doric/pull/354/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) | `96.48% <50.00%> (-0.24%)` | :arrow_down: | | [spark-3.1.x](https://app.codecov.io/gh/hablapps/doric/pull/354/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) | `?` | | | [spark-3.2.x](https://app.codecov.io/gh/hablapps/doric/pull/354/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) | `97.67% <100.00%> (+0.01%)` | :arrow_up: | | [spark-3.3.x](https://app.codecov.io/gh/hablapps/doric/pull/354/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) | `97.67% <100.00%> (+0.01%)` | :arrow_up: | | [spark-3.4.x](https://app.codecov.io/gh/hablapps/doric/pull/354/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) | `97.67% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) | Coverage Δ | | |---|---|---| | [...ore/src/main/scala/doric/syntax/ArrayColumns.scala](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps#diff-Y29yZS9zcmMvbWFpbi9zY2FsYS9kb3JpYy9zeW50YXgvQXJyYXlDb2x1bW5zLnNjYWxh) | `100.00% <100.00%> (ø)` | | | [...e/src/main/scala/doric/syntax/NumericColumns.scala](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps#diff-Y29yZS9zcmMvbWFpbi9zY2FsYS9kb3JpYy9zeW50YXgvTnVtZXJpY0NvbHVtbnMuc2NhbGE=) | `100.00% <ø> (ø)` | | | [...\_3.3\_3.4/scala/doric/syntax/NumericColumns32.scala](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps#diff-Y29yZS9zcmMvbWFpbi9zcGFya18zLjJfMy4zXzMuNC9zY2FsYS9kb3JpYy9zeW50YXgvTnVtZXJpY0NvbHVtbnMzMi5zY2FsYQ==) | `100.00% <100.00%> (ø)` | | | [....0\_3.1/scala/doric/syntax/NumericColumns2\_31.scala](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps#diff-Y29yZS9zcmMvbWFpbi9zcGFya18zLjBfMy4xL3NjYWxhL2RvcmljL3N5bnRheC9OdW1lcmljQ29sdW1uczJfMzEuc2NhbGE=) | `76.92% <0.00%> (-23.08%)` | :arrow_down: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps). Last update [6aeb249...9fb606e](https://app.codecov.io/gh/hablapps/doric/pull/354?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=hablapps).