Skip to content

Commit 91a7a80

Browse files
committed
feat: json support paimon for each table partition key and data transfer
1 parent d6992ac commit 91a7a80

File tree

1 file changed

+2
-2
lines changed
  • connectors/paimon-connector/src/main/resources

1 file changed

+2
-2
lines changed

connectors/paimon-connector/src/main/resources/spec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
"target": "nodeConfig.partitionKey",
246246
"fulfill": {
247247
"state": {
248-
"display": "none"
248+
"display": "{{$settings.syncType===\"migrate\"?\"hidden\":\"visible\"}}"
249249
}
250250
}
251251
},
@@ -266,7 +266,7 @@
266266
"filterable": true
267267
},
268268
"x-reactions": [
269-
"{{useAsyncDataSourceByConfig({service: loadNodeTableFields, withoutField: true}, $values.id, $self.path.pop().segments.slice(-1)[0])}}",
269+
"{{useAsyncDataSourceByConfig({service: loadNodeTableFields, withoutField: true}, $values.id, $settings.syncType===\"migrate\"?$self.path.pop().segments.slice(-1)[0]:$values.tableName)}}",
270270
{
271271
"dependencies":["$inputs"],
272272
"fulfill":{

0 commit comments

Comments
 (0)