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

feat: Bump version number and update adapter to work with dbt v1.0.0 #38

Merged
merged 39 commits into from
Feb 10, 2022

Conversation

ericf-firebolt
Copy link
Contributor

Resolves FIR-10759
Unblocks FIR-10765

Checklist

  • I have run this code in development and it appears to resolve the stated issue.
  • This PR includes tests, or tests are not required/relevant for this PR.
  • I have updated CHANGELOG.md and added information about my change.
  • If this PR requires a new PyPI release I have bumped the version number.
  • I have pulled/merged from the main branch if there are merge conflicts.
  • I have verified that this PR contains only code changes relevant to this PR.

Note: This PR is a branch of #10 , so is currently blocked until that is merged.

ima-hima and others added 30 commits November 4, 2021 14:58
…ction. Minor change to field values in profiles.yml to match internal nomenclature: host -> api_endpoint.
… working. I think that's actually an issue in main.
@ericf-firebolt ericf-firebolt marked this pull request as ready for review February 3, 2022 14:46
@@ -6,8 +6,10 @@ target:
engine_name: "{{ env_var('ENGINE_NAME') }}"
user: "{{ env_var('USER_NAME') }}"
password: "{{ env_var('PASSWORD') }}"
schema: "{{ env_var('SCHEMA') }}"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we just hardcode this value?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, this is either a by-team or by-user setting, so it needs to be set locally. Since we don't have schemas, this string just gets appended to each table name, so people aren't overwriting each others' tables. As an example, my "schema" is "emf," so all my table names are prefixed with "emf_"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ach, sorry. Yes, it should be hard-coded. I was thinking of profiles.yml, not this integration test file.

@@ -100,9 +100,9 @@ def open(cls, connection):
engine_name = credentials.engine_name
error_msg_append = ''
raise EngineOfflineException(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need for this exception since SDK checks running engine by itself and raises an appropriate error

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kk

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@ericf-firebolt ericf-firebolt merged commit e667c80 into main Feb 10, 2022
@ericf-firebolt ericf-firebolt deleted the move-to-dbt-1-point-0 branch February 10, 2022 15:26
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.

4 participants