Skip to content

[aggregate] properly populate PrintSpec in cmd_aggregate#69

Merged
okayzed merged 2 commits intologv:masterfrom
tmc:fix-agg
Jun 11, 2018
Merged

[aggregate] properly populate PrintSpec in cmd_aggregate#69
okayzed merged 2 commits intologv:masterfrom
tmc:fix-agg

Conversation

@tmc
Copy link
Copy Markdown
Contributor

@tmc tmc commented Jun 10, 2018

#61 missed this point of PrintSpec population which causes some options to be ignored in aggregation

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jun 10, 2018

Codecov Report

Merging #69 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #69   +/-   ##
=======================================
  Coverage   52.16%   52.16%           
=======================================
  Files          36       36           
  Lines        3715     3715           
=======================================
  Hits         1938     1938           
  Misses       1580     1580           
  Partials      197      197

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 bf7c7ec...15a1fd8. Read the comment docs.

Copy link
Copy Markdown
Collaborator

@okayzed okayzed left a comment

Choose a reason for hiding this comment

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

lgtm, tested and fixes the issue

)

func addPrintFlags() {
sybil.FLAGS.OP = flag.String("op", "avg", "metric to calculate, either 'avg' or 'hist'")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

some of these seem like query flags, especially "OP" and "SAMPLES"

sybil query -dir db-1 -table a -encode-flags ${flags}> f1.gob
cat f1.gob | sybil query -decode-flags -encode-results > results/r1.gob

sybil query -dir db-2 -table a -encode-flags ${flags}> f2.gob
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why do you need to make f2.gob? because of the -dir flag?

@okayzed okayzed merged commit 4a8c045 into logv:master Jun 11, 2018
okayzed pushed a commit that referenced this pull request Oct 9, 2018
* [aggregate] properly populate PrintSpec in cmd_aggregate
* [scripts] add simple aggregation harness
okayzed pushed a commit that referenced this pull request Oct 9, 2018
* [aggregate] properly populate PrintSpec in cmd_aggregate
* [scripts] add simple aggregation harness
okayzed pushed a commit that referenced this pull request Oct 10, 2018
* [aggregate] properly populate PrintSpec in cmd_aggregate
* [scripts] add simple aggregation harness
okayzed pushed a commit that referenced this pull request Oct 10, 2018
* [aggregate] properly populate PrintSpec in cmd_aggregate
* [scripts] add simple aggregation harness
okayzed pushed a commit that referenced this pull request Oct 10, 2018
* [aggregate] properly populate PrintSpec in cmd_aggregate
* [scripts] add simple aggregation harness
okayzed pushed a commit that referenced this pull request Oct 11, 2018
* [aggregate] properly populate PrintSpec in cmd_aggregate
* [scripts] add simple aggregation harness
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.

3 participants