You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varduckDbCommand= connection.CreateCommand();
duckDbCommand.CommandText ="select now() as tme";varreader= duckDbCommand.ExecuteReader();
reader.GetDateTime(0)
This will crash with below error
"Valid values are between 0 and 999, inclusive. (Parameter 'millisecond')"
now function returns time with milliseconds. If specifying time without milliseconds (e.g. TIMESTAMP '1992-09-20 20:38:40' ) GetDateTime works correctly
The text was updated successfully, but these errors were encountered:
* Fix for handling microseconds
Update tests & new test data
* Use ticks to retain microsecond granularity
* Use ticks to retain microsecond granularity
* Remove unused constructor
* Removed old comment and align test cases
* Align test case
* Update utils method to take optional microseconds
* Change ToTicks method to property
Steps to reproduce:
This will crash with below error
"Valid values are between 0 and 999, inclusive. (Parameter 'millisecond')"
now function returns time with milliseconds. If specifying time without milliseconds (e.g. TIMESTAMP '1992-09-20 20:38:40' ) GetDateTime works correctly
The text was updated successfully, but these errors were encountered: