Skip to content

ADLS Gen2 API Implementation#8280

Merged
xiafu-msft merged 11 commits intoAzure:feature/adlsfrom
xiafu-msft:adls
Nov 7, 2019
Merged

ADLS Gen2 API Implementation#8280
xiafu-msft merged 11 commits intoAzure:feature/adlsfrom
xiafu-msft:adls

Conversation

@xiafu-msft
Copy link
Contributor

No description provided.

@adxsdk6
Copy link

adxsdk6 commented Oct 29, 2019

Can one of the admins verify this patch?

Copy link
Contributor

Choose a reason for hiding this comment

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

dfs should not be needed here, right? No changes should happen to the blob package

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think this will be used by from_connection_string, however probably secondary is not necessary?

Copy link
Contributor

Choose a reason for hiding this comment

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

TODO: update together

Copy link
Contributor

Choose a reason for hiding this comment

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

/samples/test_datalake_authentication_samples.py [](start = 30, length = 48)

wait, these don't exist yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

../samples/test_datalake_service_samples.py [](start = 32, length = 43)

rm these non-existing sample references?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can we leave it there and add later?

Copy link
Contributor

Choose a reason for hiding this comment

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

wouldn't they screw with the doc tool? since it's pointing to non-existing files

if it works fine,then I'm ok with keeping them


In reply to: 340894009 [](ancestors = 340894009)

Copy link
Contributor

Choose a reason for hiding this comment

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

get_user_delegation_key [](start = 8, length = 23)

add test

Copy link
Contributor

Choose a reason for hiding this comment

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

def process_storage_error(storage_error): [](start = 1, length = 42)

what's happening here?

Copy link
Contributor Author

@xiafu-msft xiafu-msft Oct 30, 2019

Choose a reason for hiding this comment

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

want to deserialize error from adls but haven't got time to add

Copy link
Contributor

Choose a reason for hiding this comment

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

although [](start = 57, length = 8)

minor: change although to "even if"

Copy link
Contributor

Choose a reason for hiding this comment

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

secondary [](start = 21, length = 9)

secondary is not supported for dfs

Copy link
Contributor

Choose a reason for hiding this comment

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

SECONDARY [](start = 4, length = 9)

DFS doesn't support secondary

Copy link
Contributor

Choose a reason for hiding this comment

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

fil [](start = 7, length = 4)

some comments would be nice!

Copy link
Contributor

Choose a reason for hiding this comment

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

create_file [](start = 8, length = 11)

Should delete_file be added too for consistency?

Copy link
Contributor

Choose a reason for hiding this comment

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

not relevant for DFS, can clean up later

Copy link
Contributor

Choose a reason for hiding this comment

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

can clean up later

Copy link
Contributor

@zezha-msft zezha-msft left a comment

Choose a reason for hiding this comment

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

:shipit:

@zezha-msft
Copy link
Contributor

Approved with suggestions. Double check that every API is covered by at least one test.

Copy link
Contributor

Choose a reason for hiding this comment

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

should we change this in fileshare and queue too?

Copy link
Contributor

Choose a reason for hiding this comment

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

We've since moved the blob samples from tests/ to their own samples/ folder

Download a file from your file system.

```python
from azure.storage.file.datalake import DataLakeFileClient
Copy link
Contributor

Choose a reason for hiding this comment

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

Did we decide to go with file.datalake or filedatalake?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we didn't 😢

.docsettings.yml Outdated
- ['sdk/storage/azure-storage-blob/swagger/README.md', '#4554']

- ['sdk/storage/azure-storage-file-datalake/swagger/README.md', '#4554']
-
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just previously there was also a minus sign, it didn't fail the readme test, weird 😄

@xiafu-msft xiafu-msft merged commit 03436aa into Azure:feature/adls Nov 7, 2019
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.

6 participants

Comments