我想在 hive 中创建一个表,里面的注释包括创建日期(current_timestamp 函数)。像这样的东西:
CREATE TABLE IF NOT EXISTS ex.tb_test ( field1 int, field2 String) COMMENT current_timestamp STORED AS TEXTFILE;
但它返回错误:ILED: ParseException line 2: 8 mismatched input 'current_timestamp' expecting StringLiteral near 'COMMENT'
你知道有什么方法可以在评论中添加表格的创建日期吗?