def get_sql_task_cost(self):
        """
        Get cost information of the sql task.
        Including input data size, number of UDF, Complexity of the sql task

        :return: cost info in dict format
        """
        resp = self.get_task_result(self.get_task_names()[0])
        cost = json.loads(resp)
        sql_cost = cost['Cost']['SQL']

        udf_num = sql_cost.get('UDF')
        complexity = sql_cost.get('Complexity')
        input_size = sql_cost.get('Input')
        return Instance.SQLCost(udf_num, complexity, input_size)
def get_sql_task_cost ( self ) : resp = self . get_task_result ( self . get_task_names ( ) [ 0 ] ) cost = json . loads ( resp ) sql_cost = cost [ 'Cost' ] [ 'SQL' ] udf_num = sql_cost . get ( 'UDF' ) complexity = sql_cost . get ( 'Complexity' ) input_size = sql_cost . get ( 'Input' ) return Instance . SQLCost ( udf_num , complexity , input_size )
Get cost information of the sql task.
        Including input data size, number of UDF, Complexity of the sql task

        :return: cost info in dict format