Skip to content

Problem getting sum to work in CALI_REPORT_CONFIG define #339

Answered by daboehme
dnystrom1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dnystrom1 ,

Yeah, I think the issue is the '=' character in the metric names. You should be able to escape either the character with a backslash or the whole metric name with quotation marks, e.g. like this:

CALI_REPORT_CONFIG="SELECT *,sum(\"papi.${METRIC_RANK}\") GROUP BY prop:nested FORMAT json"

Let me know if it helps!

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by daboehme
Comment options

You must be logged in to vote
1 reply
@daboehme
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants