Skip to content

Revert case-senstivity in Snowflake final tables (and don't do it in Redshift) #30010

Closed
@evantahler

Description

@evantahler

Steps:

  1. Chang the code to not specify case-sensitivity - remove a lot of quotes.
  2. Add code that detects if there is a lower-case table name.
    • Make a new findExistingUpCassedV2Table() like findExistingTable() which will be used within the soft-reset
    • Soft reset (e.g. blow away the loaded_at values in the raw table)

Notes:

  • don’t force-uppercase things, implicitly do this by not specifying the case and let the DB handle it
  • This migration will leave behind the lower-cased old V2 table... that's OK

Future note:

  • We also want to rename the raw tables so they are also case-insensitive, but that's another story because (1) that will slow this down and (2) can't be solved by a soft reset.

Metadata

Metadata

Assignees

Labels

team/destinationsDestinations team's backlogtype/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions