4paradigm / 4paradigm/OpenMLDB
LAST JOIN with complex condition not work on offline mode
- Lingua principale
- C++
- Stelle
- 1.7k
- Fork
- 331
- Merge medio
- 12g 12h
- PR unite (30g)
- 1
Descrizione
**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)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- sql
- Ambito
- databases, machine-learning
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100