LucidDB / luciddb

DEFUNCT: See README
https://github.com/LucidDB/luciddb
Apache License 2.0
52 stars 24 forks source link

[FRG-91] SQLLine needs to take decimal formating #779

Closed dynamobi-build closed 12 years ago

dynamobi-build commented 12 years ago

[reporter="jvs", created="Wed, 22 Mar 2006 12:47:17 -0500 (GMT-05:00)"] Unfortunately, sqlline doesn't provide any control over this. You can find the source code under thirdparty/sqlline/src, and I have CVS access, so if you want to make an enhancement (say !set decimal_format and taking a format string according to java.text.DecimalFormat), I can submit it.

JVS

Wael Chatila wrote:

yesterday i checked in some sql tests that print out double values,
something like 0.999999xyz

I realized that this is not very platform independent and was wondering if
there is a way to limit the number of decimals outputted or if you have a
better test approach.

-W

dynamobi-build commented 12 years ago

[author="jvs", created="Sat, 3 Jun 2006 18:23:55 -0500 (GMT-05:00)"] I needed to do some other work on sqlline, so while I'm down there...

dynamobi-build commented 12 years ago

[author="jvs", created="Sat, 3 Jun 2006 21:22:27 -0500 (GMT-05:00)"] Implemented (as new setting numberFormat) in eigenchange 6783 on //open/dev trunk.