Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2023 01:53 AM
I have tried specifying the schema and assigning the following mapping to each column type:
- string - StringType()
- date - DateType()
- double - DoubleType()
- bigint - LongType()
- int - LongType()
- decimal(20,2) - LongType()
I have also tried using other spark types for the decimal(20,2), int, bigint, and double columns, however, the error still persists.