-
Notifications
You must be signed in to change notification settings - Fork 3
Description
First off, this library is very cool @smmaurer thanks for doing this!
Has anyone else noticed that orca_test is pretty slow? I mean, our simulation is about 73 minutes and when I added the UAL code it slowed down dramatically. At this point I've found the two causes of the problem and the actual new code is fairly quick.
Basically the orca test code adds 25 minutes to the simulation, and that's only verifying schemas in a few places.
My guess is that I see merge_tables called with all columns in the code. Maybe it should only be called with only the columns that are being verified in the specific orca_test. I mean, we have lots of computed columns and it's definitely known that if you ask for all of them that's an expensive operation.
If using all the columns is necessary, perhaps it's not necessary to use all the rows to verify the schemas? For verification purposes, I imagine we only need a few hundred rows from each table?
Barring all that, a simple on-off switch would seem essential so that it's not required to merge all the tables when not in debug mode...