0.11.2 • Published 7 years ago

plyql v0.11.2

Weekly downloads
4
License
Apache-2.0
Repository
github
Last release
7 years ago

PlyQL

A SQL-like interface to plywood

Installation

PlyQL is built on top of node so make sure you have node >= 4.x.x installed.

npm install -g plyql

The global install will make the plyql command available system wide.

Usage

Currently only queries to Druid are supported. More support will come in the future.

The CLI supports the following options:

OptionDescription
--helpprint this help message
--versiondisplay the version number
-v, --verbosedisplay the queries that are being made
-h, --hostthe host to connect to
-s, --sourceuse this source for the query (supersedes FROM clause)
-i, --intervaladd (AND) a __time filter between NOW-INTERVAL and NOW
-tz, --timezonethe default timezone
-q, --querythe query to run
-o, --outputspecify the output format. Possible values: json (default), csv, tsv, flat
-a, --allowenable a behaviour that is turned off by default eternity allow queries not filtered on time select allow select queries
-t, --timeoutthe time before a query is timed out in ms (default: 60000)
-r, --retrythe number of tries a query should be attempted on error, 0 = unlimited, (default: 2)
-c, --concurrentthe limit of concurrent queries that could be made simultaneously, 0 = unlimited, (default: 2)
--rollupuse rollup mode COUNT() -> SUM(count)
--druid-versionAssume this is the Druid version and do not query for it
--skip-cachedisable Druid caching
--introspection-strategyDruid introspection strategy. Use --help for possible values
--force-timeforce a column to be interpreted as a time column
--force-stringforce a column to be interpreted as a string column
--force-booleanforce a column to be interpreted as a boolean column
--force-numberforce a column to be interpreted as a number column
--force-uniqueforce a column to be interpreted as a hyperLogLog uniques
--force-thetaforce a column to be interpreted as a theta sketch
--force-histogramforce a column to be interpreted as an approximate histogram (for quantiles)

For information on specific operators and functions supported by PlyQL please see: PlyQL language reference.

Examples

For an introduction and examples please see: PlyQL language reference.

Roadmap

Here is a list of features that is not currently supported that are in the works:

  • Query simulation - preview the queries that will be run without running them
  • Sub-queries in WHERE clauses
  • JOIN support
  • Window functions

Questions & Support

For updates about new and upcoming features follow @implydata on Twitter.

Please file bugs and feature requests by opening and issue on GitHub and direct all questions to our user groups.

0.11.2

7 years ago

0.11.1

7 years ago

0.11.0

7 years ago

0.10.12

7 years ago

0.10.11

7 years ago

0.10.10

8 years ago

0.10.9

8 years ago

0.10.8

8 years ago

0.10.7

8 years ago

0.10.6

8 years ago

0.9.6-patch

8 years ago

0.10.5

8 years ago

0.10.4

8 years ago

0.10.3

8 years ago

0.10.2

8 years ago

0.10.1

8 years ago

0.9.16

8 years ago

0.9.15

8 years ago

0.9.14

8 years ago

0.9.13

8 years ago

0.9.12

8 years ago

0.9.10

8 years ago

0.9.9

8 years ago

0.9.8

8 years ago

0.9.7

8 years ago

0.9.6

8 years ago

0.9.5

8 years ago

0.9.4

8 years ago

0.9.3

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.8.19

8 years ago

0.8.18

8 years ago

0.8.17

8 years ago

0.8.16

8 years ago

0.8.15

8 years ago

0.8.14

8 years ago

0.8.13

8 years ago

0.8.12

8 years ago

0.8.11

8 years ago

0.8.10

8 years ago

0.8.9

8 years ago

0.8.8

8 years ago

0.8.7

8 years ago

0.8.6

8 years ago

0.8.5

9 years ago

0.8.4

9 years ago

0.8.3

9 years ago

0.8.2

9 years ago

0.8.1

9 years ago

0.7.15

9 years ago

0.7.14

9 years ago

0.7.13

9 years ago

0.7.12

9 years ago

0.7.11

9 years ago

0.7.10

9 years ago

0.7.9

9 years ago

0.7.8

9 years ago

0.7.7

9 years ago

0.7.6

9 years ago

0.7.5

9 years ago

0.7.4

9 years ago

0.7.3

9 years ago

0.7.2

9 years ago

0.7.1

9 years ago

0.6.28

9 years ago

0.6.27

9 years ago

0.6.26

9 years ago

0.6.25

9 years ago

0.6.24

9 years ago

0.6.23

9 years ago

0.6.22

9 years ago

0.6.21

9 years ago

0.6.20

9 years ago

0.6.19

9 years ago

0.6.18

9 years ago

0.6.17

9 years ago

0.6.16

9 years ago

0.6.15

9 years ago

0.6.14

9 years ago

0.6.13

9 years ago

0.6.12

9 years ago

0.6.11

9 years ago

0.6.10

9 years ago

0.6.9

9 years ago

0.6.8

9 years ago

0.6.7

9 years ago

0.6.6

9 years ago

0.6.5

9 years ago

0.6.4

9 years ago

0.6.3

9 years ago

0.6.2

9 years ago

0.6.1

9 years ago

0.5.20

9 years ago

0.5.19

9 years ago

0.5.18

9 years ago

0.5.17

9 years ago

0.5.16

9 years ago

0.5.15

9 years ago

0.5.14

9 years ago

0.5.13

9 years ago

0.5.12

9 years ago

0.5.11

9 years ago

0.5.10

9 years ago

0.5.9

9 years ago

0.5.8

9 years ago

0.5.7

9 years ago

0.5.6

9 years ago

0.5.5

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.4.1

9 years ago

0.3.2

9 years ago

0.3.1

9 years ago