Hi,
Can I disable a projection so that it can not be used? I don't want to drop it, just make sure it is not used by a query. I would prefer that another projection set be used during testing.
Thank you
Disable Projection Temporarily?
Moderator: NorbertKrupa
Re: Disable Projection Temporarily?
Nope. This has been on my wishlist for years. I think I first submitted a request for this enhancement in oh 2010 .
—Sharon
—Sharon
Sharon Cutter
Vertica Consultant, Zazz Technologies LLC
Vertica Consultant, Zazz Technologies LLC
-
- GURU
- Posts: 527
- Joined: Tue Oct 22, 2013 9:36 pm
- Location: Chicago, IL
- Contact:
Re: Disable Projection Temporarily?
Sharon--How do you go about submitting enhancement requests?
Checkout vertica.tips for more Vertica resources.
- JimKnicely
- Site Admin
- Posts: 1825
- Joined: Sat Jan 21, 2012 4:58 am
- Contact:
Re: Disable Projection Temporarily?
#usli06,
Until we get Sharon's enhancement , maybe you can change your query so that it directly references the projection you want to test instead of the table?
Until we get Sharon's enhancement , maybe you can change your query so that it directly references the projection you want to test instead of the table?
Jim Knicely
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.
-
- GURU
- Posts: 527
- Joined: Tue Oct 22, 2013 9:36 pm
- Location: Chicago, IL
- Contact:
Re: Disable Projection Temporarily?
I'm sure there has to be a way using the add_vertica_options() function... I mean there's
It would be nice if we could just pass the hint in the query or use add_vertica_option('EE', 'USE_PROJECTION_01');
Code: Select all
add_vertica_options('EE', 'DISABLE_EXPR_ANALYSIS');
add_vertica_options('EE', 'ENABLE_JOIN_SPILL');
Checkout vertica.tips for more Vertica resources.
Re: Disable Projection Temporarily?
Hi!
[DELETED]
[DELETED]
Last edited by id10t on Wed May 06, 2015 5:36 pm, edited 1 time in total.
-
- GURU
- Posts: 527
- Joined: Tue Oct 22, 2013 9:36 pm
- Location: Chicago, IL
- Contact:
Re: Disable Projection Temporarily?
Wow, that's awesome. I had to write a post about it. Thanks!
Checkout vertica.tips for more Vertica resources.