Skip to content

Commit 4f97f37

Browse files
DOC-1078 dic -> dict, null symbol as default
1 parent b109bb1 commit 4f97f37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/ref/dotz.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ q).z.z
11561156

11571157
```syntax
11581158
.z.zd:(lbs;alg;lvl)
1159-
.z.zd:dic
1159+
.z.zd:dict
11601160
```
11611161

11621162
Integers `lbs`, `alg`, and `lvl` are [compression parameters](../kb/file-compression.md#compression-parameters) and/or [encryption parameters](../kb/dare.md#encryption).
@@ -1168,14 +1168,14 @@ q).z.zd:17 2 6 / set zip defaults
11681168
q)\x .z.zd / clear zip defaults
11691169
```
11701170

1171-
You can also assign a dictionary to `.z.zd`. The keys of the dictionary are either column names or the null symbol `` ` ``. The value of each entry is an integer vector: `lbs`, `alg`, and `lvl`.
1171+
You can also assign a dictionary to `.z.zd`. The keys of the dictionary are either column names or the null symbol `` ` ``. The value of each entry is an integer vector: `lbs`, `alg`, and `lvl`. The null symbol is used as a default for columns that do not match the other keys.
11721172

11731173
```q
1174-
q)show dic:``a`b!(17 5 3;17 2 6;17 2 6)
1174+
q)show dict:``a`b!(17 5 3;17 2 6;17 2 6) / default compression is `zstd` with level 3
11751175
| 17 5 3
11761176
a| 17 2 6
11771177
b| 17 2 6
1178-
q).z.zd:dic
1178+
q).z.zd:dict
11791179
```
11801180

11811181
:fontawesome-solid-hand-point-right:

0 commit comments

Comments
 (0)