<commit_before># Vertica

Vertica is a pure Ruby library for connecting to Vertica databases. You can learn more
about Vertica at http://www.vertica.com.

This library currently supports connecting, executing SQL queries, and transferring data
for a "COPY table FROM STDIN" statement. The gem is tested against Vertica version 4.1, 
5.0, and 5.1, and Ruby version 1.8 and 1.9.

# Install

    $ gem install vertica

# Source

Vertica's git repo is available on GitHub, which can be browsed at:

    http://github.com/sprsquish/vertica

and cloned from:

    git://github.com/sprsquish/vertica.git

# Usage

## Connecting

The <code>Vertica.connect</code> methods takes a connection parameter hash and returns a 
connection object. For most options, the gem will use a default value if no value is provided.

    connection = Vertica.connect({
      :host     => 'db_server',
      :user     => 'user',
      :password => 'password',
      # :ssl         => false, # use SSL for the connection<commit_msg>Added v6.1 support mention to README<commit_after># Vertica

Vertica is a pure Ruby library for connecting to Vertica databases. You can learn more
about Vertica at http://www.vertica.com.

This library currently supports connecting, executing SQL queries, and transferring data
for a "COPY table FROM STDIN" statement. The gem is tested against Vertica version 4.1, 
5.0, 5.1, and 6.1, and Ruby version 1.8 and 1.9.

# Install

    $ gem install vertica

# Source

Vertica's git repo is available on GitHub, which can be browsed at:

    http://github.com/sprsquish/vertica

and cloned from:

    git://github.com/sprsquish/vertica.git

# Usage

## Connecting

The <code>Vertica.connect</code> methods takes a connection parameter hash and returns a 
connection object. For most options, the gem will use a default value if no value is provided.

    connection = Vertica.connect({
      :host     => 'db_server',
      :user     => 'user',
      :password => 'password',
      # :ssl         => false, # use SSL for the connection
{'fraction_non_alphanumeric': 0.08497053045186641, 'fraction_numerical': 0.011787819253438114, 'mean_word_length': 3.270440251572327, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '392099', 'n_tokens_mistral': 615, 'n_tokens_neox': 581, 'n_words': 251}