We are facing a scenario where data type of view keeps on changing from MediumText and Text depending upon the the data getting hold in view column.
This causes any issue whenever data store is published and CDT column definition does not match the View Column definition.
Discussion posts and replies are publicly visible
I generally use a cast for my fields in the view for this case. Cast it to a specific CHAR length and then it will not change.
Hope that helps!
Thank you Chris and Christine. Yes, we have now applied cast function to such columns and it seems to be working fine.