-
Notifications
You must be signed in to change notification settings - Fork 119
feat: native support for intervals <-> Neo4j duration #796
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
base: 5.0
Are you sure you want to change the base?
Conversation
| class SparkToNeo4jDataConverter extends DataConverter[Value] { | ||
|
|
||
| override def convert(value: Any, dataType: DataType): Value = { | ||
| dataType match { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking into how to re-write this to still match on value (and incorporate below)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
... but I don't think it's important...
spark-3/src/test/scala/org/neo4j/spark/DataSourceWriterTSE.scala
Outdated
Show resolved
Hide resolved
b8a5787 to
078fcf0
Compare
spark-3/src/test/scala/org/neo4j/spark/DataSourceWriterTSE.scala
Outdated
Show resolved
Hide resolved
spark-3/src/test/scala/org/neo4j/spark/DataSourceWriterTSE.scala
Outdated
Show resolved
Hide resolved
spark-3/src/test/scala/org/neo4j/spark/DataSourceWriterTSE.scala
Outdated
Show resolved
Hide resolved
ca3a137 to
175e0dd
Compare
45ca291 to
6961941
Compare
|
When this is released, document in: neo4j/docs-spark#83 |
6961941 to
13fb6da
Compare
this commit introduces a new way to write from Spark SQL interval types to Neo4j duration type. commit is additive, i.e. the previous method to write Neo4j duration type via custom struct is still possible, and should therefore be backwards compatible. Fixes CONN-341
13fb6da to
69647b4
Compare
this commit introduces a new way to write from Spark SQL interval types to Neo4j duration type.
commit is additive, i.e. the previous method to write Neo4j duration type via custom struct is
still possible, and should therefore be backwards compatible.
part of CONN-341