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

Enhancement/refactor python submission #452

Merged
merged 6 commits into from
Sep 15, 2022

Conversation

ChenyuLInx
Copy link
Contributor

@ChenyuLInx ChenyuLInx commented Sep 9, 2022

Description

dbt-labs/dbt-bigquery#248 made it obvious that we should extract more common functions into core.

Checklist

  • I have signed the CLA
  • 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 run changie new to create a changelog entry

@cla-bot cla-bot bot added the cla:yes label Sep 9, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Sep 9, 2022

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-spark contributing guide.

@@ -5,7 +5,7 @@
from dbt.adapters.spark.impl import SparkAdapter

from dbt.adapters.base import AdapterPlugin
from dbt.include import spark
from dbt.include import spark # type: ignore
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why mypy started to complain things out of no where, just added ignore for now as it has been like this for a long time

Copy link
Contributor

@McKnight-42 McKnight-42 left a comment

Choose a reason for hiding this comment

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

after going over it, From what I can tell it all looks okay, to double check myself we are pulling more of the like parts into core and just making adapter specific changes for python submission?

@ChenyuLInx
Copy link
Contributor Author

@McKnight-42 Yes, I pulled that function into core in this PR

@ChenyuLInx ChenyuLInx merged commit 36bbe0d into main Sep 15, 2022
@ChenyuLInx ChenyuLInx deleted the enhancement/refactor_python_submission branch September 15, 2022 15:20
ueshin added a commit to databricks/dbt-databricks that referenced this pull request Sep 24, 2022
Resolves #182

### Description

Follows enhancement/refactor python submission in dbt-labs/dbt-spark#452 and dbt-labs/dbt-core#5822.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants