[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Spark ingestion of simplefeature type with no geom


I believe that the spark code assumes a geometry field is present. While the GeoMesa data stores do generally support schemas without a geometry, no one has updated spark to do the same, as it's not really a primary use case. Feel free to open a ticket and/or a pull request!



On 5/20/19 11:36 AM, GRISOT, REMI wrote:

I am trying to ingest some data into geomesa and one of the feature
types has no spatial field.
When I ingest the data without Spark I have no problem however if I try
to ingest data with Spark and no spatial attribute, it throws a
NullPointerException. The workaround I found for now is to set a (0,0)
point for all entries in that table however it seems to me it isn't the
proper way to do. Is there anything particular to do so that Spark can
ingest features with no geom field?

I use Geomesa v2.1.2.

Thank you!


Ce message et toutes les piÃces jointes (ci-aprÃs le "message") sont Ãtablis à lâintention exclusive des destinataires dÃsignÃs. Il contient des informations confidentielles et pouvant Ãtre protÃgà par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immÃdiatement l'expÃditeur et de dÃtruire le message. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse de lâÃmetteur. L'internet ne garantissant pas l'intÃgrità de ce message lors de son acheminement, Atos (et ses filiales) dÃcline(nt) toute responsabilità au titre de son contenu. Bien que ce message ait fait lâobjet dâun traitement anti-virus lors de son envoi, lâÃmetteur ne peut garantir lâabsence totale de logiciels malveillants dans son contenu et ne pourrait Ãtre tenu pour responsable des dommages engendrÃs par la transmission de lâun dâeux.

This message and any attachments (the "message") are intended solely for the addressee(s). It contains confidential information, that may be privileged. If you receive this message in error, please notify the sender immediately and delete the message. Any use of the message in violation of its purpose, any dissemination or disclosure, either wholly or partially is strictly prohibited, unless it has been explicitly authorized by the sender. As its integrity cannot be secured on the internet, Atos and its subsidiaries decline any liability for the content of this message. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
geomesa-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit