Julien Le Dem created PARQUET-685:
-------------------------------------

             Summary: Deprecated ParquetInputSplit constructor passes 
parameters in the wrong order.
                 Key: PARQUET-685
                 URL: https://issues.apache.org/jira/browse/PARQUET-685
             Project: Parquet
          Issue Type: Bug
            Reporter: Julien Le Dem


https://github.com/apache/parquet-mr/blob/255f10834a67cf13518316de0e2c8a345677ebbf/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputSplit.java#L92
{noformat}
  @Deprecated
  public ParquetInputSplit(
      Path path,
      long start,
      long length,
      String[] hosts,
      List<BlockMetaData> blocks,
      String requestedSchema,
      String fileSchema,
      Map<String, String> extraMetadata,
      Map<String, String> readSupportMetadata) {
    this(path, start, length, end(blocks, requestedSchema), hosts, 
offsets(blocks));
  }
{noformat}
this() refers to the following:
https://github.com/apache/parquet-mr/blob/255f10834a67cf13518316de0e2c8a345677ebbf/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputSplit.java#L163
{noformat}
  public ParquetInputSplit(
      Path file, long start, long end, long length, String[] hosts,
      long[] rowGroupOffsets) {
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to