We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
find a bug ,when process nullable(DateTime) fields
public override void NullableValuesFromConst(IEnumerable objects) => Data = objects.Cast<DateTime?>().Select(x => x.GetValueOrDefault()).ToArray();
when the IEnumerable objects have some datatime, some null value, NullableValuesFromConst will raise error
在 System.Linq.Enumerable.d__971.MoveNext() 在 System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() 在 System.Linq.Buffer1..ctor(IEnumerable1 source) 在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) 在 ClickHouse.Ado.Impl.ColumnTypes.DateColumnType.NullableValuesFromConst(IEnumerable objects) 位置 C:\Users\Administrator\Desktop\ClickHouse-Net-master (1)\ClickHouse-Net-master\ClickHouse.Ado\Impl\ColumnTypes\DateColumnType.cs:行号 65 在 ClickHouse.Ado.Impl.ColumnTypes.NullableColumnType.ValuesFromConst(IEnumerable objects) 位置 C:\Users\Administrator\Desktop\ClickHouse-Net-master (1)\ClickHouse-Net-master\ClickHouse.Ado\Impl\ColumnTypes\NullableColumnType.cs:行号 70
1.MoveNext() 在 System.Linq.Enumerable.WhereSelectEnumerableIterator
1..ctor(IEnumerable
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
find a bug ,when process nullable(DateTime) fields
public override void NullableValuesFromConst(IEnumerable objects) => Data = objects.Cast<DateTime?>().Select(x => x.GetValueOrDefault()).ToArray();
when the IEnumerable objects have some datatime, some null value, NullableValuesFromConst will raise error
在 System.Linq.Enumerable.d__97
1.MoveNext() 在 System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext()在 System.Linq.Buffer
1..ctor(IEnumerable
1 source)在 System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
在 ClickHouse.Ado.Impl.ColumnTypes.DateColumnType.NullableValuesFromConst(IEnumerable objects) 位置 C:\Users\Administrator\Desktop\ClickHouse-Net-master (1)\ClickHouse-Net-master\ClickHouse.Ado\Impl\ColumnTypes\DateColumnType.cs:行号 65
在 ClickHouse.Ado.Impl.ColumnTypes.NullableColumnType.ValuesFromConst(IEnumerable objects) 位置 C:\Users\Administrator\Desktop\ClickHouse-Net-master (1)\ClickHouse-Net-master\ClickHouse.Ado\Impl\ColumnTypes\NullableColumnType.cs:行号 70
The text was updated successfully, but these errors were encountered: