We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


Add a column to a table and modify the projection to use the new column in ORDER BY — Vertica Forum

Add a column to a table and modify the projection to use the new column in ORDER BY

We are adding a column to the table and plan to use the column in the ORDER BY clause of the projection. We have a single projection on the table. Can I alter the projection adding the new column to the ORDER BY clause, and refresh the projection? I know we could create new projection, refresh the projection and then drop the current projection, but we don't have that much space to do so. Is there a way to do a "in-place" replacement/refresh of the projection?

Comments

  • Hello,

    Unfortunately Alter projection only supports rename.
    In your scenario you have to create a new projection and refresh it and the drop the existing projection and rename the new one.

    Thanks

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file