-
Notifications
You must be signed in to change notification settings - Fork 190
[BUG] field name with dot is missing in output without fields command #3477
Copy link
Copy link
Closed
Labels
PPLPiped processing languagePiped processing languagePriority-HighbugSomething isn't workingSomething isn't working
Description
What is the bug?
field name with dot (such as test.occupation) is missing in query output without fields command
How can one reproduce the bug?
PUT /ltjin-test1
{
"mappings": {
"properties": {
"name": {
"type": "keyword"
},
"test.occupation": {
"type": "text"
},
"country": {
"type": "text"
},
"salary": {
"type": "integer"
},
"year": {
"type": "integer"
},
"month": {
"type": "integer"
}
}
}
}
POST _bulk
{"index":{"_index" : "ltjin-test1","_id":"1"}}
{"name":"Jake","test.occupation":"Engineer","country":"England","salary":100000,"year":2023,"month":4}
the test.occupation field is missing in following query.
POST /_plugins/_ppl
{
"query" : """
source = ltjin-test1
"""
}
but we can output it by following query.
POST /_plugins/_ppl
{
"query" : """
source = ltjin-test1 | fields test.occupation
"""
}
What is the expected behavior?
the test.occupation field should output in query
POST /_plugins/_ppl
{
"query" : """
source = ltjin-test1
"""
}
should
What is your host/environment?
- Version 2.19
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PPLPiped processing languagePiped processing languagePriority-HighbugSomething isn't workingSomething isn't working