Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MINOR: [C++][Parquet] Fix some comments and style in Statistics #33996

Merged
merged 2 commits into from
Feb 8, 2023

Conversation

mapleFU
Copy link
Member

@mapleFU mapleFU commented Feb 2, 2023

Rationale for this change

Statistics uses some virtual functions in constructor, so here I change it to explicit call rather than implicit virtual fn call. And I also fixed some comments typo

What changes are included in this PR?

Some code style and comment fix in parquet statistics

Are these changes tested?

No, and no tests are need.

Are there any user-facing changes?

no

@mapleFU mapleFU marked this pull request as ready for review February 2, 2023 08:48
@mapleFU mapleFU requested a review from wjones127 as a code owner February 2, 2023 08:48
@mapleFU
Copy link
Member Author

mapleFU commented Feb 2, 2023

@pitrou Mind take a look? This patch is small and didn't change any impl logics...

@pitrou pitrou changed the title MINOR: [C++][Parquet] Parquet Statistics fix some comments and style MINOR: [C++][Parquet] Fix some comments and style in Statistics Feb 2, 2023
@pitrou
Copy link
Member

pitrou commented Feb 2, 2023

@wgtmac @emkornfield Would you like to comment on this? The changes look fine to me on the principle.

@wgtmac
Copy link
Member

wgtmac commented Feb 2, 2023

@wgtmac @emkornfield Would you like to comment on this? The changes look fine to me on the principle.

Looking good on my side.

@mapleFU
Copy link
Member Author

mapleFU commented Feb 8, 2023

@pitrou @wjones127 Mind take a look?

@wjones127 wjones127 merged commit 3e7b7e0 into apache:master Feb 8, 2023
@ursabot
Copy link

ursabot commented Feb 8, 2023

Benchmark runs are scheduled for baseline = 39bad54 and contender = 3e7b7e0. 3e7b7e0 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Failed ⬇️0.0% ⬆️0.0%] ec2-t3-xlarge-us-east-2
[Failed ⬇️0.83% ⬆️0.0%] test-mac-arm
[Failed ⬇️0.0% ⬆️0.0%] ursa-i9-9960x
[Finished ⬇️0.16% ⬆️0.03%] ursa-thinkcentre-m75q
Buildkite builds:
[Failed] 3e7b7e0b ec2-t3-xlarge-us-east-2
[Failed] 3e7b7e0b test-mac-arm
[Failed] 3e7b7e0b ursa-i9-9960x
[Finished] 3e7b7e0b ursa-thinkcentre-m75q
[Failed] 39bad544 ec2-t3-xlarge-us-east-2
[Failed] 39bad544 test-mac-arm
[Failed] 39bad544 ursa-i9-9960x
[Finished] 39bad544 ursa-thinkcentre-m75q
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

@ursabot
Copy link

ursabot commented Feb 8, 2023

['Python', 'R'] benchmarks have high level of regressions.
test-mac-arm

sjperkins pushed a commit to sjperkins/arrow that referenced this pull request Feb 10, 2023
…he#33996)

### Rationale for this change

Statistics uses some virtual functions in constructor, so here I change it to explicit call rather than implicit virtual fn call. And I also fixed some comments typo

### What changes are included in this PR?

Some code style and comment fix in parquet statistics

### Are these changes tested?

No, and no tests are need.

### Are there any user-facing changes?

no

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Will Jones <willjones127@gmail.com>
@emkornfield
Copy link
Contributor

Apologies, seems OK to me, not clear exactly why we prefer full references to the static methods?

@mapleFU
Copy link
Member Author

mapleFU commented Feb 13, 2023

Apologies, seems OK to me, not clear exactly why we prefer full references to the static methods?

Personally it's confusing. Calling "virtual" method in dtor and ctor is not virtual. But user is easy to take it as virtual.

gringasalpastor pushed a commit to gringasalpastor/arrow that referenced this pull request Feb 17, 2023
…he#33996)

### Rationale for this change

Statistics uses some virtual functions in constructor, so here I change it to explicit call rather than implicit virtual fn call. And I also fixed some comments typo

### What changes are included in this PR?

Some code style and comment fix in parquet statistics

### Are these changes tested?

No, and no tests are need.

### Are there any user-facing changes?

no

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Will Jones <willjones127@gmail.com>
fatemehp pushed a commit to fatemehp/arrow that referenced this pull request Feb 24, 2023
…he#33996)

### Rationale for this change

Statistics uses some virtual functions in constructor, so here I change it to explicit call rather than implicit virtual fn call. And I also fixed some comments typo

### What changes are included in this PR?

Some code style and comment fix in parquet statistics

### Are these changes tested?

No, and no tests are need.

### Are there any user-facing changes?

no

Authored-by: mwish <maplewish117@gmail.com>
Signed-off-by: Will Jones <willjones127@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants