Add current database name as suffix in cube rewriter

Tested grill client with this change, and the previous errors of unable to find tables are not occuring now.