azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

[Tables] Add copy data between table and blob samples

Open YalinLi0312 opened this issue 3 years ago • 1 comments

For issue: https://github.com/Azure/azure-sdk-for-python/issues/19974

  • Added table copy samples
  • Checked and fixed typos and bugs in the rest of files under samples

YalinLi0312 avatar Jul 12 '22 02:07 YalinLi0312

API change check

API changes are not detected in this pull request.

azure-sdk avatar Jul 12 '22 02:07 azure-sdk

Updates since the last one:

  1. Added setup functions for tables and blobs, btw, the two tests are still independent.
  2. Added 10 entities/blobs to a table/container instead of one
  3. Checked other files under samples, addressed some typos/imports/missing tests etc.

YalinLi0312 avatar Aug 19 '22 22:08 YalinLi0312

Main updates: datetime, uuid and bytes types are not JSON serializable, to make entity object serializable to JSON string when uploading to blob, I stored iso format of datetime, uuid.hex, decoded bytes as strings in blob. They will transfer to their original types when downloading.

YalinLi0312 avatar Aug 30 '22 16:08 YalinLi0312