Skip to content

Commit

Permalink
[Doc ]Update lore doc about the range [skip ci] (#11309)
Browse files Browse the repository at this point in the history
* Update lore doc about the range

Signed-off-by: liurenjie1024 <[email protected]>

* Add exclusive statement

---------

Signed-off-by: liurenjie1024 <[email protected]>
  • Loading branch information
liurenjie1024 authored Aug 8, 2024
1 parent d3dc496 commit 087baa3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/dev/lore.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ To tell LORE the LORE ids of the operators you are interested in, you need to se
`spark.rapids.sql.lore.idsToDump`. For example, you could set it to "1[*], 2[*], 3[*]" to tell
LORE to dump all partitions of input data of operators with id 1, 2, or 3. You can also only dump
some partition of the operator's input by appending partition numbers to lore ids. For example,
"1[0 4-6 7], 2[*]" tell LORE to dump operator with LORE id 1, but only dump partition 0, 4, 5, 6,
and 7. But for operator with LORE id 2, it will dump all partitions.
"1[0 4-6 7], 2[*]" tell LORE to dump operator with LORE id 1, but only dump partition 0, 4, 5,
and 7, e.g. the end of the range is exclusive. But for operator with LORE id 2, it will dump all
partitions.

You also need to set `spark.rapids.sql.lore.dumpPath` to tell LORE where to dump the data, the
value of which should point to a directory. All dumped data of a query will live in this
Expand Down

0 comments on commit 087baa3

Please sign in to comment.