Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add redshift support #406

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

brendan-cook-87
Copy link

Overview

Adding Redshift support - seems like with the new changes this is fairly trivial. The only issue I had running the test suite was the one described in #60.

Which is trivially solvable (not necessarily in a nice way) by adding redshift specific dispatches for string type helpers that return a varchar(max).

Update type - breaking / non-breaking

  • Minor bug fix
  • Documentation improvements
  • Quality of Life improvements
  • New features (non-breaking change)
  • New features (breaking change)
  • Other (non-breaking change)
  • Other (breaking change)
  • Release preparation

What does this solve?

#60
Adding super basic redshift support as per issue 60.

Outstanding questions

It's a bit clunky using varchar(max) for these types, but it solves the issue without needing to know what the maximum possible length of each text field is and having a special dispatch which takes the length (that other databases don't care about).

And imo it's better to just add this support and then someone can optimise this later if they have a problem with varchar(max).

What databases have you tested with?

  • Snowflake
  • Google BigQuery
  • Databricks
  • Spark
  • Redshift
  • N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants