Page tree

Trifacta Dataprep



Contents:

   

Feature Availability: This feature is available in the following editions:

  • Dataprep Enterprise Edition by Trifacta®
  • Dataprep Professional Edition by Trifacta
  • Dataprep Premium by Trifacta
  • Dataprep Standard by Trifacta

Contents:


You can create connections to one or more Oracle Database  from Dataprep by Trifacta®


If you are connecting Dataprep by Trifacta to any relational source of data, such as Amazon Redshift or Oracle Database, you must add the Trifacta Service to your whitelist for those resources.For more information, see Getting Started with Cloud Dataprep.

Supported Versions: 12.1.0.2

  • Read: Supported
  • Write: Supported

Configure

To create this connection:

  • In the Import Data page, click the Plus sign. Then, select the Relational tab. Click the Oracle Database card. 
  • You can also create connections through the Connections page. See Connections Page.

Modify the following properties as needed:

PropertyDescription
Host
Enter your hostname. Example:

 

testsql.database.windows.net
PortSet this value to 1521.
Connect String options

Please insert any connection options as a string here. See below.

Enable SSL

Select the option if the connection should use SSL.

NOTE: Additional configuration may be required in the database server. For more information, please consult the documentation that was provided with the distribution.

NOTE: SSL connections are not supported in Dataprep by Trifacta.



Service NameEnter the name of the Oracle service.
User Name(basic credential type only) Username to use to connect to the database.
Password(basic credential type only) Password associated with the above username.
Test ConnectionAfter you have defined the connection credentials type, credentials, and connection string, you can validate those credentials.
Connection NameDisplay name of the connection
Connection DescriptionDescription of the connection, which appears in the application.

Connection URL

The properties that you provide are inserted into the following URL, which connects Dataprep by Trifacta to the connection:

<host>:<port>/<service_name>

Connect string options

The connect string options are optional. If non-standard connections are required, Oracle Database supports using tsnames format. 

When the connect string options field is used:

  • The connect string options parameters are prepended with jdbc:oracle:thin:@.
  • The following fields are ignored from the form. These values must be specified as part of the tsnames :
    • Host
    • Port
    • Service
    • SSL

After you specify the connect string options, the generated connection URL is automatically prepended with the following protocol information. Do not add this to the connection URL or connect string options:

jdbc:oracle:thin:@

Examples are below.

Use SID:

If you are using a service identifier, instead of a service name, please specify your connection string options as follows:

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle.rds.example.com)(PORT=1521))(CONNECT_DATA=(SID=orcl)))

Use TCPS:

If TCPS protocol is required, you can specify your connection string options as follows:

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=oracle.rds.example.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl)))

For more information, please see the documentation for the Oracle Database driver.

Driver Information

This connection uses the following driver:

Create via API

This connection can also be created using the API.

  • Type: jdbc
  • Vendor: oracle

For more information, see Dataprep by Trifacta API Reference docs: Enterprise | Professional | Premium | Standard

Troubleshooting

For more information on common error messages, see https://docs.oracle.com/cd/E11882_01/java.112/e16548/apxermsg.htm#JJDBC28962.

"Could not create dataset - Lexical error"

When you attempt to create a dataset with SQL from an Oracle database, you may receive an ORA error similar to the above. These queries may work in other database tools. 

Solution:

The solution is to apply aliasing impacted columns in your SQL query. For more information, see Supported SQL Syntax.

Use

SQL Syntax

The following syntax requirements apply to this connection.

Object delimiter: double-quote

Example syntax:

Double quotes required around database and table names and not required around column names.

SELECT "column1","column2" FROM "databaseName"."tableName";

For more information on SQL in general, see Supported SQL Syntax.

For more information, see Database Browser.

Data Conversion

For more information on how values are converted during input and output with this database, see Oracle Data Type Conversions.

This page has no comments.