diff options
| author | chenzizhan <[email protected]> | 2024-07-17 10:35:24 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-07-17 10:35:24 +0800 |
| commit | 6595cbbde1280b6c7d3c445697e39aa18fa9741f (patch) | |
| tree | 0fe9af32b13926b6aa8682337b500012ddecafca /test/test_metric_hll.cpp | |
| parent | c488da1f8346baf8d5a0260da9c5934c8dfdfbef (diff) | |
primary metric in spreadsketch/heavykeeper
Diffstat (limited to 'test/test_metric_hll.cpp')
| -rw-r--r-- | test/test_metric_hll.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_metric_hll.cpp b/test/test_metric_hll.cpp index 6d8be58..204c762 100644 --- a/test/test_metric_hll.cpp +++ b/test/test_metric_hll.cpp @@ -138,7 +138,7 @@ TEST(metric_test_hll, serialize_with_b64_and_query) char *blob = NULL; size_t blob_len = 0; - fieldstat_get_serialized_blob(instance, 0, 0, &TEST_TAG_LIST_INT, &blob, &blob_len); + fieldstat_metric_get_serialization_as_base64(instance, 0, 0, &TEST_TAG_LIST_INT, &blob, &blob_len); size_t dec_size = 0; unsigned char *dec = b64_decode_ex(blob, blob_len, &dec_size); @@ -183,7 +183,7 @@ TEST(metric_test_hll, serialize_with_b64_and_query_with_python_api) char *blob = NULL; size_t blob_len = 0; - fieldstat_get_serialized_blob(instance, 0, 0, &TEST_TAG_LIST_INT, &blob, &blob_len); + fieldstat_metric_get_serialization_as_base64(instance, 0, 0, &TEST_TAG_LIST_INT, &blob, &blob_len); bool flag = fieldstat_is_hll(blob); EXPECT_EQ(flag, true); |
