We updated the NuGet package DuckDB.NET.Data.Full in our application from 1.4.4 to 1.5.3.
We open an IDataReader on the database, and execute GetSchemaTable on it. With version 1.4.4 this is working fine. With version 1.5.3 we get an IndexOutOfBoundsException.
We are using a connection to a DuckDB database, open a command using that connection, and call ExecuteReaderAsync on the command.
Then on the resulting IDataReader we call GetSchemaTable, which then fails with exception message Index was outside the bounds of the array..
Stack trace (top two lines):
at DuckDB.NET.Data.DuckDBDataReader.GetName(Int32 ordinal)
at DuckDB.NET.Data.DuckDBDataReader.GetSchemaTable()
I can not find a breaking change in the release notes that documents this.
Why are we getting this exception? Is there something we can do to resolve this issue?
We updated the NuGet package DuckDB.NET.Data.Full in our application from 1.4.4 to 1.5.3.
We open an IDataReader on the database, and execute GetSchemaTable on it. With version 1.4.4 this is working fine. With version 1.5.3 we get an IndexOutOfBoundsException.
We are using a connection to a DuckDB database, open a command using that connection, and call ExecuteReaderAsync on the command.
Then on the resulting IDataReader we call GetSchemaTable, which then fails with exception message
Index was outside the bounds of the array..Stack trace (top two lines):
I can not find a breaking change in the release notes that documents this.
Why are we getting this exception? Is there something we can do to resolve this issue?