Here is a great post by a even greater guy that discusses this topic a little more ...
http://proplabs.org/2012/05/04/vertica- ... le-column/
Change table column's data type
Moderator: NorbertKrupa
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Change table column's data type
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Re: Change table column's data type
Hi, Jim.
I'm afraid is not the end .
You didn't investigate a case with prejoin-projections Its a long story and bad idea (imho) modify column data type on production system (there are may be segments, buddy/prejoin-projections).
I'm afraid is not the end .
You didn't investigate a case with prejoin-projections Its a long story and bad idea (imho) modify column data type on production system (there are may be segments, buddy/prejoin-projections).
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Change table column's data type
Great news, Vertica 6.0 gives us the ability to change a table column's data type...
Here's an excerpt from the New Feature's Guide:
Here's an excerpt from the New Feature's Guide:
Using new parameters in the ALTER TABLE statement, you can now perform the following operations:
- Change, reorganize, and remove tble partitions
Add table columns with a default derived expression
Drop table columns
Change a column's data type
Rename a table or sequence owner
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
-
- Intermediate
- Posts: 87
- Joined: Wed Apr 25, 2012 8:10 am
Re: Change table column's data type
Wow .. Really a very good news..
Thank you jim.
Thank you jim.
Rajasekhar.T|HP ATP Vertica Big Data Solutions V1