You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "finlaydotb (via GitHub)" <gi...@apache.org> on 2024/06/01 14:23:27 UTC

Re: [I] add support for casting string to decimal [datafusion]

finlaydotb commented on issue #3478:
URL: https://github.com/apache/datafusion/issues/3478#issuecomment-2143466497

   > ```
   > ❯ select arrow_typeof('1.1'::decimal);
   > +--------------------------+
   > | arrowtypeof(Utf8("1.1")) |
   > +--------------------------+
   > | Decimal128(38, 10)       |
   > +--------------------------+
   > 1 row in set. Query took 0.030 seconds.
   > ```
   
   Maybe someone can help clarify...Why does this come out as `Decimal128(38, 10)`? Where is the `38` and `10` coming from


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org