Data Query

AttributeTypeDescription
table#TableThe #Table to generate the data query for.
allColumnsbooleanA flag for whether the query is for all columns or only the columns specified in the table definition.
caseStyleStringThe style of casing ('actual', 'lower', 'upper').
encapsulatebooleanA flag for whether to add encapsulation to names.
generateSurrogatesbooleanA flag for whether to generate the query with surrogate key columns.
allowDataTransformationsbooleanA flag for whether to generate the query with any data transformations specified.
additionalColumnsListA list of String containing additional values for the Select's column clause.
additionalWhereClausesListA list of String containing additional values for the Select's where clause.
retainWhereClausebooleanA flag for whether to retain the where clause from a previous generated data query.

DW Query

AttributeTypeDescription
table#TableThe #Table to generate the dw query for.
caseStyleStringThe style of casing ('actual', 'lower', 'upper').
encapsulatebooleanA flag for whether to add encapsulation to names.
ECS_AOStringThe encapsulation character for opening alias.
ECS_ACStringThe encapsulation character for closing alias.
ECS_SOStringThe encapsulation character for opening schema. The value of this variable will be '[' for DW queries generated in the RED Export category.
ECS_SCStringThe encapsulation character for closing schema. The value of this variable will be ']' for DW queries generated in the RED Export category.
ECS_TOStringThe encapsulation character for opening table. The value of this variable will be '[' for DW queries generated in the RED Export category.
ECS_TCStringThe encapsulation character for closing table. The value of this variable will be ']' for DW queries generated in the RED Export category.
ECS_COStringThe encapsulation character for opening column.
ECS_CCStringThe encapsulation character for closing column.
forcedSchemaStringThe value of this variable will be 'TABLEOWNER' for DW queries generated in the RED Export category. In other categories the value will be 'null'.
retainWhereClausebooleanA flag for whether to retain the where clause from a previous generated dw query.
copyQueryWhereClausebooleanA flag for whether to copy the where clause from a previous generated data query.

DDL

AttributeTypeDescription
table#TableOne of the #Table to generate DDL for.
tablesListA list of #Table containing the tables to generate DDL for.
caseStyleStringThe style of casing ('actual', 'lower', 'upper').
encapsulatebooleanA flag for whether to add encapsulation to names.
targetLocationsList

A list of String containing the target locations to filter on. Can contain 'null' for no target location.

The list if empty to signify no filtering of target locations.

DDL View Query

AttributeTypeDescription
table#TableThe #Table to generate the ddl view query for.
queryStyleStringThe type of query to generate, either a data ('data') query or a data warehouse ('dw') query.
encapsulatebooleanA flag for whether to add encapsulation to names.
caseStyleStringThe style of casing ('actual', 'lower', 'upper').
allowDataTransformationsbooleanA flag for whether to generate the query with any data transformations specified.
ECS_AOStringThe encapsulation character for opening alias.
ECS_ACStringThe encapsulation character for closing alias.
ECS_SOStringThe encapsulation character for opening schema.
ECS_SCStringThe encapsulation character for closing schema.
ECS_TOStringThe encapsulation character for opening table.
ECS_TCStringThe encapsulation character for closing table.
ECS_COStringThe encapsulation character for opening column.
ECS_CCStringThe encapsulation character for closing column.

Denormalized / Pivot Query

AttributeTypeDescription
table#TableThe #Table to generate the denormalized query for.
encapsulatebooleanA flag for whether to add encapsulation to names.
caseStyleStringThe style of casing ('actual', 'lower', 'upper').
hasDimDatebooleanA flag for whether the source contains a table named 'dim_date'.
queryColumnNamesMapA map of column keys to alias names to be used instead of the current column name.
  • No labels