generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 181
Closed
Labels
PPLPiped processing languagePiped processing languagebugSomething isn't workingSomething isn't workingcalcitecalcite migration releatedcalcite migration releated
Description
What is the bug?
PPLTypeChecker not work on aggregation functions:
How can one reproduce the bug?
PUT test001
{
"mappings" : {
"properties" : {
"key" : {
"type" : "keyword"
},
"text" : {
"type" : "text"
}
}
}
}
PUT test001/_doc/1
{
"key": "abc",
"text": "def"
}
POST /_plugins/_ppl/
{
"query": """
source=test001 | stats sum(text)
"""
}
POST /_plugins/_ppl/
{
"query": """
source=test001 | stats sum(key)
"""
}
Queries failed in codegen.
What is the expected behavior?
Throw error message that the sum() accepts numeric types only.
Metadata
Metadata
Assignees
Labels
PPLPiped processing languagePiped processing languagebugSomething isn't workingSomething isn't workingcalcitecalcite migration releatedcalcite migration releated
Type
Projects
Status
Done