【发布时间】:2020-12-04 02:43:35
【问题描述】:
我有代码
从file:///DepartmentsHeadless.csv AS 行加载 CSV
WITH toInteger(row[2]) AS DeptChair, row[1] AS DeptName, (row[0]) AS DeptPrefix
返回 DeptPrefix、DeptName、DeptChair
并尝试使用反引号、单引号和双引号将 file:///.....csv 括起来,并收到“无法在 file:/C:/... 加载外部资源”的消息.. 使用正确的路径一直到我的导入文件夹中的文件。
有时(带有反引号)我得到:变量file:///DepartmentsHeadless.csv未定义(第1行,第15列(偏移量:14))
"从file:///DepartmentsHeadless.csv AS 行加载 CSV"
【问题讨论】: