WilliamWhispell opened a new issue #8171: Slow double dimension query when 
useDefaultValueForNull set to false
URL: https://github.com/apache/incubator-druid/issues/8171
 
 
   For example, for a datasource called example if I have:
   
    "dimensionsSpec": {
               "dimensions": [
                 "SYMBOL",
                 {
                   "type": "float",
                   "name": "FIELD1"
                 },
                 {
                   "type": "double",
                   "name": "FIELD2"
                 }]
   }
   
   Then querying this datasource, where that FIELD1 and FIELD2 column contain 
the same data, but one is stored using double, I find that:
   
   SELECT SYMBOL,FIELD1 from example WHERE __time = TIMESTAMP '2019-07-26 
00:00:00'
   * Takes about 200 ms
   
   SELECT SYMBOL,FIELD2 from example WHERE __time = TIMESTAMP '2019-07-26 
00:00:00'
   * takes about 10 seconds
   
   Now changing druid.generic.useDefaultValueForNull=true and restarting druid, 
when I load the data again into a new datasource example2, I find that that the 
double query is no longer slow and completes in about the same time as any 
other dimension query.
   
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

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

Reply via email to