Clarify PDK schema table

This commit is contained in:
Alan Bernstein 2018-05-14 18:18:09 -05:00
parent 6cc848efc9
commit e8ce4b99d6

View file

@ -38,19 +38,19 @@ the record to arrive at that field. For example:
This JSON object would result in the following Pilosa schema:
| Name | Field | Type | Size/Min | Max |
|----------------|-----------|--------|----------|------------|
| name | | ranked | 100000 | |
| favorite_foods | | ranked | 100000 | |
| default | | Ranked | 100000 | |
| | age | int | 0 | 2147483647 |
| location | | ranked | 1000 | |
| | latitude | int | 0 | 2147483647 |
| | longitude | int | 0 | 2147483647 |
| location-city | | ranked | 100000 | |
| location-state | | ranked | 100000 | |
| Name | Field | Type | Min | Max | Size |
|----------------|-----------|--------|-----|------------|--------|
| name | | ranked | | | 100000 |
| favorite_foods | | ranked | | | 100000 |
| default | | ranked | | | 100000 |
| | age | int | 0 | 2147483647 | |
| location | | ranked | | | 1000 |
| | latitude | int | 0 | 2147483647 | |
| | longitude | int | 0 | 2147483647 | |
| location-city | | ranked | | | 100000 |
| location-state | | ranked | | | 100000 |
All frames are created as ranked frames by default, and fields are created with
All frames are created as ranked frames by default, with the cache size listed above. Fields are created with
a minimum size of zero and a fixed maximum of 2147483647. Fields at the top level
are created in the default frame. Frames are a dash-separated concatenation of
all key values in the path - you can see this with frames like location-city.