当我尝试在 Hive 中插入数据时,我得到了 ParseException

问题描述 投票:0回答:0

这样的问题

请帮我解决这个问题。

 CREATE TABLE IF NOT EXISTS student(
    > Student_Name STRING,
    > Student_Rollno INT,
    > Student_Marks FLOAT)
    > ROW FORMAT DELIMITED
    > FIELDS TERMINATED BY ',';
OK
Time taken: 0.667 seconds
hive> INSERT INTO TABLE student VALUES ('Dikshant',1,'95'),('Akshat', 2 , '96'),                               ('Dhruv',3,'90');
NoViableAltException(26@[])

FAILED: ParseException line 1:26 cannot recognize input near 'VALUES' '(' ''Diks                               hant'' in select clause

mongodb hadoop hive apache-pig chukwa
© www.soinside.com 2019 - 2024. All rights reserved.