You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Padma Penumarthy (JIRA)" <ji...@apache.org> on 2017/06/14 05:11:00 UTC
[jira] [Created] (DRILL-5587) Validate Parquet blockSize and
pageSize configured with SYSTEM/SESSION option
Padma Penumarthy created DRILL-5587:
---------------------------------------
Summary: Validate Parquet blockSize and pageSize configured with SYSTEM/SESSION option
Key: DRILL-5587
URL: https://issues.apache.org/jira/browse/DRILL-5587
Project: Apache Drill
Issue Type: Bug
Components: Storage - Parquet
Affects Versions: 1.10.0
Reporter: Padma Penumarthy
Assignee: Padma Penumarthy
Fix For: 1.11.0
We can set Parquet blockSize, pageSize and dictionary pageSize to any value. It uses LongValidator which is not exactly validating the value. Since all these sizes are used as int in the code, even though user is able to set them to any value (could be greater than MAXINT and/or negative), parsing the value later in the code as int can throw an error. Instead, restrict the value that can be set to MAXINT.
There is a bug open for validating system/session options in general. https://issues.apache.org/jira/browse/DRILL-2478
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)