You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ap...@apache.org on 2022/03/14 14:35:51 UTC
[arrow] branch master updated: MINOR: [C++] Codec::GetCompressionType(): fix docstring
This is an automated email from the ASF dual-hosted git repository.
apitrou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push:
new 5cb5afc MINOR: [C++] Codec::GetCompressionType(): fix docstring
5cb5afc is described below
commit 5cb5afc40547b4f75739e31ff8632c71a10d3084
Author: Even Rouault <ev...@spatialys.com>
AuthorDate: Mon Mar 14 15:33:08 2022 +0100
MINOR: [C++] Codec::GetCompressionType(): fix docstring
Comment was wrong: compression strings are in lower case.
Closes #12619 from rouault/GetCompressionType_comment_fix
Authored-by: Even Rouault <ev...@spatialys.com>
Signed-off-by: Antoine Pitrou <an...@python.org>
---
cpp/src/arrow/util/compression.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/src/arrow/util/compression.h b/cpp/src/arrow/util/compression.h
index 0832e82..f0d359d 100644
--- a/cpp/src/arrow/util/compression.h
+++ b/cpp/src/arrow/util/compression.h
@@ -119,7 +119,7 @@ class ARROW_EXPORT Codec {
/// \brief Return a string name for compression type
static const std::string& GetCodecAsString(Compression::type t);
- /// \brief Return compression type for name (all upper case)
+ /// \brief Return compression type for name (all lower case)
static Result<Compression::type> GetCompressionType(const std::string& name);
/// \brief Create a codec for the given compression algorithm