[jira] [Assigned] (PARQUET-1530) Remove Dependency on commons-codec

2019-02-12 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR reassigned PARQUET-1530:


Assignee: BELUGA BEHR

> Remove Dependency on commons-codec
> --
>
> Key: PARQUET-1530
> URL: https://issues.apache.org/jira/browse/PARQUET-1530
> Project: Parquet
>  Issue Type: Improvement
>Reporter: BELUGA BEHR
>Assignee: BELUGA BEHR
>Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1530) Remove Dependency on commons-codec

2019-02-12 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1530:


 Summary: Remove Dependency on commons-codec
 Key: PARQUET-1530
 URL: https://issues.apache.org/jira/browse/PARQUET-1530
 Project: Parquet
  Issue Type: Improvement
Reporter: BELUGA BEHR






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (PARQUET-1443) ColumnChunkPageReader Clean Up

2019-02-06 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR reassigned PARQUET-1443:


Assignee: BELUGA BEHR

> ColumnChunkPageReader Clean Up
> --
>
> Key: PARQUET-1443
> URL: https://issues.apache.org/jira/browse/PARQUET-1443
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-mr
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Assignee: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1443.1.patch
>
>
> * Remove unused imports
> * Remove unused Logger
> * Use an {{ArrayDeque}} instead of a {{LinkedList}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (PARQUET-1444) Prefer ArrayList over LinkedList

2019-02-06 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR reassigned PARQUET-1444:


Assignee: BELUGA BEHR

> Prefer ArrayList over LinkedList
> 
>
> Key: PARQUET-1444
> URL: https://issues.apache.org/jira/browse/PARQUET-1444
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-thrift
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Assignee: BELUGA BEHR
>Priority: Minor
>  Labels: pull-request-available
> Attachments: PARQUET-1444.1.patch
>
>
> https://stackoverflow.com/questions/322715/when-to-use-linkedlist-over-arraylist-in-java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (PARQUET-1514) ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes

2019-01-27 Thread BELUGA BEHR (JIRA)


[ 
https://issues.apache.org/jira/browse/PARQUET-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16753607#comment-16753607
 ] 

BELUGA BEHR edited comment on PARQUET-1514 at 1/27/19 11:10 PM:


This may be a non-issue.  This may be on purpose.  However, if my understanding 
is correct, and this is indeed supposed to be uncompressed byes, I have 
provided a PR.


was (Author: belugabehr):
This may be a non-issue.  This may be on purpose.  However, if my understand is 
correct, and this is indeed supposed to be uncompressed byes.  I have provided 
a PR.

> ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes
> 
>
> Key: PARQUET-1514
> URL: https://issues.apache.org/jira/browse/PARQUET-1514
> Project: Parquet
>  Issue Type: Bug
>Reporter: BELUGA BEHR
>Assignee: BELUGA BEHR
>Priority: Minor
>  Labels: pull-request-available
>
> As I understand it, the class {{BlockMetaData}} has a {{getTotalByteSize}} 
> and a {{getCompressedSize}}.  However, in the case of {{ParquetFileWriter}}, 
> there is one place where the compressed size is being written into 
> {{totalByteSize}} instead of the uncompressed size.  This looks incorrect.
> {code:java|title=ParquetFileWriter}
> private BlockMetaData currentBlock;
> ...
> public void appendRowGroup(SeekableInputStream from, BlockMetaData rowGroup,
> boolean dropColumns) throws IOException {
> ...
> currentBlock.setTotalByteSize(blockCompressedSize);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (PARQUET-1514) ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes

2019-01-27 Thread BELUGA BEHR (JIRA)


[ 
https://issues.apache.org/jira/browse/PARQUET-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16753607#comment-16753607
 ] 

BELUGA BEHR edited comment on PARQUET-1514 at 1/27/19 10:02 PM:


This may be a non-issue.  This may be on purpose.  However, if my understand is 
correct, and this is indeed supposed to be uncompressed byes.  I have provided 
a PR.


was (Author: belugabehr):
This may be a non-issue.  This may be on purpose.  However, my understand is 
correct, and this is indeed supposed to be uncompressed byes.  I have provided 
a PR.

> ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes
> 
>
> Key: PARQUET-1514
> URL: https://issues.apache.org/jira/browse/PARQUET-1514
> Project: Parquet
>  Issue Type: Bug
>Reporter: BELUGA BEHR
>Assignee: BELUGA BEHR
>Priority: Minor
>  Labels: pull-request-available
>
> As I understand it, the class {{BlockMetaData}} has a {{getTotalByteSize}} 
> and a {{getCompressedSize}}.  However, in the case of {{ParquetFileWriter}}, 
> there is one place where the compressed size is being written into 
> {{totalByteSize}} instead of the uncompressed size.  This looks incorrect.
> {code:java|title=ParquetFileWriter}
> private BlockMetaData currentBlock;
> ...
> public void appendRowGroup(SeekableInputStream from, BlockMetaData rowGroup,
> boolean dropColumns) throws IOException {
> ...
> currentBlock.setTotalByteSize(blockCompressedSize);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (PARQUET-1514) ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes

2019-01-27 Thread BELUGA BEHR (JIRA)


[ 
https://issues.apache.org/jira/browse/PARQUET-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16753607#comment-16753607
 ] 

BELUGA BEHR commented on PARQUET-1514:
--

This may be a non-issue.  This may be on purpose.  However, my understand is 
correct, and this is indeed supposed to be uncompressed byes.  I have provided 
a PR.

> ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes
> 
>
> Key: PARQUET-1514
> URL: https://issues.apache.org/jira/browse/PARQUET-1514
> Project: Parquet
>  Issue Type: Bug
>Reporter: BELUGA BEHR
>Assignee: BELUGA BEHR
>Priority: Minor
>  Labels: pull-request-available
>
> As I understand it, the class {{BlockMetaData}} has a {{getTotalByteSize}} 
> and a {{getCompressedSize}}.  However, in the case of {{ParquetFileWriter}}, 
> there is one place where the compressed size is being written into 
> {{totalByteSize}} instead of the uncompressed size.  This looks incorrect.
> {code:java|title=ParquetFileWriter}
> private BlockMetaData currentBlock;
> ...
> public void appendRowGroup(SeekableInputStream from, BlockMetaData rowGroup,
> boolean dropColumns) throws IOException {
> ...
> currentBlock.setTotalByteSize(blockCompressedSize);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (PARQUET-1514) ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes

2019-01-27 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR reassigned PARQUET-1514:


Assignee: BELUGA BEHR

> ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes
> 
>
> Key: PARQUET-1514
> URL: https://issues.apache.org/jira/browse/PARQUET-1514
> Project: Parquet
>  Issue Type: Bug
>Reporter: BELUGA BEHR
>Assignee: BELUGA BEHR
>Priority: Minor
>
> As I understand it, the class {{BlockMetaData}} has a {{getTotalByteSize}} 
> and a {{getCompressedSize}}.  However, in the case of {{ParquetFileWriter}}, 
> there is one place where the compressed size is being written into 
> {{totalByteSize}} instead of the uncompressed size.  This looks incorrect.
> {code:java|title=ParquetFileWriter}
> private BlockMetaData currentBlock;
> ...
> public void appendRowGroup(SeekableInputStream from, BlockMetaData rowGroup,
> boolean dropColumns) throws IOException {
> ...
> currentBlock.setTotalByteSize(blockCompressedSize);
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1514) ParquetFileWriter Records Compressed Bytes instead of Uncompressed Bytes

2019-01-27 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1514:


 Summary: ParquetFileWriter Records Compressed Bytes instead of 
Uncompressed Bytes
 Key: PARQUET-1514
 URL: https://issues.apache.org/jira/browse/PARQUET-1514
 Project: Parquet
  Issue Type: Bug
Reporter: BELUGA BEHR


As I understand it, the class {{BlockMetaData}} has a {{getTotalByteSize}} and 
a {{getCompressedSize}}.  However, in the case of {{ParquetFileWriter}}, there 
is one place where the compressed size is being written into {{totalByteSize}} 
instead of the uncompressed size.  This looks incorrect.

{code:java|title=ParquetFileWriter}
private BlockMetaData currentBlock;
...
public void appendRowGroup(SeekableInputStream from, BlockMetaData rowGroup,
boolean dropColumns) throws IOException {
...
currentBlock.setTotalByteSize(blockCompressedSize);
}
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1513) HiddenFileFilter Streamline

2019-01-27 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1513:


 Summary: HiddenFileFilter Streamline
 Key: PARQUET-1513
 URL: https://issues.apache.org/jira/browse/PARQUET-1513
 Project: Parquet
  Issue Type: Improvement
  Components: parquet-mr
Reporter: BELUGA BEHR


{code:java}
  public boolean accept(Path p) {
return !p.getName().startsWith("_") && !p.getName().startsWith(".");
  }
{code}

This can be streamlined a bit further.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1509) Update Docs for Hive Deprecation

2019-01-25 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1509:


 Summary: Update Docs for Hive Deprecation
 Key: PARQUET-1509
 URL: https://issues.apache.org/jira/browse/PARQUET-1509
 Project: Parquet
  Issue Type: Improvement
Reporter: BELUGA BEHR


Update docs to state that Hive integration is now deprecated. [PARQUET-1447]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1505) Use Java 7 NIO StandardCharsets

2019-01-23 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1505:
-
Summary: Use Java 7 NIO StandardCharsets  (was: Use Java 8 NIO 
StandardCharsets)

> Use Java 7 NIO StandardCharsets
> ---
>
> Key: PARQUET-1505
> URL: https://issues.apache.org/jira/browse/PARQUET-1505
> Project: Parquet
>  Issue Type: Improvement
>Reporter: BELUGA BEHR
>Priority: Major
>
> Starting with Java 1.7, all JVMs need to support UTF-8 encoding.  Using NIO 
> {{StandardCharsets}} removes need to catch {{UnsupportedEncodingException}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1505) Use Java 8 NIO StandardCharsets

2019-01-23 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1505:


 Summary: Use Java 8 NIO StandardCharsets
 Key: PARQUET-1505
 URL: https://issues.apache.org/jira/browse/PARQUET-1505
 Project: Parquet
  Issue Type: Improvement
Reporter: BELUGA BEHR


Starting with Java 1.7, all JVMs need to support UTF-8 encoding.  Using NIO 
{{StandardCharsets}} removes need to catch {{UnsupportedEncodingException}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1503) Remove Ints Utility Class

2019-01-22 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1503:


 Summary: Remove Ints Utility Class
 Key: PARQUET-1503
 URL: https://issues.apache.org/jira/browse/PARQUET-1503
 Project: Parquet
  Issue Type: Improvement
Affects Versions: 1.9.0
Reporter: BELUGA BEHR


{code:java}
  public static int checkedCast(long value) {
int valueI = (int) value;
if (valueI != value) {
  throw new IllegalArgumentException(String.format("Overflow casting %d to 
an int", value));
}
return valueI;
  }
{code}

[Link 
Here|https://github.com/apache/parquet-mr/blob/dc61e510126aaa1a95a46fe39bf1529f394147e9/parquet-common/src/main/java/org/apache/parquet/Ints.java#L35]

Now that the Parquet-MR project uses Java 1.8, this method can now be replaced 
with Java {{Math}} class and {{toIntExact}} method.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (PARQUET-1447) MapredParquetOutputFormat - Save Some Array Allocations

2019-01-08 Thread BELUGA BEHR (JIRA)


[ 
https://issues.apache.org/jira/browse/PARQUET-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16737214#comment-16737214
 ] 

BELUGA BEHR commented on PARQUET-1447:
--

[~rdblue] Can you please update [https://github.com/apache/parquet-mr] README 
file to reflect this information?

> MapredParquetOutputFormat - Save Some Array Allocations
> ---
>
> Key: PARQUET-1447
> URL: https://issues.apache.org/jira/browse/PARQUET-1447
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-mr
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Assignee: Ryan Blue
>Priority: Minor
>  Labels: pull-request-available
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Reopened] (PARQUET-1445) Remove Files.java

2019-01-07 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR reopened PARQUET-1445:
--

> Remove Files.java
> -
>
> Key: PARQUET-1445
> URL: https://issues.apache.org/jira/browse/PARQUET-1445
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-mr
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1445.1.patch
>
>
> bq. TODO: Use java.nio.file.Files when Parquet is updated to Java 7
> https://github.com/apache/parquet-mr/blob/dc61e510126aaa1a95a46fe39bf1529f394147e9/parquet-common/src/main/java/org/apache/parquet/Files.java#L31



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1447) MapredParquetOutputFormat - Save Some Array Allocations

2019-01-07 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1447:
-
Attachment: (was: PARQUET-1447.1.patch)

> MapredParquetOutputFormat - Save Some Array Allocations
> ---
>
> Key: PARQUET-1447
> URL: https://issues.apache.org/jira/browse/PARQUET-1447
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-mr
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
>  Labels: pull-request-available
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1444) Prefer ArrayList over LinkedList

2019-01-06 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1444:
-
Summary: Prefer ArrayList over LinkedList  (was: 
BufferedProtocolReadToWrite Prefer ArrayList over LinkedList)

> Prefer ArrayList over LinkedList
> 
>
> Key: PARQUET-1444
> URL: https://issues.apache.org/jira/browse/PARQUET-1444
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-thrift
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1444.1.patch
>
>
> https://stackoverflow.com/questions/322715/when-to-use-linkedlist-over-arraylist-in-java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1446) Review FilteringRecordMaterializer.java

2018-12-02 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1446:
-
Description: * Remove two methods and replace with Java 8 stream facility.

> Review FilteringRecordMaterializer.java
> ---
>
> Key: PARQUET-1446
> URL: https://issues.apache.org/jira/browse/PARQUET-1446
> Project: Parquet
>  Issue Type: Improvement
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1446.1.patch
>
>
> * Remove two methods and replace with Java 8 stream facility.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1446) Review FilteringRecordMaterializer.java

2018-12-02 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1446:
-
Environment: (was: * Remove two methods and replace with Java 8 stream 
facility.)

> Review FilteringRecordMaterializer.java
> ---
>
> Key: PARQUET-1446
> URL: https://issues.apache.org/jira/browse/PARQUET-1446
> Project: Parquet
>  Issue Type: Improvement
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1446.1.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1448) Review of ParquetFileReader

2018-10-18 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1448:


 Summary: Review of ParquetFileReader
 Key: PARQUET-1448
 URL: https://issues.apache.org/jira/browse/PARQUET-1448
 Project: Parquet
  Issue Type: Improvement
Affects Versions: 1.9.0
Reporter: BELUGA BEHR
 Attachments: PARQUET-1448.1.patch

* Pre-Size {{ArrayList}} objects
* Improve code readability
* Fix some check-style issues
* Improve use of {{Collections}} and {{Map}} API



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1446) Review FilteringRecordMaterializer.java

2018-10-18 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1446:
-
Attachment: PARQUET-1446.1.patch

> Review FilteringRecordMaterializer.java
> ---
>
> Key: PARQUET-1446
> URL: https://issues.apache.org/jira/browse/PARQUET-1446
> Project: Parquet
>  Issue Type: Improvement
>Affects Versions: 1.9.0
> Environment: * Remove two methods and replace with Java 8 stream 
> facility.
>Reporter: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1446.1.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1445) Remove Files.java

2018-10-17 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1445:
-
Attachment: PARQUET-1445.1.patch

> Remove Files.java
> -
>
> Key: PARQUET-1445
> URL: https://issues.apache.org/jira/browse/PARQUET-1445
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-mr
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1445.1.patch
>
>
> bq. TODO: Use java.nio.file.Files when Parquet is updated to Java 7
> https://github.com/apache/parquet-mr/blob/dc61e510126aaa1a95a46fe39bf1529f394147e9/parquet-common/src/main/java/org/apache/parquet/Files.java#L31



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1445) Remove Files.java

