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

-debug true doesn't work with reduce #16

Open
dmehra opened this issue Feb 12, 2016 · 0 comments
Open

-debug true doesn't work with reduce #16

dmehra opened this issue Feb 12, 2016 · 0 comments
Labels

Comments

@dmehra
Copy link
Contributor

dmehra commented Feb 12, 2016

When the program contains reduce, reading with -debug true does not return the query URL, and does something funny instead.

juttle> read opentsdb -from :2016-01-01: -name 'dm.my.test' | reduce sum(value)
┌───────────────────────────┐
│ sum                       │
├───────────────────────────┤
│ 41.002000000094995        │
└───────────────────────────┘
juttle> read opentsdb -from :2016-01-01: -name 'dm.my.test' -debug true | reduce sum(value)
┌──────────┐
│ sum      │
├──────────┤
│ 0        │
└──────────┘

When looking at this, also consider that the plan for debug logging going forward is to support DEBUG=* and print the query to the log, rather than returning it as data, see the adapter unification issue juttle/juttle#84.

@dmehra dmehra added the bug label Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant