support snappy compression, and COPY tag