Skip to content
#

query-language

Here are 140 public repositories matching this topic...

ferret
neomatrix369
neomatrix369 commented Jan 30, 2020

Problem to Solve

At the moment Grakn user of the Docker container may not know how to capture logs from inside a running docker container - especially important when the run has failed.

Current Workaround

There may not be a clean one, but in a case, we could log into the docker container:

$ docker exec -it [container id] /bin/bash
$ cd /path/to/logs
$ [some how upload via 
linas
linas commented Apr 26, 2020

The AtomTable uses a mutex to guard access to the TypeIndex. This mutex could be mostly avoided by using a concurrent hash map. The one described here: https://preshing.com/20160201/new-concurrent-hash-maps-for-cpp/ seems like a good choice. implementing this requires

  • Copying the concurrent hash map source to cog-utils
  • Modifying TypeIndex to use it.
  • Removing the mutex lock in `AtomT
joern
dgunay
dgunay commented Mar 23, 2020

I ran into problems with the extremely long APP_CLASSPATH variable in joern-parse.bat when running joern-cli on Windows. The command was too long and the script would die when trying to set the classpath. I got around it by simply passing a wildcard (%APP_LIB_DIR%/*) to the -cp argument at the end of the script.

I'd file a PR but I can't find the script in this repo.

GROQ
judofyr
judofyr commented Aug 12, 2019

What should it be called?

  • "Array traversal operator": This is what we've always(?) called it
  • "Projection operator": I thought about this earlier and it makes some sense. It's very similar to a projection (in the sense that it changes a stream of data); the only difference is that the output can be any value (not only an object).

How do we specify the semantics

There are three

flyingsilverfin
flyingsilverfin commented Apr 16, 2019

Right now, we restrict grammar to disallow statements such as match $x; get. When building with graql, this is still allowed (Graql.match(var("x")).get()) when it should not be.

Further restrictions are currently built into Grakn's match clause validation at runtime, but not checked elsewhere - such as match $x != $y; get; which does a n^2 scan of the database. We could push this into Gra

jeromesimeon
jeromesimeon commented Aug 27, 2017

The code documentation is scattered at the moment. The README now points to querycert.github.io for documentation. We should have a well understood process to produce documentation, and a clear entry point for both developers (in the code) and users (in the place where the README points to).

Some of the work items include:

  • Document code documentation generation for developers (point to c

Improve this page

Add a description, image, and links to the query-language topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the query-language topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.