code: def test_arrow_size_add_block(ray_start_regular_shared):
      b = ArrowBlockBuilder()
      for _ in range(2000):
          b.add(ARROW_LARGE_VALUE)
      block = b.build()
      b2 = ArrowBlockBuilder()
      for _ in range(5):
          b2.add_block(block)
      assert b2._num_compactions == 0
      assert_close(b2.get_estimated_memory_usage(), 100040020)
      assert b2.build().num_rows == 10000
  
file_path: ray/python/ray/data/tests/test_size_estimation.py
imports: import os
  import uuid
  import pytest
  import ray
  from ray.data._internal.arrow_block import ArrowBlockBuilder
  from ray.tests.conftest import *
label_desc: Use image node_id 4 for calling a global function with example usage: test_arrow_size_add_block(ray_start_regular_shared) without return types