2
我試圖在我的卡桑德拉表中插入特殊字符,但我無法插入它。 Inserting data in table with umlaut is not possible 正如鏈接中提到的,我嘗試過上面的鏈接,即使我的字符集是UTF8提到的。我無法插入。我用引號也仍然沒有工作插入特殊字符
CREATE TABLE test.calendar (
race_id int,
race_start_date timestamp,
race_end_date timestamp,
race_name text,
PRIMARY KEY (race_id, race_start_date, race_end_date)
) WITH CLUSTERING ORDER BY (race_start_date ASC, race_end_date ASC
insert into test.calendar (race_id, race_start_date , race_end_date , race_name) values (501,2016-02-18 05:00:00+0000 ,2016-02-22 05:00:00+0000 ,'Hotel in der Nähe von mir');
ERROR MESSAGE :
SyntaxException: <ErrorMessage code=2000 [Syntax error in CQL query] message="line 1:99 mismatched input '-02' expecting ')' (...race_name) values (501,2016[-02]-18...)">