보안/데이터 분석
hive index 생성 에러 (state=42000, code=40000)
hive에서 index를 생성하기 위해 명령어를 입력하였는데 계속 에러가 발생하였다.ㅠㅠ create index index_ip on table login_log(ip) AS 'org.apache.hadoop.hive.ql.index.compact.CompactIndexHandler'; Error: Error while compiling statement: FAILED: ParseException line 1:7 cannot recognize input near 'create' 'index' 'index_ip' in ddl statement (state=42000,code=40000) 열심히 구글링을 하던 중... 충격적인 소식을 보게 되는데, 바로 hive 3.0에서 인덱스 기능을 삭제한다는 것이다. ..
2020. 9. 11. 08:53