× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
chandradipjain(*) reported 2014-12-15T08:40:41Z  · tariqrahiman last modified 2015-01-29T00:29:37Z

Impala : set default precision value '9' for decimal datatype column.


Priority Low
Complexity Unknown
Component App - Visual Editing
Version 16.0

Aqua Data Studio 16.0.0-dev-74
Build #: 41480
Built on: 2014-Dec-12 06:20:38 PM

Database : Cloudera Impala
CDH 5.2.0 VM , hive 0.13 driver, Connection Type: Impala , Port: 21050
Java Version: Java 1.7.0_60

Steps to reproduce:

1. Connect to impala server

2. Go to any database --> Tables folder

3. Right click and Select Create Table option

4. In Create Table window, write table name

5. Add a column with decimal datatype.

 

Here for decimal datatype, default precision and scale values are not defined.

In preview sql tab, shows error message “Invalid : decimal data types require a precision”.

 

As per documentation, in impala for decimal datatype default precision and scale value is (9,0).

 

So can we have default values of precision and scale are set by deafult ?

OR

Impala allows to add column of decimal datatype with no precision or scale value and it is equivalent to decimal(9,0).

 

So can we allow to add column of decimal datatype without specifying precision value .

 

Please see attached screenshot.

2 attachments

Issue #12976

Closed
Fixed
Resolved 2015-01-06T16:46:31Z
 
 
Completion
No due date
Fixed Build ADS 15.0.11-8
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017