Skip to content

Schemaless dimension ingestion doesn't work when using spatial dimensions #3599

@dclim

Description

@dclim

If the list of dimensions is not specified (schemaless) but a spatial dimension is specified, the spatial dimension will be the only dimension ingested.

These are the relevant sections of code; spatial dimensions are now being added to the list of dimensions in DimensionSpec which prevents the introspection from happening in MapInputRowParser:

https://github.com/druid-io/druid-api/blob/master/src/main/java/io/druid/data/input/impl/DimensionsSpec.java#L93 and
https://github.com/druid-io/druid-api/blob/master/src/main/java/io/druid/data/input/impl/MapInputRowParser.java#L48

Is this something that we can/want to support, or is defining a spatial dimension now considered providing a list of dimensions?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions