Skip to content

Commit

Permalink
[Feature][Transform-v2] Add metadata transform
Browse files Browse the repository at this point in the history
  • Loading branch information
hawk9821 committed Oct 28, 2024
1 parent ed983d1 commit 4874deb
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ private List<List<Object>> querySql() {
}

private void upsertDeleteSourceTable() {
mongodbContainer.executeCommandFileInDatabase("inventoryDML", MONGODB_DATABASE);
mongodbContainer.executeCommandFileInDatabase("inventoryDDL", MONGODB_DATABASE);
}

private void cleanSourceTable() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ source {
transform {
Metadata {
metadata_fields {
database = database
table = table
rowKind = rowKind
ts_ms = ts_ms
delay = delay
Database = database
Table = table
RowKind = rowKind
EventTime = ts_ms
Delay = delay
}
result_table_name = "trans_result"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ source {
transform {
Metadata {
metadata_fields {
database = database
table = table
rowKind = rowKind
ts_ms = ts_ms
delay = delay
Database = database
Table = table
RowKind = rowKind
EventTime = ts_ms
Delay = delay
}
result_table_name = "trans_result"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ source {
transform {
Metadata {
metadata_fields {
database = database
table = table
rowKind = rowKind
ts_ms = ts_ms
delay = delay
Database = database
Table = table
RowKind = rowKind
EventTime = ts_ms
Delay = delay
}
result_table_name = "trans_result"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ source {
transform {
Metadata {
metadata_fields {
database = database
table = table
rowKind = rowKind
ts_ms = ts_ms
delay = delay
Database = database
Table = table
RowKind = rowKind
EventTime = ts_ms
Delay = delay
}
result_table_name = "trans_result"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ source {
transform {
Metadata {
metadata_fields {
database = database
table = table
rowKind = rowKind
ts_ms = ts_ms
delay = delay
Database = database
Table = table
RowKind = rowKind
EventTime = ts_ms
Delay = delay
}
result_table_name = "trans_result"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ source {
transform {
Metadata {
metadata_fields {
database = database
table = table
rowKind = rowKind
ts_ms = ts_ms
delay = delay
Database = database
Table = table
RowKind = rowKind
EventTime = ts_ms
Delay = delay
}
result_table_name = "trans_result"
}
Expand Down

0 comments on commit 4874deb

Please sign in to comment.