From 07c12b9d0a50961366eec453763650e1bf369132 Mon Sep 17 00:00:00 2001 From: Kevin Gurney Date: Tue, 10 Oct 2023 12:50:49 -0400 Subject: [PATCH] Add `open` and `close` properties to `PrettyPrintDelimiters` struct. --- cpp/src/arrow/pretty_print.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cpp/src/arrow/pretty_print.h b/cpp/src/arrow/pretty_print.h index 96a214c68b8a6..c2000647a0e09 100644 --- a/cpp/src/arrow/pretty_print.h +++ b/cpp/src/arrow/pretty_print.h @@ -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 = ",";