CREATE_TAGS_FROM_COLLIBRA — VQL Guide 9/29/22, 1:33 PM
community
User Manuals (../../../../index) /
Denodo Platform 8.0 Virtual DataPort VQL Guide (../../index) /
English Stored Procedures (../stored_procedures) /
Predefined Stored Procedures (predefined_stored_procedures) /
! Denodo Platform Installation Guide
CREATE_TAGS_FROM_COLLIBRA
(../../../../platform/installation/index)
! Denodo Platform Upgrade Guide
(../../../../platform/upgrade/index)
! Denodo Platform New Features Guide
(../../../../platform/new_features/index) CREATE_TAGS_FROM_COLLIBRA
! Virtual DataPort Administration Guide Description
(../../../administration/index)
The stored procedure CREATE_TAGS_FROM_COLLIBRA connects with
! Virtual DataPort Developer Guide a Collibra instance for extracting the defined information about
(../../../developer/index) attributes and tags assignments to views and columns.
" Virtual DataPort VQL Guide (../../index)
This procedure can be used for reading the Collibra data, and also
! Preface (../../preface)
it can be used to create and assign the attributes and tags at
Introduction (../../introduction/introduction) Virtual DataPort.
! General Overview of Virtual DataPort
# Note
(../../general_overview_of_virtual_dataport/general_overview_of_virtual_dataport)
! Language for Defining and Processing Data: VQL This feature is only available with the subscription bundle
(../../language_for_defining_and_processing_data_vql/language_for_defining_and_processing_data_vql)
Enterprise Plus. To find out the bundle you have, open the
! Functions (../../functions/functions)
About dialog of the Design Studio or the Administration Tool.
! Generating Wrappers and Data Sources
See more about this in the section Denodo Platform -
(../../generating_wrappers_and_data_sources/generating_wrappers_and_data_sources)
Subscription Bundles
! Creating a Base View (../../creating_a_base_view/creating_a_base_view)
(../../../../platform/installation/appendix/denodo_platform_feature_packs/denodo_platform_feature_packs#denodo-
! Queries: SELECT Statement (../../queries_select_statement/queries_select_statement)
platform-subscription-bundles).
! Defining a Derived View (../../defining_a_derived_view/defining_a_derived_view)
Defining the Statistics of a View (../../defining_the_statistics_of_a_view/defining_the_statistics_of_a_view)
! Syntax
Materialized Tables (../../materialized_tables/materialized_tables)
! Temporary Tables (../../temporary_tables/temporary_tables)
! Remote Tables (../../remote_tables/remote_tables) CREATE_TAGS_FROM_COLLIBRA (
input_scope : text
! Summaries (../../summary_views/summary_views) , input_action : text
! Inserts, Updates and Deletes Over Views , input_database : text
, input_include_tags : boolean
(../../inserts_updates_and_deletes_over_views/inserts_updates_and_deletes_over_views)
, input_tag_names : array
! Refreshing Views (../../refresh_views/refresh_views) , input_include_attributes : boolean
, input_attribute_names : array
Transactions in Virtual DataPort (../../transactions_in_virtual_dataport/transactions_in_virtual_dataport)
, input_search_since_last_execution_time : boolean
" Stored Procedures (../stored_procedures) , input_search_since : timestamp
, input_unassign_tags_mode : text
Importing a Stored Procedure (../importing_a_stored_procedure/importing_a_stored_procedure)
, input_unused_collibra_tags_mode : text
Use of Stored Procedures (../use_of_stored_procedures/use_of_stored_procedures)
, input_attribute_name_as_prefix : boolean
)
" Predefined Stored Procedures (predefined_stored_procedures)
CACHE_CONTENT (cache_content)
CATALOG_ELEMENTS (catalog_elements) input_scope : name of the Collibra scope where Virtual
CATALOG_FKS (catalog_fks) DataPort will search for metadata. Communities and
domains accessible with the scope will be accessed
CATALOG_METADATA_VIEWS (catalog_metadata_views)
(mandatory).
CATALOG_PERMISSIONS (catalog_permissions)
CATALOG_PKS (catalog_pks) input_action : indicates what the procedure have to do.
There are two possible values:
CATALOG_VDP_METADATA_VIEWS (catalog_vdp_metadata_views)
CATALOG_VIEWS (catalog_views) READ : the procedure accesses to Collibra and
CLEAN_CACHE_DATABASE (clean_cache_database) returns the retrieved information (default).
COLUMN_DEPENDENCIES (column_dependencies) CREATE : the procedure accesses to Collibra, returns
COMPACT_HADOOP_CACHE (compact_hadoop_cache) the retrieved information and stores that information
at Virtual DataPort.
COMPACT_METADATA_TABLES (compact_metadata_tables)
https://community.denodo.com/docs/html/browse/latest/en/vdp/vql/stored_procedures/predefined_stored_procedures/create_tags_from_collibra Page 1 of 8
CREATE_TAGS_FROM_COLLIBRA — VQL Guide 9/29/22, 1:33 PM
CREATE_REMOTE_TABLE (create_remote_table) input_database : name of the Virtual DataPort database
CREATE_TAGS_FROM_COLLIBRA where the tagging information will be imported. This
parameter must be used only when you want to override
CREATE_TAGS_FROM_VIEW (create_tags_from_view)
the database retrieved from Collibra.
DROP_REMOTE_TABLE (drop_remote_table)
input_include_tags : if Collibra tags are retrieved. (default
DUAL (dual)
value: false )
GENERATE_SMART_STATS_FOR_FIELDS
GENERATE_SMART_STATS_FOR_FIELDS_BY_TABLENAME input_tag_names : names of the Collibra tags which we
GENERATE_STATS (generate_stats) want to retrieve. If not defined, then any tag found on the
accessible elements will be retrieved.
GENERATE_STATS_FOR_FIELDS (generate_stats_for_fields)
GENERATE_VQL_TO_CREATE_JDBC_BASE_VIEW input_include_attributes : if Collibra attributes are
retrieved. (default value: false )
GET_ACTIVE_LOGGERS (get_active_loggers)
GET_ASSOCIATIONS (get_associations) input_attribute_names : names of the Collibra attributes
which we want to retrieve, such as
GET_AVAILABLE_STATS_MODES (get_available_stats_modes)
Security Classification or
GET_CACHE_COLUMNS (get_cache_columns)
Personally Identifiable Information . Mandatory when
GET_CACHE_CONFIGURATION (get_cache_configuration)
input_include_attributes=true .
GET_CACHE_TABLE (get_cache_table)
input_search_since_last_execution_time : indicates if
GET_CATALOG_EFFECTIVE_PERMISSIONS
Virtual DataPort must execute an incremental search since
GET_CATALOG_METADATA_WS (get_catalog_metadata_ws)
latest execution or since the instant indicated by
GET_DATABASES (get_databases) input_search_since . This option is ignored in case of
GET_DELEGATED_SQLSENTENCE (get_delegated_sqlsentence)
input_include_tags=true .
GET_ELEMENTS (get_elements)
input_search_since : instant since the search of Collibra
GET_EXPORTED_KEYS (get_exported_keys)
metadata must be done. In case of
GET_FOREIGN_KEYS (get_foreign_keys) input_search_since_last_execution_time=true and no
GET_JDBC_DATASOURCE_TABLES (get_jdbc_datasource_tables)
value for this parameter, the search will use the latest time
GET_PARAMETER (get_parameter) the procedure was executed (recommended method).
GET_PRIMARY_KEYS (get_primary_keys) input_unassign_tags_mode : indicates what Virtual DataPort
GET_PROCEDURE_COLUMNS (get_procedure_columns)
will do with the pre-existent tags on the views and columns
of the databases found at Collibra metadata. There are two
GET_SERVER_CONNECTIVITY (get_server_connectivity)
possible values:
GET_SESSIONS (get_sessions)
GET_SOURCE_CHANGES (get_source_changes) ALL : all pre-existent tags will be unassigned from
GET_SOURCE_COLUMNS (get_source_columns) the views or columns. This option is intended to be
used when tags assignment is only done at Collibra.
GET_SOURCE_TABLE (get_source_table)
GET_STATS_FOR_FIELDS (get_stats_for_fields) ONLY_COLLIBRA : pre-existent tags imported from an
GET_TYPE_ATTRIBUTES (get_type_attributes) external system, such the imported with this
procedure, will be unassigned from the views or
GET_USER_DEFINED_TYPES (get_user_defined_types)
columns. This option is useful for allow to define
GET_VIEW_COLUMNS (get_view_columns)
tags manually on the views or columns, but also
GET_VIEW_INDEXES (get_view_indexes) import the information from Collibra. (default)
GET_VIEW_STATISTICS (get_view_statistics)
input_unused_collibra_tags_mode : indicates what Virtual
GET_VIEW_TAGS (get_view_tags) DataPort will do with the imported tags from Collibra which
GET_VIEWS (get_views) are no longer used by views or columns. There are next
possible values:
LIST_JDBC_DATASOURCE_TABLES (list_jdbc_datasource_tables)
LOGCONTROLLER (logcontroller) RETAIN : tags are not removed from Virtual
MAINTAIN_METADATA_TABLES (maintain_metadata_tables)DataPort. (default)
MIGRATE_DATE_TYPES (migrate_date_types)
DROP_UNASSIGNED : tags no longer used by views or
PING_DATA_SOURCE (ping_data_source) columns are removed from Virtual DataPort. Note
SOURCE_CHANGES (source_changes) that it could exist tags used by other elements, such
VIEW_DEPENDENCIES (view_dependencies) as Global Security Policies
WAIT (wait) (../../../administration/global_security_policies/global_security_policies).
In that case, the tags will not be removed with this
WEBCONTAINER_ELEMENTS (webcontainer_elements)
option.
WEBCONTAINER_ELEMENT_STATUS
DROP_UNASSIGNED_CASCADE : tags no longer used by
WRITELOGERROR (writelogerror)
views or columns are removed from Virtual DataPort,
WRITELOGINFO (writeloginfo)
and other elements, such Global Security Policies
Tags (../../tags/tags) (../../../administration/global_security_policies/global_security_policies),
! Defining Other Elements of the Catalog will be also removed in case they are using some
(../../defining_other_elements_of_the_catalog/defining_other_elements_of_the_catalog)
removed tag.
! Creating Databases, Users, Roles and Access Privileges
(../../creating_databases_users_roles_and_access_privileges/creating_databases_users_roles_and_access_privileges)
https://community.denodo.com/docs/html/browse/latest/en/vdp/vql/stored_procedures/predefined_stored_procedures/create_tags_from_collibra Page 2 of 8
CREATE_TAGS_FROM_COLLIBRA — VQL Guide 9/29/22, 1:33 PM
input_attribute_name_as_prefix : indicates if the tags
Global Security Policies (../../global_security_policies/global_security_policies)
! created at Virtual DataPort from Collibra attributes will have
Describing Catalog Elements (../../describing_catalog_elements/describing_catalog_elements)
the attribute name as prefix. It is useful for identifying the
Listing Elements in the Catalog (../../listing_elements_in_the_catalog/listing_elements_in_the_catalog)
origin of the tags created at Virtual DataPort.
Removing Elements from the Catalog
For example, a column has Confidential value for
(../../removing_elements_from_the_catalog/removing_elements_from_the_catalog)
! attribute Security Classification` at Collibra. This procedure
Publication of Web Services (../../publication_of_web_services/publication_of_web_services)
will create a tag on Virtual DataPort named as
! RESTful Architecture (../../restful_architecture/restful_architecture)
Security Classification > Confidential if this parameter
Help Command (../../help_command/help_command)
is true , and Confidential in case of false . (default
! Version Control Systems Integration Commands value true )
(../../version_control_systems_integration_commands/version_control_systems_integration_commands)
! Resource Manager (../../resource_manager/resource_manager)
The output schema has the following fields:
! Advanced Characteristics (../../advanced_characteristics/advanced_characteristics)
execution_time : the instant when the procedure accesses
! Appendix (../../appendix/appendix)
to the Collibra instance. It could be used for incremental
Virtual DataPort API Javadoc search using also the input_search_since parameter.
(../../../javadoc/index)
element_type : the type of the element returned at current
! Data Catalog Guide (../../../data_catalog/index)
tuple. For example database , tag or view .
! Diagnostic & Monitoring Tool Guide
(../../../dmt/index) database_name : the name of the database, in case the
! Scheduler Administration Guide current element is a database , or the database which
(../../../../scheduler/administration/index) contains the current element in other case.
Scheduler API Javadoc view_name : the view name, in case the current element is a
(../../../../scheduler/javadoc/index) view or a column.
! Solution Manager Installation Guide
column_name : the column name, in case the current
(../../../../solution_manager/installation/index)
element is a column.
! Solution Manager Administration Guide
(../../../../solution_manager/administration/index) tag : the tag name, in case the current element is a tag.
! Denodo4Eclipse Plugin Guide tag_description : the tag description, in case the current
(../../../../denodo4e/index) element is a tag.
! ITPilot (../../../../itpilot/itpilot)
assignment_status : indicates if the tag was correctly
! DenodoConnect Components
assigned or if not, in case the current tuple represents a tag
(/docs/html/browse/latest/en/denodoconnects/index)
assignment.
Denodo Automated Cloud Mode for AWS Quick
Start Guide
Privileges Required
(/docs/html/document/latest/en/Denodo%208.0%20Automated%20Cloud%20Mode%20for%20AWS%20Quick%20Start%20Guide)
Denodo Automated Cloud Mode for Azure Quick Only administrators can invoke this procedure.
Start Guide
Configuration
(/docs/html/document/latest/en/Denodo%208.0%20Automated%20Cloud%20Mode%20for%20Azure%20Quick%20Start%20Guide)
Denodo Enterprise Plus for AWS Quick Start Currently, it does not exist a dialog for configuring the access to
Guide Collibra. It has to be configured using properties.
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20Plus%20for%20AWS%20Quick%20Start%20Guide)
Next configuration properties are available:
Denodo Enterprise Plus for Azure Quick Start
com.denodo.vdb.contrib.ext.datagov.collibra.connection.url :
Guide
the connection URL.
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20Plus%20for%20Azure%20Quick%20Start%20Guide)
Denodo Enterprise Plus for GCP Quick Start com.denodo.vdb.contrib.ext.datagov.collibra.connection.user :
Guide the user name to authenticate.
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20Plus%20for%20GCP%20Quick%20Start%20Guide)
com.denodo.vdb.contrib.ext.datagov.collibra.connection.password.secret :
Denodo Enterprise for AWS BYOL Quick Start the password from the user to authenticate. It receives a
Guide clear value or an encrypted one. In this case, the value
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20for%20AWS%20BYOL%20Quick%20Start%20Guide)
must be prefixed with encrypted: .
Denodo Enterprise for AWS Quick Start Guide
For example:
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20for%20AWS%20Quick%20Start%20Guide)
Denodo Enterprise for Azure BYOL Quick Start
Guide -- Clear
SET 'com.denodo.vdb.contrib.ext.datagov.collibra.connection.password.secret'
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20for%20Azure%20BYOL%20Quick%20Start%20Guide)
-- Encrypted
Denodo Enterprise for Azure Quick Start Guide SET 'com.denodo.vdb.contrib.ext.datagov.collibra.connection.password.secret'
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20for%20Azure%20Quick%20Start%20Guide)
Denodo Enterprise for GCP BYOL Quick Start
To encrypt the password, execute the statement
Guide
ENCRYPT_PASSWORD . For example:
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20for%20GCP%20BYOL%20Quick%20Start%20Guide)
Denodo Enterprise for GCP Quick Start Guide
ENCRYPT_PASSWORD 'my_secret_password';
(/docs/html/document/latest/en/Denodo%208.0%20Enterprise%20for%20GCP%20Quick%20Start%20Guide)
Denodo Professional Frequently Asked
https://community.denodo.com/docs/html/browse/latest/en/vdp/vql/stored_procedures/predefined_stored_procedures/create_tags_from_collibra Page 3 of 8
CREATE_TAGS_FROM_COLLIBRA — VQL Guide 9/29/22, 1:33 PM
Questions (FAQ) com.denodo.vdb.contrib.ext.datagov.collibra.connection.proxyEnabled :
(/docs/html/document/latest/en/Denodo%208.0%20Professional%20Frequently%20Asked%20Questions%20(FAQ))
use a proxy to access to Collibra. Possible values are ON ,
Denodo Professional for AWS BYOL Quick Start OFF , AUTOMATIC or DEFAULT (use the Default
Guide Configuration of HTTP Proxy
(../../../administration/server_configuration/default_configuration_of_http_proxy/default_configuration_of_http_proxy#default-
(/docs/html/document/latest/en/Denodo%208.0%20Professional%20for%20AWS%20BYOL%20Quick%20Start%20Guide)
Denodo Professional for AWS Quick Start Guide configuration-of-http-proxy))
(/docs/html/document/latest/en/Denodo%208.0%20Professional%20for%20AWS%20Quick%20Start%20Guide)
com.denodo.vdb.contrib.ext.datagov.collibra.connection.proxyHost :
Denodo Professional for Azure BYOL Quick Start the host name to use as proxy.
Guide
com.denodo.vdb.contrib.ext.datagov.collibra.connection.proxyPort :
(/docs/html/document/latest/en/Denodo%208.0%20Professional%20for%20Azure%20BYOL%20Quick%20Start%20Guide)
the port number to connect to the host used as proxy.
Denodo Professional for Azure Quick Start Guide
com.denodo.vdb.contrib.ext.datagov.collibra.connection.proxyUser :
(/docs/html/document/latest/en/Denodo%208.0%20Professional%20for%20Azure%20Quick%20Start%20Guide)
Denodo Professional for GCP BYOL Quick Start the user name to connect to the proxy.
Guide com.denodo.vdb.contrib.ext.datagov.collibra.connection.proxyPassword.secret :
(/docs/html/document/latest/en/Denodo%208.0%20Professional%20for%20GCP%20BYOL%20Quick%20Start%20Guide)
the password to connect to the proxy. The value follows the
Denodo Professional for GCP Quick Start Guide same format than the user password. A clear value or an
(/docs/html/document/latest/en/Denodo%208.0%20Professional%20for%20GCP%20Quick%20Start%20Guide)
encrypted one prefixed with encrypted: .
Denodo Solution Manager for AWS BYOL Quick
com.denodo.vdb.contrib.ext.datagov.collibra.connection.proxyPacUri :
Start Guide
the PAC URI to use when AUTOMATIC status is set.
(/docs/html/document/latest/en/Denodo%208.0%20Solution%20Manager%20for%20AWS%20BYOL%20Quick%20Start%20Guide)
Denodo Standard for AWS Quick Start Guide com.denodo.vdb.contrib.ext.datagov.collibra.connection.attributes :
a list of Collibra attribute names which are going to be
(/docs/html/document/latest/en/Denodo%208.0%20Standard%20for%20AWS%20Quick%20Start%20Guide)
Denodo Standard for Azure Quick Start Guide accessed in case you do not want to specify them when
invoking the procedure. The value must be a valid JSON
(/docs/html/document/latest/en/Denodo%208.0%20Standard%20for%20Azure%20Quick%20Start%20Guide)
string list. Note that this value is only used when parameter
Denodo Standard for GCP Quick Start Guide
input_attribute_names is not specified.
(/docs/html/document/latest/en/Denodo%208.0%20Standard%20for%20GCP%20Quick%20Start%20Guide)
Denodo Express Quick Start Guide For example:
(/docs/html/document/latest/en/Denodo%20Express%208.0%20Quick%20Start%20Guide)
Denodo Platform Container QuickStart Guide SET 'com.denodo.vdb.contrib.ext.datagov.collibra.connection.attributes'
(/docs/html/document/latest/en/Denodo%20Platform%20Container%208.0%20QuickStart%20Guide)
Denodo Platform for AWS BYOL Quick Start
Examples
Guide
(/docs/html/document/latest/en/Denodo%20Platform%20for%20AWS%208.0%20BYOL%20Quick%20Start%20Guide)
First of all, we need to configure the access to Collibra. Let us say
Denodo Platform for AWS Quick Start Guide that the credentials are:
(/docs/html/document/latest/en/Denodo%20Platform%20for%20AWS%208.0%20Quick%20Start%20Guide)
URL : https://acme.collibra.com
Denodo Platform for Azure BYOL Quick Start
Guide User : cl-user
(/docs/html/document/latest/en/Denodo%20Platform%20for%20Azure%208.0%20BYOL%20Quick%20Start%20Guide)
Password : cl-password
Denodo Platform for Azure Quick Start Guide
(/docs/html/document/latest/en/Denodo%20Platform%20for%20Azure%208.0%20Quick%20Start%20Guide)
We have to set the configuration properties. For securing the
Denodo Platform for GCP BYOL Quick Start password value, we encrypt it.
Guide
(/docs/html/document/latest/en/Denodo%20Platform%20for%20GCP%208.0%20BYOL%20Quick%20Start%20Guide)
ENCRYPT_PASSWORD 'cl-password';
Denodo Platform for GCP Quick Start Guide
(/docs/html/document/latest/en/Denodo%20Platform%20for%20GCP%208.0%20Quick%20Start%20Guide)
Denodo Standard Frequently Asked Questions Copy returned encrypted value, let us say it was something like:
(FAQ) uq2Ldx0oXTIscUU/KmiVtZfFaGs .
(/docs/html/document/latest/en/Denodo%20Standard%208.0%20Frequently%20Asked%20Questions%20(FAQ))
Now, execute these commands:
Denodo Standard for AWS BYOL Quick Start
Guide SET 'com.denodo.vdb.contrib.ext.datagov.collibra.connection.url'
(/docs/html/document/latest/en/Denodo%20Standard%20for%20AWS%208.0%20BYOL%20Quick%20Start%20Guide)
SET 'com.denodo.vdb.contrib.ext.datagov.collibra.connection.user'
SET 'com.denodo.vdb.contrib.ext.datagov.collibra.connection.password.secret'
Denodo Standard for AWS Quick Start Guide
(/docs/html/document/latest/en/Denodo%20Standard%20for%20AWS%208.0%20Quick%20Start%20Guide)
Denodo Standard for Azure BYOL Quick Start The following examples assume that you have loaded your Virtual
Guide DataPort database to your Collibra instance. This can be done, for
(/docs/html/document/latest/en/Denodo%20Standard%20for%20Azure%208.0%20BYOL%20Quick%20Start%20Guide)
example, using the Denodo to Collibra Integration
Denodo Standard for Azure Quick Start Guide (https://marketplace.collibra.com/listings/denodo-to-collibra-
integration/)
(/docs/html/document/latest/en/Denodo%20Standard%20for%20Azure%208.0%20Quick%20Start%20Guide)
Denodo Standard for GCP BYOL Quick Start For the examples, we have uploaded some metadata to Collibra
Guide that contains two views named customers and employees . At
(/docs/html/document/latest/en/Denodo%20Standard%20for%20GCP%208.0%20BYOL%20Quick%20Start%20Guide)
Collibra, we have added the following tags and attributes:
Denodo Standard for GCP Quick Start Guide
customers view:
(/docs/html/document/latest/en/Denodo%20Standard%20for%20GCP%208.0%20Quick%20Start%20Guide)
https://community.denodo.com/docs/html/browse/latest/en/vdp/vql/stored_procedures/predefined_stored_procedures/create_tags_from_collibra Page 4 of 8
CREATE_TAGS_FROM_COLLIBRA — VQL Guide 9/29/22, 1:33 PM
Denodo for Cloud Marketplaces Frequently Added tags customers_data and sensitive .
Asked Questions (FAQ)
Columns:
(/docs/html/document/latest/en/Denodo%20for%20Cloud%20Marketplaces%208.0%20Frequently%20Asked%20Questions%20(FAQ))
phone : tag sensitive_value and
Restricted as value for
Security Classification .
first_name : marked as
Personally Identifiable Information .
last_name : marked as
Personally Identifiable Information .
employees view:
Added tags sensitive and employees_data .
Columns:
first_name : marked as
Personally Identifiable Information .
last_name : marked as
Personally Identifiable Information .
password : tag password .
picture : marked as
Personally Identifiable Information and
Highly Confidential as value for
Security Classification .
salary : value Restricted for
Security Classification .
Also, let us say that Virtual DataPort metadata was uploaded to a
Collibra domain accesible by scope Denodo to Collibra
Integration`.
Example 1
Let us say we want to use this procedure to see what information
about tags and attributes are at Collibra. Also, we are interested
on tags and values for attributes Security Classification and
Personally Identifiable Information .
Execute this for obtain the data.
SELECT element_type, database_name, view_name, column_name
FROM CREATE_TAGS_FROM_COLLIBRA()
WHERE input_scope = 'Denodo to Collibra Integration'
AND input_attribute_names = {row
row('Security Classification'
row
row('Personally Identifiable Information')}
AND input_include_tags = true
AND input_include_attributes = true
AND input_action = 'READ'
AND input_attribute_name_as_prefix = true
true;
The following image is a screenshot of the result of executing
previous query.
Sample result of executing the procedure
CREATE_TAGS_FROM_COLLIBRA
https://community.denodo.com/docs/html/browse/latest/en/vdp/vql/stored_procedures/predefined_stored_procedures/create_tags_from_collibra Page 5 of 8
CREATE_TAGS_FROM_COLLIBRA — VQL Guide 9/29/22, 1:33 PM
Result meaning
Depending on the element_type column:
database: databases present at Collibra instance. In a
CREATE execution they will be affected by the changes.
tag: when a description is retrieved for a tag is retrieved at
Collibra, this tuple contains that value.
view: assignment to a view. It will contain a tag name on
column tag . If no tag name is found, then this means that
the view does no longer have tags or attributes on Collibra.
This second scenario can happen when an incremental
search is executed.
column: assignment to a column. It will contain a tag name
on column tag .
Example 2
At this example, we want to apply the Collibra tags and attributes
on Virtual DataPort metadata. For that, we have to execute
previous query with CREATE as input_action .
SELECT element_type, database_name, view_name, column_name
FROM CREATE_TAGS_FROM_COLLIBRA()
WHERE input_scope = 'Denodo to Collibra Integration'
AND input_attribute_names = {row
row('Security Classification'
row
row('Personally Identifiable Information')}
AND input_include_tags = true
AND input_include_attributes = true
AND input_action = 'CREATE'
AND input_attribute_name_as_prefix = true
true;
Now, execute a Refresh Design Studio or the Administration Tool
and if we can see the tags created and assigned on Virtual
DataPort.
Tags imported using the procedure CREATE_TAGS_FROM_COLLIBRA
And one of the views.
employees view with imported tags
Example 3
At this example, we only want the information about Collibra
attributes, but not the Collibra tags. We have to use the parameter
input_include_tags with false value.
https://community.denodo.com/docs/html/browse/latest/en/vdp/vql/stored_procedures/predefined_stored_procedures/create_tags_from_collibra Page 6 of 8
CREATE_TAGS_FROM_COLLIBRA — VQL Guide 9/29/22, 1:33 PM
SELECT element_type, database_name, view_name, column_name
FROM CREATE_TAGS_FROM_COLLIBRA()
WHERE input_scope = 'Denodo to Collibra Integration'
AND input_attribute_names = {row
row('Security Classification'
row
row('Personally Identifiable Information')}
AND input_include_tags = false
AND input_include_attributes = true
AND input_action = 'CREATE'
AND input_attribute_name_as_prefix = true
If we Refresh the client tool, we can see opening a view that only
the Collibra attributes are assigned. For example, employees view
does no longer have the tags employees_data, sensitive and
password.
employees view with imported tags
We are not accessing to Collibra tags, so we can test the
input_search_since_last_execution_time parameter. If we
execute now with specifying true to that parameter, we can see
that no results are returned, as there are not changes on Collibra
since last import process.
At Collibra, we remove the Personally Identifiable Information
from column first_name of the view employees . If we execute
now the procedure incrementally, only the tagging information for
view employees is retrieved, as it is the unique modified element
since last import.
SELECT element_type, database_name, view_name, column_name
FROM CREATE_TAGS_FROM_COLLIBRA()
WHERE input_scope = 'Denodo to Collibra Integration'
AND input_attribute_names = {row
row('Security Classification'
row
row('Personally Identifiable Information')}
AND input_include_tags = false
AND input_include_attributes = true
AND input_action = 'CREATE'
AND input_attribute_name_as_prefix = true
AND input_search_since_last_execution_time = true
The following image is a screenshot of the result of executing
previous query.
VQLShell acme.employees x
©Previous ©Next ©Execute &Executeanddownload CStop ESave bLoad ®Clear ©
Database acme Displayrows 150 ORetrieveallrows OOpenresultsinnewtab
Search O^
SELECTelement_type,database_name,viewname,column_name,tag,tagdescription,assignmentstatus
FROMCREATE_TAGS_FROM_COLLIBRA()
WHEREinput_scope='DenodotoCollibraIntegration'
ANDinputattributenames={row('SecurityClassification'),
row('PersonallyIdentifiableInformation')}
ANDinputincludetags=false
ANDinputincludeattributes true
ANDinputaction= 'CREATE"
ANDinputattributenameasprefix=true
ANDinputsearchsincelastexecutiontime=true;
PressCtrl+Spacetoauto-complete
Output ExecutionLogs QueryResults
RESULTSEXECUTIONTRACE @Refresh LCopyresultstoclipboard [8Savetrace ©Copytracetoclipboard
8rows7columnsreceivedSELECTelement_type,database_name,view_name,column_name,tag,tag_description,assignment_statusFROMCREATE_TAG...
element_type databasename viewname column_name tag tag_description assignment_status
database acme <null> <null> <null> <null> <null>
tag <null> <null> <null> PersonallyIdentifiabl….Anindicatortoflaga... <null>
tag ‹null>
https://community.denodo.com/docs/html/browse/latest/en/vdp/vql/stored_procedures/predefined_stored_procedures/create_tags_from_collibra Page 7 of 8
CREATE_TAGS_FROM_COLLIBRA — VQL Guide 9/29/22, 1:33 PM
tag
<null>
tag <null> <null> PersonallyIdentifiabl….Anindicatortoflaga... <null>
tag Sample result of executing ‹nul
<null> <nuls
thel> procedure
SecurityClassificatio.Classificationofasse... <nus
tag <null> <null> <null> SecurityClassificatio.…Classificationofasse.. <null>
column
CREATE_TAGS_FROM_COLLIBRA
acme employees
incrementally
picture PersonallyIdentifiabl…..<null> true
column acme employees lastname PersonallyIdentifiabl…..<null> true
column acme emplovees salary SecurityClassificatio..<null> true
Note
columnthat first_name doesemplovees
acme no longer have
picture tags andSecurityClassificatio.
no changes <null> true
are applied to other views.
CREATE_TAGS_FROM_VIEW
$ (create_tags_from_view)
% CREATE_REMOTE_TABLE (create_remote_table)
Chat with us (https
Denodo Site (https://www.denodo.com/) Support Site (https://support.denodo.com/)
Partner Portal (https://partners.denodo.com/)
Contact Us (https://www.denodo.com/company/contact-us/)
Terms of Use (https://www.denodo.com/terms-of-use/)
We use cookies on this site to enhance your user experience. By visiting this page you are giving your consent for us to set cookies. OK, I agree
Privacy & Cookies
No, give PolicyInfo
me more (https://www.denodo.com/privacy-policy/) © 2022 Denodo Technologies
(http://www.denodo.com/en/privacy-policy)
https://community.denodo.com/docs/html/browse/latest/en/vdp/vql/stored_procedures/predefined_stored_procedures/create_tags_from_collibra Page 8 of 8