code: def testQuantized():
      spark = test_helpers.getOrCreateSparkSession(
          test_helpers.getCurrentMethodName()
      )
      import catboost_spark
  
      pool = getSimpleTestPool(test_helpers.getCurrentMethodName())
      quantizedPool = pool.quantize()
  
      for format in ("orc", "parquet", "default"):
          tmpFolderPath = tempfile.mkdtemp(
              prefix=test_helpers.getCurrentMethodName() + "." + format
          )
          implTestCase(
              tmpFolderPath,
              quantizedPool,
              dataFramesFormat=format if format != "default" else None,
          )
  
file_path: catboost/catboost/spark/catboost4j-spark/core/src/test/python/pool_serialization_test.py
imports: import tempfile
  import pytest
  import test_helpers
  import pool_test_helpers
  from pyspark.ml.linalg import Vectors, VectorUDT
  from pyspark.sql import Row
  from pyspark.sql.types import *
label_desc: Use image node_id 8 for calling a global function with example usage: testQuantized() without return types