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/10/12 23:07:52 UTC
[incubator-datasketches-postgresql] branch aod_sketch updated
(8855903 -> 7657273)
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a change to branch aod_sketch
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-postgresql.git.
from 8855903 means and variances
new cf40e8e adjusted to use the latest code
new 7657273 combine in the specified order
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
Makefile | 2 +-
src/aod_sketch_c_adapter.cpp | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org
[incubator-datasketches-postgresql] 02/02: combine in the specified
order
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch aod_sketch
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-postgresql.git
commit 7657273ecb174e8b019e0bc2d8b3fb6b78e3a105
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Mon Oct 12 16:06:50 2020 -0700
combine in the specified order
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 10d85b0..0faccce 100644
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
# generate combined sql
-$(SQL_INSTALL): $(sort $(SQL_MODULES))
+$(SQL_INSTALL): $(SQL_MODULES)
cat $^ > $@
install: $(SQL_INSTALL)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org
[incubator-datasketches-postgresql] 01/02: adjusted to use the
latest code
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alsay pushed a commit to branch aod_sketch
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-postgresql.git
commit cf40e8ee076db2f73f07639bfbc5bb4f92ab91fb
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Mon Oct 12 15:43:57 2020 -0700
adjusted to use the latest code
---
src/aod_sketch_c_adapter.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/aod_sketch_c_adapter.cpp b/src/aod_sketch_c_adapter.cpp
index 69d2022..7db6b8f 100644
--- a/src/aod_sketch_c_adapter.cpp
+++ b/src/aod_sketch_c_adapter.cpp
@@ -33,8 +33,6 @@
#include <boost/accumulators/statistics/variance.hpp>
#include <boost/math/distributions/students_t.hpp>
-using vector_double = std::vector<double, palloc_allocator<double>>;
-
using update_aod_sketch_pg = datasketches::update_array_of_doubles_sketch_alloc<palloc_allocator<double>>;
using compact_aod_sketch_pg = datasketches::compact_array_of_doubles_sketch_alloc<palloc_allocator<double>>;
using aod_union_pg = datasketches::array_of_doubles_union_alloc<palloc_allocator<double>>;
@@ -42,7 +40,7 @@ using aod_union_pg = datasketches::array_of_doubles_union_alloc<palloc_allocator
using aod_intersection_pg = datasketches::array_of_doubles_intersection<datasketches::array_of_doubles_union_policy_alloc<palloc_allocator<double>>, palloc_allocator<double>>;
using aod_a_not_b_pg = datasketches::array_of_doubles_a_not_b_alloc<palloc_allocator<double>>;
-std::ostream& operator<<(std::ostream& os, const vector_double& v) {
+std::ostream& operator<<(std::ostream& os, const datasketches::aod<palloc_allocator<double>>& v) {
os << "(";
for (size_t i = 0; i < v.size(); ++i) {
if (i != 0) os << ", ";
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org