TIME (time64[ns]) type unhandled
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 67/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- backend-api-design, database
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 53
- Fork
- 70
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của databricks/databricks-sql-go
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
databricks/databricks-sql-go#494 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 52/100
databricks/databricks-sql-go#521 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 56/100
databricks/databricks-sql-go#520 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 49/100
databricks/databricks-sql-go#517 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
databricks/databricks-sql-go#504 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của databricks/databricks-sql-go
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
SAP/crossplane-provider-btp#1175 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
adk: stream concatenation errors bypass retry and failoverCó thể đã có người làm @OUAO-FRANK đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
google/osv-scalibr#2586 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Add an MCP server: imageatĐang mởneeds-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
stacklok/toolhive-catalog#1890 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
heap: pushing an item that is already queued corrupts the indexCó thể đã có người làm @lbarrosby đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kubernetes-sigs/kwok#1800 ·
Maintainer thường phản hồi trong vòng 1 ngày