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

Request for neo4j driver #29598

Open
Korakbhakta02 opened this issue Jul 16, 2024 · 1 comment
Open

Request for neo4j driver #29598

Korakbhakta02 opened this issue Jul 16, 2024 · 1 comment

Comments

@Korakbhakta02
Copy link

Inside the container of superset, I have installed neo4j driver of python, still it is not allowing neo4j url to connect. Is there any other way to use neo4j driver in superset?

Copy link

dosubot bot commented Jul 16, 2024

Hi @Korakbhakta02! I'm a bot here to help you out with any bugs, questions, or contributions you have. Let's tackle this neo4j driver issue together!

Yes, there is another way to use the Neo4j driver in Superset. You can build a custom database connector for Superset integration. The documentation provides a tutorial on how to build a database connector for Superset integration, which you can find here.

Additionally, you can follow the general steps for installing database drivers in Docker images as outlined in the documentation. Here is a summary of the steps:

  1. Determine the driver you need: Identify the PyPI package needed to connect to your database. For Neo4j, you might need a package like neo4j or neo4j-sqlalchemy.

  2. Install the driver in the container: Create a requirements-local.txt file in a subdirectory called docker that exists in the directory with your docker-compose.yml or docker-compose-non-dev.yml file. Add the required package to this file.

    echo "neo4j" >> ./docker/requirements-local.txt
    
  3. Build and run the Docker container: Ensure that the requirements-local.txt file is picked up and the necessary packages are installed when the container is built.

By following these steps, you can ensure that the Neo4j driver is installed and available for use within the Superset container [1].

To continue talking to Dosu, mention @dosu.

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

No branches or pull requests

1 participant