-
How the sym file reads data from partition table?
Hi, Masters:
Last week, I created a partition table to store fundmental data, for example, Sector A has 10 equities and Sector B has 8 equities. The data changed day by day and was loaded by a csv file which exported from Stock Exchange system. It works fine last week.As you know, Feb 18 and 19 is weekend. Today, Feb 20 is Monday, there’s trouble. The same script that imports csv file into kdb partition table has problem. The Sector data was disrupted, I tested with a temp table, such as:sect:(” SS”; enlist “,”) 0:`E:/App/datafile/Sector.csv;But after write to parition table it is totally different from the temp table:(hsym `$parSectorpath) set .Q.en[hsym `$dbpath, “;”] sect;l E:/App/dbAt the same time, there’s a strange folder named “db;” which contains a sym file was generated under the App path.I try to use the sym file to replace the old one, the historical data and today’s data are all disrupted, because the number of Sector is not the same as last week. So, can I sure it was caused by the sym file? How can I fix it?Thanks!
Log in to reply.