Skip to content

Validate with fix - #3018

Merged
swilly22 merged 9 commits into
masterfrom
validate-with-fix
Apr 17, 2023
Merged

swilly22 merged 9 commits into
masterfrom
validate-with-fix

Conversation

@raz-mon

@raz-mon raz-mon commented Apr 4, 2023

Copy link
Copy Markdown
Collaborator

Adds validations to cases such as RETURN a AS a (and more specified in the tests), in which we do not raise an error as we should (alias not defined), but return nil.

@raz-mon
raz-mon requested a review from swilly22 April 4, 2023 06:01
@codecov

codecov Bot commented Apr 4, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 96.15% and project coverage change: -0.02 ⚠️

Comparison is base (5541abc) 90.33% compared to head (dad1fd6) 90.31%.

❗ Current head dad1fd6 differs from pull request most recent head c8cbc76. Consider uploading reports for the commit c8cbc76 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3018      +/-   ##
==========================================
- Coverage   90.33%   90.31%   -0.02%     
==========================================
  Files         283      283              
  Lines       28044    28086      +42     
==========================================
+ Hits        25333    25367      +34     
- Misses       2711     2719       +8     
Impacted Files Coverage Δ
src/ast/ast_validations.c 94.50% <91.66%> (+0.18%) ⬆️
src/constraint/constraint.c 85.71% <100.00%> (+1.67%) ⬆️
src/index/indexer.c 87.35% <100.00%> (-0.74%) ⬇️

... and 3 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment thread tests/flow/test_with_clause.py Outdated
@swilly22
swilly22 merged commit b5bd1a4 into master Apr 17, 2023
@swilly22
swilly22 deleted the validate-with-fix branch April 17, 2023 06:49
AviAvni pushed a commit that referenced this pull request Apr 30, 2023
* wip

* fix validations

* touchup

* no if branch when children are not visited

* migrate and add tests, fix RETURN validation

* doc addition

---------

Co-authored-by: Roi Lipman <[email protected]>
AviAvni added a commit that referenced this pull request Apr 30, 2023
* Effects (#2826)

* update with master

* wait for replica

* wait after each query

* refactor test

* effect configuration

* wip

* determine when to use effects

* remove stats

* skip replica config

* adjust constraint test

* use readonly query whenever possible

* debuging

* pass array and len to update labels

* set edge endpoints

* mostly repositioning

* remove debugging prints

* Update graph.query.md (#3029)

BFS: 3 arguments instead of 4

* Clear errno before strtol() (#3021)

Co-authored-by: Roi Lipman <[email protected]>

* Validate with fix (#3018)

* wip

* fix validations

* touchup

* no if branch when children are not visited

* migrate and add tests, fix RETURN validation

* doc addition

---------

Co-authored-by: Roi Lipman <[email protected]>

* Refactor execution-plan freeing mechanism (#2946)

* Refactor execution-plan freeing mechanism

Co-authored-by: razmon <[email protected]>

* use rax to store labels

* fix comments

* add comment

* addressing review comments

* addressed review comments

* fix

* leak fix

* free ops deepest first

* addressing review comments

* Update execution_plan.c

remove dict init

* Update execution_plan.c

include setjmp

* touchup

* touchup

---------

Co-authored-by: Ofir Moskovich <[email protected]>
Co-authored-by: Avi Avni <[email protected]>
Co-authored-by: Roi Lipman <[email protected]>

* Fix optimize label scan (2) (#3034)

* introduce swap candidates to Label-Scan

* doc-fix

* fix

* tests fix

* Update test_optimizations_plan.py

* Update scan_functions.h

* move context to heap

* fix leak

* for index scan as well

* addressing review comments

* touchup

* Update scan_functions.c

* Update scan_functions.c

---------

Co-authored-by: Roi Lipman <[email protected]>

* Fix LockWrite crash (#3039)

* JoinConsume(): Propagaget reset if stream depleted

* WIP: Test FOREACH

* fix foreach crash

* fix tests

* fix

---------

Co-authored-by: Avi Avni <[email protected]>

* Fix for Xenial (OpenMP 4.0/4.5) (#3017)

* Fix for Xenial (OpenMP 4.5)

* fixes 1

* fixes 2

* fixes 3

* fixes 4

* fixes 5

* fixes 6

* fixes 7

---------

Co-authored-by: Avi Avni <[email protected]>

* accumulate updates (#3005)

* accumulate updates

* fix leaks

* add test

* unify default dictType definitions

* fix

* fix 2

* add test

* wip fix

* wip fix

* fix crash

* add effect log

* early review

* fix build

* fix test

* fixes

* fix

* refactoring in progress

* refactoring continue

* write effects directly into buffer

* effects-buffer

* no need to clone value

* no need to clone string

* address review comments

* address review

* fix

* address review comment

* address reivew

* fix perf issue

* fix build

* refactoring

* fix perf

* fix build

* fix

* fix leak

* remove redundant flags

* compute change against new attribute-set

* fix perf

* address review

* fix

* fix

* adding comments

---------

Co-authored-by: razmon <[email protected]>
Co-authored-by: Raz Monsonego <[email protected]>
Co-authored-by: swilly22 <[email protected]>
Co-authored-by: Roi Lipman <[email protected]>

* Fix rewrite `DELETE` clauses (#3067)

* fix and test

* add example

---------

Co-authored-by: Avi Avni <[email protected]>

* Reattach on reset (#3070)

* formatting

* reattach iterator on reset

* disable graphblas memory pool (#3068)

* bump version 2.12.1

---------

Co-authored-by: Roi Lipman <[email protected]>
Co-authored-by: Lior Kogan <[email protected]>
Co-authored-by: nafraf <[email protected]>
Co-authored-by: Raz Monsonego <[email protected]>
Co-authored-by: Ofir Moskovich <[email protected]>
Co-authored-by: Rafi Einstein <[email protected]>
Co-authored-by: razmon <[email protected]>
Co-authored-by: swilly22 <[email protected]>
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