Vertica try to create Comment
Hello,
I have DB Vertica, create Schema UM and table um_users
create table um.um_users
(
id number,
first_name varchar2(50) not null,
last_name varchar2(50) not null,
password varchar2(50) not null,
last_login date,
username varchar2(50) not null,
role varchar2(50)
)
;
after I try create comment
comment on column um.um_users.first_name is 'Second name';
and get error
SQL Error [2639] [42703]: [Vertica]VJDBC ROLLBACK: Column "um_users"."first_name" does not exist as a projection column
[Vertica]VJDBC ROLLBACK: Column "um_users"."first_name" does not exist as a projection column
com.vertica.util.ServerException: [Vertica]VJDBC ROLLBACK: Column "um_users"."first_name" does not exist as a projection column
How to solve this problem?
0
Comments
Column comments are on the projection columns. Note that when you create a table like you did (no segmentation or ordering specified) Vertica does not create a projection until you insert data.
Now I can add a comment on the projection column:
Jim, thank you. I understood the power of love Vertica to projection