How can one reproduce the bug?
###
PUT {{baseUrl}}/log00001
Content-Type: application/x-ndjson
{
"mappings": {
"properties": {
"log": {
"type": "object",
"enabled": false
}
}
}
}
###
POST {{baseUrl}}/log00001/_bulk
Content-Type: application/x-ndjson
{"index": {}}
{"log": {"a":1, "c": {"d": 2}}}
###
POST {{baseUrl}}/_plugins/_ppl/
Content-Type: application/x-ndjson
{
"query": "source=log00001 | fields log.c.d"
}
{
"schema": [
{
"name": "log.c.d",
"type": "undefined"
}
],
"datarows": [
[
null
]
],
"total": 1,
"size": 1
}
What is the expected behavior?
It should return
{
"schema": [
{
"name": "log.c.d",
"type": "int"
}
],
"datarows": [
[
2
]
],
"total": 1,
"size": 1
}
How can one reproduce the bug?
What is the expected behavior?
It should return