When querying an Elasticsearch index with GeoJson, the query fails with the error below. The field coordinates
refers to a key within a GeoJson object. An example of GeoJson and coordinates
can be found here http://wiki.geojson.org/GeoJSON_draft_version_6#MultiPolygon
Is there any way to get Dremio to ignore this field? I don’t need its values for the task I’m working on.
DATA_READ ERROR: IllegalStateException
Line 1
Column 1485
Field coordinates
Line 1
Column 1485
Field coordinates
Line 1
Column 1485
Field coordinates
Line 1
Column 1485
Field coordinates
SQL Query SELECT id
FROM "Elastic Search Production".fields.field
(java.lang.IllegalStateException) null
com.dremio.plugins.elastic.execution.WriteHolders$InvalidWriteHolder.writeList():58
com.dremio.plugins.elastic.execution.FieldReadDefinition.writeList():126
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.writeDeclaredList():356
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.writeDeclaredList():348
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.writeDeclaredList():348
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.writeDeclaredList():348
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.writeDeclaredMap():311
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.writeDeclaredMap():324
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.writeDeclaredMap():324
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.writeToVector():214
com.dremio.plugins.elastic.execution.ElasticsearchJsonReader.write():182
com.dremio.plugins.elastic.execution.ElasticsearchRecordReader.next():351
com.dremio.plugins.elastic.ElasticTableBuilder.getSampledSchema():322
com.dremio.plugins.elastic.ElasticTableBuilder.populate():190
com.dremio.plugins.elastic.ElasticTableBuilder.buildIfNecessary():161
com.dremio.plugins.elastic.ElasticTableBuilder.getDataset():142
com.dremio.exec.catalog.DatasetManager.getTableFromPlugin():297
com.dremio.exec.catalog.DatasetManager.getTable():190
com.dremio.exec.catalog.CatalogImpl.getTable():134
com.dremio.exec.catalog.DelegatingCatalog.getTable():57
com.dremio.exec.catalog.CachingCatalog.getTable():66
com.dremio.exec.catalog.DremioCatalogReader.getTable():79
com.dremio.exec.catalog.DremioCatalogReader.getTable():65
org.apache.calcite.sql.validate.EmptyScope.getTableNamespace():71
org.apache.calcite.sql.validate.DelegatingScope.getTableNamespace():189
org.apache.calcite.sql.validate.IdentifierNamespace.validateImpl():104
org.apache.calcite.sql.validate.AbstractNamespace.validate():84
org.apache.calcite.sql.validate.SqlValidatorImpl.validateNamespace():910
org.apache.calcite.sql.validate.SqlValidatorImpl.validateQuery():891
org.apache.calcite.sql.validate.SqlValidatorImpl.validateFrom():2859
org.apache.calcite.sql.validate.SqlValidatorImpl.validateFrom():2844
org.apache.calcite.sql.validate.SqlValidatorImpl.validateSelect():3077
org.apache.calcite.sql.validate.SelectNamespace.validateImpl():60
org.apache.calcite.sql.validate.AbstractNamespace.validate():84
org.apache.calcite.sql.validate.SqlValidatorImpl.validateNamespace():910
org.apache.calcite.sql.validate.SqlValidatorImpl.validateQuery():891
org.apache.calcite.sql.SqlSelect.validate():208
org.apache.calcite.sql.validate.SqlValidatorImpl.validateScopedExpression():866
org.apache.calcite.sql.validate.SqlValidatorImpl.validate():577
com.dremio.exec.planner.sql.SqlConverter.validate():168
com.dremio.exec.planner.sql.handlers.PrelTransformer.validateNode():176
com.dremio.exec.planner.sql.handlers.PrelTransformer.validateAndConvert():165
com.dremio.exec.planner.sql.handlers.PrelTransformer.validateAndConvert():161
com.dremio.exec.planner.sql.handlers.query.NormalHandler.getPlan():43
com.dremio.exec.planner.sql.handlers.commands.HandlerToExec.plan():66
com.dremio.exec.work.foreman.AttemptManager.run():293
java.util.concurrent.ThreadPoolExecutor.runWorker():1149
java.util.concurrent.ThreadPoolExecutor$Worker.run():624
java.lang.Thread.run():748