You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2020/03/06 02:13:49 UTC

[incubator-datasketches-postgresql] 01/01: adjust to be compatible with datasketches-cpp master

This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch update_api
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-postgresql.git

commit 0717b4a9af0b4727acc492866c5e0050d7a4460a
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Thu Mar 5 18:13:19 2020 -0800

    adjust to be compatible with datasketches-cpp master
---
 src/frequent_strings_sketch_c_adapter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frequent_strings_sketch_c_adapter.cpp b/src/frequent_strings_sketch_c_adapter.cpp
index ee3705b..edffc4f 100644
--- a/src/frequent_strings_sketch_c_adapter.cpp
+++ b/src/frequent_strings_sketch_c_adapter.cpp
@@ -85,7 +85,7 @@ struct serde_string {
   }
 };
 
-typedef datasketches::frequent_items_sketch<string, hash_string, std::equal_to<string>, serde_string, palloc_allocator<string>> frequent_strings_sketch;
+typedef datasketches::frequent_items_sketch<string, uint64_t, hash_string, std::equal_to<string>, serde_string, palloc_allocator<string>> frequent_strings_sketch;
 
 void* frequent_strings_sketch_new(unsigned lg_k) {
   try {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org