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


column pruning inside transform UDF — Vertica Forum

column pruning inside transform UDF

Hello,

I have UDF transform function to map one string serialized column into many regular columns. It takes serialization schema and extracts attributes according to it. The problem is when I get just a single attribute out of serialized string UDF still extracts all of them according to schema and only after that vertica drops unused columns.

Is it possible to programmatically get the list of columns really used in a query so I can perform column pruning inside my UDF?

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file