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

Support Implicit type cast for Operators. #1069

Merged
merged 6 commits into from
Nov 3, 2021

Conversation

m-schen
Copy link
Contributor

@m-schen m-schen commented Nov 3, 2021

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #736
issue #740
issue #782
issue #789
issue #804

What this PR does / why we need it:

  1. Support binary operators (+, -, *, / ,%)(=, !=, >, >=, <, <=) between each types According a type-cast-logic before operator evaluates.

  2. Support NOT unary operator for each types. And fix some bugs while rewriting Not AST.

  3. Support div operator and / operator.

Support Not Operator.

Special notes for your reviewer:

ignore some check while pruning. (toChar function).

Additional documentation (e.g. design docs, usage docs, etc.):

Not Available

@yingfeng yingfeng merged commit d6cb106 into matrixorigin:main Nov 3, 2021
@nnsgmsone
Copy link
Contributor

lgtm

@m-schen m-schen deleted the implicitTypeCast branch November 8, 2021 10:51
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.

3 participants