问题 Suppose my table looks something like: Col1 Col2 Col3.....Col20 Col21 Now I want to select all but Col21. I want to change it to unix_timestamp() before I insert into some other table. So the trivial approach is to do something like: INSERT INTO newtable partition(Col21) SELECT Col1, Col2, Col3.....Col20, unix_timestamp() AS Col21 FROM oldTable Is there a way I can achieve this in hive? Thanks a lot for your help! 回答1: Try to setup the below property set hive.support.quoted.identifiers=none;