scala.MatchError when writing date objects to ORC
- Dominant language
- Scala
- Stars
- 147
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to use eel to write data from a jdbc query to ORC format. Unfortunately when I run the code, it fails with `scala.matcherror (of class java.sql.Date)` because one of the columns in the query is a date, and it appears there is a conversion missing somewhere.
Contributor guide
No contributing guide indexed for this repository
Research direction
Look for ORC writing code in the eel-sdk, likely in modules handling JDBC to ORC conversion. Examine how java.sql.Date types are mapped to ORC schema types. Check for existing type converters or serialization logic. The fix likely involves adding a case for java.sql.Date in a pattern match or converter. Run the failing JDBC query to ORC write test to verify the fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, scala, sql
- Domain
- data-engineering, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100