FOPEN不接受目录路径

时间:2018-10-04 17:20:24

标签: oracle csv

我在电话线上遇到问题

val src = new Path("hdfs://nameservicehost:8020/user/yxs7634/all.txt")

先前运行后

F := UTL_FILE.FOPEN('my_directory', 'MyCSV.csv', 'R');

成功。我收到的错误是

CREATE DIRECTORY my_directory AS 'C:\Users\timfo\eclipse-workspace\CSVCreation';

但我已确保用户具有以下权限:

ORA-29280: invalid directory path
ORA-06512: at "SYS.UTL_FILE", line 41
ORA-06512: at "SYS.UTL_FILE", line 478
ORA-06512: at line 9
29280. 00000 -  "invalid directory path"
*Cause:    A corresponding directory object does not exist.
*Action:   Correct the directory object parameter, or create a corresponding
       directory object with the CREATE DIRECTORY command.

,所有这些都成功了。我试过在FOPEN行中输入完整的目录路径,但这也不起作用。发生了什么事?

0 个答案:

没有答案