def METHOD_NAME(node, is_table, **kwargs):
    if is_table:
        return
    if isinstance(node, Identifier):
        if len(node.parts) > 1:
            node.parts = [node.parts[-1]]
            return node
    if isinstance(node, Function):
        fnc_name = node.op.lower()
        if fnc_name == 'database' and len(node.args) == 0:
            if session is not None:
                cur_db = session.database
            else:
                cur_db = None
            return Constant(cur_db)
        if fnc_name == 'truncate':
            # replace mysql 'truncate' function to duckdb 'round'
            node.op = 'round'
            if len(node.args) == 1:
                node.args.append(0)
        if fnc_name == 'json_extract':
            json_columns.add(node.args[0].parts[-1])