When a Druid segment is created, it could be checked that a dictionary-encoded dimension column contains all null values, and just not written to the segment if so.
Probably the same couldn't be done for all-zero numeric columns, because if they are queried as dimensions they should appear as dimensions with all "0" values, not "null" values.
When a Druid segment is created, it could be checked that a dictionary-encoded dimension column contains all null values, and just not written to the segment if so.
Probably the same couldn't be done for all-zero numeric columns, because if they are queried as dimensions they should appear as dimensions with all "0" values, not "null" values.