code: func (c *Compiler) Compile(ctx context.Context) (*flux.Spec, error) {
  	transpiler := NewTranspilerWithConfig(
  		c.dbrpMappingSvc,
  		Config{
  			Cluster:                c.Cluster,
  			DefaultDatabase:        c.DB,
  			DefaultRetentionPolicy: c.RP,
  		},
  	)
  	return transpiler.Transpile(ctx, c.Query)
  }
docs: // Compile tranpiles the query into a specification.