Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 721 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 721 Bytes

Ecto.Adapters.Druid

Ecto Druid (documentation) allows interacting with Druid via Ecto. It features:

  • An Ecto adapter for Druid
  • A module that provides Druid's SQL functions
  • Types for Druid's complex types
  • A Druid API client

To learn more about getting started, see the Ecto repository.

Running Tests

git clone https://github.com/wistia/ecto_druid.git
cd ecto_druid

# Start druid
docker compose up -d druid

# Wait for druid to start up, then load data into it
curl "http://localhost:8888/druid/indexer/v1/task" \
  --header 'Content-Type: application/json' \
  -d @ingestion_spec.json

# Once the data has loaded
mix test