You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dtString="2015-06-24T12:50:35"# init_test runs the query on the db and returns a DataFramedf=init_test(
"CREATE (p:Person {datetime: datetime($datetime)})",
{"datetime": dtString}
)
dt=datetime.datetime(2015, 6, 24, 12, 50, 35)
dtResult=df.select("datetime").collect()[0].datetimeprint(dt)
print(dtResult)
assertdt==dtResult
the assertions fails, the two printed dates are:
2015-06-24 12:50:35
2015-06-24 14:50:35
Investigate if the two hours difference is a spark connector writing/reading issue or if it's some sort of server / client misconfiguration.