anchor.diff:  	return []map[string]interface{}{result}
   }
   
  -type bigQueryTableId struct {
  -	Project, DatasetId, TableId string
  -}
  -
  -func parseBigQueryTableId(id string) (*bigQueryTableId, error) {
  -	// Expected format is "projects/{{project}}/datasets/{{dataset}}/tables/{{table}}"
  -	matchRegex := regexp.MustCompile("^projects/(.+)/datasets/(.+)/tables/(.+)$")
  -	subMatches := matchRegex.FindStringSubmatch(id)
  -	if subMatches == nil {
  -		return nil, fmt.Errorf("Invalid BigQuery table specifier. Expecting projects/{{project}}/datasets/{{dataset}}/tables/{{table}}, got %s", id)
  -	}
  -	return &bigQueryTableId{
  -		Project:   subMatches[1],
  -		DatasetId: subMatches[2],
  -		TableId:   subMatches[3],
  -	}, nil
  -}
  +func resourceBigQueryTableImport(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) {
  +	config := meta.(*Config)
  +	if err := parseImportId([]string{
  +		"projects/(?P<project>[^/]+)/datasets/(?P<dataset_id>[^/]+)/tables/(?P<table_id>[^/]+)",
  +		"(?P<project>[^/]+)/(?P<dataset_id>[^/]+)/(?P<table_id>[^/]+)",
  +		"(?P<dataset_id>[^/]+)/(?P<table_id>[^/]+)",
  +	}, d, config); err != nil {
  +		return nil, err
  +	}
  +
  +	// Replace import id for the resource id
  +	id, err := replaceVars(d, config, "projects/{{project}}/datasets/{{dataset_id}}/tables/{{table_id}}")
  +	if err != nil {
  +		return nil, fmt.Errorf("Error constructing id: %s", err)
  +	}
  +	d.SetId(id)
  +
  +	return []*schema.ResourceData{d}, nil
  +}
  
positive.code: 
  	log.Printf("[INFO] Reading BigQuery table: %s", d.Id())
  
  	id, err := parseBigQueryTableId(d.Id())
  	if err != nil {
  		return err
  	}
  
  	res, err := config.clientBigQuery.Tables.Get(id.Project, id.DatasetId, id.TableId).Do()
  	if err != nil {
  		return handleNotFoundError(err, d, fmt.Sprintf("BigQuery table %q", id.TableId))
  	}
  
  	d.Set("project", id.Project)
  	d.Set("description", res.Description)
  	d.Set("expiration_time", res.ExpirationTime)
  	d.Set("friendly_name", res.FriendlyName)
  
negative.code: 
  	log.Printf("[INFO] Updating BigQuery table: %s", d.Id())
  
  	project, err := getProject(d, config)
  	if err != nil {
  		return err
  	}
  
  	datasetID := d.Get("dataset_id").(string)
  	tableID := d.Get("table_id").(string)
  
  	if _, err = config.clientBigQuery.Tables.Update(project, datasetID, tableID, table).Do(); err != nil {
  		return err
  	}
  
  