Closed adworse closed 3 months ago
We don't support decimals yet: #867. We will try to prioritize it sooner than later. :) Closing in favor of the other issue.
@josevalim Thank you for pointing this out! It seems like Snowflake reports its columns as decimal. Is there a chance one could force the type to float or int64 (since decimal[38,0] is, in fact, an integer)?
You could try converting them to strings in your queries (explicitly select them as a string) and then cast them back to integers. The change you propose in itself would need to be requested to Snowflake's ADBC driver: https://github.com/apache/arrow-adbc
Error is "Generic Error: cannot cast to dtype: decimal[38,0]"
Error is reproducible in LiveBook with a trial SnowFlake AWS account. Unfortunately, my Rust knowledge is rather nonexistent. I would be happy to share my trial creds with whoever feels generous enough to dive into fixing this one!