4paradigm / 4paradigm/OpenMLDB
LAST JOIN with complex condition not work on offline mode
- Ngôn ngữ chính
- C++
- Star
- 1.7k
- Fork
- 331
- Merge trung bình
- 12 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
**Bug Description**
**Offline sql and error message**
### select t1.col1 from t1 last join t2 order by t2.std_time on int(t1.col1)=int(t2.col1) and t1.col1=t2.col1;
> ERROR yarn.Client: Application diagnostics message: User class threw exception: com._4paradigm.hybridse.sdk.UnsupportedHybridSeException: Fail to resolve expr type: kExprCast, expr node: int32(t1.col1)
Hướng dẫn đóng góp
Hướng nghiên cứu
The error occurs during SQL expression type resolution in offline mode for a LAST JOIN with a cast condition. Look at the SQL parser and type resolver, likely in the hybridse sdk. The failing expression is `int(t1.col1)`. Run the provided SQL in offline mode to reproduce, then trace through the cast expression handling.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- sql
- Lĩnh vực
- databases, machine-learning
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100