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

one_hot_encoder: drop superfluous CTE #10

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

dataders
Copy link
Contributor

I can't use this macro within a CTE because TSQL doesn't let you have nested CTEs (see dbt-msft/dbt-sqlserver#26 and https://github.com/dbt-msft/dbt-synapse/issues/25)

I can't use this macro within a CTE because TSQL doesn't let you have nested CTEs (see dbt-msft/dbt-sqlserver#26 and https://github.com/dbt-msft/dbt-synapse/issues/25)
@dataders dataders changed the title OHE: drop superfluous CTE one_hot_encoder: drop superfluous CTE Mar 12, 2021
@jamesweakley
Copy link
Contributor

Thanks @swanderz , I am guilty of the occasional superfluous CTE for sure. Good to have a user in the Microsoft stack, I'm keen to support compatibility there

@jamesweakley jamesweakley merged commit b5f5b38 into omnata-labs:main Mar 18, 2021
@dataders dataders deleted the patch-1 branch March 19, 2021 00:50
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