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

GH-38758: [C++][FS][Azure] Rename AzurePath to AzureLocation #38773

Merged
merged 1 commit into from
Nov 19, 2023

Conversation

kou
Copy link
Member

@kou kou commented Nov 18, 2023

Rationale for this change

It's for readability. AzurePath::path_to_file may refer a directory but its name includes file.

What changes are included in this PR?

Rename AzurePath to AzureLocation:

  • AzurePath::path_to_file -> AzureLocation::path
  • AzurePath::path_to_file_parts -> AzureLocation::path_parts
  • AzurePath::full_path -> AzureLocation::all

Are these changes tested?

Yes.

Are there any user-facing changes?

No.

It's for readability. AzurePath::path_to_file may be confused.
@github-actions github-actions bot added the awaiting committer review Awaiting committer review label Nov 18, 2023
Copy link

⚠️ GitHub issue #38758 has been automatically assigned in GitHub to PR creator.

@kou
Copy link
Member Author

kou commented Nov 18, 2023

@Tom-Newton @felipecrv You may want to review this.

Copy link
Contributor

@Tom-Newton Tom-Newton left a comment

Choose a reason for hiding this comment

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

Thanks

@kou
Copy link
Member Author

kou commented Nov 19, 2023

I'll merge this for following Azure related work.
If we need more work related to this, we can do it as a follow-up task.

@kou kou merged commit 46c226e into apache:main Nov 19, 2023
33 of 36 checks passed
@kou kou deleted the cpp-azure-fs-location branch November 19, 2023 01:56
@kou kou removed the awaiting committer review Awaiting committer review label Nov 19, 2023
Copy link

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit 46c226e.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 4 possible false positives for unstable benchmarks that are known to sometimes produce them.

dgreiss pushed a commit to dgreiss/arrow that referenced this pull request Feb 19, 2024
…pache#38773)

### Rationale for this change

It's for readability. `AzurePath::path_to_file` may refer a directory but its name includes `file`.

### What changes are included in this PR?

Rename `AzurePath` to `AzureLocation`:
* `AzurePath::path_to_file` -> `AzureLocation::path`
* `AzurePath::path_to_file_parts` -> `AzureLocation::path_parts`
* `AzurePath::full_path` -> `AzureLocation::all`

### Are these changes tested?

Yes.

### Are there any user-facing changes?

No.
* Closes: apache#38758

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
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.

[C++][FS][Azure] Rename AzurePath to AzureLocation
2 participants