code: def _create_basic_avro_record(
      schema: AvroSchema,
      boolean_value,
      int_value,
      long_value,
      float_value,
      double_value,
      string_value,
  ):
      jvm = get_gateway().jvm
      j_record = jvm.GenericData.Record(schema._j_schema)
      j_record.put("boolean", boolean_value)
      j_record.put("int", int_value)
      j_record.put("long", long_value)
      j_record.put("float", float_value)
      j_record.put("double", double_value)
      j_record.put("string", string_value)
      return j_record
  
imports: import glob
  import os
  import tempfile
  from typing import Tuple, List
  from avro.datafile import DataFileReader
  from avro.io import DatumReader
  from py4j.java_gateway import JavaObject, java_import
  from pyflink.datastream import MapFunction
  from pyflink.datastream.connectors.file_system import FileSink
  from pyflink.datastream.formats.avro import AvroSchema, GenericRecordAvroTypeInfo, AvroBulkWriters, AvroInputFormat
  from pyflink.datastream.tests.test_util import DataStreamTestSinkFunction
  from pyflink.java_gateway import get_gateway
  from pyflink.testing.test_case_utils import PyFlinkUTTestCase
label_desc: Use image node_id 17 for calling a global function with example usage: _create_basic_avro_record(schema, boolean_value, int_value, long_value, float_value, double_value, string_value) and returns: j_record