This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/main by this push:
new d1c6d79fdc AVRO-4177: [C++] Fix compatibility error in zstd codec name
(#3476)
d1c6d79fdc is described below
commit d1c6d79fdc7bac67221932d90105549c3e137957
Author: Zhang Jiawei <[email protected]>
AuthorDate: Thu Sep 4 23:29:05 2025 +0800
AVRO-4177: [C++] Fix compatibility error in zstd codec name (#3476)
---
lang/c++/impl/DataFile.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/c++/impl/DataFile.cc b/lang/c++/impl/DataFile.cc
index 08c6bdce23..5bf27c1ab7 100644
--- a/lang/c++/impl/DataFile.cc
+++ b/lang/c++/impl/DataFile.cc
@@ -54,7 +54,7 @@ const string AVRO_SNAPPY_CODEC = "snappy";
#endif
#ifdef ZSTD_CODEC_AVAILABLE
-const string AVRO_ZSTD_CODEC = "zstd";
+const string AVRO_ZSTD_CODEC = "zstandard";
#endif
const size_t minSyncInterval = 32;