Skip to content

Commit 5957ee3

Browse files
tklemenzchiarazampolli
authored andcommitted
TPC: add data sampling to Cluster task
1 parent e33eb14 commit 5957ee3

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

DATA/production/qc-async/tpc.json

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"resetAfterCycles": "1",
3737
"maxNumberCycles": "-1",
3838
"dataSource": {
39-
"type": "direct",
40-
"query": "inputClus:TPC/CLUSTERNATIVE"
39+
"type": "dataSamplingPolicy",
40+
"name": "tpc-clusters"
4141
},
4242
"taskParameters": {
4343
"mergeableOutput": "true",
@@ -93,5 +93,20 @@
9393
}
9494
},
9595
"dataSamplingPolicies": [
96+
{
97+
"id": "tpc-clusters",
98+
"active": "true",
99+
"machines": ["localhost"],
100+
"query" : "inputClusters:TPC/CLUSTERNATIVE",
101+
"outputs": "sampled-clusters:DS/CLUSTERNATIVE",
102+
"samplingConditions": [
103+
{
104+
"condition": "random",
105+
"fraction": "0.1",
106+
"seed": "0"
107+
}
108+
],
109+
"blocking": "false"
110+
}
96111
]
97112
}

0 commit comments

Comments
 (0)