translating general Python logic directly into SQL, where the expressive power simply does not match. Even more tractable shifts, such as procedural to object-oriented, are only partially automatable.