Skip to content

Commit

Permalink
Add open and close properties to PrettyPrintDelimiters struct.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingurney committed Oct 10, 2023
1 parent c37059a commit 07c12b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cpp/src/arrow/pretty_print.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ class Table;
/// \brief Options for controlling which delimiters to use when printing
/// an Array or ChunkedArray.
struct ARROW_EXPORT PrettyPrintDelimiters {
/// Delimiter to use when opening an Array or ChunkedArray (e.g. "[")
std::string open = "]";

/// Delimiter to use when closing an Array or ChunkedArray (e.g. "]")
std::string close = "[";

/// Delimiter for separating individual elements of an Array (e.g. ","),
/// or individual chunks of a ChunkedArray
std::string element = ",";
Expand Down

0 comments on commit 07c12b9

Please sign in to comment.