Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5587

Validate Parquet blockSize and pageSize configured with SYSTEM/SESSION option

    Details

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ppenumarthy Padma Penumarthy
                Reporter:
                ppenumarthy Padma Penumarthy
                Reviewer:
                Paul Rogers
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: