@FixFor( "MODE-1055" )
@Test
public void shouldNotMatchNodesWhenQueryUsesNonExistantPropertyInCriteriaInSelectClauseOfJcrSql2Query()
    throws RepositoryException {

    String sql = "SELECT bogus, laughable, [car:year] FROM [nt:base] WHERE argle < 2009";
    Query query = session.getWorkspace().getQueryManager().createQuery(sql, Query.JCR_SQL2);
    QueryResult result = query.execute();
    String[] columnNames = {"bogus", "laughable", "car:year"};
    validateQuery().rowCount(0).warnings(4).hasColumns(columnNames).validate(query, result);
}