slim bouguerra created HIVE-18780: ------------------------------------- Summary: Improve schema discovery For Druid Storage Handler Key: HIVE-18780 URL: https://issues.apache.org/jira/browse/HIVE-18780 Project: Hive Issue Type: Improvement Reporter: slim bouguerra Assignee: slim bouguerra
Currently, Druid Storage adapter issues a Segment metadata Query every time the query is of type Select or Scan. Not only that but then every input split (map) will do the same as well since it is using the same Serde, this is very expensive and put a lot of pressure on the Druid Cluster. The way to fix this is to add the schema out of the calcite plan instead of serializing the query itself as part of the Hive query context. -- This message was sent by Atlassian JIRA (v7.6.3#76005)