File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -323,8 +323,10 @@ The default data ranges and null indicator are listed below for each
323323decimal encoding.
324324
325325A message schema may optionally specify a more restricted range of valid
326- values for a field. For optional fields, a special mantissa value is
327- used to indicate that a field value is null.
326+ values for a field.
327+
328+ For all optional decimal fields, a special mantissa value is
329+ used to indicate that a field value is null. For floating-point decimals, the exponent should also be set to its null indicator.
328330
329331| Schema attribute | decimal | decimal64 | decimal32 |
330332| ------------------| ------------------------------------------:| ------------------------------------------:| ------------------------------------------:|
@@ -397,6 +399,10 @@ Wire format of decimal 123.45 with 2 significant decimal places.
397399
398400` 3930000000000000fe `
399401
402+ Wire format of null floating-point decimal.
403+
404+ ` ffffffffffffffffff `
405+
400406Wire format of decimal64 123.45 with 2 significant decimal places.
401407Schema attribute exponent = -2
402408
You can’t perform that action at this time.
0 commit comments