Changeset: d374709662c2 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/d374709662c2 Added Files: sql/scripts/80_statistics_hge.sql Modified Files: sql/scripts/CMakeLists.txt Branch: persistent_sketches Log Message:
split of the hugeint uniques_guess diffs (31 lines): diff --git a/sql/scripts/80_statistics_hge.sql b/sql/scripts/80_statistics_hge.sql new file mode 100644 --- /dev/null +++ b/sql/scripts/80_statistics_hge.sql @@ -0,0 +1,15 @@ +-- SPDX-License-Identifier: MPL-2.0 +-- +-- This Source Code Form is subject to the terms of the Mozilla Public +-- License, v. 2.0. If a copy of the MPL was not distributed with this +-- file, You can obtain one at https://mozilla.org/MPL/2.0/. +-- +-- For copyright information, see the file debian/copyright. + +-- Author M.Kersten +-- This script gives the database administrator insight in the actual +-- value distribution over all tables in the database. + +create aggregate uniques_guess(c hugeint) +returns bigint external name aggr.uniques_guess; +grant execute on aggregate uniques_guess(hugeint) to public; diff --git a/sql/scripts/CMakeLists.txt b/sql/scripts/CMakeLists.txt --- a/sql/scripts/CMakeLists.txt +++ b/sql/scripts/CMakeLists.txt @@ -49,6 +49,7 @@ if(HAVE_HGE) install(FILES 39_analytics_hge.sql 41_json_hge.sql DESTINATION + 80_statistics_hge.sql DESTINATION ${CMAKE_INSTALL_LIBDIR}/monetdb5/createdb) endif() #]] _______________________________________________ checkin-list mailing list -- [email protected] To unsubscribe send an email to [email protected]
