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

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -