Skip to content

implemented UNION (and a few other query operators)#184

Open
markoszah wants to merge 2 commits intomainfrom
feature/union
Open

implemented UNION (and a few other query operators)#184
markoszah wants to merge 2 commits intomainfrom
feature/union

Conversation

@markoszah
Copy link
Member

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 19, 2026
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this checked in by mistake?

FN_MIN_MAX(41),

SEQ_AGGR(48),
SORT(47),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swap SEQ_AGGR and SORT to maintain ascending order?


if (!theRCB.reachedLimit()) {
reqCopy.setMaxReadKB(origRequest.getMaxReadKB() -
theRCB.getReadKB());
Copy link
Member

@jinzha jinzha Mar 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The maxReadKB of QueryRequest must be >=0. If origRequest.maxReadKB is not specified, it defaults to 0, then origRequest.getMaxReadKB() - theRCB.getReadKB() is negative and results in an IllegalArgumentException.

     public QueryRequest setMaxReadKB(int maxReadKB) {
        if (maxReadKB < 0) {
            throw new IllegalArgumentException("maxReadKB must be >= 0");
        }
        this.maxReadKB = maxReadKB;
        return this;
    }

* @param sqlText the query
* @param queryPlan the query plan
* @param querySchema the query schema
* @param proxyStatement proxy statement
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Javadoc for the parameters proxyStatement, namespace, and tableName should be updated accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants