KX Community

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

Home Forums PyKX loading multiple partitiioned db’s

  • loading multiple partitiioned db’s

    Posted by milk on May 13, 2025 at 5:08 pm

    Hi,

    I’m trying to be able to load multiple partitioned db’s.  In KDB, this typically requires you to de-enumerate the symbols before combining data.  Is pykx able to handle this without de-enumartion?  Is that the purpose of the change_dir option in kx.DB() ?

    For instance, can I do

    db1 = kx.DB(path=/path/to/db1)

    db2 = kx.DB(path=/path/to/db2)

    kx.q.qsql.select(db1.tbl1) /pykx will use the sym file from db1?

    What happening behind the scenes?

    rocuinneagain replied 2 weeks, 3 days ago 2 Members · 1 Reply
  • 1 Reply

Log in to reply.