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

distributed-database

Here are 240 public repositories matching this topic...

morgo
morgo commented Nov 4, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

tidb> show create table placement_rules\G
*************************** 1. row ***************************
       Table: PLACEMENT_RULES
Create Table: CREATE TABLE `PLACEMENT_RULES` (
  `POLICY_ID` bigint(64) NOT NULL,
  `CATALOG_NAME` varchar(512) NOT NULL
cockroach
yuzefovich
yuzefovich commented Sep 24, 2021

Currently, tree.NotExpr is implemented natively in the vectorized engine, so we have to fallback to the older row-by-row engine to evaluate it. We should, instead, vectorize NotExpr.

I think the implementation will be quite similar to how tree.IsNullExpr implemented, and I think we will want to implement two version of NotExpr operator:

  • one for projections, which populates a `coldata
RaigorJiang
RaigorJiang commented Nov 3, 2021

Background

DistSQL is a new feature of version 5.0. Users may encounter some error prompts when using it, but do not understand how to deal with these situations.

Aim

Add FAQ, point out the cause of the error message, and provide solutions.

How to

  1. Understand the error message in the task description, investigate and confirm the cause. (Of course you can also ask for h
JeanGolang
JeanGolang commented Feb 7, 2017

Hello Philip!
I think there is an issue with this part of the code of rqlite (store/store.go).

func (s *Store) Database(leader bool) ([]byte, error) {
	if leader && s.raft.State() != raft.Leader {
		return nil, ErrNotLeader
	}
	// Ensure only one snapshot can take place at once, and block all queries.
	s.mu.Lock()
	defer s.mu.Unlock()

	f, err := ioutil.TempFile("", "rqlilte-snap-
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

findepi
findepi commented Sep 6, 2021

With Hive connector

trino:default> CREATE TABLE one (a varchar);
            -> CREATE VIEW two AS SELECT * FROM one;
CREATE TABLE
CREATE VIEW

DROP TABLE is rejected on a view:

trino:default> DROP TABLE two;
Query 20210906_150832_00015_id3y3 failed: line 1:1: Table 'hive.default.two' does not exist, but a view with that name exists. Did you mean DROP VIEW hive.default.t

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