Skip to content

SQL:Field name with "." returns null #37128

@adamquan

Description

@adamquan

To reproduce:


PUT /test/blah/1
{
  "name": "Shane",
  "full.name": "Shane Connelly"
}

PUT /test/blah/2
{
  "name": "Shane",
  "full": {
    "name": "Shane Connelly"
  }
}

POST /_xpack/sql?format=txt
{
  "query": "DESCRIBE test"
}

POST /_xpack/sql?format=txt
{
  "query": "select * from test"
}

this is the result. As you can see, full.name for the first row is null.

   full.name   |     name      
---------------+---------------
null           |Shane          
Shane Connelly |Shane

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions