Skip to content

Remove traits AsDataLakeClient and AsFileSystemClient #491

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

Merged
merged 7 commits into from
Nov 8, 2021

Conversation

thovoll
Copy link
Contributor

@thovoll thovoll commented Nov 4, 2021

This is a follow-up that came out of #358.

…n. Matches CosmosClient in that it doesn't use Arc anymore. Still uses Arc e.g. in StorageAccountClient.new_emulator which should probably be removed as well. e2e test passes.
@thovoll thovoll added the Data Lake Data Lake Storage label Nov 4, 2021
@thovoll thovoll requested a review from rylev November 4, 2021 12:56
@thovoll
Copy link
Contributor Author

thovoll commented Nov 4, 2021

@rylev this is the follow-up I promised in #358 and as discussed yesterday. I tried keeping this first commit as small as possible but I did include removing the use of Arc to match the CosmosDB crate. I'm new to Arc so particularly interested in feedback there; I should probably remove Arc from data_lake clients more broadly.

The e2e test passes with this commit.

@thovoll thovoll force-pushed the data_lake/remove_traits branch from 62be49f to 6e8a774 Compare November 4, 2021 13:57
…to_data_lake_client and into_file_system_client functions. Matches CosmosClient in that it doesn't use Arc and doesn't return Errors anymore. e2e test passes.
… function. Matches CosmosClient in that it doesn't use Arc anymore. Still uses Arc e.g. in StorageAccountClient.new_emulator which should probably be removed as well. e2e test passes."

This reverts commit d252f98
… can no longer create a DataLakeClient and callers must use DataLakeClient.new() instead.
@thovoll thovoll changed the title Removes traits like AsStorageClient Removes trait AsDataLakeClient Nov 5, 2021
@thovoll
Copy link
Contributor Author

thovoll commented Nov 5, 2021

I attempted to remove AsStorageClient but this impacts areas I don't want to change in this PR, e.g. queue. Reverted those changes and limiting PR to data_lake only.

@thovoll thovoll changed the title Removes trait AsDataLakeClient Removes traits AsDataLakeClient and AsFileSystemClient Nov 5, 2021
@thovoll thovoll changed the title Removes traits AsDataLakeClient and AsFileSystemClient Remove traits AsDataLakeClient and AsFileSystemClient Nov 5, 2021
Copy link
Contributor

@rylev rylev left a comment

Choose a reason for hiding this comment

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

I have one small nit that needs to be addressed, but then we can merge. Thank you!!

@thovoll thovoll requested a review from rylev November 5, 2021 19:45
@thovoll thovoll enabled auto-merge (squash) November 5, 2021 19:56
@thovoll thovoll disabled auto-merge November 5, 2021 19:56
Copy link
Contributor

@rylev rylev left a comment

Choose a reason for hiding this comment

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

🎉

@rylev rylev merged commit 8ea32f9 into Azure:main Nov 8, 2021
@thovoll thovoll deleted the data_lake/remove_traits branch November 9, 2021 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Lake Data Lake Storage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants