Skip to content

unload_table Macro extended to accept WHERE clause in SELECT statement #47

@ghost

Description

Describe the feature

An update to the unload_table macro that would allow a user to pass in a WHERE clause to filter specific rows within table to unload into S3. This is possible via using the Redshift UNLOAD command but limited with the macro to an entire SELECT of the table.

Describe alternatives you've considered

Alternatives is to just pass the raw SQL into a post_hook to extract the specific rows wanted rather than using the unload_table macro

Additional context

Redshift specific

Who will this benefit?

Users who want to unload a subset of the table rather than the entire table as this might not suit all use cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions