Make the OpenTenBase partition table Oracle syntax compatible, including but not limited to: alter table main table truncate partition (sub table); select xxx from main table partition (sub table) ...