I have two tables:
- table1 spanning from 2017.01.01-> 2018.01.01
- table2 spanning from 2017.12.01 -> 2023.01.15 (containing mostly fake simulated data).
I want to create a historical database partitioned by date, and give the user the ability to append other data to it (I am not worried about duplicates for subsequent appends)
table2 also have two symbol columns (GBP and UK -> same for all entries -> might change when I get my hands on the real data).
I want to create a partitioned table to look like this:
HDB_DATE1_TAB1
| |_TAB2
|_DATE2_TAB1
| |_TAB2
|_DATE3_TAB1
|_DATE4_TAB1
| |_TAB2
|_DATE5_TAB1
|_DATE6_TAB1
| |_TAB2
.
.
.
As you can see one of the tables has more entries than the other (significantly more). How can I achieve this structure in KDB?
At the moment I dropped the two symbol columns from table2. I saved the first one with .Q.dpft and the second one just as a normal splayed table. When I load the database just one table (table2) appears and I cannot query it in any way. Can you point me in the right direction?