code: def download_rc_binaries(
      version,
      rc_number,
      re_match=None,
      dest=None,
      num_parallel=None,
      target_package_type=None,
      repository=None,
      tag=None,
  ):
      version_string = "{}-rc{}".format(version, rc_number)
      version_pattern = re.compile(r"\d+\.\d+\.\d+")
      if target_package_type:
          package_types = [target_package_type]
      else:
          package_types = ARROW_PACKAGE_TYPES
      for package_type in package_types:
  
          def is_target(path):
              match = version_pattern.search(path)
              if not match:
                  return True
              return match[0] == version
  
          filter = is_target
  
          if package_type == "jars":
              downloader = Maven()
              prefix = ""
          elif package_type == "github":
              downloader = GitHub(repository, tag)
              prefix = ""
              filter = None
          elif package_type in ARROW_REPOSITORY_PACKAGE_TYPES:
              downloader = Artifactory()
              prefix = f"{package_type}-rc"
          else:
              downloader = Artifactory()
              prefix = f"{package_type}-rc/{version_string}"
              filter = None
          files = downloader.get_file_list(prefix, filter=filter)
          downloader.download_files(
              files,
              re_match=re_match,
              dest=dest,
              num_parallel=num_parallel,
          )
  
imports: import argparse
  import concurrent.futures
  import functools
  import json
  import os
  import random
  import re
  import subprocess
  import time
  import urllib.request
label_desc: Use image node_id 2 for calling a global function with example usage: download_rc_binaries(version, rc_number, re_match, dest, num_parallel, target_package_type, repository, tag) and returns: unknown, True