scala.MatchError when writing date objects to ORC
- Vorherrschende Sprache
- Scala
- Sterne
- 147
- Forks
- 32
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, scala, sql
- Bereich
- data-engineering, databases
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100