× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
narendravatsaraj(*) reported 2016-09-12T08:51:54Z  · nhilam last modified 2018-03-10T01:41:00Z

Ubuntu: Boolean datatype is considered as Numeric


Dev
QA
Priority Low
Complexity Unknown
Component Tools - Excel Import
Version Future - PM

1.Open ADS 17.0.8
2.Connect to any database who supports Boolean data type.(say PostgreSQL).
3.Execute below SQL.

CREATE TABLE "boolean_table1"  ( 
"c_boolean" bool NULL 
)
GO
 
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(true)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(true)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(true)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(true)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(false)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(false)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(false)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(false)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(true)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(false)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(false)
GO
INSERT INTO "boolean_table1"("c_boolean")
  VALUES(true)
GO
 
4.Save this grid result in excel file.(I used "View As Spreadsheet" option).
5.Try to import saved excel file in this table.
6.In saved xlsx file, values are exported as 1 for TRUE and 0 for FALSE.
7.When we import this excel file, UI treats boolean data as Numeric datatype.
 
Observation: If we consider excel file having true/false values,then ADS maps  as "Boolean".
                     If we try to import excel file having values 1/0 ,then ADS maps as "Numeric".
 
2 attachments

Issue #14687

New
 
 
Completion
No due date
No fixed build
No time estimate

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