locationtech / locationtech/geomesa

GeoJson ingest type inference does not work with explicit nulls

Open
#6,954 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.5k
Forks
446
Avg merge
1d 8h
Merged PRs (30d)
31

Description

GeoJson ingest type inference does not work with explicit nulls

i.e. having "foo": null vs just not having an entry or having an empty string for the value.

This issue is unverified, we should verify it (i.e. write a failing unit test) before fixing.


Original JIRA Issue: https://geomesa.atlassian.net/browse/GEOMESA-3128

Key: GEOMESA-3128
Type: Bug
Priority: Major
Status: To Do
Resolution: Unresolved
Reporter: Emilio Lahr-Vivaz
Created: Tue, 7 Sep 2021 09:55:41 -0400
Updated: Tue, 7 Sep 2021 09:55:41 -0400

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the GeoJson ingest type-inference entry point and its unit tests. First add a failing test comparing an explicit null with an absent field and an empty-string value, then verify the expected distinction and run the relevant ingest test suite; done means the regression is reproduced and the test passes after the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.