Home › Forums › KX Academy › Advanced Capstone 2.2 › Reply To: Advanced Capstone 2.2
-
After writing table to disk using .Q.dpft and loading into memory you should see the date column on your table. You do not need to pass the column name date as in your example, the third parameter should be the column to key on, in this case sensorId. See an example here of what that looks like: https://code.kx.com/q/ref/dotq/#dpft-save-table
Note in that example the table in memory is first deleted and then the table on disk is reloaded – only after loading from disk does date then appear when calling the table or using meta. So for exercise 2.2 you should see date appear without needing to do anything other load table into memory as long as your .Q.dpft worked correctly.
If you can get all your exercise 1 passing thats a good sign .Q.dpft worked correctly. Then use \l to load into memory.code.kx.com
The .Q namespace – tools | Reference | kdb+ and q documentation - kdb+ and q documentation
The .Q namespace contains utility objects for q programming