Hi folks,
I’m fairly new to Kdb+ and am having some trouble saving data to a local splayed table.
I’ve written a C# application to crawl file system entries, generate some simple data, and then save that into an in memory table. Works a treat and handles about 500,000 items in about 30 seconds.
I can’t seem to save my table to disk though, I keep getting the following error/information returned.
Welcome to kdb+ 32bit edition
For support please see http://groups.google.com/d/forum/personal-kdbplus
Tutorials can be found at http://code.kx.com/wiki/Tutorials
To exit, type \
To remove this startup msg, edit q.q
q)`:/q/Databases/FileCrawl/fileinformation/ set fileinformation
k){$[@x;.[x;();:;y];-19!((,y),x)]}
'type
q.q))
I have no idea what to make of the highlighted line. If I change my path to end with fileinformation.bat then it saves a file to disk no bother.
I think this might be due to the fact that I have a lot of string (symbol) data in my table… and I am not enumerating it, as I don’t really know how. But I’m not an expert, so I am not sure if that is the issue.
My data is created using similar code to the AquaQ demo app, using kx.c.Flip for column names and data.
Should I be doing something earlier on during table creation or can I proceed as I am now, but just need to do something else before saving to disk?
Many thanks for any help.
Regards,
Mark