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

[Feature][core] support read arrow data #8137

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

Conversation

hawk9821
Copy link
Contributor

@hawk9821 hawk9821 commented Nov 25, 2024

Purpose of this pull request

support read arrow data, convert arrow data to SeatunnelRow. At present, doris connector and starrocks connector use arrow mode to read data and extract this part of logic.

Does this PR introduce any user-facing change?

doris connector source , starrocks connector source

How was this patch tested?

UT: Arrow2SeatunnelRowReaderTest#testSeatunnelRow
Arrow2SeatunnelRowReaderTest#testConvertArrowSpeed

Check list

@github-actions github-actions bot added dependencies Pull requests that update a dependency file connectors-v2 api labels Nov 25, 2024
import org.apache.seatunnel.shade.org.apache.arrow.vector.BigIntVector;
import org.apache.seatunnel.shade.org.apache.arrow.vector.types.Types;

public class BigIntConverter implements Converter<BigIntVector> {
Copy link
Member

Choose a reason for hiding this comment

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

I think move to connector-common module for now would be better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

get

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api connectors-v2 dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants