himanshug commented on issue #10678:
URL: https://github.com/apache/druid/issues/10678#issuecomment-793454582


   > @himanshug But the number of keys and the keys themselves are not fixed. 
It varies for every event.
   
   that is fine, Druid ingestion has a mode where it "discovers" the dimensions 
and that would be appropriate for this use case. In the end, when segment is 
built it will have list-of-dimensions = union-of(dimensions in all events)
   
   quoting from  
https://druid.apache.org/docs/latest/ingestion/index.html#dimensionsspec
   "If this and spatialDimensions are both null or empty arrays, Druid will 
treat all non-timestamp, non-metric columns that do not appear in 
dimensionExclusions as String-typed dimension columns. See inclusions and 
exclusions below for details."


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to