def METHOD_NAME(column_type):
    c = column_type.lower()
    f = re.search(r"^nullable\((.*)\)$", c)
    if f is not None:
        c = f.group(1)
    if c.startswith("int") or c.startswith("uint"):
        return TYPE_INTEGER
    elif c.startswith("float"):
        return TYPE_FLOAT
    elif c == "datetime":
        return TYPE_DATETIME
    elif c == "date":
        return TYPE_DATE
    else:
        return TYPE_STRING