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

Deprecated ParquetInputSplit constructor passes parameters in the wrong order.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0, 1.8.2
    • None
    • 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

              gszadovszky Gabor Szadovszky
              julienledem Julien Le Dem
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: