ravipesala commented on a change in pull request #3132: [CARBONDATA-3300] Fixed ClassNotFoundException when using UDF in spark-shell
URL:
https://github.com/apache/carbondata/pull/3132#discussion_r259573862
##########
File path: core/src/main/java/org/apache/carbondata/core/metadata/blocklet/BlockletInfo.java
##########
@@ -261,7 +262,8 @@ private void writeChunkInfoForOlderVersions(DataOutput output) throws IOExceptio
private DataChunk deserializeDataChunk(byte[] bytes) throws IOException {
ByteArrayInputStream stream = new ByteArrayInputStream(bytes);
- ObjectInputStream inputStream = new ObjectInputStream(stream);
+ ObjectInputStream inputStream =
Review comment:
It does not open the file to mandatorily close the stream, it just opens on the byte[] so it is not needed to close in finally
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services