What is the Vertica equivalent of crosstab or pivot table found in PostgreSQL and other RDBMS’s?
What is the Vertica equivalent of crosstab or pivot table found in PostgreSQL and
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Vertica doesn’t currently (release 3.5.9 for future reference) have that capability. I talked with a co-worker and his suggestion was to play around with “cross join.”
The other option would be to distill your results as far as you could and then run a process outside of the database (perl, Java, C#, etc) that manipulated the data.
Vertica is open to feature requests however.
I don’t believe this will be available in the upcoming 4.0 release either.