Opened 5 years ago

Last modified 5 years ago

#2116 closed defect

rasql - insert complex cint16 and cint32 does not work — at Version 2

Reported by: Bang Pham Huu Owned by: apercov
Priority: major Milestone: 9.8
Component: server Version: 9.8
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description (last modified by apercov)

It is needed for #1771

How to reproduce, create these types and collection with rasql

CREATE TYPE test_import_complex_type_cint16_Array AS CInt16 MDARRAY [D0,D1]
CREATE TYPE test_import_complex_type_cint16_Set AS SET (test_import_complex_type_cint16_Array )

Same situation repeats, if we choose cint32.

CREATE COLLECTION test_import_complex_type_cint16_2019_07_10_11_48_59_1985 test_import_complex_type_cint16_Set

Then, this rasql insert should work, note complex(0s,0s) parameter

INSERT INTO test_import_complex_type_cint16_2019_07_10_11_54_20_2434 
VALUES <[0:0,0:0] complex(0s,0s)> TILING ALIGNED [0:500, 0:500]

Current error is

Executing insert query... rasdaman error 959: Update error 959 in line 1, column 1,
near token INSERT: MDD and collection types are incompatible.

Change History (2)

comment:1 by apercov, 5 years ago

Status: newaccepted

comment:2 by apercov, 5 years ago

Description: modified (diff)
Summary: rasql - insert complex cint16 does not workrasql - insert complex cint16 and cint32 does not work
Note: See TracTickets for help on using tickets.