Skip to content
Advertisement

Trying to split one column to multiple columns using Snowflake sql

enter image description here

data need to get split from SOID column to Circ,Language,Words as show above in pic. When trying with below logic :-

the data is getting handled correctly, But as per the pic highlighted in yellow some data is not getting captured with the above logic. Instead of shoing language as English, it is shwing null, and circuit as Biotechnology…. it is displaying null as showing in the pic. Please need your inputs.

Advertisement

Answer

It seems the issue is related to handling the “(s)” parts:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement