pub fn rewrite_pivot_unpivot(sql: &str) -> SqlResult<String>
Entry point: rewrite PIVOT or UNPIVOT if present, otherwise return unchanged.