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

#116: controlCol -> measuredCol #118

Merged
merged 3 commits into from
Nov 12, 2023
Merged

Conversation

lsulak
Copy link
Collaborator

@lsulak lsulak commented Nov 10, 2023

Closes #116

Copy link

github-actions bot commented Nov 10, 2023

JaCoCo agent module code coverage report - spark:2 - scala 2.12.18

File Coverage [85.93%] 🍏
MeasurementBuilder.scala 100% 🍏
Measure.scala 85.08% 🍏
MeasuresBuilder.scala 84.38% 🍏
Total Project Coverage 83.32% 🍏

Copy link

github-actions bot commented Nov 10, 2023

JaCoCo server module code coverage report - scala 2.12.18

File Coverage [16.92%]
Runs.scala 16.92%
Total Project Coverage 17.34%

.agg(sum(col(aggregatedColumnName)))
.collect()(0)(0)
val resultValue = if (value == null) "" else value.toString
ResultOfMeasurement(resultValue, ResultValueType.String)
}
}
object SumOfHashesOfColumn extends MeasureType {
def apply(controlCol: String): SumOfHashesOfColumn = {
SumOfHashesOfColumn(controlCol, measureName, resultValueType)
def apply(measuredCol: String): SumOfHashesOfColumn = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not to rename to measuredColumn to keep it consistent all around?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

true point, done

Copy link
Contributor

@benedeki benedeki left a comment

Choose a reason for hiding this comment

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

  • code reviewed
  • pulled
  • built
  • run

@lsulak lsulak merged commit f09fc4d into master Nov 12, 2023
7 of 8 checks passed
@lsulak lsulak deleted the feature/116-controlCols-rename branch November 12, 2023 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rename controlColumns -> measuredColumns in code
2 participants