I’m trying to follow along with the Java examples from the Github repo/website, but when it comes to writing queries, I’m getting an error:
[TileDB::Domain] Error: Dimension "__coords" does not exist when I use the method
.setCoordinates (the sparse-write example on the website uses
setCoords, which I’m guessing is just a typo). I’m assuming that the __coords dimension is being created internally, so I don’t think that I’m supposed to have created it myself.
To work arround this, I tried setting each dimension’s buffer individually (like the Go example), and that didn’t throw an error, but doesn’t seem to be working correctly either.
I’m using version 0.3.0 of the Java SDK, and I’ve built the libtiledbjni.so from the release-0.3.0 branch of TileDB-Java. I’m trying to write to a sparse array.
Is there an obvious thing that I’m missing, or is there a newer version of the Java library I should be using?
Technically I’m using Clojure, but I don’t think that that should have any impact. I can post a code snippet if that helps.