cancel
Showing results for 
Search instead for 
Did you mean: 

Col type errors

analyst_tech_jo
New Contributor
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 ?
2 REPLIES 2

david_demner
New Contributor
<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 ?-- You received this message because you are subscribed to the Google Groups "Kdb+ Personal Developers" group.To unsubscribe from this group and stop receiving emails from it, send an email to personal-kdbplus+unsubscribe@googlegroups.com.To post to this group, send email to personal-kdbplus@googlegroups.com.Visit this group at http://groups.google.com/group/personal-kdbplus.For more options, visit https://groups.google.com/d/optout.

rahul_asati04
Contributor
Yes it would be a general list.   Try this:

twl1:([] col1: 1 2; col2: (5.1; "y") )   

type each twl1[cols twl1]   /  7  0h