51zero / 51zero/eel-sdk

scala.MatchError when writing date objects to ORC

未关闭
#385 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Scala
星标
147
派生
32
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
java, scala, sql
领域
data-engineering, databases
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。