Skip to content
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

Hangs getting of distinct list of edge labels #29196

Open
5 tasks done
Eugene-M opened this issue Jan 14, 2025 · 0 comments
Open
5 tasks done

Hangs getting of distinct list of edge labels #29196

Eugene-M opened this issue Jan 14, 2025 · 0 comments
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature

Comments

@Eugene-M
Copy link

Eugene-M commented Jan 14, 2025

Checked other resources

  • I added a very descriptive title to this issue.
  • I searched the LangChain documentation with the integrated search.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code

SELECT *
FROM cypher('graph', $$
MATCH ()-[e]->() RETURN collect(distinct label(e)) as labels
$$) as (e agtype);

Error Message and Stack Trace (if applicable)

No response

Description

https://github.com/langchain-ai/langchain/blob/master/libs/community/langchain_community/graphs/age_graph.py
Line 158 contains wrong MATCH statement definition.
It should be with a right arrow:
MATCH ()-[e]->() RETURN collect(distinct label(e)) as labels

System Info

A Docker container with the latest version of langchain.

@dosubot dosubot bot added the 🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:bug Related to a bug, vulnerability, unexpected error with an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant