Skip to content

Can't use a separate schema for aggregate tables #96

@vojta

Description

@vojta

I have a schema called "archive" (shard1), where are the large tables I want to query.
I don't want to create any temporary tables in this schema (because it's replicated), but want to use another schema called "temp", which is excluded from replication.

I've set this in bootstrap:

[config]
coord_shard=temp

[shard1]
db=archive

[temp]
db=temp

But I get an error:

While creating coordinator table: 1146Table 'temp.mytable' doesn't exist

At line:
https://github.com/greenlion/swanhart-tools/blob/master/shard-query/include/shard-query.php#L288

Am I doing anything wrong? I have tried find it in the docs, but there don't seem to be any for that situation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions