Error using build with uint64 dimension


#1

SciDB 12.3, Ubuntu 11.10

I get an error message when I run a build command on an array I have populated from redimension_store:

AFL% create array raw <row:uint64, col:uint64, value:double> [line=0:*,20,0];
Query was executed successfully
AFL% load(raw, '/home/scidb/test.scidb');
[(0,0,2),(1,0,3),(2,0,5),(0,1,7),(1,1,11),(2,1,13),(0,2,17),(1,2,19),(2,2,23),(),(),(),(),(),(),(),(),(),(),()]
AFL% create array test <value:double> [row=0:2,3,0, col=0:2,3,0];
Query was executed successfully
AFL% redimension_store(raw, test);
[[(2),(7),(17)],[(3),(11),(19)],[(5),(13),(23)]]
AFL% build(test, row);
SystemException in file: src/system/catalog/SystemCatalog.cpp function: getArrayDesc line: 719
Error id: scidb::SCIDB_SE_SYSCAT::SCIDB_LE_ARRAY_DOESNT_EXIST
Error description: System catalog error. Array 'NID_143@0:row' does not exist.
Failed query id: 1101126183875

file used and preparation for loading:

scidb@ubuntu:~$ cat test.csv 
0,0,2
1,0,3
2,0,5
0,1,7
1,1,11
2,1,13
0,2,17
1,2,19
2,2,23
scidb@ubuntu:~$ csv2scidb < test.csv > test.scidb
scidb@ubuntu:~$ cat test.scidb 
{0}[
(0,0,2),
(1,0,3),
(2,0,5),
(0,1,7),
(1,1,11),
(2,1,13),
(0,2,17),
(1,2,19),
(2,2,23)
]

Note that if I build the exact same array but don’t use redimension_store there is no error message:

create array test2 <value:double> [row=0:2,3,0, col=0:2,3,0];
Query was executed successfully
AFL% build(test2, row);
[[(0),(0),(0)],[(1),(1),(1)],[(2),(2),(2)]]

Also note that if I change the raw loading array so that the row,col values are uint32 (or int32) instead uint64 I still get the same error message:

AFL%  create array raw2 <row:uint32, col:uint32, value:double> [line=0:*,20,0];
Query was executed successfully
AFL% load(raw2, '/home/scidb/test.scidb');
[(0,0,2),(1,0,3),(2,0,5),(0,1,7),(1,1,11),(2,1,13),(0,2,17),(1,2,19),(2,2,23),(),(),(),(),(),(),(),(),(),(),()]
AFL% create array test2 <value:double> [row=0:2,3,0, col=0:2,3,0];
Query was executed successfully
AFL% redimension_store(raw2, test2);
[[(2),(7),(17)],[(3),(11),(19)],[(5),(13),(23)]]
AFL% build(test2, row);
SystemException in file: src/system/catalog/SystemCatalog.cpp function: getArrayDesc line: 719
Error id: scidb::SCIDB_SE_SYSCAT::SCIDB_LE_ARRAY_DOESNT_EXIST
Error description: System catalog error. Array 'NID_158@0:row' does not exist.
Failed query id: 1101132404534