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

Remove Redshift-specific logic for toggling case-sensitive identifiers #208

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions integration_tests/macros/operations/create_source_table.sql
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{% macro create_source_table() %}

{% if target.type == "redshift" %}
{% set disable_case_sensitive %}
reset enable_case_sensitive_identifier;
{% endset %}
{{ run_query(disable_case_sensitive) }}
{% endif %}

{% set target_schema=api.Relation.create(
database=target.database,
schema="codegen_integration_tests__data_source_schema"
Expand Down Expand Up @@ -38,13 +31,6 @@ drop table if exists {{ target_schema }}.codegen_integration_tests__data_source_

{{ run_query(drop_table_sql_case_sensitive) }}

{% if target.type == "redshift" %}
{% set enable_case_sensitive %}
set enable_case_sensitive_identifier to true;
{% endset %}
{{ run_query(enable_case_sensitive) }}
{% endif %}

{% set create_table_sql_case_sensitive %}
create table {{ target_schema }}.codegen_integration_tests__data_source_table_case_sensitive as (
select
Expand Down
Loading