If you want ultimate flexibility, at the cost of maintainability, you could create a new hdb root with symlinks to the sym file + months + tables + columns (with a non-symlinked .d file)=E2=80=8E you want. Nasty but should work.
From: Manish Patel
Sent: Monday, November 23, 2015 06:10
To: personal-kdbplus@googlegroups.com
Reply To: personal-kdbplus@googlegroups.com
Subject: Re: [personal kdb+] How to load partitioned tables?
>> 3. How to load partitioned db with specific months, tables and =
columns? Like this scenario:
>> Within 2015.01 - 2015.03, table t1 with column c1 ONLY.
>
> =E2=80=8E3 can’t be done within kdb+ afaik
modify the definition of the table after it’s loaded to only reference =
the column(s) you want
q):/tmp/db/2015.01/t1/.d setc1c2c3 :/tmp/db/2015.01/t1/.d q):/tmp/db/2015.01/t1/c1 set 1 2 3 :/tmp/db/2015.01/t1/c1 q):/tmp/db/2015.01/t1/c2 set 1 2 3 :/tmp/db/2015.01/t1/c2 q):/tmp/db/2015.01/t1/c3 set 1 2 3
`:/tmp/db/2015.01/t1/c3
q)\l /tmp/db
q)t1
month c1 c2 c3
this could be implemented in a .q file in the root of the hdb if you =
wanted
(N.B. such files are skipped when you reload with \l ., so you’ll have =
to use the full path (or generate it with system"l “,system"cd” or =
something)