Azure / Azure/azure-storage-python

Add recoding possibility to create_blob_from_bytes

未关闭
#558 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
343
派生
243
PR 合并指标
30 天内没有已合并 PR

描述

### Which service(blob, file, queue) does this issue concern?
Blob

### What problem was encountered?

During the creation of a blob, it would be useful if you could add the encoding of the file ,together with the desired encoding. So if you have a file stored that is in big5 encoding, but you want it to be in utf-8, you would simple add two parameters and that could be used.

Currently, one has to re-encode the file themselves, which is sometimes time consuming with large files.

### Why should this be implemented?
To be able to create a table in azure sql dwh using polybase, the only allowed encodings are utf-8 and utf-16. This means you have to re-encode all the files yourself first before creation tables for these. But enabling this feature would make the process way easier, since then you would have them converted during uploading.

贡献指南

打开贡献指南

调研方向

从 create_blob_from_bytes 入口点开始,检查 blob 上传目前如何接收字节内容。定义源编码和目标编码参数,并验证转换是否在上传过程中发生,包括 Azure SQL PolyBase 所需的 UTF-8 和 UTF-16 格式。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, python
领域
cloud
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。