Skip to content

Commit

Permalink
doc: fix some typos and update outdated description
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
yaojingguo committed Apr 16, 2018
1 parent 078511d commit a032d80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/tech-notes/life_of_a_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ Now let's see how these `planNode`s run:
from SQL92/99. Another interesting fact is that, if we're sorting by a
non-trivial expression (e.g. `SELECT a, b ... ORDER BY a + b`), we
need the `a + b` values (for every row) to be produced by a
lower-level node. This is achieved through a patter that's also
lower-level node. This is achieved through a pattern that's also
present in other node: the lower node capable of evaluating
expressions and rendering their results is the `renderNode`; the
`sortNode` constructor checks if the expressions it needs are already
Expand Down
2 changes: 1 addition & 1 deletion docs/tech-notes/sql-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ Some examples in the second group:
| The overall latency of a query is solely decided by the number of rows processed in memory and the number of page accesses on disk. | Network effects and implicit retries dominate. |
| The costing estimates use a fixed ratio between disk and CPU performance. | Each node in a cluster can have a different CPU/disk performance ratio. Network performance evolves over time. |
| Each area of contiguous storage contains data from at most one table or one index. Storage locality maps 1-to-1 to query locality. | [Interleaved tables.](../RFCS/20160624_sql_interleaved_tables.md) |
| A logical range of values, in a SQL query, corresponds to a contiguous area of storage when the columns are indexed. | Partitioned tables. (soon) |
| A logical range of values, in a SQL query, corresponds to a contiguous area of storage when the columns are indexed. | [Partitioned tables.](../RFCS/20170921_sql_partitioning.md) |

For this second group, original research will be needed to construct,
from the ground up, CockroachDB-specific replacements to the best
Expand Down
2 changes: 1 addition & 1 deletion docs/tech-notes/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ For example, if the architecture calls out a thing called e.g. "query
runner", which takes as input a logical query plan (a data structure)
and outputs result rows (another data structure), you'd usually expect
a thing in the source code called "query runner" that looks like a
class whose instances would carry the execution's internal state, a
class whose instances would carry the execution's internal state
providing some methods that take a logical plan as input, and returning
result rows as results.

Expand Down

0 comments on commit a032d80

Please sign in to comment.