You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are three implementations of the Binary class and only one is using the faster 'UTF8.decode' in the 'toStringUsingUTF8' method. This fixes them to all use the faster UTF8.decode.
As noted in the comments, the 'new String' approach creates a new decoder each time, which is slower than the cached instance used by 'UTF8.decode'.
#1. ByteArraySliceBackedBinary <-- UTF8.decode #2. ByteArrayBackedBinary <-- new String #3. ByteBufferBackedBinary <-- new String
Activity
asfimport commentedon Aug 20, 2014
Daniel Weeks / @danielcweeks:
https://issues.apache.org/jira/browse/PARQUET-75
asfimport commentedon Aug 28, 2014
Julien Le Dem / @julienledem:
Issue resolved by pull request 40
https://github.com/apache/incubator-parquet-mr/pull/40