Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Confusion about difference/inconsistency between ctx.from_dataset vs xql.read_xarray

Đang mở
#181 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

  • #213 của @JHON12091986 — đã đóng, không merge

Đá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
43/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend

Hướng nghiên cứu

Read the implementations of XarrayContext.from_dataset and read_xarray, then compare the two return values shown in the issue. Clarify their intended naming and why they return different types; done when the behavior and API distinction are documented or otherwise made clear to users.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

2 concerns here:

  1. why is one called from_dataset instead of from_xarray, or even read_xarray
  2. returns different types
import xarray as xr
import xarray_sql as xql

ds = xr.tutorial.open_dataset('air_temperature')
ctx = xql.XarrayContext()
ctx.from_dataset('air', ds, chunks=dict(time=6))

xarray_sql.sql.XarrayContext

vs

import xarray as xr
import xarray_sql as xql

ds = xr.tutorial.open_dataset('air_temperature')
xql.read_xarray(ds)

pyarrow.lib.RecordBatchReader

Ngôn ngữ chính
Python
Star
142
Fork
19
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của xqlsystems/xarray-sql

Tất cả issue của xqlsystems/xarray-sql

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.