velox
velox copied to clipboard
Create utility file for encoding
Add a new utility file that shares the common logic for decoding and encoding based on the base variants.
- Fixes https://github.com/facebookincubator/velox/issues/7294
- Dependency - https://github.com/facebookincubator/velox/pull/10371
- New presto functions to_base32 and from_base32( https://github.com/facebookincubator/velox/pull/8652 and https://github.com/facebookincubator/velox/pull/7672) has been raised as subsequent PRs.
Deploy Preview for meta-velox canceled.
Name | Link |
---|---|
Latest commit | abad3806a37541d72013dfc9e18d4d287008bc33 |
Latest deploy log | https://app.netlify.com/sites/meta-velox/deploys/6642ee55f1555c00087ffed5 |
@aditi-pandit, I have added the test cases as you suggested. Please have a look.
@Joe-Abraham : I've been staring at this code for a while.... So in Velox we prefer to use for loops instead of while. Please can you go over the code and rewrite to use for loops instead. Also you should try to avoid conditions within the for loop if possible.
@aditi-pandit updated the code as per comments.
@aditi-pandit can you please have a look at the changes?
@bikramSingh91 Can you please have a look into this PR?