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

[Improve][Connector-V2] update vectorType #7446

Merged
merged 4 commits into from
Aug 24, 2024

Conversation

corgy-w
Copy link
Contributor

@corgy-w corgy-w commented Aug 21, 2024

Purpose of this pull request

issue : #7445

need wait pr: #7375 to be completed, some minor emendations are required.

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

@Hisoka-X Hisoka-X linked an issue Aug 21, 2024 that may be closed by this pull request
3 tasks
@corgy-w corgy-w force-pushed the update-vector-type branch from a93f7ed to 835e43b Compare August 21, 2024 07:09
@corgy-w corgy-w force-pushed the update-vector-type branch 2 times, most recently from 38605ac to abf9a6d Compare August 22, 2024 08:22
List<Float> vector = new ArrayList<>();
for (Object o : (Object[]) rs.getObject(fieldIndex)) {
vector.add(Float.parseFloat(o.toString()));
Object[] objects = (Object[]) rs.getObject(fieldIndex);
Copy link
Member

Choose a reason for hiding this comment

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

cc @xxsc0529 as well.

@corgy-w corgy-w force-pushed the update-vector-type branch from a6d9d5b to 7c10033 Compare August 23, 2024 06:17
Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @corgy-w

@hailin0 hailin0 merged commit 1bba723 into apache:dev Aug 24, 2024
5 checks passed
@corgy-w corgy-w deleted the update-vector-type branch August 24, 2024 05:10
hawk9821 pushed a commit to hawk9821/seatunnel that referenced this pull request Aug 29, 2024
hawk9821 pushed a commit to hawk9821/seatunnel that referenced this pull request Aug 29, 2024
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.

[Improve][API] Optimize vectorType
3 participants