Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(interactive): support isNull expression evaluation in GIE #3128

Merged
merged 14 commits into from
Aug 22, 2023

Conversation

BingqingLyu
Copy link
Collaborator

What do these changes do?

As titled.

Related issue number

Fixes #3127

@BingqingLyu BingqingLyu marked this pull request as draft August 18, 2023 08:59
@codecov-commenter
Copy link

Codecov Report

Merging #3128 (283f357) into main (599ff44) will not change coverage.
Report is 4 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3128   +/-   ##
=======================================
  Coverage   42.63%   42.63%           
=======================================
  Files         100      100           
  Lines       10817    10817           
=======================================
  Hits         4612     4612           
  Misses       6205     6205           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 599ff44...283f357. Read the comment docs.

@BingqingLyu BingqingLyu changed the title fix(interactive): fix bug in None value evaluation in GIE-Runtime feat(interactive): support isNull in expression evaluation in GIE Aug 21, 2023
@BingqingLyu BingqingLyu changed the title feat(interactive): support isNull in expression evaluation in GIE feat(interactive): support isNull expression evaluation in GIE Aug 21, 2023
@BingqingLyu BingqingLyu marked this pull request as ready for review August 21, 2023 08:56
@BingqingLyu BingqingLyu force-pushed the ir_eval_fix branch 2 times, most recently from 874c41f to 403d771 Compare August 21, 2023 10:00
@@ -90,6 +90,8 @@ impl TryFrom<Token> for pb::ExprOpr {
}
Token::IdentArray(idents) => Ok((idents_to_vars(idents)?, false).into()),
Token::IdentMap(idents) => Ok((idents_to_vars(idents)?, true).into()),
Token::IsNull => Ok(pb::Logical::Isnull.into()),
Token::Null => Ok(pb::Value::from(pb::None {}).into()),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Token::Null still needed?

@longbinlai longbinlai merged commit 71fa3f8 into alibaba:main Aug 22, 2023
@BingqingLyu BingqingLyu deleted the ir_eval_fix branch August 23, 2023 06:20
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.

[BUG] unexpected results to evaluate whether the value of a variable is None in GIE
4 participants