<i id='aITLy'><tr id='aITLy'><dt id='aITLy'><q id='aITLy'><span id='aITLy'><b id='aITLy'><form id='aITLy'><ins id='aITLy'></ins><ul id='aITLy'></ul><sub id='aITLy'></sub></form><legend id='aITLy'></legend><bdo id='aITLy'><pre id='aITLy'><center id='aITLy'></center></pre></bdo></b><th id='aITLy'></th></span></q></dt></tr></i><div id='aITLy'><tfoot id='aITLy'></tfoot><dl id='aITLy'><fieldset id='aITLy'></fieldset></dl></div>
      <legend id='aITLy'><style id='aITLy'><dir id='aITLy'><q id='aITLy'></q></dir></style></legend>
    1. <small id='aITLy'></small><noframes id='aITLy'>

    2. <tfoot id='aITLy'></tfoot>
        <bdo id='aITLy'></bdo><ul id='aITLy'></ul>

    3. .NET core/Python 从 Azure Storage Blob 读取前 X 行

      时间:2023-10-24

        <bdo id='Plx8p'></bdo><ul id='Plx8p'></ul>

          <tfoot id='Plx8p'></tfoot>

          1. <legend id='Plx8p'><style id='Plx8p'><dir id='Plx8p'><q id='Plx8p'></q></dir></style></legend>
                <tbody id='Plx8p'></tbody>
            1. <small id='Plx8p'></small><noframes id='Plx8p'>

                <i id='Plx8p'><tr id='Plx8p'><dt id='Plx8p'><q id='Plx8p'><span id='Plx8p'><b id='Plx8p'><form id='Plx8p'><ins id='Plx8p'></ins><ul id='Plx8p'></ul><sub id='Plx8p'></sub></form><legend id='Plx8p'></legend><bdo id='Plx8p'><pre id='Plx8p'><center id='Plx8p'></center></pre></bdo></b><th id='Plx8p'></th></span></q></dt></tr></i><div id='Plx8p'><tfoot id='Plx8p'></tfoot><dl id='Plx8p'><fieldset id='Plx8p'></fieldset></dl></div>
                本文介绍了.NET core/Python 从 Azure Storage Blob 读取前 X 行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我有一个大的 blob,我需要从中提取前几行.我可以在不打开整个文件的情况下执行此操作吗?

                I have a large blob which I need to extract the first few rows from. Can I do this without opening the entire file?

                文件采用已知格式(通常为 Excel,有时为 .csv 或 .tsv).

                The file is in a known format (typically Excel, sometimes .csv or .tsv).

                仅仅知道它是否可能会非常有帮助.在搜索 MS 和其他论坛时,我根据日期获得了不同的答案.谢谢!

                Just knowing if it is possible would be extremely helpful. I've obtained mixed answers, based on date, while searching MS and other forums. Thank you!

                推荐答案

                我有一个大的 blob,我需要从中提取前几行.我可以在不打开整个文件的情况下执行此操作吗?

                I have a large blob which I need to extract the first few rows from. Can I do this without opening the entire file?

                答案是肯定的和否定的.是的,你可以阅读部分内容,但是你不能阅读前几行.

                The answer is both yes and no. Yes, you can read partial contents however you can't read the first few lines.

                本质上,Blob 存储服务允许您执行范围读取,您可以在其中指定要读取的数据范围(起始字节和要读取的字节数).在请求中指定范围后,Azure 存储将仅返回这些字节.

                Essentially Blob Storage Service allows you to perform a range read where you can specify the range of data (starting bytes and number of bytes to read) that you want to read. Once the range is specified in the request, Azure Storage will only return those bytes.

                如果您使用的是 .Net SDK,请查看 DownloadStreaming 方法.

                If you're using .Net SDK, please look at DownloadStreaming method.

                这篇关于.NET core/Python 从 Azure Storage Blob 读取前 X 行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:如何在 Azure 函数应用中调用函数后动态更改内容 下一篇:Azure 函数抛出“参数无效";在大型 TIF 文件上调用 Image.FromStream

                相关文章

              • <tfoot id='LZ0tH'></tfoot>

              • <legend id='LZ0tH'><style id='LZ0tH'><dir id='LZ0tH'><q id='LZ0tH'></q></dir></style></legend>

                  • <bdo id='LZ0tH'></bdo><ul id='LZ0tH'></ul>

                    <small id='LZ0tH'></small><noframes id='LZ0tH'>

                  1. <i id='LZ0tH'><tr id='LZ0tH'><dt id='LZ0tH'><q id='LZ0tH'><span id='LZ0tH'><b id='LZ0tH'><form id='LZ0tH'><ins id='LZ0tH'></ins><ul id='LZ0tH'></ul><sub id='LZ0tH'></sub></form><legend id='LZ0tH'></legend><bdo id='LZ0tH'><pre id='LZ0tH'><center id='LZ0tH'></center></pre></bdo></b><th id='LZ0tH'></th></span></q></dt></tr></i><div id='LZ0tH'><tfoot id='LZ0tH'></tfoot><dl id='LZ0tH'><fieldset id='LZ0tH'></fieldset></dl></div>