Skip to content

Commit

Permalink
PUBDEV-5715: Amazon Redshift JDBC support (#2596)
Browse files Browse the repository at this point in the history
- Added Amazon Redshift to list of supported JDBC drivers.
Driveby fix: In CoxPH, stop_column is required.
  • Loading branch information
angela0xdata committed Jul 7, 2018
1 parent f37b4b0 commit cca6c1a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Expand Up @@ -7,7 +7,7 @@
Description
~~~~~~~~~~~

This option is used to specify the name of an integer column in the **source** data set representing the start time. If this option is supplied, then **stop_column** is required. If supplied, the value of the **start_column** must be strictly less than the **stop_column** in each row.
This option is used to specify the name of an integer column in the **source** data set representing the start time. If supplied, then the value of the **start_column** must be strictly less than the **stop_column** in each row.

Related Parameters
~~~~~~~~~~~~~~~~~~
Expand Down
Expand Up @@ -7,8 +7,7 @@
Description
~~~~~~~~~~~

This option is used to specify the name of an integer column in the **source** data set representing the stop time. This is required if **start_time** is specified. In addition, the value of the **stop_column** must be strictly greater than the **start_column** in each row.

This option is used to specify the name of an integer column in the **source** data set representing the stop time. This is required. In addition, if a **start_column** is specified, then the value of the **stop_column** must be strictly greater than the **start_column** in each row.

Related Parameters
~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion h2o-docs/src/product/data-science/coxph.rst
Expand Up @@ -24,7 +24,7 @@ Defining a CoxPH Model

- `start_column <algo-params/start_column.html>`__: (Optional) The name of an integer column in the **source** data set representing the start time. If supplied, the value of the **start_column** must be strictly less than the **stop_column** in each row.

- `stop_column <algo-params/stop_column.html>`__: The name of an integer column in the **source** data set representing the stop time.
- `stop_column <algo-params/stop_column.html>`__: (Required) The name of an integer column in the **source** data set representing the stop time.

- `y <algo-params/y.html>`__: (Required) Specify the column to use as the dependent variable. The data can be numeric or categorical.

Expand Down
2 changes: 1 addition & 1 deletion h2o-docs/src/product/getting-data-into-h2o.rst
Expand Up @@ -192,7 +192,7 @@ core-site.xml must be configured for at least the following properties (class, p
JDBC Databases
~~~~~~~~~~~~~~

Relational databases that include a JDBC (Java database connectivity) driver can be used as the source of data for machine learning in H2O. Currently supported SQL databases are MySQL, PostgreSQL, MariaDB, Netezza, and Hive. (Refer to :ref:`hive2` for more information.) Data from these SQL databases can be pulled into H2O using the ``import_sql_table`` and ``import_sql_select`` functions.
Relational databases that include a JDBC (Java database connectivity) driver can be used as the source of data for machine learning in H2O. Currently supported SQL databases are MySQL, PostgreSQL, MariaDB, Netezza, Amazon Redshift, and Hive. (Refer to :ref:`hive2` for more information.) Data from these SQL databases can be pulled into H2O using the ``import_sql_table`` and ``import_sql_select`` functions.

Refer to the following articles for examples about using JDBC data sources with H2O.

Expand Down

0 comments on commit cca6c1a

Please sign in to comment.