Home › Forums › kdb+ › How the sym file reads data from partition table? › Re: How the sym file reads data from partition table?
-
Why do you have `$dbpath, “;” ? If dbpath is “db” then that would explain why you are seeing a “db;” directory.
This way, the sym file from this operation is created in the “db;” directory, and the symbol indices in the table will point to this new sym file. You can’t swap in and out sym files with each other if there are existing symbol references to it, because then they will point to the wrong symbol. Instead you could load the “wrong” sym file, de-enumerate the symbol columns, and then call .Q.en again but this time with the correct database path.