private void helpTestToNumberFilter(String toNumberClause, BigDecimal expectedDecimal) throws Exception {
String tenantId = "000000000000001";
String query = "select * from atable where organization_id='" + tenantId + "' and x_decimal >= " + toNumberClause;
SQLParser parser = new SQLParser(query);
SelectStatement statement = parser.parseQuery();
Scan scan = new Scan();
PhoenixConnection pconn = DriverManager.getConnection(getUrl(), TEST_PROPERTIES).unwrap(PhoenixConnection.class);
ColumnResolver resolver = FromCompiler.getResolver(statement, pconn);
StatementContext context = new StatementContext(statement, pconn, resolver, emptyList(), scan);
compileStatement(context, statement, resolver, emptyList(), scan, 1, null);