PlyQL (v0.11.2) is a SQL-like query interface for Plywood, primarily used for querying Druid databases. It provides a command-line tool that translates SQL-style queries into Plywood expressions and executes them against Druid. The package supports various output formats (JSON, CSV, TSV, flat), query timeouts, retries, concurrency limits, Druid-specific options like rollup mode, introspection strategies, and column type forcing. It requires Node >= 4.x.x and has no major updates recently, indicating maintenance mode. Alternatives include direct Druid SQL or Plywood native queries, but PlyQL offers a familiar SQL syntax for users accustomed to relational databases. The package is authored by Imply and has a low release cadence.
npm install plyqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic setup and execution of a SQL-like query against Druid using PlyQL.
Use Druid or consider alternative query interfaces.
Adopt async/await or .then() for query execution.
Include __time filter in WHERE clause or use --allow eternity.
Use --output 'json' or another supported format.
Ensure cache disabling is intended for the use case; use cautiously.
Verify DRUID_HOST environment variable or --host flag points to correct Druid broker URL.
Add a __time range to the WHERE clause or use --allow eternity.
Update to latest version and use async query API.
Check query syntax per PlyQL language reference.