Skip to content

Commit

Permalink
V4.0.9 (#653)
Browse files Browse the repository at this point in the history
* 600 add browser usage for the docker image (#601)

* add instructions to run browser UI

* set hostname to 0.0.0.0

* fix crash in rewrite call subquery (#604)

* fix crash in rewrite call subquery

* simplified test query

---------

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

* use debug assert in rust (#606)

* fix merge init (#609)

* fix merge init

* remove unused function, simplified branch assignment logic

* clean

---------

Co-authored-by: Roi Lipman <roilipman@gmail.com>

* Unwind persist (#613)

* persist unwind record

* deep clone base record

* Disable jit (#612)

* persist unwind record

* disable GraphBLAS JIT

* Update module api (#617)

* update RediSearch submodule

* bump RediSearch version

* updated redis module api header file

* make sure there's a record to emit (#623)

* update RediSearch (#640)

* Fix #634 Add Cloud link to README.md (#635)

* fix #645 Add objective to README (#646)

* Add objective to README

* Update wordlist.txt

---------

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

* fix union validation with call subquery (#648)

* Seek by id runtime optimization (#643)

* wip runtime optimization

* fix leak

* fix node by label scan

* fix leak

* fix leak

* address review

* add tests

* address review

* review

* review

* review

* add memory hook to roaring bitmap

* introduce bitmap range

---------

Co-authored-by: Roi Lipman <roilipman@gmail.com>
Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>

* bump version

---------

Co-authored-by: Dudi <16744955+dudizimber@users.noreply.github.com>
Co-authored-by: Avi Avni <avi.avni@gmail.com>
Co-authored-by: Guy Korland <gkorland@gmail.com>
  • Loading branch information
4 people committed Apr 19, 2024
1 parent 0c7e0b1 commit b7979fd
Show file tree
Hide file tree
Showing 24 changed files with 29,508 additions and 565 deletions.
3 changes: 2 additions & 1 deletion .github/wordlist.txt
Expand Up @@ -94,5 +94,6 @@ FalkorDB
FalkorDB's
CVSS
md
LLM
Github
txt
txt
5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -4,8 +4,11 @@
[![Workflow](https://github.com/FalkorDB/FalkorDB/actions/workflows/build.yml/badge.svg?branch=master)](https://github.com/FalkorDB/FalkorDB/actions/workflows/build.yml)

# FalkorDB
[![Try Free](https://img.shields.io/badge/Try%20Free-FalkorDB%20Cloud-FF8101?labelColor=FDE900&style=for-the-badge&link=https://app.falkordb.cloud)](https://app.falkordb.cloud)

FalkorDB is the first queryable [Property Graph](https://github.com/opencypher/openCypher/blob/master/docs/property-graph-model.adoc) database to use [sparse matrices](https://en.wikipedia.org/wiki/Sparse_matrix) to represent the [adjacency matrix](https://en.wikipedia.org/wiki/Adjacency_matrix) in graphs and [linear algebra](http://faculty.cse.tamu.edu/davis/GraphBLAS.html) to query the graph.
**Our objective is to create an outstanding Knowledge Graph specifically for Large Language Models (LLM) that boasts exceptionally low latency, ensuring swift delivery of information through our Graph Database, known as KG-RAG.**

[FalkorDB](https://www.falkordb.com) is the first queryable [Property Graph](https://github.com/opencypher/openCypher/blob/master/docs/property-graph-model.adoc) database to use [sparse matrices](https://en.wikipedia.org/wiki/Sparse_matrix) to represent the [adjacency matrix](https://en.wikipedia.org/wiki/Adjacency_matrix) in graphs and [linear algebra](http://faculty.cse.tamu.edu/davis/GraphBLAS.html) to query the graph.

Primary features:
* Adopting the [Property Graph Model](https://github.com/opencypher/openCypher/blob/master/docs/property-graph-model.adoc)
Expand Down
8 changes: 8 additions & 0 deletions src/ast/ast_validations.c
Expand Up @@ -1300,6 +1300,11 @@ static VISITOR_STRATEGY _Validate_call_subquery
}
}

// save current state
is_union_all union_all = vctx->union_all;
// reset state
vctx->union_all = NOT_DEFINED;

// visit the subquery clauses
bool last_is_union = false;
for(uint i = 0; i < nclauses; i++) {
Expand Down Expand Up @@ -1341,6 +1346,9 @@ static VISITOR_STRATEGY _Validate_call_subquery
}
}

// restore state
vctx->union_all = union_all;

// free the temporary environment
raxFree(vctx->defined_identifiers);
vctx->defined_identifiers = in_env;
Expand Down
10 changes: 5 additions & 5 deletions src/execution_plan/ops/op.c
Expand Up @@ -113,7 +113,7 @@ int OpBase_AliasModifier

bool OpBase_ChildrenAware
(
OpBase *op,
const OpBase *op,
const char *alias,
int *idx
) {
Expand All @@ -140,7 +140,7 @@ bool OpBase_ChildrenAware

bool OpBase_Aware
(
OpBase *op,
const OpBase *op,
const char *alias,
int *idx
) {
Expand Down Expand Up @@ -233,7 +233,7 @@ Record OpBase_Profile

bool OpBase_IsWriter
(
OpBase *op
const OpBase *op
) {
return op->writer;
}
Expand Down Expand Up @@ -327,8 +327,8 @@ inline uint OpBase_ChildCount
// returns the i'th child of the op
OpBase *OpBase_GetChild
(
OpBase *op, // op
uint i // child index
const OpBase *op, // op
uint i // child index
) {
ASSERT(op != NULL);
ASSERT(i < op->childCount);
Expand Down
10 changes: 5 additions & 5 deletions src/execution_plan/ops/op.h
Expand Up @@ -204,8 +204,8 @@ uint OpBase_ChildCount
// returns the i'th child of the op
OpBase *OpBase_GetChild
(
OpBase *join, // op
uint i // child index
const OpBase *op, // op
uint i // child index
);

// mark alias as being modified by operation
Expand All @@ -228,7 +228,7 @@ int OpBase_AliasModifier
// returns true if any of an op's children are aware of the given alias
bool OpBase_ChildrenAware
(
OpBase *op,
const OpBase *op,
const char *alias,
int *idx
);
Expand All @@ -238,7 +238,7 @@ bool OpBase_ChildrenAware
// modified by prior operation within its segment
bool OpBase_Aware
(
OpBase *op,
const OpBase *op,
const char *alias,
int *idx
);
Expand All @@ -252,7 +252,7 @@ void OpBase_PropagateReset
// indicates if the operation is a writer operation
bool OpBase_IsWriter
(
OpBase *op
const OpBase *op
);

// indicates if the operation is an eager operation
Expand Down

0 comments on commit b7979fd

Please sign in to comment.