paul-rogers commented on code in PR #13835:
URL: https://github.com/apache/druid/pull/13835#discussion_r1115968640
##########
docs/ingestion/ingestion-spec.md:
##########
@@ -477,7 +477,7 @@ The `indexSpec` object can include the following properties:
|-----|-----------|-------|
|bitmap|Compression format for bitmap indexes. Should be a JSON object with
`type` set to `roaring` or `concise`. For type `roaring`, the boolean property
`compressRunOnSerialization` (defaults to true) controls whether or not
run-length encoding will be used when it is determined to be more
space-efficient.|`{"type": "roaring"}`|
|dimensionCompression|Compression format for dimension columns. Options are
`lz4`, `lzf`, `zstd`, or `uncompressed`.|`lz4`|
-|stringDictionaryEncoding|Encoding format for STRING value dictionaries used
by STRING and COMPLEX<json> columns. <br>Example to enable front coding:
`{"type":"frontCoded", "bucketSize": 4}`<br>`bucketSize` is the number of
values to place in a bucket to perform delta encoding. Must be a power of 2,
maximum is 128. Defaults to 4.<br>See [Front coding](#front-coding) for more
information.|`{"type":"utf8"}`|
+|stringDictionaryEncoding|Encoding format for STRING value dictionaries used
by STRING and COMPLEX<json> columns. <br />Example to enable front
coding: `{"type":"frontCoded", "bucketSize": 4}`<br />`bucketSize` is the
number of values to place in a bucket to perform delta encoding. Must be a
power of 2, maximum is 128. Defaults to 4.<br />See [Front
coding](#front-coding) for more information.|`{"type":"utf8"}`|
Review Comment:
Breaks here do seem to be needed: at least the VS Code preview gets confused
with newlines within a table.
Elsewhere in this table we use two breaks to create a clear separation
between paragraphs. Should we do that here as well for consistency? The
resulting text looks better.
##########
docs/operations/rule-configuration.md:
##########
@@ -153,9 +153,9 @@ Set the following properties:
- `period`: a JSON object representing
[ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) periods. The period is from
some time in the past to the present, or into the future if `includeFuture` is
set to `true`.
- `includeFuture`: a boolean flag to instruct Druid to match a segment if:
-<br>- the segment interval overlaps the rule interval, or
-<br>- the segment interval starts any time after the rule interval starts.
-<br>You can use this property to load segments with future start and end
dates, where "future" is relative to the time when the Coordinator evaluates
data against the rule. Defaults to `true`.
+<br />- the segment interval overlaps the rule interval, or
+<br />- the segment interval starts any time after the rule interval starts.
+<br />You can use this property to load segments with future start and end
dates, where "future" is relative to the time when the Coordinator evaluates
data against the rule. Defaults to `true`.
Review Comment:
At the cost of extra per-line spacing, you can replace the `<br />` above
with two spaces and get the same effect in a more Markdown-ish way. Here and
below.
##########
docs/ingestion/migrate-from-firehose-ingestion.md:
##########
@@ -53,7 +53,7 @@ Edit the new file as follows:
4. Move the `format` definition from `parser.parseSpec` to an `inputFormat`
definition in `ioConfig`.
5. Delete the `parser` definition.
6. Save the file.
-<br>You can check the format of your new ingestion file against the [migrated
example](#example-ingestion-spec-after-migration) below.
+<br />You can check the format of your new ingestion file against the
[migrated example](#example-ingestion-spec-after-migration) below.
Review Comment:
Break here isn't really needed. Reads better without it.
##########
docs/tutorials/tutorial-kafka.md:
##########
@@ -45,7 +45,7 @@ Before you follow the steps in this tutorial, download Druid
as described in the
```
2. If you're already running Kafka on the machine you're using for this
tutorial, delete or rename the `kafka-logs` directory in `/tmp`.
- > Druid and Kafka both rely on [Apache
ZooKeeper](https://zookeeper.apache.org/) to coordinate and manage services.
Because Druid is already running, Kafka attaches to the Druid ZooKeeper
instance when it starts up.<br>
+ > Druid and Kafka both rely on [Apache
ZooKeeper](https://zookeeper.apache.org/) to coordinate and manage services.
Because Druid is already running, Kafka attaches to the Druid ZooKeeper
instance when it starts up.<br />
Review Comment:
This reads better as:
```text
> Druid and Kafka both rely on ...
>
> In a production environment ...
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]