title: Apache Flink: Unable to convert the Table object to DataSet object
body: <p>I am using the Table API on Flink 1.4.0. I have some <code>Table</code> objects to be convert to a <code>DataSet</code> of type <code>Row</code>. The project was built using Maven and imported on IntelliJ. I have the following code and the IDE cannot resolve the method <code>tableenv.toDataSet()</code> method. Please help me out. Thank you.</p>
  
  <pre><code>ExecutionEnvironment env = ExecutionEnvironment.getExecutionEnvironment();
  BatchTableEnvironment tableEnvironment = TableEnvironment.getTableEnvironment(env);
  ...
  tableEnvironment.registerTableSource("table1",csvSource);
  Table table1 = tableEnvironment.scan("table1");
  DataSet&lt;Row&gt; result = tableEnvironment.toDataSet(table1, Row.class);
  </code></pre>
  
  <p>The last statement causes an error </p>
  
  <blockquote>
    <p>"Cannot resolve toDataSet() method"</p>
  </blockquote>