{"id":13795350,"url":"https://github.com/implydata/plyql","last_synced_at":"2025-05-12T22:30:48.301Z","repository":{"id":57326259,"uuid":"42552791","full_name":"implydata/plyql","owner":"implydata","description":"MySQL-like queries for Druid built on top of Plywood","archived":true,"fork":false,"pushed_at":"2019-09-10T23:06:07.000Z","size":401,"stargazers_count":147,"open_issues_count":0,"forks_count":39,"subscribers_count":58,"default_branch":"master","last_synced_at":"2024-09-09T10:55:29.827Z","etag":null,"topics":["druid","plywood","sql"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/implydata.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-15T23:28:04.000Z","updated_at":"2024-06-25T09:05:17.000Z","dependencies_parsed_at":"2022-09-21T02:01:12.175Z","dependency_job_id":null,"html_url":"https://github.com/implydata/plyql","commit_stats":null,"previous_names":[],"tags_count":117,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/implydata%2Fplyql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/implydata%2Fplyql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/implydata%2Fplyql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/implydata%2Fplyql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/implydata","download_url":"https://codeload.github.com/implydata/plyql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225157000,"owners_count":17429698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["druid","plywood","sql"],"created_at":"2024-08-03T23:00:54.945Z","updated_at":"2024-11-18T09:32:02.376Z","avatar_url":"https://github.com/implydata.png","language":"TypeScript","readme":"# [ DEPRECATED ] PlyQL\n\nA SQL-like interface to plywood\n\n⛔️ This project has been deprecated due to [SQL support in Druid](http://druid.incubator.apache.org/docs/latest/querying/sql).\n\n\n## Installation\n\nPlyQL is built on top of node so make sure you have node \u003e= 4.x.x installed.\n\n```\nnpm install -g plyql\n```\n\nThe global install will make the `plyql` command available system wide.\n\n## Usage\n\nCurrently only queries to Druid are supported. More support will come in the future. \n\nThe CLI supports the following options:\n\nOption                     | Description\n---------------------------|-----------------------------------------\n`--help`                   | print this help message\n`--version`                | display the version number\n`-v`, `--verbose`          | display the queries that are being made\n`-h`, `--host`             | the host to connect to\n`-s`, `--source`           | use this source for the query (supersedes FROM clause)\n`-i`, `--interval`         | add (AND) a `__time` filter between NOW-INTERVAL and NOW\n`-tz`, `--timezone`        | the default timezone\n`-q`, `--query`            | the query to run\n`-o`, `--output`           | specify the output format. Possible values: `json` **(default)**, `csv`, `tsv`, `flat`\n`-a`, `--allow`            | enable a behaviour that is turned off by default `eternity` allow queries not filtered on time `select` allow select queries\n`-t`, `--timeout`          | the time before a query is timed out in ms (default: 60000)\n`-r`, `--retry`            | the number of tries a query should be attempted on error, 0 = unlimited, (default: 2)\n`-c`, `--concurrent`       | the limit of concurrent queries that could be made simultaneously, 0 = unlimited, (default: 2)\n`--rollup`                 | use rollup mode [COUNT() -\u003e SUM(count)]\n`--druid-version`          | Assume this is the Druid version and do not query for it\n`--skip-cache`             | disable Druid caching\n`--introspection-strategy` | Druid introspection strategy. Use `--help` for possible values\n`--force-time`             | force a column to be interpreted as a time column\n`--force-string`           | force a column to be interpreted as a string column\n`--force-boolean`          | force a column to be interpreted as a boolean column\n`--force-number`           | force a column to be interpreted as a number column\n`--force-unique`           | force a column to be interpreted as a hyperLogLog uniques\n`--force-theta`            | force a column to be interpreted as a [theta sketch](http://druid.io/docs/latest/development/extensions-core/datasketches-aggregators.html)\n`--force-histogram`        | force a column to be interpreted as an approximate histogram (for quantiles)\n\nFor information on specific operators and functions supported by PlyQL please see: [PlyQL language reference](http://plywood.imply.io/plyql).\n\n## Examples\n\nFor an introduction and examples please see: [PlyQL language reference](http://plywood.imply.io/plyql#examples).\n\n## Roadmap\n\nHere is a list of features that is not currently supported that are in the works:\n\n* Query simulation - preview the queries that will be run without running them\n* Sub-queries in WHERE clauses  \n* JOIN support\n* Window functions\n\n## Questions \u0026 Support\n\nFor updates about new and upcoming features follow [@implydata](https://twitter.com/implydata) on Twitter.\n                             \nPlease file bugs and feature requests by opening and issue on GitHub and direct all questions to our [user groups](https://groups.google.com/forum/#!forum/imply-user-group).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimplydata%2Fplyql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimplydata%2Fplyql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimplydata%2Fplyql/lists"}