Skip to main content
Question

"Projection name - Projection base name" confusion

  • March 12, 2025
  • 3 replies
  • 6 views

dimitri_p
Forum|alt.badge.img+2

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?

3 replies

SruthiA
Forum|alt.badge.img+1
  • Participating Frequently
  • March 13, 2025

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


dimitri_p
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • March 13, 2025

@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?


SruthiA
Forum|alt.badge.img+1
  • Participating Frequently
  • March 13, 2025

you can use any one.