blob: f3cd1e18a3a04129432e4119950f205b1aaa99c5 [file] [log] [blame]
// this is data case file for array<smallint> type, contains normal, corner, exceptional data cases
[]
[null]
NULL
// single element
[0]
// smallint min/max value
[-32768, 32767]
// smallint min/max value + 1
[-32767, 32768]
// smallint min/max value - 1
[-32769, 32766]
// smallint -1-16
[-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
// smallint 0-16 with null
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, null, 11, 12, 13, 14, 15, 16]
// sqrt(max) + 1
[181, 182]
[-1, 0, 1, 2, -32768, 32767, 1.1]
// overflow case with not covert literal to decimal will insert success
[-32769, 32768, 32769]
// overflow case with covert literal to decimal will insert fail
// [-32769, 32768, 32769, 1.1]
// all data contains below
[-32768, -32767, -32769, -32766, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 32767, 32768, 32769, 32766, null, 181, 182]