Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 04:51 AM
if you set .option("inferSchema", "false") all columns will be read as string.
You will have to cast all the other columns to their appropriate type though. So passing a schema seems easier to me.