docs: private CompressionKind resolveCompression(CompressionCodec codec) {
          if (codec instanceof Lz4Codec)
              return CompressionKind.LZ4;
          else if (codec instanceof SnappyCodec)
              return CompressionKind.SNAPPY;
          // although GZip and ZLIB are not same thing
          // there is no better named codec for this case,
          // use hadoop Gzip codec to enable ORC ZLIB compression
          else if (codec instanceof GzipCodec)
              return CompressionKind.ZLIB;
          else
              return CompressionKind.NONE;
      }