Welcome to the new home of the KX Community and KX Academy! Existing users are required to reset their passwords to log in

KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums kdb+ Automatic unenumeration of data on-disk

  • Automatic unenumeration of data on-disk

    Posted by erichards on April 1, 2025 at 9:56 am

    When you pass a table over IPC, sym values are automatically un-enumerated. Is there any way of triggering this within a single q session?

    I’m aware that you can call get to un-enumerate explicitly, and use type each flip to identify such columns dynamically, but this is trickier when you have nested structures that contain syms e.g. a column where each cell is a list of syms.

    Thanks

    • This discussion was modified 6 days, 8 hours ago by  erichards. Reason: Phrasing
    erichards replied 6 days, 6 hours ago 1 Member · 1 Reply
  • 1 Reply
  • erichards

    Member
    April 1, 2025 at 12:27 pm

    -9! -8! <table>

    seems to do the trick. Much slower than calling get, however, but at least it works for all structures.

Log in to reply.