티스토리 뷰

728x90

https://community.cloudera.com/t5/Support-Questions/How-to-change-location-of-the-external-table-in-hive/td-p/134391

 

How to change location of the external table in hive .

1) CREATE EXTERNAL TABLE IF NOT EXISTS jsont1( json string ) LOCATION '/jsam'; Now I need to change the location from where above json1 points to. I tried this command - ALTER TABLE jsont1 SET LOCATION "/jsam/j2" ; but getting error as below : FAILED: Exec

community.cloudera.com

 

728x90

'공부' 카테고리의 다른 글

[Slack] API `+` sign is `%2B`  (0) 2020.11.26
[Sh] find keyword in files `grep -rnw '/Users/seunggabi/Desktop' -e 'naver+'`  (0) 2020.11.23
[Java] String.matches("stores.*store");  (0) 2020.11.23
[Apache] logrotate  (0) 2020.11.23
[Hive] rename  (0) 2020.11.23
댓글