{"id":30039677,"url":"https://github.com/manticore-projects/jdbcparquetwriter","last_synced_at":"2026-03-16T23:36:15.820Z","repository":{"id":153233760,"uuid":"627720881","full_name":"manticore-projects/JDBCParquetWriter","owner":"manticore-projects","description":"Write JDBC ResultSet to Parquet File","archived":false,"fork":false,"pushed_at":"2025-01-20T16:23:12.000Z","size":32868,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T17:33:23.253Z","etag":null,"topics":["file","java","jdbc","parquet","resultset","writer"],"latest_commit_sha":null,"homepage":"http://manticore-projects.com/JDBCParquetWriter","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manticore-projects.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-14T03:55:38.000Z","updated_at":"2025-01-20T16:20:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"744e3723-05b1-464c-9cf9-6c9e55ef40de","html_url":"https://github.com/manticore-projects/JDBCParquetWriter","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/manticore-projects/JDBCParquetWriter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticore-projects%2FJDBCParquetWriter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticore-projects%2FJDBCParquetWriter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticore-projects%2FJDBCParquetWriter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticore-projects%2FJDBCParquetWriter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manticore-projects","download_url":"https://codeload.github.com/manticore-projects/JDBCParquetWriter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manticore-projects%2FJDBCParquetWriter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269185780,"owners_count":24374632,"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","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["file","java","jdbc","parquet","resultset","writer"],"created_at":"2025-08-07T01:48:44.472Z","updated_at":"2026-03-16T23:36:10.800Z","avatar_url":"https://github.com/manticore-projects.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JDBCParquetWriter [WebSite](http://manticore-projects.com/JDBCParquetWriter)\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/fcfaaa26ddf84063ad0fc23a70dcd7c2)](https://app.codacy.com/gh/manticore-projects/JDBCParquetWriter?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=manticore-projects/JDBCParquetWriter\u0026utm_campaign=Badge_Grade)\n\n**JDBCParquetWriter** is a Java Library for writing [Apache Parquet](https://parquet.apache.org/) Files from JDBC Tables or ResultSets. It uses [Apache Hadoop](https://hadoop.apache.org/) and Parquet to translate the JDBC rows into the column based format.\nThe Parquet File can be imported into Column based Analytics Databases such as [ClickHouse](https://clickhouse.com/) or [DuckDB](https://duckdb.org/).\n\n## Artifact\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.manticore-projects.jdbc\u003c/groupId\u003e\n    \u003cartifactId\u003eJDBCParquetWriter\u003c/artifactId\u003e\n    \u003cversion\u003e(1.3.5,]\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Example\n\n```sql\nCREATE TABLE test.execution_ref (\n    id_execution_ref         DECIMAL(9) NOT NULL\n    , value_date             DATE       NOT NULL\n    , posting_date           TIMESTAMP  NOT NULL\n)\n;\n\nINSERT INTO TEST.EXECUTION_REF\n    VALUES (1, {d '2021-01-06'}, {ts '2021-01-15 07:48:40.851'});\nINSERT INTO TEST.EXECUTION_REF\n    VALUES (2, {d '2021-01-12'}, {ts '2021-01-13 06:55:10.329'});\nINSERT INTO TEST.EXECUTION_REF\n    VALUES (3, {d '2021-01-13'}, {ts '2021-01-14 05:00:41.136'});\n```\n\n\n```java\nString tableName = \"execution_ref\";\nFile file = File.createTempFile(tableName, \".parquet\");\n\nString sqlStr = \"SELECT * FROM \" + tableName;\ntry (Statement st = conn.createStatement(); ResultSet rs = st.executeQuery(sqlStr);) {\n    JDBCParquetWriter.write(file, tableName, rs);\n}\n```\n\n```text\nare@archlinux ~/d/s/VBox (default) [1]\u003e duckdb\nv0.7.1 b00b93f0b1\n\nD select * from read_parquet(\"/tmp/execution_ref8120677930150886139.parquet\");\n┌──────────────────┬────────────┬────────────────────────────┐\n│ ID_EXECUTION_REF │ VALUE_DATE │        POSTING_DATE        │\n│      int64       │    date    │  timestamp with time zone  │\n├──────────────────┼────────────┼────────────────────────────┤\n│                1 │ 2021-01-06 │ 2021-01-15 07:48:40.851+07 │\n│                2 │ 2021-01-12 │ 2021-01-13 06:55:10.329+07 │\n│                3 │ 2021-01-13 │ 2021-01-14 05:00:41.136+07 │\n│                4 │ 2021-01-14 │ 2021-01-15 01:03:56.375+07 │\n│                5 │ 2021-01-15 │ 2021-01-16 00:19:20.212+07 │\n└──────────────────┴────────────┴────────────────────────────┘\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanticore-projects%2Fjdbcparquetwriter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanticore-projects%2Fjdbcparquetwriter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanticore-projects%2Fjdbcparquetwriter/lists"}