def METHOD_NAME(translator: ExprTranslator, op: ops.Node) -> str:
    arg = translator.translate(op.args[0])
    if sql_attr == "epochseconds":
        return f"UNIX_SECONDS({arg})"
    else:
        return f"EXTRACT({sql_attr} from {arg})"