• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sunchao / parquet-rs / 133 / 1
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 28 Jul 2017 06:05AM UTC
Files 21
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jul 2017 05:40AM UTC coverage: 68.735% (+0.6%) from 68.105%
133.1

push

travis-ci

sunchao
Add LevelEncoder and LevelDecoder

The current decoding::RleDecoder is only used for decoding rep/def
levels. However, it can only decode i32 while levels are encoded as i16.
Also, it doesn't fit well within the Decoder trait.

This commit creates two separate structs: LevelEncoder and LevelDecoder,
to replace the above. This is similar to the C++ implementation. These
two are thin wrappers on the existing RawRleEncoder and RawRleDecoder.

Also did a little bit refactoring:
1. BitWriter::consume() and RawRleEncoder::consume() no longer consume
   "this". Instead they just replace the underlying buffer.
2. move RawRleEncoder::min_buffer_size and
   RawRleEncoder::max_buffer_size to the front of struct definition
   since they are "static" functions.

3091 of 4497 relevant lines covered (68.73%)

0.69 hits per line

Source Files on job 133.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 133
  • Travis Job 133.1
  • c63a1df5 on github
  • Prev Job for on master (#132.1)
  • Next Job for on master (#134.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc