Yes, it will be a decimal with precision 31 and scale 0. Oracle's default is (38, 0) and derby's default is (31, 0). Our test values contain decimal points, so declaring as decimal won't work.


On 3/11/13 6:18 PM, "James Taylor" <notifications@github.com> wrote:

In src/test/java/com/salesforce/phoenix/query/BaseTest.java:
> @@ -129,13 +129,13 @@
>                  "    date date not null," +
>                  "    feature char(1) not null," +
>                  "    unique_users integer not null,\n" +
> -                "    db_utilization decimal,\n" +
> +                "    db_utilization decimal(31,31),\n" +
Is it still allowed to declare a DECIMAL without specifying precision and scale?

-
Reply to this email directly or view it on GitHub <https://github.com/forcedotcom/phoenix/pull/90/files#r3328400> .