Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Should not compare instances with == #117

@zhyhang

Description

@zhyhang

PqlBatchQuery :
line 116:

    public void add(PqlQuery query) {
        if (query.getIndex() != this.getIndex()) {
// Should be: if (!query.getIndex().getName().equals(this.getIndex().getName())) {
            throw new PilosaException("Query index should be the same as PqlBatchQuery index");
        }
        this.queries.add(query);
    }

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions