Transforms
Using Sling transforms
Transform Input Structures
Array of Strings - Simple Global Transforms
# Apply to all columns globally
transforms: ["trim_space", "remove_diacritics"]# CLI usage
sling run --transforms '["trim_space", "remove_diacritics"]' ...Map/Object - Column-Specific Transforms
# Apply to specific columns
transforms:
name: ["trim_space", "upper"]
email: ["lower"]
customer_id: ["hash"]
target: ["bool_parse"]
text: ["replace_non_printable"]Array of Objects - Staged Transforms
Staged Transforms
Syntax
Key Features
1. Value Transformations
2. Record References
3. Multi-stage Processing
4. Conditional Transformations
5. Available Functions
6. Creating New Columns On-The-Fly
Examples
Example 1: Customer Data Processing
Example 2: E-commerce Order Processing
Example 3: Using CLI
Other Transformation Methods
Custom SQL Transformations
JSON Flattening
JMESPath Transforms
Schema Evolution
Legacy Transform Syntax (Before v1.4.17)
Last updated
Was this helpful?