Skip to content
This repository has been archived by the owner. It is now read-only.
SerDe support for reading pg_dump/COPY output
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

Hive pg_dump format support

This SerDe adds support for reading pg_dump plain ouput. It does not support skipping header/footer lines. Header/footer data will have to be manually removed. Other alternative is to use COPY command to generated text format output.

Using

hive> add jar path/to/pgdump-serde-1.0.4-1.2.0-all.jar;

hive> create table my_table(a integer, b string, ...)
  row format serde 'com.pasam.hive.serde.pg.PgDumpSerDe'
  stored as textfile
;

Files

Building

Run mvn package to build

Eclipse support

Run mvn eclipse:eclipse to generate .project and .classpath files for eclipse

License

pgdump-serde is open source and licensed under the Apache 2 License

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.