-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Labels
invalidThis doesn't seem rightThis doesn't seem rightwontfixThis will not be worked onThis will not be worked on
Milestone
Description
ArcadeDB Version: 22.1.3
JDK Version: Corretto 11
OS: Windows 10
Expected behavior
Returns 250,001
Actual behavior
Returns 0 for both.
Steps to reproduce
for (i in 0..250000) {
val vertex = database.newVertex("Tester")
vertex.set("id", i.toString())
database.async().createRecord(vertex) {}
}
for (i in 0..250000) {
val vertex = database.newVertex("Software")
vertex.set("id", i.toString())
database.async().createRecord(vertex) {}
}
database.async().waitCompletion()
for (i in 0..250000) {
database.async().newEdgeByKeys(
"Tester",
arrayOf("id"),
arrayOf(i),
"Software",
arrayOf("id"),
arrayOf(i),
false,
"testerOf",
false,
true,
null
)
}
database.async().waitCompletion()
val count1 = database.countType("testerOf", true)
val count2 = database.query("sql", "SELECT COUNT(*) FROM testerOf").next().getProperty<Long>("COUNT(*)")
println(count1)
println(count2)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem rightwontfixThis will not be worked onThis will not be worked on