Code Monkey home page Code Monkey logo

pyvertica's Introduction

PyVertica

This package contains tools for performing batch imports to the Vertica database.

Provided modules

pyvertica.connection
Module which contains logic for connection to a Vertica DB.
pyvertica.batch
High speed loader for Vertica.
pyvertica.importer
Base-class for writing Vertica batch importers.
pyvertica.migrate
Module managing export from one Vertica cluster to another.

Provided scripts

vertica_batch_import
Command-line interface for the pyvertica.batch module.
vertica_migrate
Command-line interface for the pyvertica.migrate module.

Installation

pyvertica can be installing by executing pip install pyvertica.

Links

Changes

v1.5.1

  • Use latest pyodbc version.

v1.5.0

  • ADD: rolllback method to VerticaBatch object.
  • ADD: REJECTMAX option.
  • CHANGE: VerticaBatch.get_errors now returns the number of errors instead of a bool indicating if there are errors.
  • CHANGE: REJECTEDFILE option is now set to __debug__.

v1.4.1

  • CHANGE: Make it possible to pass host, and credentials to the vertica_migrate tool by using an config file (to not expose credentials on the command-line).

v1.4.0

  • CHANGE: Make it more easy to pass more arguments to get_connection through BaseImporter and VerticaBatch. Note that this is a backwards incompatible change as the arguments for BaseImporter, VerticaBatch and get_connection have changed.

v1.3.0

  • FEATURE: Add a migration module pyvertica.migrate``and script ``vertica_migrate, to move data between clusters.
  • CHANGE: Make the reconnect optional in VerticaBatch.get_connection

v1.2.4

  • CHANGE: Make the execution of ANALYZE_CONSTRAINTS optional (executed when getting the errors).

v1.2.3

  • FIX: Handle exceptions raised inside the QueryThread so that the semaphore always gets released.

v1.2.2

  • FIX: Line-endings in file-object returned by get_errors. All is now \n.

v1.2.1

  • CHANGE: The Batch-history table is now configurable in BaseImporter.
  • CHANGE: get_connection selects a random node from the cluster and returns a connection to that node.
  • FIX: Cleanup fifo + temporary directory.

v1.2.0

  • CHANGE: Change the way in how we detect if the FIFO object is consumed by the QueryThread. By opening the FIFO object (for writing) in 'w' mode after the QueryThread was created, it will block until the COPY SQL statement is started.

v1.1.2

  • Public release!

pyvertica's People

Contributors

brocaar avatar thijsdezoete avatar

Watchers

VIJAYAKUMAR JAWAHARLAL avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.