Can SQL support more nested object level

Hi, as my testing, current SQL support 1 level object, for example, I have data saved in elasticsearch like this. Is this a bug or by design? can the be fixed and support more level.
{timestamp: “xxxxxxx”,
“report”: {
“generatedUsing”: “client_and_server”,
“intervalMetadata”: {
“localIP”: “10.10.10.240”
}
}
the following SQL works,
POST _opendistro/_sql?format=jdbc
{
“query”: “select timestamp , report.generatedUsing from indexname”
}
but not when it is
POST _opendistro/_sql?format=jdbc
{
“query”: “select timestamp , report.intervalMetadata.localIP from indexname”
}

Hi @jockjiang, we tried to fix this in this PR (https://github.com/opendistro-for-elasticsearch/sql/issues/152) but discarded due to complexity in old code. We are refactoring our codebase and will consider supporting this in future. Thanks!

Thanks @daichen for your update.