dbt-ml-preprocessing
dbt-ml-preprocessing copied to clipboard
OHE error handling... casting string ass boolean?
I'm working to make the one_hot_encoder
macro compatible with Azure SQL and Azure Synapse. The compiler is having takes issue with line 93 because there is no boolean datatype in TSQL. My question is what does this resolve to in other DW's, NULL
?
https://github.com/omnata-labs/dbt-ml-preprocessing/blob/08f8c42c4373b6bfe64e349b701199f73682b6ee/macros/one_hot_encoder.sql#L89-L95
cc: @comaraDOTcom