Hi,
I am trying to run the following to create a temp table :-
drop table if exists table_a_url;
create local temporary table table_a_url
ON COMMIT PRESERVE ROWS
as /*+ direct */
select a.*
from source_url a
join (
select
id,"source","url",count(*)
from source_url
group by 1,2,3
having count(*) > 1) b on b.id=a.id and b."source"=a."source" and b."url"=a."url";
The statements seem to run but zero rows are inserted into temp table.
The select stmt alone runs fine.
Any idea what gives?
We are using Vertica version - 07.01.0100
Thanks,
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.