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


"Projection name - Projection base name" confusion — Vertica Forum

"Projection name - Projection base name" confusion

Hi!

So when I create a new projection "projection1" on a Vertica cluster, the actual projection names will be:

projection1_b0
projection1_b1

and the base name will be: projection1.

If I then try to query projection1, I am forced to use one of the two names: _b0 or _b1, because select * from projection1 errors out with "object not found".

A question: how do I then refer to projection1 in the hint: /*+ PROJS(projection_name) */? Can I use the base name?

Tagged:

Answers

  • SruthiASruthiA Administrator

    you cannot use base name.. you need to specify the full projection name.

  • @SruthiA said:
    you cannot use base name.. you need to specify the full projection name.

    SELECT * FROM projections WHERE anchor_table_name='table1'

    projection_name projection_basename
    projection1_b1 projection1
    projection1_b0 projection1

    Which one is the full projection name please?

  • SruthiASruthiA Administrator

    you can use any one.

This discussion has been closed.