hive - Partition and Bucket ORC Tables -


i understand when create orc tables, improve speed dramatically. however, can improve further partitioning , bucketing orc table? if so, how partitioning , bucketing in existing orc table?

you can bucket , partition orc table.

partitions directly mapped directories in hdfs. can alter table , add partition. you'd have partition recovery after thou. explained here: https://cwiki.apache.org/confluence/display/hive/languagemanual+ddl#languagemanualddl-alterpartition.

personally i'd create new table wih dynamic partitioning , copy data new table.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -