-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
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
arrowBatch getting panic: interface conversion: arrow.Array is *array.Int64, not *array.Timestamp #879
Comments
hello and thank you for submitting this issue ! do you think you could provide a minimal viable reproduction code snippet which when run, exhibits the error you're encountering? |
if you add
to TestArrowRecord() you will be able to see it. Basically server can send int64 as timestamp. |
thank you , this looks helpful! we'll take a look. |
this should also be fixed with PR #918 - thank you for bearing with us while this is being worked on ! |
PR merged and will be part of the October release, expected towards the end of October |
gosnowflake 1.7.0 released with the fix, thank you all for bearing with us ! |
in
arrowToRecord()
when decodingtimestampNtzType
andtimestampLtzType
, snowflake can send int64 array, which result inpanic: interface conversion: arrow.Array is *array.Int64, not *array.Timestamp
because of the following code.for i, t := range col.(*array.Timestamp).TimestampValues() {
The below fixed things.
The text was updated successfully, but these errors were encountered: