locationtech / locationtech/geomesa

Add query hint to flatten out json-type attributes

Open
#7,344 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

Add query hint to flatten out json-type attributes

When storing json in a json-type attribute, it may be useful to “flatten” out the json in the response, so that it can be treated like any other simple feature without having to parse the json.
e.g. {{props:
{"foo":"bar","baz":"blue"}
}} would be returned as props.foo: bar, props.baz: blue


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

Key: GEOMESA-3523
Type: Story
Priority: Major
Status: To Do
Resolution: Unresolved
Reporter: Emilio Lahr-Vivaz
Created: Mon, 29 Sep 2025 12:12:44 -0400
Updated: Mon, 29 Sep 2025 12:12:45 -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

Start by locating the query-hint handling and the response path for JSON-type attributes. Confirm how the hint should expose nested values, using the provided props.foo and props.baz example as the expected result; done means JSON fields are returned as flattened attributes when the hint is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.