X-pack 6.3 sql query

Also, regarding the error about arrays - Elasticsearch SQL doesn't support them at the moment.