Skip to content

Commit

Permalink
document new filters and stuff (apache#14760) (apache#14785)
Browse files Browse the repository at this point in the history
  • Loading branch information
clintropolis authored Aug 11, 2023
1 parent 5914be5 commit 42dace8
Show file tree
Hide file tree
Showing 4 changed files with 526 additions and 224 deletions.
2 changes: 1 addition & 1 deletion docs/ingestion/ingestion-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Treat `__time` as a millisecond timestamp: the number of milliseconds since Jan
### `dimensionsSpec`

The `dimensionsSpec` is located in `dataSchema``dimensionsSpec` and is responsible for
configuring [dimensions](./schema-model.md#dimensions). An example `dimensionsSpec` is:
configuring [dimensions](./schema-model.md#dimensions).

You can either manually specify the dimensions or take advantage of schema auto-discovery where you allow Druid to infer all or some of the schema for your data. This means that you don't have to explicitly specify your dimensions and their type.

Expand Down
2 changes: 2 additions & 0 deletions docs/ingestion/schema-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,8 @@ native boolean types, Druid ingests these values as strings if `druid.expression
the [array functions](../querying/sql-array-functions.md) or [UNNEST](../querying/sql-functions.md#unnest). Nested
columns can be queried with the [JSON functions](../querying/sql-json-functions.md).

We also highly recommend setting `druid.generic.useDefaultValueForNull=false` when using these columns since it also enables out of the box `ARRAY` type filtering. If not set to `false`, setting `sqlUseBoundsAndSelectors` to `false` on the [SQL query context](../querying/sql-query-context.md) can enable `ARRAY` filtering instead.

Mixed type columns are stored in the _least_ restrictive type that can represent all values in the column. For example:

- Mixed numeric columns are `DOUBLE`
Expand Down
Loading

0 comments on commit 42dace8

Please sign in to comment.