Col type errors

Doc days column type is inferred by first element inserted. twl1:( col1: 1 2; col2: 5.1 “y”) Would col2 be a general list then ?

59be8c4b-5169-4b8f-ac10-caa9bd149dc3@googlegroups.com>To: analyst , personal-kdbplus@googlegroups.comWell, what happens when you try it?PS: you can’t make a complex list using simple notation. It needs to be (5.1;“y”)? Original Message ?From: analystSent: Friday, July 10, 2015 13:09To: personal-kdbplus@googlegroups.comReply To: personal-kdbplus@googlegroups.comSubject: [personal kdb+] Col type errorsDoc days column type is inferred by first element inserted.twl1:( col1: 1 2; col2: 5.1 “y”)Would col2 be a general list then ?–

Submitted via Google Groups

Yes it would be a general list.   Try this:

twl1:( col1: 1 2; col2: (5.1; “y”) )   

type each twl1[cols twl1]   /  7  0h