Attribute Metadata Details
Complete reference for attribute metadata, covering discovered source schema fields and configurable extended metadata that controls SQL transformation, security policies, and code generation.
Overview
Attribute metadata is stored in:
core.datasource_attribute- Core attribute informationcore.datasource_attribute_polymorphic_version- Version-specific metadata
Source Schema Metadata: Automatically discovered during scanning (read-only except RECORD_STATUS).
Extended Metadata: User-configurable fields for transformation, security, and code generation.
Metadata Organization
Pipeline Designer organizes metadata by UI tabs:
Source Schema - Discovered attributes, paths, types, structure
Destination Schema - Snowflake data type configuration, keys
Transformation & Security - Column naming, transformations, security policies
Arrays - Array-specific configuration and relationships
Foreign Keys - Foreign key relationships for array tables
Core Attribute Fields
Stored in core.datasource_attribute (applies to all polymorphic versions):
ATTRIBUTE_PATH- Full path in source data (e.g.,customer.contact.email)ATTRIBUTE_PATH_EMBEDDED- Path for attributes within embedded/stringified JSONATTRIBUTE_NAME- Leaf name (e.g.,emailfromcustomer.contact.email)ATTRIBUTE_LEVEL- Nesting depth (0 = root, increments per level)ATTRIBUTE_ORDER- Ordering for attributes at same levelPARENT_OBJECT- Parent object path (e.g.,customer.contactforcustomer.contact.email)PARENT_ARRAY- Parent array path if within array (e.g.,ordersfororders[0].order_id)PARENT_ARRAY_EMBEDDED- Parent array path for embedded JSON arraysRECORD_STATUS-'active'or'inactive'(editable)ATTRIBUTE_TYPE-'Discovered','Schema', or'Virtual'ATTRIBUTE_SCHEMA_COMPONENT_TYPE- Internal classificationIS_PRIMARY_KEY- Boolean for primary key identification
Polymorphic Version Fields
Stored in core.datasource_attribute_polymorphic_version (version-specific):
Type Information:
SOURCE_DATA_TYPE- Inferred type ('str','int','float','bool','object','array','null')POLYMORPHIC_ATTRIBUTE_NAME- Unique version name (e.g.,email_str,orders_array_object)VERSION_STATUS-'active'or'inactive'IS_ARRAY- Boolean for array typeARRAY_TYPE-'object','primitive', or'primitive,object'ARRAY_PRIMITIVE_TYPE- Element type for primitive arrays ('str','int','float','bool')HAS_EMBEDDED_CONTENT- Boolean for embedded/stringified JSONSAMPLE_VALUE- Sample value (strings default to"string value"for privacy)VERSION_STATUS_DATE- Timestamp when version was created/last activated
Snowflake Data Type:
DATA_PLATFORM_DATA_TYPE- Snowflake data type (editable)DATA_PLATFORM_DATA_TYPE_PRECISION- Precision for numeric types (editable)DATA_PLATFORM_DATA_TYPE_SCALE- Scale for numeric types (editable)DATA_PLATFORM_DATA_TYPE_DATETIMEFORMAT- DateTime format strings (editable)USE_DATETIME_FORMAT- Boolean for using formats (editable)
Transformation & Naming:
ALIAS_NAME- Custom column alias (editable)CODE_GENERATED_COLUMN_NAME- Final column name (read-only, auto-generated)NULL_VALUE_EXPRESSION- SQL for null handling (editable, only whenTRANSFORMATION_TYPE = 'No Transformation')TRANSFORMATION_TYPE-'No Transformation'or'SQL Expression'(editable)TRANSFORMATION_EXPRESSION- Custom SQL transformation (editable)TRANSFORMATION_EXPRESSION_COMMENT- Documentation (editable)
Semantic Layer:
INCLUDE_IN_SEMANTIC_LAYER- Boolean for view inclusion (editable)SEMANTIC_LAYER_EXPRESSION- View-level transformation (editable)SEMANTIC_LAYER_EXPRESSION_COMMENT- Documentation (editable)SEMANTIC_LAYER_ALIAS_NAME- View column alias (editable)
Security:
INCLUDE_IN_SECURITY_ROW_LEVEL_POLICY- Boolean for row-level security (editable)MASKING_POLICY_NAME- Masking policy name (editable)MASKING_POLICY_PARAMETERS- Policy parameters (editable)
Schema Consolidation:
SCHEMA_INSERT_REGULAR_EXPRESSION_SEARCH- Regex pattern (editable)SCHEMA_INSERT_SQL_EXPRESSION- SQL expression (editable)
Code Generation:
INCLUDE_IN_CODE_GEN- Boolean for code generation (editable)PARENT_INCLUDE_IN_CODE_GEN- Boolean for parent inclusion (read-only)
Additional:
IS_ENUM- Boolean for enum values (editable)HAS_ALL_UNIQUE_VALUES- Boolean for unique values (editable)HAS_ALL_NULL_VALUES- Boolean for null values (read-only)ADD_TO_CLUSTER_BY- Boolean for CLUSTER BY clause (editable)
Metadata Workflow
Discovery - Source schema metadata discovered during scanning
Configuration - Extended metadata configured in Pipeline Designer
Code Generation - Metadata drives SQL generation for Dynamic Tables and Views
Materialization - Generated SQL creates materialized tables with transformations
Semantic Layer - Additional transformations applied in views
Quick Reference
See individual pages for complete field details:
Source Schema -
RECORD_STATUS(editable)Destination Schema - Data types, precision, scale, datetime formats, keys
Transformation & Security - Naming, transformations, semantic layer, security
Arrays - Array configuration, relationships, aliases
Foreign Keys - Foreign key relationships
Last updated
Was this helpful?