Closed dbrattli closed 3 years ago
Hi @dbrattli
let Expr.Integer be of int64 so it can hold all kinds of integers.
This sounds like the easiest/best solution.
Thanks. I see it also matches the use of float
which is the same as double
in .NET. Have updated the PR.
Awesome stuff @dbrattli 😍 thanks a lot 🙏 I will make some time to merge and publish soon 🚀
@Zaid-Ajaj to reduce your workload then it's fine with me if you merge without publishing (every time). Then you can publish at your own cadence. I just want to get the current changes out of the way before starting with other changes.
Describe the bug
Hi @Zaid-Ajaj. How do we want to deal with integers of different size? Currently the parser cannot parse
BigInt
i.eint64
since the integer parser usespint32
. I can fix this but there are some choices:Expr.Integer
be ofint64
so it can hold all kinds of integers.BigInt
(andSmallInt
). But then an array of integers might be parsed to different integer types depending on their size e.gselect array [0,54795035045033];
. Not sure if this is really a problem.Expr.Integer
/Expr.Float
and instead parse everything toNumeric/Decimal
.Any opinions or preferences for what we should do here?