Skip to content

[Tables] Refactor error processing mechanism #31304

@YalinLi0312

Description

@YalinLi0312

The ideal way is able to process Storage tables and Cosmos tables independently.
We will start from test coverage check:

  • Check test coverage in error.py:
    • make sure we have recorded tests for both storage and cosmos for every condition check in functions like _validate_tablename_error, _decode_error and _reprocess_error.
    • split processing logic into storage and cosmos when possible.
  • Check test coverage in credential combinations:
    Tables now support three credential types and None. Make sure we have recorded tests for three credential types and None on both storage and cosmos. For AzureSasCredential, should having an extra test which including sas_token in endpoint and credential provided at the same time.
  • Check test coverage in secondary account host

cc: @annatisch

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Tables

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions