Skip to content
Discussion options

You must be logged in to vote

@brian-mendicino

I enabled Polars support for the decimal data type, so you can now override the generated schema file to explicitly set precision and scale.

https://github.com/dathere/qsv/pull/2646/files

For example, instead of Float64, set it to a Decimal with precision 16 and scale 10:

{
  "fields": {
    "constant": "String",
    "value": {"Decimal" : [16, 10]}
  }
}

Replies: 7 comments 30 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@brian-mendicino
Comment options

@rickhg12hs
Comment options

@jqnatividad
Comment options

Comment options

You must be logged in to vote
18 replies
@jqnatividad
Comment options

Answer selected by jqnatividad
@brian-mendicino
Comment options

@rickhg12hs
Comment options

@jqnatividad
Comment options

@rickhg12hs
Comment options

Comment options

You must be logged in to vote
9 replies
@jqnatividad
Comment options

@brian-mendicino
Comment options

@jqnatividad
Comment options

@jqnatividad
Comment options

@brian-mendicino
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #2641 on March 31, 2025 19:29.