original_docstring: Determines the BigQuery (mode, type) tuple of the right hand side of
          the node value.
          
docstring: Determines the BigQuery (mode, type) tuple of the right hand side of
  the node value.
docstring_tokens: Determines the BigQuery ( mode type ) tuple of the right hand side of the node value .
code: def infer_bigquery_type(self, node_value):
          """Determines the BigQuery (mode, type) tuple of the right hand side of
          the node value.
          """
          node_type = self.infer_value_type(node_value)
          if node_type != '__array__':
              return ('NULLABLE', node_type)
  
          # Do further process for arrays.
  
          # Verify that the array elements are identical types.
          array_type = self.infer_array_type(node_value)
          if not array_type:
              self.log_error(
                  'All array elements must be the same compatible type:'
                  f' {node_value}'
              )
              return (None, None)
  
          # Disallow array of special types (with '__' not supported).
          # EXCEPTION: allow (REPEATED __empty_record) ([{}]) because it is
          # allowed by 'bq load'.
          if '__' in array_type and array_type != '__empty_record__':
              self.log_error(f'Unsupported array element type: {array_type}')
              return (None, None)
  
          return ('REPEATED', array_type)
code_tokens: def infer_bigquery_type ( self , node_value ) : node_type = self . infer_value_type ( node_value ) if node_type != '__array__' : return ( 'NULLABLE' , node_type ) array_type = self . infer_array_type ( node_value ) if not array_type : self . log_error ( 'All array elements must be the same compatible type:' f' {node_value}' ) return ( None , None ) if '__' in array_type and array_type != '__empty_record__' : self . log_error ( f'Unsupported array element type: {array_type}' ) return ( None , None ) return ( 'REPEATED' , array_type )
short_docstring: Determines the BigQuery (mode, type) tuple of the right hand side of
  the node value.
short_docstring_tokens: Determines the BigQuery ( mode type ) tuple of the right hand side of the node value .
comment: """Determines the BigQuery (mode, type) tuple of the right hand side of
          the node value.
          """$SEP$# Do further process for arrays.$SEP$# Verify that the array elements are identical types.$SEP$# Disallow array of special types (with '__' not supported).$SEP$# EXCEPTION: allow (REPEATED __empty_record) ([{}]) because it is$SEP$# allowed by 'bq load'.