Skip to content

Conversation

@gengliangwang
Copy link
Member

What changes were proposed in this pull request?

In #21145, DataReaderFactory is renamed to InputPartition.

This PR is to revise wording in the comments to make it more clear.

How was this patch tested?

None

@gengliangwang
Copy link
Member Author

@rdblue @cloud-fan

@SparkQA
Copy link

SparkQA commented May 15, 2018

Test build #90620 has finished for PR 21326 at commit 76a116a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

* Note that if a host name cannot be recognized by Spark, it will be ignored as it was not in
* the returned locations. By default this method returns empty string array, which means this
* task has no location preference.
* data reader has no location preference.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

input partition

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or this input partition's reader

@cloud-fan
Copy link
Contributor

lgtm except one comment

@SparkQA
Copy link

SparkQA commented May 15, 2018

Test build #90649 has finished for PR 21326 at commit a5bfc1b.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 15, 2018

Test build #90650 has finished for PR 21326 at commit f571750.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@cloud-fan
Copy link
Contributor

thanks, merging to master!

@asfgit asfgit closed this in 6fb7d6c May 16, 2018
* Returns a list of read tasks. Each task is responsible for creating a data reader to
* output data for one RDD partition. That means the number of tasks returned here is same as
* the number of RDD partitions this scan outputs.
* Returns a list of {@link InputPartition}s. Each {@link InputPartition} is responsible for
Copy link
Contributor

@rdblue rdblue May 21, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Instead of {@link InputPartition}s use {@link InputPartition partitions} to add the plural. That avoids awkward formatting and links that are missing 's'.

@rdblue
Copy link
Contributor

rdblue commented May 21, 2018

Belated +1.

In the future, I think it is better for readable docs to pluralize linked terms as I suggested in a comment.

jzhuge pushed a commit to jzhuge/spark that referenced this pull request Mar 7, 2019
## What changes were proposed in this pull request?

In apache#21145,  DataReaderFactory is renamed to InputPartition.

This PR is to revise wording in the comments to make it more clear.

## How was this patch tested?

None

Author: Gengliang Wang <gengliang.wang@databricks.com>

Closes apache#21326 from gengliangwang/revise_reader_comments.

(cherry picked from commit 6fb7d6c)
rdblue pushed a commit to rdblue/spark that referenced this pull request Apr 3, 2019
## What changes were proposed in this pull request?

In apache#21145,  DataReaderFactory is renamed to InputPartition.

This PR is to revise wording in the comments to make it more clear.

## How was this patch tested?

None

Author: Gengliang Wang <gengliang.wang@databricks.com>

Closes apache#21326 from gengliangwang/revise_reader_comments.
jzhuge pushed a commit to jzhuge/spark that referenced this pull request Oct 15, 2019
## What changes were proposed in this pull request?

In apache#21145,  DataReaderFactory is renamed to InputPartition.

This PR is to revise wording in the comments to make it more clear.

## How was this patch tested?

None

Author: Gengliang Wang <gengliang.wang@databricks.com>

Closes apache#21326 from gengliangwang/revise_reader_comments.

(cherry picked from commit 6fb7d6c)
otterc pushed a commit to linkedin/spark that referenced this pull request Mar 22, 2023
In apache#21145,  DataReaderFactory is renamed to InputPartition.

This PR is to revise wording in the comments to make it more clear.

None

Author: Gengliang Wang <gengliang.wang@databricks.com>

Closes apache#21326 from gengliangwang/revise_reader_comments.

Ref: LIHADOOP-48531
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants