Currently we first write the table and then do register_table.
There are technically 2 other ways to do this:
- create_table with empty table, and then write data to it. One issue is that the table shows up before the data is fully written
- create_table which creates a running transaction to use, which allows Ray to write data and then commit the transaction at finish time.
Currently a basic namespace probably can only do 1, since the transaction part is not fully flushed out yet.