从Azure Data Lake Store .NET SDK创建文件 [英] Create File From Azure Data Lake Store .NET SDK
问题描述
我在文档中找不到关于此的任何参考.我的问题很简单,如何从.net sdk在数据湖存储中创建文件(例如,在路径/Test/test.csv中创建test.csv).有没有办法做到这一点,或者从字节或字符串内容(其他上传参数类,其第一个参数不是源文件的路径,而是我要发送到数据湖存储的内容)中创建文件.
I can't find any refrence in documentation about that. My question is simple, how to create file in data lake store from .net sdk ( for example create test.csv in path /Test/test.csv ). Is there any way to do this, or moreover create file from byte or string content ( some other upload parameter class which first argument is not path to source file, but content which i want send to data lake store ).
推荐答案
以下是解释如何创建文件的参考文章: FileSystemOperationsExtensions.Create方法
Here is the reference article that explains how to create a file: FileSystemOperationsExtensions.Create Method
如果您尚未看到它,那么这是.NET SDK的一个很好的起点:
If you have not already seen it, this is a good starting point on the .NET SDK: https://docs.microsoft.com/en-us/azure/data-lake-store/data-lake-store-get-started-net-sdk
这篇关于从Azure Data Lake Store .NET SDK创建文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!