code: def get_preditor_alias(step, mindsdb_database):
      predictor_name = ".".join(step.predictor.parts)
      predictor_alias = (
          ".".join(step.predictor.alias.parts)
          if step.predictor.alias is not None
          else predictor_name
      )
      return (mindsdb_database, predictor_name, predictor_alias)
  
file_path: mindsdb/mindsdb/api/executor/sql_query/steps/apply_predictor_step.py
imports: import datetime
  import re
  import dateinfer
  import pandas
  from mindsdb_sql.parser.ast import BinaryOperation, Identifier, Constant, Latest, BetweenOperation, Parameter
  from mindsdb_sql.planner.step_result import Result
  from mindsdb_sql.planner.steps import ApplyTimeseriesPredictorStep, ApplyPredictorRowStep, ApplyPredictorStep
  from mindsdb.api.executor.sql_query.result_set import ResultSet, Column
  from mindsdb.utilities.cache import get_cache, json_checksum
  from .base import BaseStepCall
label_desc: Use image node_id 1 for calling a global function with example usage: get_preditor_alias(step, mindsdb_database) and returns: mindsdb_database,  predictor_name,  predictor_alias