SQL Server Polybase带有多个文件
我想使用polybase读取具有类似模式但文件名不同的CSV或XLSX文件的目录。文件名具有类似的“ objectxyz_yyyy-mm-dd”。 每天添加文件,我不想每个文件创建外部表。 我应该如何设置ODBC DSN和/或Polybase DataSource/外部表参数?
I want to use PolyBase to read a directory of csv or xlsx files with similar schemas but different file names. File names has pattern such 'subjectXYZ_yyyy-mm-dd'.
The files are added daily and I don't want to create an External Table per file.
How I should set ODBC DSN and/or PolyBase DataSource/External Tables parameters for this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Polybase / 外部表支持
LOCATION
参数中的单个文件名或文件夹,但文件必须具有相同的结构。使用CETAS的简单示例(但原理是相同的):Polybase / External tables support either single file names or folders in the
LOCATION
argument, but the files must be the same structure. A simple example using CETAS (but the principle is the same):