how to infer csv schema default all columns like string using spark- csv?
I am using spark- csv utility, but I need when it infer schema all columns be transform in string columns by default. Thanks in advance.
- 8497 Views
- 3 replies
- 0 kudos
- 0 kudos
@peyman what if I don't want to manually specify the schema? For example, I have a vendor that can't build a valid .csv file. I just need to import it somewhere so I can explore the data and find the errors. Just like the original author's question?...
- 0 kudos