I have developed a couple of UDOs and stoped working as soon as I tried to use them with the newer SciDB released. I suspect it is a config issue and will resolve that on my own, but there was something I wanted to ask a while back and neglected to.
The UDOs I developed used a Tuple and my result Array was a TupleArray
for example something like:
vector< boost::shared_ptr<Tuple> > tuples( size );
for ( int i=0; i<size; i++ )
boost::shared_ptr<Tuple> tuple( new Tuple(2) );
tuples[i] = boost::shared_ptr<Tuple>(tuple);
return boost::shared_ptr<Array>(new TupleArray(_schema, tuples, Coordinate(query->getInstanceID())));
That works fine, but on the example UDOs I noticed that a different API is used.
Will the much simpler way I am using will be supported or I should get familiar with the newer one ?