@SuppressWarnings( "deprecation" )
@FixFor( "MODE-934" )
@Test
public void shouldParseQueryWithUnqualifiedPathInSelectAndCriteriaOfJcrSqlQuery() throws RepositoryException {

    String sql = "select jcr:primaryType, jcr:path FROM nt:base WHERE jcr:path LIKE '/Cars/%'";
    Query query = session.getWorkspace().getQueryManager().createQuery(sql, Query.SQL);
    QueryResult result = query.execute();
    String[] columnNames = {"jcr:primaryType", "jcr:path", "jcr:score"};
    validateQuery().rowCount(17).hasColumns(columnNames).validate(query, result);
}