filipniziol
Esteemed Contributor

Hi @fabien_arnaud

I have tried to reproduce the issue using DBR 12.2 and in my case everything works as expected:

filipniziol_0-1729505239655.png

Could you share how this dataframe is created? Are you reading some csv file maybe?
Also, could you assign create a new dataframe:

 

df_filtered = df_input.where(col("erp_vendor_cd") == 'B6SA-VEN0008838').select(col("postal_cd"),col("state_cd"), col("state_nm"),col("country_cd"), col("country_nm"))

 

And then run:

df_filtered.printSchema()

df_filtered.show()

Let's check whether it is a problem with the dataframe or maybe display() function renders the dataframe incorrectly due to standalone comma.