Hi,
Scenario:
I partition the data in my first step using hash partition. after which, i would want to rename the the key columns on which i have partitioned the data upon. so, when i rename the columns does the partition is lost or the same partitions can be continued with?
PS: I know that i can always rename the column before partitioning the data. but thats not my answer.
Thanks,
Waseem
Re-partition
Moderators: chulett, rschirm, roy
The partition will remain the same until you explicitly change the partitioning method; i.e. the default will be "same".
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Premium Member
- Posts: 145
- Joined: Fri Sep 15, 2006 12:23 pm
-
- Charter Member
- Posts: 166
- Joined: Wed Mar 16, 2005 6:52 am
- Location: Mumbai, India
Change in metadata should not trigger re-partitioning; once done, logically speaking, only explicit repartitioning and (this section may be incorrect) stage-driven auto re-partitioning can change the partitioned data.
Amey Vaidya<i>
I am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand.</i>
<i>- Douglas Adams</i>
I am rarely happier than when spending an entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand.</i>
<i>- Douglas Adams</i>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
No even without an experiment. Key-based partitioning is driven by VALUES in the data fields, not the names of the data fields. Non-key partitioning is driven simply by the order of rows in the data - again not the name(s) of anything.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.