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

[flink] Remove scan.push-down support which should be supported by Flink #4224

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

JingsongLi
Copy link
Contributor

Purpose

The scan.push-down makes source codes very complicate, it should be supported by Flink SQL instead of Paimon.

In this PR, we remove it, if the user have requirement, he should ask Flink community to support this.

Tests

API and Format

Documentation

import java.util.List;

/** A {@link BaseDataTableSource} for Flink 1.15. */
public class DataTableSource extends BaseDataTableSource {
Copy link
Contributor

Choose a reason for hiding this comment

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

BaseDataTableSource?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is a BaseDataTableSource, ref to self is meaningless.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK

* org.apache.flink.connector.base.source.hybrid.HybridSource} of {@code
* LogHybridSourceFactory.FlinkHybridFirstSource} and kafka log source created by {@link
* LogSourceProvider}.
* A {@link BaseDataTableSource} implements {@link SupportsStatisticReport} and {@link
Copy link
Contributor

Choose a reason for hiding this comment

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

Change BaseDataTableSource to DataTableSource?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is a BaseDataTableSource, ref to self is meaningless.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK

@@ -116,12 +116,6 @@
<td>Integer</td>
<td>Define a custom parallelism for the scan source. By default, if this option is not defined, the planner will derive the parallelism for each statement individually by also considering the global configuration. If user enable the scan.infer-parallelism, the planner will derive the parallelism by inferred parallelism.</td>
</tr>
<tr>
Copy link
Contributor

Choose a reason for hiding this comment

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

Cut scan.push-down in ContinuousFileStoreITCase.java.

@wwj6591812
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit a710041 into apache:master Sep 23, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants