The Wayback Machine - https://web.archive.org/web/20211127195623/https://github.com/topics/distributed-database
Skip to content
#

distributed-database

Here are 241 public repositories matching this topic...

cockroach
rafiss
rafiss commented Nov 16, 2021

Although RULE is not listed as an allowed privilege on https://www.postgresql.org/docs/current/functions-info.html it turns out that PG supports a query like this

select has_table_privilege('table'::regclass::oid, 'RULE')

Some tools rely on this. We can implement it in CRDB by always returning false, since CRDB does not have RULE privileges.


Instructions:

  • Modify t
strongduanmu
strongduanmu commented Nov 26, 2021

Hi, community:

This issue is to add more unit tests for the ShardingConditions class. Welcome to claim them.

The specific subtasks are as follows:

  • Add unit test for ShardingConditions#isAlwaysFalse
  • Add unit test for ShardingConditions#merge
  • Add unit test for ShardingConditions#isNeedMerge
  • Add unit test for ShardingConditions#isSameShardingCondition

Throug

yugabyte-db
sanketkedia
sanketkedia commented Nov 2, 2021

Description

Currently, for e.g. say that out of 3 copies of a tablet, we want to have 2 copies in C1.R1.Z1 and 1 copy in C2.R2.Z2 then we would specify it as below:

./bin/yb-admin \
    -master_addresses $MASTER_RPC_ADDRS \
    modify_placement_info  \
    C1.R1.Z1,C1.R1.Z1,C2.R2.Z2 3

However, this is somewhat complex and hard to follow. We don't need to necessarily r

proddata
proddata commented Nov 17, 2021

Use case:
Selecting a subset of array elements of an existing array inside the database without the need to unnest the array first or use a user-defined function.

CREATE TABLE t1 (id INTEGER, tags ARRAY(TEXT));
INSERT INTO t1 (id, tags) VALUES (1, ['database','search engine','document store']);
SELECT array_slice(tags,2,3) FROM t1;
--> ['search engine','document s

Improve this page

Add a description, image, and links to the distributed-database topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the distributed-database topic, visit your repo's landing page and select "manage topics."

Learn more