Skip to content

Not required schema migration happening after using schema passed from batcher #192

Open
@alok87

Description

@alok87
I0409 19:14:56.032218       1 redshift.go:432] tOps: [ALTER TABLE "db"."table" ADD COLUMN  "plan_id" character varying(144)   ], cOps: [], vOps: []
I0409 19:14:56.032274       1 redshift.go:457] Strategy2: starting inplace-migration, table
I0409 19:14:56.294294       1 redshift.go:474] Running: ALTER TABLE "table"."col" ADD COLUMN  "plan_id" character varying(144)

Using the latest schema version is better than always doing migrations for each schema change. Assuming the latest schema is backward compatible makes things fast. This is for the first time sink case.

This issue was born after #189

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp2intermittent issue, not very urgent, but need to be done soon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions