TS-1829: values exceed capacity of 'long' data type on 32-bit