aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorSean Owen <sowen@cloudera.com>2017-02-20 09:02:09 -0800
committerSean Owen <sowen@cloudera.com>2017-02-20 09:02:09 -0800
commitd0ecca6075d86bedebf8bc2278085a2cd6cb0a43 (patch)
tree4582f88e40df02916659800e8fa4068d585da63d /sql
parent776b8f17cfc687a57c005a421a81e591c8d44a3f (diff)
downloadspark-d0ecca6075d86bedebf8bc2278085a2cd6cb0a43.tar.gz
spark-d0ecca6075d86bedebf8bc2278085a2cd6cb0a43.tar.bz2
spark-d0ecca6075d86bedebf8bc2278085a2cd6cb0a43.zip
[SPARK-19646][CORE][STREAMING] binaryRecords replicates records in scala API
## What changes were proposed in this pull request? Use `BytesWritable.copyBytes`, not `getBytes`, because `getBytes` returns the underlying array, which may be reused when repeated reads don't need a different size, as is the case with binaryRecords APIs ## How was this patch tested? Existing tests Author: Sean Owen <sowen@cloudera.com> Closes #16974 from srowen/SPARK-19646.
Diffstat (limited to 'sql')
0 files changed, 0 insertions, 0 deletions