{"id":16644847,"url":"https://github.com/toyama0919/embulk-input-presto","last_synced_at":"2025-08-20T15:11:09.391Z","repository":{"id":59153371,"uuid":"47531102","full_name":"toyama0919/embulk-input-presto","owner":"toyama0919","description":"Facebook Presto input plugin for Embulk.","archived":false,"fork":false,"pushed_at":"2017-03-23T00:18:15.000Z","size":19,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T08:31:59.046Z","etag":null,"topics":["embulk","embulk-input-plugin","embulk-plugin","facebook-presto","presto"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toyama0919.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-07T05:21:49.000Z","updated_at":"2019-07-10T02:05:16.000Z","dependencies_parsed_at":"2022-09-13T17:50:38.081Z","dependency_job_id":null,"html_url":"https://github.com/toyama0919/embulk-input-presto","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyama0919%2Fembulk-input-presto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyama0919%2Fembulk-input-presto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyama0919%2Fembulk-input-presto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toyama0919%2Fembulk-input-presto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toyama0919","download_url":"https://codeload.github.com/toyama0919/embulk-input-presto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238968201,"owners_count":19560585,"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":["embulk","embulk-input-plugin","embulk-plugin","facebook-presto","presto"],"created_at":"2024-10-12T08:12:29.212Z","updated_at":"2025-02-15T08:30:55.464Z","avatar_url":"https://github.com/toyama0919.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Facebook Presto input plugin for Embulk [![Gem Version](https://badge.fury.io/rb/embulk-input-presto.svg)](http://badge.fury.io/rb/embulk-input-presto) [![Build Status](https://secure.travis-ci.org/toyama0919/embulk-input-presto.png?branch=master)](http://travis-ci.org/toyama0919/embulk-input-presto)\n\nFacebook Presto input plugin for Embulk.\n[see](https://prestodb.io/).\n\n## Overview\n\n* **Plugin type**: input\n* **Resume supported**: yes\n* **Cleanup supported**: yes\n* **Guess supported**: no\n\n## Configuration\n\n- **host**: host (string, default: `\"localhost\"`)\n- **port**: port (integer, default: `8080`)\n- **schema**: schema (string, default: `\"default\"`)\n- **catalog**: catalog (string, default: `\"native\"`)\n- **query**: query (string, required)\n- **user**: user (string, default: `\"embulk\"`)\n- **columns**(**deprecated**): columns (array, required)\n  - **name**: name (string, required)\n  - **type**: type (string, required)\n\n**Warning** : **columns** deprecated since over v0.2.0. Support auto fetch schema.\n\n## Example\n\n```yaml\nin:\n  type: presto\n  host: presto-cordinator\n  catalog: store\n  schema: public\n  query: |\n    SELECT\n      trim(upper(url_decode(keyword))) AS keyword,\n      count(*) as count\n    FROM search\n    CROSS JOIN UNNEST(split(keywords, ',')) AS t (keyword)\n    WHERE log_date \u003e= (CURRENT_DATE - INTERVAL '90' DAY)\n     AND length(keywords) != 256\n    group by keyword\n    having count(*) \u003e= 10\n    order by count(*) desc\nout:\n  type: stdout\n```\n\n## Support type\n* TIMESTAMP\n* LONG\n* DOUBLE\n* BOOLEAN\n* STRING\n* JSON\n\n## Build\n\n```\n$ rake\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoyama0919%2Fembulk-input-presto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoyama0919%2Fembulk-input-presto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoyama0919%2Fembulk-input-presto/lists"}