• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
Clean Programmer

Clean Programmer

Programming & DevOps Resources

  • Home
  • Library
  • About
  • Contact

Archives for December 2018

Configure Druid to Use Lookups from JSON File

December 7, 2018 Monzurul Haque Shimul

Lookups are a concept in Druid where dimension values are replaced with new values. In Druid lookup, a “key” refers to a dimension value to match, and a “value” refers to its replacement. So if you wanted to map “us” to “United States” then the key would be “us” and the value would be “United States”.

Druid supports passing very small lookups (a few dozen to a few hundred)  at query time as a “map” lookup. Other lookup types are available as extensions, including lookups from local files, remote URIs, or JDBC through lookups-cached-global. Another supported type is globally cached lookups from a Kafka topic through kafka-extraction-namespace.

In this article, I will demonstrate how to configure Druid to use lookups from Json files using the lookups-cached-global extension. 

Read More about Configure Druid to Use Lookups from JSON File

Druid druid.io imply.io

Configure Druid to Use Lookups from CSV Files

December 7, 2018 Monzurul Haque Shimul

Lookups are a concept in Druid where dimension values are replaced with new values. In Druid lookup, a “key” refers to a dimension value to match, and a “value” refers to its replacement. So if you wanted to map “us” to “United States” then the key would be “us” and the value would be “United States”.

Druid supports passing very small lookups (a few dozen to a few hundred)  at query time as a “map” lookup. Other lookup types are available as extensions, including lookups from local files, remote URIs, or JDBC through lookups-cached-global. Another supported type is globally cached lookups from a Kafka topic through kafka-extraction-namespace.

In this article, I will demonstrate how to configure Druid to use lookups from a csv file using lookups-cached-global extension. 

Read More about Configure Druid to Use Lookups from CSV Files

Druid druid.io imply.io

Primary Sidebar

Categories

  • Apache Kafka
  • Druid
  • Git
  • Java
  • Java EE
  • Redis
  • Spring
  • Uncategorized
  • Weblogic
  • Wildfly

Featured Posts

Count Unique in Druid Using DataSketches Theta Sketch

How to Configure Logging in Druid

Generating Prime Number Sequence Using Java Stream API

Username and Password with Special Characters for Curl

How to Configure Druid to Use Microsoft SQL Server as Metadata Storage

Tags

bash bitbucket cassandra cloudserver curl docker druid.io eclipselink ejb git imply.io java java-ee jaxws jboss jboss-cli jdbc jdk jms kafka maven minio mssql mysql ojdbc oracle postgresql redis rest rest-template S3 scality sdk sdkman soap spring sqlserver stream stream api weblogic web services wildfly wsdl zenko zookeeper

Archives

  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018

Copyright © 2019 · CLEAN PROGRAMMER

  • Privacy Policy
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OKNoRead more
Revoke Cookies