neo4j / neo4j-spark-connector

Neo4j Connector for Apache Spark, which provides bi-directional read/write access to Neo4j from Spark, using the Spark DataSource APIs
https://neo4j.com/developer/spark/
Apache License 2.0
313 stars 112 forks source link

how can i select another db but not the default neo4j database in Enterprise Edition #446

Closed Nevernamed closed 1 year ago

Nevernamed commented 2 years ago

df = spark.readStream \ .format("org.neo4j.spark.DataSource") \ .option("url", "neo4j://IP:7687") \ .option("labels", "Person") \ .load()

it's error when i add .option("database", "studentdb") \

conker84 commented 2 years ago

Which error? Can you share the full name of the neo4j connector?

Nevernamed commented 2 years ago

Which error? Can you share the full name of the neo4j connector?

neo4j-connector-apach-spark_2.12-4.1.5_for_spark_3.jar

`df = spark.read.format("org.neo4j.spark.DataSource") .option("url","") .option("auth~username","") .option("auth~password","") .option("database","studentdb") .option("labels","studengs") .load()

df.show() ` it's empty is it not support other neo4j database, only default neo4j?

Nevernamed commented 2 years ago

Which error? Can you share the full name of the neo4j connector?

neo4j-connector-apach-spark_2.12-4.1.5_for_spark_3.jar

`df = spark.read.format("org.neo4j.spark.DataSource") .option("url","") .option("auth~username","") .option("auth~password","") .option("database","studentdb") .option("labels","studengs") .load()

df.show() ` it's empty is it not support other neo4j database, only default neo4j?

conker84 commented 2 years ago

Sorry but if you don’t attach the stacktrace I cannot understand what is the problem.

Il giorno ven 16 set 2022 alle 18:45 Kerwin Chou @.***> ha scritto:

Which error? Can you share the full name of the neo4j connector?

neo4j-connector-apach-spark_2.12-4.1.5_for_spark_3.jar

`df = spark.read.format("org.neo4j.spark.DataSource") .option("url","") .option("authusername","") .option("authpassword","") .option("database","studentdb") .option("labels","studengs") .load()

df.show() ` it's empty is it not support other neo4j database, only default neo4j?

— Reply to this email directly, view it on GitHub https://github.com/neo4j-contrib/neo4j-spark-connector/issues/446#issuecomment-1249575489, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAN7S52PVVQ3WC7QGQ2EMU3V6SP3NANCNFSM6AAAAAAQMS6B2Q . You are receiving this because you commented.Message ID: @.***>

conker84 commented 1 year ago

Closing for lack of feedback. Feel free to open in case of new info