Meituan-Dianping / Meituan-Dianping/Zebra

分库分表不支持子查询

Open
#59 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
2.8k
Forks
705
PR merge metrics
No merged PRs in 30d

Description

分库分表不支持子查询,例如:select * from tableA where id in(select id from tableB)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue concerns database sharding and a subquery such as select * from tableA where id in(select id from tableB). Start by tracing how sharded queries are parsed and routed, then reproduce this example; done means the subquery works correctly with database and table sharding.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mysql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.