put ‘test’,“testtypename~attributes”,“m:v”,“myid:String,value:String:index=true,temp:String,dtg:Date,*geom:Point:srid=4326;geomesa.keywords=‘testkeywords’,geomesa.index.dtg=‘dtg’,geomesa.table.sharing=‘false’,geomesa.indices=‘z3:2:3,z2:2:3,id:1:3,attr:5:3’,geomesa.z3.interval=‘week’”
其中temp:String为新增字段,设置成功,并且新增数据也可以成功,但是查询的时候报
ERROR Invalid TWKB geometry type 0 java.lang.IllegalArgumentException: Invalid TWKB geometry type 0 at org.locationtech.geomesa.features.serialization.TwkbSerializationclass.deserialize(TwkbSerialization.scala:198atorg.locationtech.geomesa.features.kryo.serialization.KryoGeometrySerialization.deserialize(KryoGeometrySeriali at org.locationtech.geomesa.features.kryo.impl.KryoFeatureDeserializationKaTeX parse error: Can't use function '$' in math mode at position 8: anonfun$̲matchReader$8.a…anonfun$matchReader8.apply(KryoFeatureatorg.locationtech.geomesa.features.kryo.impl.ActiveDeserializationclass.readFeature(ActiveDeserialization.scala at org.locationtech.geomesa.features.kryo.impl.ActiveDeserializationclass.deserialize(ActiveDeserialization.scalaatorg.locationtech.geomesa.features.kryo.KryoFeatureSerializerMutableActiveSerializer.deserialize(KryoFeatureSer at org.locationtech.geomesa.hbase.index.HBaseIndexAdapterKaTeX parse error: Can't use function '$' in math mode at position 8: anonfun$̲org$locationtec…anonfunorglocationtechgeomesahbaseindexHBaseIndex at scala.collection.IteratorKaTeX parse error: Can't use function '$' in math mode at position 5: anon$̲11.next(Iterato…anon2.next(CloseableIterator.scala:36)atorg.locationtech.geomesa.utils.collection.SelfClosingIterator$anon1.next(CloseableIterator.scala:162)atorg.locationtech.geomesa.utils.collection.CloseableIterator$anon5.next(CloseableIterator.scala:101)atorg.locationtech.geomesa.utils.collection.CloseableIterator$anon5.next(CloseableIterator.scala:101)atorg.locationtech.geomesa.index.geotools.GeoMesaFeatureReaderWithAuditanonfunnext2.apply(GeoMesaFeatureReadeatorg.locationtech.geomesa.index.geotools.GeoMesaFeatureReaderWithAuditanonfunnext2.apply(GeoMesaFeatureReadeatorg.locationtech.geomesa.utils.stats.MethodProfilingclass.profile(MethodProfiling.scala:19) at org.locationtech.geomesa.index.geotools.GeoMesaFeatureReaderWithAudit.profile(GeoMesaFeatureReader.scala:90) at org.locationtech.geomesa.index.geotools.GeoMesaFeatureReaderWithAudit.next(GeoMesaFeatureReader.scala:103) at org.locationtech.geomesa.index.geotools.GeoMesaFeatureReaderKaTeX parse error: Can't use function '$' in math mode at position 5: anon$̲2.org$locationt…anon2.next(GeoMesaFeatureReader.scala:65)atorg.locationtech.geomesa.index.geotools.GeoMesaFeatureReader$anon2.next(GeoMesaFeatureReader.scala:65)atorg.geotools.feature.FeatureReaderIterator.next(FeatureReaderIterator.java:73)atorg.geotools.feature.FeatureReaderIterator.next(FeatureReaderIterator.java:43)atorg.geotools.feature.collection.DelegateFeatureIterator.next(DelegateFeatureIterator.java:66)atorg.locationtech.geomesa.utils.collection.CloseableIterator$anon4.next(CloseableIterator.scala:51)atorg.locationtech.geomesa.utils.collection.CloseableIterator$anon4.next(CloseableIterator.scala:49)atscala.collection.Iteratorclass.foreach(Iterator.scala:742) at org.locationtech.geomesa.utils.collection.CloseableIteratorKaTeX parse error: Can't use function '$' in math mode at position 5: anon$̲4.foreach(Close…anonfun$export1.apply(ExportCommand.scala:84)atorg.locationtech.geomesa.tools.export.ExportCommandanonfunexport1.apply(ExportCommand.scala:84)atorg.locationtech.geomesa.utils.io.WithClose.apply(SafeClose.scala:51) at org.locationtech.geomesa.tools.export.ExportCommandclass.export(ExportCommand.scala:84)atorg.locationtech.geomesa.hbase.tools.export.HBaseExportCommand.export(HBaseExportCommand.scala:19)atorg.locationtech.geomesa.tools.export.ExportCommandclass.export(ExportCommand.scala:77) at org.locationtech.geomesa.hbase.tools.export.HBaseExportCommand.export(HBaseExportCommand.scala:19) at org.locationtech.geomesa.tools.export.ExportCommandKaTeX parse error: Can't use function '$' in math mode at position 8: anonfun$̲execute$2anonfun$apply1.apply(ExportCommand.scaatorg.locationtech.geomesa.tools.export.ExportCommandanonfunexecute2anonfunapply1.apply(ExportCommand.scaatorg.locationtech.geomesa.tools.DataStoreCommandclass.withDataStore(Command.scala:60) at org.locationtech.geomesa.hbase.tools.export.HBaseExportCommand.withDataStore(HBaseExportCommand.scala:19) at org.locationtech.geomesa.tools.export.ExportCommandKaTeX parse error: Can't use function '$' in math mode at position 8: anonfun$̲execute$2.apply…anonfun$execute2.apply(ExportCommand.scala:45)atorg.locationtech.geomesa.utils.stats.MethodProfilingclass.profile(MethodProfiling.scala:26) at org.locationtech.geomesa.hbase.tools.export.HBaseExportCommand.profile(HBaseExportCommand.scala:19) at org.locationtech.geomesa.tools.export.ExportCommandclass.execute(ExportCommand.scala:45)atorg.locationtech.geomesa.hbase.tools.export.HBaseExportCommand.execute(HBaseExportCommand.scala:19)atorg.locationtech.geomesa.tools.Runnerclass.main(Runner.scala:28) at org.locationtech.geomesa.hbase.tools.HBaseRunner$.main(HBaseRunner.scala:21) at org.locationtech.geomesa.hbase.tools.HBaseRunner.main(HBaseRunner.scala)