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

Implement Flink ScanTableSource and LookupTableSource #213

Merged
merged 38 commits into from
May 11, 2023

Conversation

YuChangHui
Copy link
Contributor

@YuChangHui YuChangHui commented May 10, 2023

Close #194

@YuChangHui YuChangHui added enhancement New feature or request flink flink support into lakesoul labels May 11, 2023
<groupId>org.apache.flink</groupId>
<artifactId>flink-csv</artifactId>
<version>${flink.version}</version>
</dependency>
Copy link
Contributor

@Ceng23333 Ceng23333 May 11, 2023

Choose a reason for hiding this comment

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

Is flink-csv neccesary?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is flink-csv neccesary?

flink sqlclient exports parquet as csv file by flink-csv for k8s test

<artifactId>spark-sql_2.12</artifactId>
<version>3.3.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is is necessary for importing a full spark-sql_2.12 package for test?

FlinkUtil.setFSConfigs(conf, reader);
reader.initializeReader();
this.reader = new LakeSoulArrowReader(reader, 10000);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

partition value handling can be pushed down to Native

this.conf = null;
this.awaitTimeout = 10000;
this.curPartitionId = -1;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

parameter of LakeSoulPartitionReader should be configurable


@Override
public void addReader(int subtaskId) {

Copy link
Contributor

Choose a reason for hiding this comment

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

why do nothing here?

@xuchen-plus xuchen-plus merged commit 100015e into main May 11, 2023
@xuchen-plus xuchen-plus deleted the cherry-pick/flink_source branch May 11, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flink flink support into lakesoul
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Flink] Implement Table Source
6 participants