Tableau Connector for Apache CouchDB

Build 25.0.9434

CreateSchema

Creates a schema definition of a table in Apache CouchDB. Control column discovery with the connection properties FlattenObjects, FlattenArrays, TypeDetectionScheme, and RowScanDepth.

CreateSchema

Creates a local schema file (.rsd) from an existing table or view in the data model.

The schema file is created in the directory set in the Location connection property when this procedure is executed. You can edit the file to include or exclude columns, rename columns, or adjust column datatypes.

The connector checks the Location to determine if the names of any .rsd files match a table or view in the data model. If there is a duplicate, the schema file will take precedence over the default instance of this table in the data model. If a schema file is present in Location that does not match an existing table or view, a new table or view entry is added to the data model of the connector.

Input

Name Type Required Description
TableName String True Specify the name of the CouchDB table for which the schema will be created. This ensures that the generated schema reflects the structure of the selected dataset.
FileName String False Provide the full file path and file name where the generated schema should be saved. If this value is not specified, the schema will instead be returned in the FileData output. For example, 'C:\\Users\\User\\Desktop\\CouchDB\\schema.rsd'.
SimplifyNames String False Indicate whether column names in the generated schema should be simplified for readability. When enabled (default), column names are shortened or adjusted to remove special characters.

Result Set Columns

Name Type Description
Result String Shows whether the schema creation process completed successfully, confirming that the schema was generated and is available in the chosen output format.
FileData String Returns the generated schema as a Base64-encoded string. This output is provided only if no FileName was specified, allowing direct use or further processing of the schema without saving it to disk.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434