netezza - need to change the data type for distribution key from Integer to bigint -
is there way can change data type of distribution key int bigint ? or create new field, , make new distribution key ???
you have drop table , rebuild. reason can't alter distribution columns in place have physically implemented on disk.
create table new_table select cast(id bigint) id ,other fields orginal_table distribute on (id) drop table orginal_table alter table new_table rename orginal_table
Comments
Post a Comment