2018-10-17 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1445:
-
Attachment: PARQUET-1445.1.patch

> Remove Files.java
> -
>
> Key: PARQUET-1445
> URL: https://issues.apache.org/jira/browse/PARQUET-1445
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-mr
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
>
> bq. TODO: Use java.nio.file.Files when Parquet is updated to Java 7
> https://github.com/apache/parquet-mr/blob/dc61e510126aaa1a95a46fe39bf1529f394147e9/parquet-common/src/main/java/org/apache/parquet/Files.java#L31



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1445) Remove Files.java

2018-10-17 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1445:
-
Attachment: (was: PARQUET-1445.1.patch)

> Remove Files.java
> -
>
> Key: PARQUET-1445
> URL: https://issues.apache.org/jira/browse/PARQUET-1445
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-mr
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
>
> bq. TODO: Use java.nio.file.Files when Parquet is updated to Java 7
> https://github.com/apache/parquet-mr/blob/dc61e510126aaa1a95a46fe39bf1529f394147e9/parquet-common/src/main/java/org/apache/parquet/Files.java#L31



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1445) Remove Files.java

2018-10-17 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1445:


 Summary: Remove Files.java
 Key: PARQUET-1445
 URL: https://issues.apache.org/jira/browse/PARQUET-1445
 Project: Parquet
  Issue Type: Improvement
  Components: parquet-mr
