diff options
| author | chenzizhan <[email protected]> | 2023-10-07 11:32:17 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2023-10-07 11:32:17 +0800 |
| commit | bf4c060bd5cb4d190824dc7b112a09f3caabcbdf (patch) | |
| tree | 96e27906c26ad7615ce3185bd3f8b4331b6ee679 /src/exporter | |
| parent | 1a859ba545ad04b8262ede9c2a02a3fbceed062f (diff) | |
get max cell id -> get max sampling
Diffstat (limited to 'src/exporter')
| -rw-r--r-- | src/exporter/cjson_exporter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exporter/cjson_exporter.c b/src/exporter/cjson_exporter.c index f9456d1..4055182 100644 --- a/src/exporter/cjson_exporter.c +++ b/src/exporter/cjson_exporter.c @@ -668,7 +668,7 @@ struct cellwise_rec_for_export *read_tag_and_field(const struct fieldstat *insta size_t n_cell_total = 0; for (int i = 0; i < cube_id_len; i++) { - n_cell_total += fieldstat_get_max_cell_id(instance, cube_id[i]); + n_cell_total += fieldstat_get_used_sampling(instance, cube_id[i]); } free(cube_id); if (n_cell_total == 0) { |
