Query Druid Metadata

Hi, I am trying to use Native Query to query Druid metadata. Based on Druid documentation, this needs to be done using native query, not SQL.

Using Metabase native query, I ran below:

{
  "queryType": "dataSourceMetadata",
  "dataSource": "watch_livetv_hour_slot"
}

and received the following error:

No method in multimethod 'post-process' for dispatch value: :metabase.driver.druid.query-processor/dataSourceMetadata

If I ran query directly using Druid web console, I would get single value result of date data type for maxIngestedEventTime.

Hi @membrane
The Druid driver only has a handful of queryType implemented, so it would have to be extended to cover more:
https://github.com/metabase/metabase/blob/master/modules/drivers/druid/src/metabase/driver/druid/query_processor.clj#L34-L40

Oh okay. Thanks for the fast response.