infer schema strategy attaches a schema to a raw before/after part

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

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/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

Hướng nghiên cứu

Read the processor middleware’s infer and extend schema encoding paths, then inspect the regression test added for the related extend behavior in issue #190. Decide whether infer should fail closed or retain its current behavior with documentation, following the deprecation policy. Done means the chosen behavior is covered by a regression test, or the limitation is documented.

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

Mô tả

The default (infer) schema encode strategy in the processor middleware attaches a schema to a record whose before or after part is still non-empty raw data, without encoding or rejecting that part. A consumer that decodes the raw part with the attached schema either fails or, when fields were removed, can decode the old bytes into shifted values.

The opt-in extend strategy now fails closed in this case (#190). infer keeps its current behaviour because changing it changes the default output.

To decide: fail closed in infer too (a behaviour change for existing processors, announce and warn first per the deprecation policy), or keep infer as is and document the limitation. A fix ships with a regression test that fails without it.

Ngôn ngữ chính
Go
Star
1
Fork
1
Merge trung bình
11 phút
Pull request đã merge (30 ngày)
5

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 ConduitIO/conduit-processor-sdk

Tất cả issue của ConduitIO/conduit-processor-sdk

Issue tương tự

Thêm issue về Go

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.