Affects Versions: 1.9.0
Reporter: BELUGA BEHR


bq. TODO: Use java.nio.file.Files when Parquet is updated to Java 7

https://github.com/apache/parquet-mr/blob/dc61e510126aaa1a95a46fe39bf1529f394147e9/parquet-common/src/main/java/org/apache/parquet/Files.java#L31



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1444) BufferedProtocolReadToWrite Prefer ArrayList over LinkedList

2018-10-16 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1444:
-
Attachment: PARQUET-1444.1.patch

> BufferedProtocolReadToWrite Prefer ArrayList over LinkedList
> 
>
> Key: PARQUET-1444
> URL: https://issues.apache.org/jira/browse/PARQUET-1444
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-thrift
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1444.1.patch
>
>
> https://stackoverflow.com/questions/322715/when-to-use-linkedlist-over-arraylist-in-java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (PARQUET-1443) ColumnChunkPageReader Clean Up

2018-10-16 Thread BELUGA BEHR (JIRA)


 [ 
https://issues.apache.org/jira/browse/PARQUET-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

BELUGA BEHR updated PARQUET-1443:
-
Flags: Patch

> ColumnChunkPageReader Clean Up
> --
>
> Key: PARQUET-1443
> URL: https://issues.apache.org/jira/browse/PARQUET-1443
> Project: Parquet
>  Issue Type: Improvement
>  Components: parquet-mr
>Affects Versions: 1.9.0
>Reporter: BELUGA BEHR
>Priority: Minor
> Attachments: PARQUET-1443.1.patch
>
>
> * Remove unused imports
> * Remove unused Logger
> * Use an {{ArrayDeque}} instead of a {{LinkedList}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (PARQUET-1443) ColumnChunkPageReader Clean Up

2018-10-16 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created PARQUET-1443:


 Summary: ColumnChunkPageReader Clean Up
 Key: PARQUET-1443
 URL: https://issues.apache.org/jira/browse/PARQUET-1443
 Project: Parquet
  Issue Type: Improvement
  Components: parquet-mr
Affects Versions: 1.9.0
Reporter: BELUGA BEHR
 Attachments: PARQUET-1443.1.patch

* Remove unused imports
* Remove unused Logger
* Use an {{ArrayDeque}} instead of a {{LinkedList}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)