« Who uses time series or column-oriented databases and why? | Main | How do I choose whether to make a field a symbol or string? »

How do I delete a function in namespace .z?

The usual way to delete a function - any entity, for that matter, is

delete entity from namespace

e.g.

delete foo from `.

However, .z is a special namespace, so delete doesn't work:

q).z.ts: {47}
q)delete ts from `.z
'type
q)

There is a special command just for removing elements from .z:

q)\x .z.pi

See \x (expunge).

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Textile formatting is allowed.