private IDataView ExecutePipeline()
 {
     if (_preview == null)
     {
         if (_pipeline != null)
         {
             try
             {
                 _preview = _pipeline.Execute(_environment);
             }
             catch (Exception e)
             {
                 _pipelineExecutionException = e;
                 var fakeColumn = new KeyValuePair <string, ColumnType>("Blank", TextType.Instance);
                 _preview = new EmptyDataView(_environment, Schema.Create(new SimpleSchema(_environment, fakeColumn)));
             }
         }
     }
     return(_preview);
 }
 private IDataView ExecutePipeline()
 {
     if (_preview == null)
     {
         if (_pipeline != null)
         {
             try
             {
                 _preview = _pipeline.Execute(_environment);
             }
             catch (Exception e)
             {
                 _pipelineExecutionException = e;
                 var builder = new SchemaBuilder();
                 builder.AddColumn("Blank", TextType.Instance);
                 _preview = new EmptyDataView(_environment, builder.GetSchema());
             }
         }
     }
     return(_preview);
 }