WiliamRosa
Databricks Partner

Hi @zc,

I managed to reproduce your scenario and put together a possible solution—see if it helps.

Simulating the error:

WiliamRosa_0-1755888823722.png

Solution with array:

WiliamRosa_1-1755888876798.png

 

 

Wiliam Rosa
Data Engineer | Machine Learning Engineer
LinkedIn: linkedin.com/in/wiliamrosa