You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@avro.apache.org by dk...@apache.org on 2020/05/22 12:12:04 UTC

[avro] 03/03: Added bzip codec to the valid ones

This is an automated email from the ASF dual-hosted git repository.

dkulp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git

commit dfd3dd64bed7f783b0d33c7688a440235ecfc0f3
Author: siad007 <si...@gmail.com>
AuthorDate: Thu May 21 19:29:24 2020 +0200

    Added bzip codec to the valid ones
---
 lang/php/lib/avro/data_file.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/php/lib/avro/data_file.php b/lang/php/lib/avro/data_file.php
index f071895..b8d15bc 100644
--- a/lang/php/lib/avro/data_file.php
+++ b/lang/php/lib/avro/data_file.php
@@ -82,7 +82,7 @@ class AvroDataIO
   /**
    * @var array array of valid codec names
    */
-  private static $valid_codecs = [self::NULL_CODEC, self::DEFLATE_CODEC, self::SNAPPY_CODEC, self::ZSTANDARD_CODEC];
+  private static $valid_codecs = [self::NULL_CODEC, self::DEFLATE_CODEC, self::SNAPPY_CODEC, self::ZSTANDARD_CODEC, self::BZIP2_CODEC];
 
   /**
    * @var AvroSchema cached version of metadata schema object