我正在尝试将一个“制表符分隔文件”中的数据插入到已经创建好的HIVE表中,该表名为“users”,其中已经建立了4个基本列。我正在使用以下命令:
load data local inpath 'D:\users.txt'
into table users;
在运行上述命令后,我收到了以下错误消息:
FAILED: SemanticException [Error 10028]: Line 1:23 Path is not legal ''D:\users.txt'': Source file system should be "file" if "local" is specified
我正在使用Windows 7,并通过PUTTY在Amazon Web Services上运行HIVE。 非常感谢您的帮助。TIA