You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "aharbunou-branch (via GitHub)" <gi...@apache.org> on 2023/03/02 05:21:10 UTC

[GitHub] [druid] aharbunou-branch opened a new issue, #13873: error:cannot_merge_diff_types: [HLLSketchBuild] and [HLLSketch]

aharbunou-branch opened a new issue, #13873:
URL: https://github.com/apache/druid/issues/13873

   ### Affected Version
   
   25.0.0
   
   ### Description
   
   I'm migrating Druid from 0.18.1 to 25.0.0.
   I use https://druid.apache.org/docs/latest/development/extensions-core/datasketches-hll.html#hllsketchmerge-aggregator module to work with hll sketches. I use kafka realtime ingestion and batch hadoop ingestion.
   I noticed that after migrating to 25.0.0 query to get segment metadata returns  `error:cannot_merge_diff_types: [HLLSketchBuild] and [HLLSketch]` .
   I see this error when run query against broker whereas historical node (I have only one historical for this test) returns response without the error. 
   I suspect that there is an issue with realtime segment on middle manager side.
   Segment metadata request
   ```
   {
     "queryType": "segmentMetadata",
     "dataSource": "<name>",
     "merge": true,
     "lenientAggregatorMerge": true,
     "context": {
       "timeout": 60000
     },
     "analysisTypes": [
       "aggregators"
     ]
   }
   ```
   Field with error message from broker
   ```
       "sketch_field" : {
         "typeSignature" : "STRING",
         "type" : "STRING",
         "hasMultipleValues" : false,
         "hasNulls" : false,
         "size" : -1,
         "cardinality" : null,
         "minValue" : null,
         "maxValue" : null,
         "errorMessage" : "error:cannot_merge_diff_types: [HLLSketchBuild] and [HLLSketch]"
   ```
   Same field from historical node
   ```
      "sketch_field" : {
         "typeSignature" : "COMPLEX<HLLSketch>",
         "type" : "HLLSketch",
         "hasMultipleValues" : false,
         "hasNulls" : true,
         "size" : 0,
         "cardinality" : null,
         "minValue" : null,
         "maxValue" : null,
         "errorMessage" : null
       }
   ```
   Metric spec definition
   ```
            "fieldName": "some_field",
             "lgK": 16,
             "name": "sketch_field",
             "tgtHllType": "HLL_8",
             "type": "HLLSketchBuild"
   ```
   Could you please help with this issue?


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

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] error:cannot_merge_diff_types: [HLLSketchBuild] and [HLLSketch] (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #13873: error:cannot_merge_diff_types: [HLLSketchBuild] and [HLLSketch]
URL: https://github.com/apache/druid/issues/13873


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

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] error:cannot_merge_diff_types: [HLLSketchBuild] and [HLLSketch] (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13873:
URL: https://github.com/apache/druid/issues/13873#issuecomment-1933155186

   This issue has been marked as stale due to 280 days of inactivity.
   It will be closed in 4 weeks if no further activity occurs. If this issue is still
   relevant, please simply write any comment. Even if closed, you can still revive the
   issue at any time or discuss it on the dev@druid.apache.org list.
   Thank you for your contributions.


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

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


Re: [I] error:cannot_merge_diff_types: [HLLSketchBuild] and [HLLSketch] (druid)

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #13873:
URL: https://github.com/apache/druid/issues/13873#issuecomment-1984824331

   This issue has been closed due to lack of activity. If you think that
   is incorrect, or the issue requires additional review, you can revive the issue at
   any time.


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

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org