Skip to content

VTGate Expression Evaluation#6042

Merged
systay merged 24 commits intovitessio:masterfrom
planetscale:sa-expression-evalution
Apr 17, 2020
Merged

VTGate Expression Evaluation#6042
systay merged 24 commits intovitessio:masterfrom
planetscale:sa-expression-evalution

Conversation

@saifalharthi
Copy link
Copy Markdown
Contributor

This PR adds the ability to evaluate expression at the VTGate level. At this point it handles Literals and bind variables.

@saifalharthi saifalharthi requested a review from sougou as a code owner April 10, 2020 05:04
@saifalharthi
Copy link
Copy Markdown
Contributor Author

@systay @harshit-gangal

@systay
Copy link
Copy Markdown
Collaborator

systay commented Apr 10, 2020

Test failures do not seem to be related

@harshit-gangal
Copy link
Copy Markdown
Member

--- FAIL: TestDatabaseFunc (0.00s)
##[error] database_func_test.go:38: select:
[[INT64(0)]] want
[[VARCHAR("ks")]]

This might be related.

@saifalharthi saifalharthi changed the title VTGate Expression Evolution VTGate Expression Evaluation Apr 10, 2020
@saifalharthi
Copy link
Copy Markdown
Contributor Author

Failing test is not related to the chagnes.

Copy link
Copy Markdown
Member

@harshit-gangal harshit-gangal left a comment

Choose a reason for hiding this comment

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

I would suggest to rebase from master as I expect some test to fail with latest master

Comment on lines 41 to 54
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this need result from input.execute? The results are manipulated here.

saifalharthi and others added 14 commits April 14, 2020 09:41
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Andres Taylor <andres@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps force-pushed the sa-expression-evalution branch from ec9ae69 to 95f7309 Compare April 14, 2020 08:30
rohit-nayak-ps and others added 5 commits April 14, 2020 10:32
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
@saifalharthi
Copy link
Copy Markdown
Contributor Author

Flaky tests are back

@saifalharthi
Copy link
Copy Markdown
Contributor Author

It's OK to merge as the failing tests are not related to the changes.

Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
saifalharthi and others added 4 commits April 14, 2020 22:22
…metic Addition and Subtraction type check

Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
Signed-off-by: Andres Taylor <andres@planetscale.com>
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.

4 participants