Skip to content

Commit

Permalink
Support SHARDS for HashedArrayDictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
vdimir committed Dec 5, 2023
1 parent 4d3fde3 commit 2a45931
Show file tree
Hide file tree
Showing 5 changed files with 282 additions and 164 deletions.
8 changes: 4 additions & 4 deletions docs/en/sql-reference/dictionaries/index.md
Expand Up @@ -394,7 +394,7 @@ Configuration example:
or

``` sql
LAYOUT(HASHED_ARRAY())
LAYOUT(HASHED_ARRAY([SHARDS 1]))
```

### complex_key_hashed_array
Expand All @@ -412,7 +412,7 @@ Configuration example:
or

``` sql
LAYOUT(COMPLEX_KEY_HASHED_ARRAY())
LAYOUT(COMPLEX_KEY_HASHED_ARRAY([SHARDS 1]))
```

### range_hashed {#range_hashed}
Expand Down Expand Up @@ -2415,8 +2415,8 @@ clickhouse client \
--secure \
--password MY_PASSWORD \
--query "
INSERT INTO regexp_dictionary_source_table
SELECT * FROM input ('id UInt64, parent_id UInt64, regexp String, keys Array(String), values Array(String)')
INSERT INTO regexp_dictionary_source_table
SELECT * FROM input ('id UInt64, parent_id UInt64, regexp String, keys Array(String), values Array(String)')
FORMAT CSV" < regexp_dict.csv
```

Expand Down

0 comments on commit 2a45931

Please sign in to comment.