scala.MatchError when writing date objects to ORC
- Langage dominant
- Scala
- Étoiles
- 147
- Forks
- 32
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- java, scala, sql
- Domaine
- data-engineering, databases
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100