Implement Table.lookup_and_replace
for in-memory
#7979
Merged
Table.lookup_and_replace
for in-memory
#7979