Skip to content

DRILL-6533: Allow using literal values in functions which expect FieldReader instead of ValueHolder#1617

Closed
vvysotskyi wants to merge 1 commit intoapache:masterfrom
vvysotskyi:DRILL-6533
Closed

DRILL-6533: Allow using literal values in functions which expect FieldReader instead of ValueHolder#1617
vvysotskyi wants to merge 1 commit intoapache:masterfrom
vvysotskyi:DRILL-6533

Conversation

@vvysotskyi
Copy link
Member

For details please see DRILL-6533.

for (int i = 0; i < holderExpr.args.size(); i++) {
args[i] = holderExpr.args.get(i).accept(this, inIndex);
ValueHolder valueHolder = holderExpr.args.get(i).accept(this, inIndex);
args[i] = valueHolder;
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it is better to define argument in the variable and then in the end set it args?

Copy link
Member Author

Choose a reason for hiding this comment

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

Agree, thanks, done.

@arina-ielchiieva
Copy link
Member

+1

@asfgit asfgit closed this in c230ba5 Jan 25, 2019
lushuifeng pushed a commit to lushuifeng/drill that referenced this pull request Jun 21, 2019
xiangt920 pushed a commit to xiangt920/drill that referenced this pull request Dec 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants