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

Extends DeltaSharingProfileProvider to customize tablePath and refresher #223

Merged
merged 8 commits into from Dec 13, 2022

Conversation

linzhou-db
Copy link
Collaborator

Extends DeltaSharingProfileProvider to customize tablePath and refresher

@linzhou-db linzhou-db self-assigned this Dec 13, 2022
Copy link
Member

@zsxwing zsxwing left a comment

Choose a reason for hiding this comment

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

Overall this looks good to me. I left a comment unrelated to this PR

.register(params.path.toString, getIdToUrlMap, Seq(new WeakReference(this)), () => {
getIdToUrlMap
})

// We ignore partition filters for list files, since the delta sharing server already
Copy link
Member

Choose a reason for hiding this comment

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

We cannot ignore partition filters here. For streaming cases, this is okay as Spark doesn't support partition filter push down for streaming sources yet. But CDF batch queries, we need to apply the partition filters.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

But RemoteDeltaBatchFileIndex is used for the delta sharing streaming source?
Do you mean I need to apply the partition filters in RemoteDeltaCDFFileIndexBase.listFiles?

@linzhou-db linzhou-db merged commit d7728e4 into main Dec 13, 2022
@linzhou-db linzhou-db deleted the ES-526637 branch February 16, 2023 17:46
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.

None yet

2 participants