phoenix
phoenix copied to clipboard
PHOENIX-7383 Unify in-memory representation of Conditional TTL expressions and Literal TTL values
This PR lays the framework of Conditional TTL.
- Introduces a new abstract class to hold both conditional TTL and literal TTL values in PTable
- Simplifies the TTLTracker interface in PhoenixCompactionScanner
- Introduces the hooks in PhoenixCompactionScanner to work with any type of TTL expression
- Basic DDL checks in Create/Alter table for Conditional TTL
Tests ran locally: ViewTTLIT, TTLAsPhoenixTTLIT, TableTTLIT