zhouqingqing / qpmodel

A Relational Optimizer and Executor
MIT License
66 stars 18 forks source link

type coerce issues #183

Open zhouqingqing opened 4 years ago

zhouqingqing commented 4 years ago

We have some type coerce code in place but needs strengthen it.

Tasks:

  1. add more test cases covering type coerce;
    • operators like +/-/like
    • functions like year/Aggs
    • built in language like UNION, CASE
  2. bug fixes based with above test cases.

Refs: SQL Server data types conversion rules PostgreSQL data types conversion algorithms

Known issues: