TIME (time64[ns]) type unhandled
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 67/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- go
调研方向
Start by locating the Arrow row scanner's type switch, where the issue says time32 and time64 are unhandled and DATE and TIMESTAMP already have arms. Reproduce with SELECT TIME '09:15:00.123456' against a SQL warehouse and trace how the Arrow batch value reaches rows.Scan. Done when TIME scans as a time of day without a date or location, and an unsupported column does not prevent rows from being returned.
由索引模型根据 Issue 内容生成。
描述
QueryContext + rows.Next fails for a TIME column. The server returns the value as an Arrow time64 (nanoseconds, including when the SQL type is TIME with microsecond precision). The Arrow row scanner has no arm for time32 or time64, so the whole result fails with:
databricks: arrow row scanner unhandled type time64[ns]
The value is present in the Arrow batch. The failure is the scanner's type switch.
Reproducer, against a SQL warehouse:
SELECT TIME '09:15:00.123456'
rows, err := db.QueryContext(ctx, "SELECT TIME '09:15:00.123456'")
// err == nil
var dest any
ok := rows.Next()
err = rows.Scan(&dest)
// databricks: arrow row scanner unhandled type time64[ns]
Expected: a TIME value scans as a time-of-day (wall clock, no date and no location), and one unsupported column does not have to fail the result before any row is returned. DATE and TIMESTAMP already have arms in that switch https://docs.databricks.com/aws/en/sql/language-manual/data-types/time-type.
- 主要语言
- Go
- 星标
- 53
- 派生
- 70
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 16
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
databricks/databricks-sql-go 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
databricks/databricks-sql-go#494 ·
维护者通常 1 天内回复
-
难度 4/5 1-2 天 新手友好度 52/100
databricks/databricks-sql-go#521 ·
维护者通常 1 天内回复
-
难度 4/5 1-2 天 新手友好度 56/100
databricks/databricks-sql-go#520 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 49/100
databricks/databricks-sql-go#517 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 55/100
databricks/databricks-sql-go#504 ·
维护者通常 1 天内回复
查看 databricks/databricks-sql-go 的全部 Issue
相似的 Issue
-
area/docs framework/hugo help wanted language/markdown
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
难度 2/5 1-3 小时 新手友好度 75/100
openclaw/crabbox#3060 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
kubeflow/semantic-operator#52 ·
维护者通常 10 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
enhancement help wanted
难度 2/5 1-3 小时 新手友好度 78/100
PramodBasavarajMenasi/siftwise#52 ·
维护者通常 1 天内回复