MySQL code refactored to use singledispatch generic functions in parse_column (much better now)