Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

hive static partitions

Highlighted

hive static partitions

New Contributor

Creating hive partitions for multiple months using one script

1 REPLY 1

Re: hive static partitions

New Contributor

i need to create partitions with script for multiple hours for one day

ex:ALTER TABLE emp ADD IF NOT EXISTS PARTITION PARTITION (dt="20181028",hr="01") location "/user/dt=20161028/hr=01" PARTITION (dt="20181028",hr="02") location "/user/dt=20161028/hr=02" PARTITION (dt="20181028",hr="03") location "/user/dt=20161028/hr=03"

Don't have an account?
Coming from Hortonworks? Activate your account here