Home › Forums › kdb+ › .Q.qp for splayed table › Re: .Q.qp for splayed table
-
If you refer here: https://code.kx.com/q/basics/syscmds/#l-load-file-or-directory
- serialized object, deserializes it into memory as variable
name
- directory of a splayed table, maps the table to variable
name
, without loading any columns into memory
When you are running, l .t -> you are loading the object as t in root. Thus .Q.qp is showing t as 0
% ls -lrth t
total 16
-rw-r–r– 1 sujoyrak**bleep** staff 40B Sep 17 17:20 v1
-rw-r–r– 1 sujoyrak**bleep** staff 40B Sep 17 17:20 v2% q
KDB+ 4.0 2021.07.12 Copyright (C) 1993-2021 Kx Systems
q)l .
q)a
,`t
q).Q.qp t
0b
q)l t
`t
q).Q.qp t
0 - serialized object, deserializes it into memory as variable