Skip to content

Conversation

@llama90
Copy link
Contributor

@llama90 llama90 commented Dec 2, 2023

Rationale for this change

Remove legacy code

What changes are included in this PR?

  • Replace the legacy scalar CastTo implementation with the new cast compute kernel for supported types, without requiring additional casting logic for unsupported types.

Are these changes tested?

Yes. It is passed by existing test cases.

Are there any user-facing changes?

No.

@github-actions
Copy link

github-actions bot commented Dec 2, 2023

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

@llama90 llama90 marked this pull request as draft December 2, 2023 13:42
@llama90 llama90 force-pushed the feature/remove-scalar-regacy branch from 393021d to d5d26d1 Compare December 3, 2023 02:12
@llama90 llama90 marked this pull request as ready for review December 3, 2023 02:32
@llama90 llama90 requested a review from westonpace as a code owner December 3, 2023 02:32
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting review Awaiting review labels Dec 3, 2023
@kou kou changed the title GH-35560: [C++] Remove Scalar legacy cast implementation GH-35560: [C++] Use Cast() instead of CastTo() for Scalar in test Dec 3, 2023
@github-actions
Copy link

github-actions bot commented Dec 3, 2023

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

@llama90 llama90 force-pushed the feature/remove-scalar-regacy branch from fb31c68 to a9a7d0d Compare December 5, 2023 06:50
@llama90
Copy link
Contributor Author

llama90 commented Dec 5, 2023

Hello, @kou

I resolved a conflict that arose due to a commit related to timestamp casting.

@pitrou pitrou requested a review from bkietz December 5, 2023 16:29
@kou kou merged commit 7ccf6fd into apache:main Dec 6, 2023
@kou kou removed the awaiting merge Awaiting merge label Dec 6, 2023
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 7ccf6fd.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 1 possible false positive 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
…st (apache#39044)

### Rationale for this change

Remove legacy code

### What changes are included in this PR?

* Replace the legacy scalar `CastTo` implementation with the new cast compute kernel for supported types, without requiring additional casting logic for unsupported types.

### Are these changes tested?

Yes. It is passed by existing test cases.

### Are there any user-facing changes?

No.

* Closes: apache#35560

Authored-by: Hyunseok Seo <hsseo0501@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.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.

[C++] Remove Scalar legacy cast implementation

3 participants