- 
                Notifications
    
You must be signed in to change notification settings  - Fork 62
 
Open
Labels
enhancementNew feature or requestNew feature or requestinitiative: Support Internal Customer MigrationstoryTask for an EpicTask for an Epic
Milestone
Description
Overview
The vdk-postgres plugin does not support schema inference when ingesting data.
from vdk.api.job_input import IJobInput
def run(job_input: IJobInput):
    payload = {
        "id": 1,
        "name": "Tony"
        "title": "Don't talk to strangers"
    }
    job_input.send_object_for_ingestion(
        payload=payload
    )The above code, run as a single step in a data job against a postgres or redshift database should have the following result:
- Create a table with columns corresponding to the payload keys (provided the table does not already exist)
 - If the table exists, the existing columns should be diffed with the payload keys and any new columns added
 - Ingest the data in the newly created table
 
Acceptance criteria
- Above use case is supported
 
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestinitiative: Support Internal Customer MigrationstoryTask for an EpicTask for an Epic