зеркало из https://github.com/github/vitess-gh.git
bbbee66eb5
In order to support split queries for map-reduce jobs, we need a way to send queries to specific shards. But we cannot assume that there will be physical keyspace_id column in the table, which will prevent us from specifying a keyrange on it. So, we introduce the KEYRANGE construct which is a boolean expression that VTGate can use to match the range to a set of shards. Since the construct is not understood by VTTablet or MySQL, VTGate will also strip the construct before passing the query down. |
||
---|---|---|
.. | ||
Makefile | ||
analyzer.go | ||
ast.go | ||
ast_test.go | ||
parse_test.go | ||
parsed_query.go | ||
parsed_query_test.go | ||
sql.go | ||
sql.y | ||
token.go | ||
tracked_buffer.go |