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

Code Refactoring: Move delta-sharing-client out as a separate directory #334

Merged
merged 11 commits into from
Jun 28, 2023

Conversation

linzhou-db
Copy link
Collaborator

Code Refactoring: Move delta-sharing-client out as a separate directory

@@ -14,7 +14,7 @@
* limitations under the License.
*/

package io.delta.sharing.spark.util
package io.delta.sharing.client.util
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems odd. These are all spark confs. Why should they belong int the client?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ConfUtils is actually used by DeltaSharingFileSystem, and used to initialize DeltaSharingRestClient in RemoteDeltaLog, I'll refactor that later as well.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Having DeltaSharingFileSystem in the client seems a bit odd.
Why do we need it in the client?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It was discussed in the design doc actually.
delta-sharing-client serves two main purposes: 1) DeltaSharingClient to handle http requests/responses 2) DeltaSharingFileSystem to handle reading data out of pre-signed urls.

@linzhou-db linzhou-db merged commit c0370ca into delta-io:main Jun 28, 2023
4 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.

3 participants