code: def test_check_result_type(self):
      def pandas_udaf():
          pass
  
      with self.assertRaises(
          TypeError,
          msg="Invalid returnType: Pandas UDAF doesn't support DataType type MAP currently",
      ):
          udaf(
              pandas_udaf,
              result_type=DataTypes.MAP(
                  DataTypes.INT(), DataTypes.INT()
              ),
              func_type="pandas",
          )
  
imports: import uuid
  from pyflink.table.expressions import col, call, lit, row_interval
  from pyflink.table.types import DataTypes
  from pyflink.table.udf import udaf, udf, AggregateFunction
  from pyflink.testing import source_sink_utils
  from pyflink.testing.test_case_utils import PyFlinkBatchTableTestCase, PyFlinkStreamTableTestCase
label_desc: Use image node_id 2 for calling the BatchPandasUDAFITTests obj's underlying member method code with example usage: obj.test_check_result_type() without return types