File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
anonymizer/OpenDiffix.Service Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -104,22 +104,7 @@ let handlePreview
104104 GROUP BY %s {String.join ", " [ 4 .. buckets.Length + 3 ]}
105105 """
106106
107- // We get a hold of the star bucket reference via side effects.
108- let mutable starBucket : Bucket option = None
109- let starBucketHook = AggregationHooks.StarBucket.hook ( fun bucket -> starBucket <- Some bucket)
110-
111- let result = runQuery [ (* ledHook; *) starBucketHook ] query inputPath anonParams
112-
113- // Should be set once the query completes.
114- let starBucket = starBucket |> unwrapOption " Star bucket should be evaluated at this point."
115-
116- // Pull stats from star bucket
117- let starBucketValues =
118- starBucket.Aggregators
119- |> Array.map ( fun aggregator -> aggregator.Final( starBucket.ExecutionContext))
120-
121- // Add star buckets stats to JSON output
122- // TODO
107+ let result = runQuery [ (* ledHook; starBucketHook *) ] query inputPath anonParams
123108
124109 let mutable totalBuckets = 0
125110 let mutable suppressedBuckets = 0
You can’t perform that action at this time.
0 commit comments