Skip to content

Refactor appendPath helper function to use Location#appendPath #25609

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chenjian2664
Copy link
Contributor

@chenjian2664 chenjian2664 commented Apr 17, 2025

Replace custom path concatenation logic with Location#appendPath for better consistency and to utilize the existing API. Deprecated annotation and comments are removed
as part of this cleanup.

Description

It's useful to have such utility method, so refactor instead of removing

Additional context and related issues

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

## Section
* Fix some things. ({issue}`issuenumber`)

@cla-bot cla-bot bot added the cla-signed label Apr 17, 2025
@chenjian2664 chenjian2664 marked this pull request as draft April 17, 2025 10:24
Replace custom path concatenation logic with `Location#appendPath`
for better consistency and to utilize the existing API.
Deprecated annotation and comments are removed
as part of this cleanup.
@chenjian2664 chenjian2664 marked this pull request as ready for review April 21, 2025 01:48
@chenjian2664 chenjian2664 requested review from electrum and ebyhr April 21, 2025 07:47
@ebyhr
Copy link
Member

ebyhr commented Apr 21, 2025

/test-with-secrets sha=e6b3590b80ce62471f92255668c1b91ba3be0e29

Copy link

github-actions bot commented Apr 21, 2025

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/14572731944

@chenjian2664
Copy link
Contributor Author

it's a bug?

[TestRedshiftUnloadTypeMapping.testTimestampWithTimeZoneOverflow: plugin/trino-redshift/src/test/java/io/trino/plugin/redshift/TestRedshiftUnloadTypeMapping.java#L1](https://github.com/trinodb/trino/commit/8f2f9a2785c3c139267e9141d098311d0a92cf28#annotation_33975032561)
Expected TrinoException or wrapper, but got: io.trino.testing.QueryFailedException io.trino.testing.QueryFailedException: Millis overflow: 9224318015999000

@ebyhr
Copy link
Member

ebyhr commented Apr 22, 2025

#25639 already fixed the failure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants