Skip to content

Cp 2.10.6 #2843

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

Merged
merged 11 commits into from
Jan 25, 2023
Merged

Cp 2.10.6 #2843

merged 11 commits into from
Jan 25, 2023

Conversation

raz-mon
Copy link
Collaborator

@raz-mon raz-mon commented Jan 25, 2023

No description provided.

nafraf and others added 11 commits January 25, 2023 14:20
* AR_TOINTEGER: add case for type T_BOOL

* skip [8] toInteger() failing on invalid arguments

* Update TypeConversion2.feature

Co-authored-by: Avi Avni <avi.avni@gmail.com>
* Fix AR_LEFT, AR_RIGHT length validation

* Test mistmatch type and fix error message

* left(), right(): NULL is a valid type for lenght

* Fix argument validation

Co-authored-by: Avi Avni <avi.avni@gmail.com>
* fix using timeout max as default when default not configured

* fix
* do not cache query params

* address PR comments

* fix leak

* fix test

* convert params to SIValues

* wip

* delay freeing of parsed params to after the query is parsed

* free parse params when freeing AST

* revert changes to ast_validations.c

* revert arithmetic_expression_construct changes

* emit an error when param value eval fails

Co-authored-by: Avi Avni <avi.avni@gmail.com>
* Add varLen property to QGEdge

* Test variable-length edge queries

* Fix spacing

* Fix test, remove direction

* Fix test

* Test zero length edge

* Init varLen in QGEdge_New()

* rename varLen to rangeLen

* Rewrite test11_range_length_edges()

* Use QGEdge_VariableLength() and QGEdge_RangeLength

* Replace QGEdge_RangeLength() by QGEdge_LengthOne()

* rename function

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
Co-authored-by: Avi Avni <avi.avni@gmail.com>
* _AR_NodeDegree() support T_ARRAY argument

* Add tests

* Fix argument validation

* Free array in case of error detected.

* Duplicate comments and use siarray.array[i]

* Update AR_IN() to use SI_ArrayContainsValue()

* Validate comparedNull pointer

* Support only the following two signatures:

* Test indegree() wrong argument number

* Test wrong signature: string and list

* clean

* revert

Co-authored-by: Avi Avni <avi.avni@gmail.com>
* fix heap remove item

* remove utf8 deps

* add test

* wip

* wip

* all unit tests pass

* heap remove element should use pointer cmp instead of cmp cb

* spaces to tabs

Co-authored-by: swilly22 <roi@redislabs.com>
Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
* improve edge deletion

* update simple timer

* improve edge deletion perf

* fix build

* fix test

* fix test

* clean

* address review

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Jan 25, 2023

Codecov Report

Base: 92.33% // Head: 92.30% // Decreases project coverage by -0.04% ⚠️

Coverage data is based on head (0cdec36) compared to base (c703f28).
Patch coverage: 92.05% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             2.10    #2843      +/-   ##
==========================================
- Coverage   92.33%   92.30%   -0.04%     
==========================================
  Files         263      263              
  Lines       25088    25188     +100     
==========================================
+ Hits        23165    23249      +84     
- Misses       1923     1939      +16     
Impacted Files Coverage Δ
src/util/cache/cache.c 100.00% <ø> (ø)
src/commands/cmd_dispatcher.c 71.54% <50.00%> (ø)
src/util/heap.c 74.19% <74.19%> (-15.81%) ⬇️
src/arithmetic/arithmetic_expression.c 92.07% <87.87%> (-1.33%) ⬇️
src/datatypes/array.c 77.92% <93.75%> (+4.07%) ⬆️
src/ast/ast.c 93.82% <97.95%> (-0.08%) ⬇️
src/arithmetic/entity_funcs/entity_funcs.c 96.96% <100.00%> (-0.19%) ⬇️
src/arithmetic/list_funcs/list_funcs.c 98.98% <100.00%> (-0.03%) ⬇️
src/arithmetic/numeric_funcs/numeric_funcs.c 100.00% <100.00%> (ø)
src/arithmetic/string_funcs/string_funcs.c 99.33% <100.00%> (+3.35%) ⬆️
... and 22 more

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 at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@AviAvni AviAvni merged commit 793a089 into 2.10 Jan 25, 2023
@AviAvni AviAvni deleted the cp-2.10.6 branch January 25, 2023 16:14
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.

5 participants