51zero / 51zero/eel-sdk

scala.MatchError when writing date objects to ORC

Open
#385 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.