COOL-cohort / COOL

the source code of the COOL system
https://www.comp.nus.edu.sg/~dbsystem/cool/
Apache License 2.0
44 stars 15 forks source link

extensibility for more value types #125

Closed hugy718 closed 1 year ago

hugy718 commented 1 year ago

description

As a continued efforts of code refactoring to improve the systems extensibility, it comes to our attention that we need to remove the system design built around just int and string. Many codes in the system are hardcoded and contains casting to only support int and string.

It will pave the way to support float.

idea

Have an abstract value type that moves across different operators in cool. Have selected types at the source and end to handle the different data types.

solution

issues addressed

outcome

better code readability and extensibility.

new issues caused

possible changes

hugy718 commented 1 year ago

127 addressed this