Skip to content

first bug #41

Description

@piplive

explain select sum(money) as allMoney from person where id=3
result is
{
"size" : 0,
"timeout" : 10000,
"query" : {
"term" : {
"id" : 3
}
},
"aggregations" : {
"filter" : {
"filter" : {
"term" : {
"id" : 3
}
},
"aggregations" : {
"sum(Money)" : {
"sum" : {
"field" : "Money"
}
}
}
}
}
}
the 'money' become 'Money'

I suggest you modify the 251 1ine on Heading.java or SelectParser.java about 'createColumn'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions