Skip to content

[ERROR] Issue with Hadoop Indexer and null numeric dimensions #7050

@ferristseng

Description

@ferristseng

I'm running into an issue where the Hadoop Indexer is still treating null numeric dimensions as 0 in 0.13.0-incubating, even when the system property druid.generic.useDefaultValueForNull is set to false.

I dug a little bit into the code, and noticed that the Hadoop Indexer was not updated to treat null numeric dimensions in a SQL-compatible way:

https://github.com/apache/incubator-druid/blob/7e48593b5780c3bc4852d183dc473be283c84d25/indexing-hadoop/src/main/java/org/apache/druid/indexer/InputRowSerde.java#L179

I made a fix for the issue here:

#7020

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions