Metadata Injection
Metadata injection inserts data from various sources into a template pipeline at runtime to reduce repetitive tasks.
For example, you might have a simple pipeline to load transaction data values from a supplier, filter specific values, and output them to a file. If you have more than one supplier, you would need to run this simple pipeline for each supplier. Yet, with metadata injection, you can expand this simple repetitive pipeline by inserting metadata from another pipeline that contains the ETL Metadata Injection transform. This transform coordinates the data values from the various inputs through the metadata you define. This process reduces the need for you to adjust and run the repetitive pipeline for each specific input.
The repetitive pipeline is known as the template pipeline. The template pipeline is called by the ETL Metadata Injection transform. You will create a pipeline to prepare what common values you want to use as metadata and inject these specific values through the ETL Metadata Injection transform.
We recommend the following basic procedure for using this transform to inject metadata:
-
Optimize your data for injection, such as preparing folder structures and inputs.
-
Develop pipelines for the repetitive process (the template pipeline), for metadata injection through the ETL Metadata Injection transform, and for handling multiple inputs.
The metadata is injected into the template pipeline through any transform that supports metadata injection.
Supported Transforms
The goal is to add Metadata Injection support to all transforms, The current (15-October 2022) status is:
Transform | Supports MDI |
Abort | Y |
Add a checksum | Y |
Add constants | Y |
Add sequence | Y |
Add value fields changing sequence | Y |
Add XML | Y |
Analytic query | Y |
Apache Tika | Y |
Append streams | Y |
Avro Decode | Y |
Avro Encode | Y |
Avro File Input | Y |
Avro File Output | Y |
Azure Event Hubs Listener | N |
Azure Event Hubs Writer | N |
Beam BigQuery Input | Y |
Beam BigQuery Output | Y |
Beam Bigtable Input | Y |
Beam Bigtable Output | Y |
Beam File Input | Y |
Beam File Output | Y |
Beam GCP Pub/Sub : Publish | Y |
Beam GCP Pub/Sub : Subscribe | Y |
Beam Kafka Consume | Y |
Beam Kafka Produce | Y |
Beam Kinesis Consume | Y |
Beam Kinesis Produce | Y |
Beam Timestamp | Y |
Beam Window | Y |
Block until transforms finish | Y |
Blocking transform | Y |
Calculator | Y |
Call DB procedure | N |
Cassandra input | Y |
Cassandra output | Y |
Change file encoding | Y |
Check if file is locked | Y |
Check if webservice is available | Y |
Clone row | Y |
Closure generator | N |
Coalesce Fields | Y |
Column exists | Y |
Combination lookup/update | Y |
Concat Fields | N |
Copy rows to result | N |
Credit card validator | N |
CSV file input | Y |
Data grid | Y |
Database join | Y |
Database lookup | Y |
De-serialize from file | N |
Delay row | Y |
Delete | Y |
Detect empty stream | N |
Dimension lookup/update | Y |
Doris bulk loader | Y |
Dummy (do nothing) | N |
Dynamic SQL row | Y |
EDI to XML | N |
Email messages input | N |
Enhanced JSON Output | Y |
ETL metadata injection | Y |
Execute a process | N |
Execute row SQL script | Y |
Execute SQL script | Y |
Execute Unit Tests | N |
Execution Information | Y |
Fake data | Y |
File exists | Y |
File Metadata | N |
Filter rows | Y |
Formula | Y |
Fuzzy match | N |
Generate random value | N |
Generate rows | Y |
Get data from XML | N |
Get file names | Y |
Get files from result | N |
Get files rows count | N |
Get ID from hop server | N |
Get Neo4j Logging Info | Y |
Get records from stream | N |
Get rows from result | N |
Get Server Status | Y |
Get subfolder names | N |
Get system info | Y |
Get table names | Y |
Get variables | Y |
Group by | Y |
HTTP client | N |
HTTP post | Y |
Identify last row in a stream | Y |
If Null | Y |
Injector | Y |
Insert / update | Y |
Java filter | Y |
JavaScript | Y |
Join rows (cartesian product) | Y |
JSON input | Y |
JSON output | Y |
Kafka Consumer | Y |
Kafka Producer | Y |
LDAP input | N |
LDAP output | N |
Load file content in memory | N |
N | |
Mapping Input | N |
Mapping Output | N |
Memory group by | Y |
Merge join | Y |
Merge rows (diff) | Y |
Metadata Input | Y |
Metadata structure of stream | Y |
Microsoft Access output | Y |
Microsoft Excel input | Y |
Microsoft Excel writer | Y |
MonetDB bulk loader | Y |
MongoDB Delete | Y |
MongoDB input | Y |
MongoDB output | Y |
Multiway merge join | Y |
Neo4j Cypher | Y |
Neo4j Cypher Builder | Y |
Neo4j Generate CSVs | N |
Neo4j Graph Output | Y |
Neo4j Import | Y |
Neo4J Output | Y |
Neo4j Split Graph | N |
Null if | Y |
Number range | Y |
org.mozilla.javascript.UniqueTag@1bac1db9: NOT_FOUND | N |
Parquet File Input | Y |
Parquet File Output | Y |
PGP decrypt stream | N |
PGP encrypt stream | N |
Pipeline executor | N |
Pipeline Logging | Y |
Pipeline Probe | Y |
PostgreSQL Bulk Loader | Y |
Process files | Y |
Properties input | N |
Properties output | N |
Regex evaluation | N |
Replace in string | Y |
Reservoir sampling | N |
REST client | N |
Row denormaliser | Y |
Row flattener | N |
Row normaliser | Y |
Rules accumulator | Y |
Rules executor | Y |
Run SSH commands | Y |
Salesforce delete | N |
Salesforce input | Y |
Salesforce insert | N |
Salesforce update | N |
Salesforce upsert | N |
Sample rows | N |
SAS Input | N |
Select values | Y |
Serialize to file | N |
Set field value | Y |
Set field value to a constant | Y |
Set files in result | N |
Set variables | N |
Simple Mapping | N |
Snowflake Bulk Loader | Y |
Sort rows | Y |
Sorted merge | Y |
Split field to rows | Y |
Split fields | Y |
Splunk Input | Y |
SQL file output | N |
SSTable output | Y |
Standardize phone number | Y |
Stream lookup | Y |
Stream Schema Merge | N |
String operations | Y |
Strings cut | Y |
Switch / case | Y |
Synchronize after merge | Y |
Table compare | Y |
Table exists | Y |
Table input | Y |
Table output | Y |
Teradata Fastload bulk loader | N |
Text file input | Y |
Text file input (deprecated) | N |
Text file output | Y |
Token Replacement | Y |
Unique rows | Y |
Unique rows (HashSet) | N |
Update | Y |
User defined Java class | Y |
User defined Java expression | Y |
Value mapper | Y |
Web services lookup | N |
Workflow executor | N |
Workflow Logging | Y |
Write to log | N |
XML input stream (StAX) | N |
XML join | Y |
XML output | Y |
XSD validator | N |
XSL Transformation | N |
YAML input | N |
Zip file | Y |