Uploaded image for project: 'Parquet'
  1. Parquet
  2. PARQUET-685

Deprecated ParquetInputSplit constructor passes parameters in the wrong order.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9.0, 1.8.2
    • Component/s: None
    • Labels:
      None

      Description

      https://github.com/apache/parquet-mr/blob/255f10834a67cf13518316de0e2c8a345677ebbf/parquet-hadoop/src/main/java/org/apache/parquet/hadoop/ParquetInputSplit.java#L92

        @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));
        }
      

      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

        public ParquetInputSplit(
            Path file, long start, long end, long length, String[] hosts,
            long[] rowGroupOffsets) {
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gszadovszky Gabor Szadovszky
                Reporter:
                julienledem Julien Le Dem
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: