Hi,
sometimes my ADONET64 vertica driver returns an empty DataTable, when I run a "Select count(*) from " a View.
The c# code is the following:
VerticaCommand command = _dbConnection.CreateCommand();
command.Connection = _dbConnection;
command.CommandText = "SELECT COUNT(*) FROM View";
// Create the DataAdapter
VerticaDataAdapter adapter = new VerticaDataAdapter {SelectCommand = command};
// Fill the DataTable
DataTable result = new DataTable();
adapter.Fill(result);
After adapter.Fill(result) result should be a data table with one row, but sometimes it is just empty.
Any idea? Is that a bug in the driver?
vertica and driver version is v10.0.1-6