× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
swapnil.chaudhari(*) reported 2013-10-22T13:32:19Z  · tariqrahiman last modified 2013-10-31T22:56:52Z

In schema compare, constraint names are not included in comparison for databases having system generated constraint names.


Priority Low
Complexity Unknown
Component Tools - Compare - Schema
Version 14.0

Database version: Greenplum 4.2

Aqua Data Studio 14.0.3
Build #: 34446
Built on: 2013-Oct-16 12:54:43 PM

Windows 7: 64 bit

Step 1:  Connect to Greenplum 4.2

Step 2:  Create database.

        CREATE DATABASE "test_db"

        WITH TEMPLATE = template0

        GO

Step 3: Create two tables, in schema “gp_toolkit” and  “public” respectively.

       CREATE TABLE gp_toolkit.tab_1  (

        c1      int4 NOT NULL,

        c2      varchar(25) NULL,

        c3      varchar(25) NULL,

        PRIMARY KEY(c1) )

     DISTRIBUTED BY (c1)

     GO

 

       CREATE TABLE public.tab_1  (

        col1    int4 NOT NULL,

        col2    int4 NULL,

        col3    int4 NULL,

        PRIMARY KEY(col1) )

      DISTRIBUTED BY (col1)

     GO

Step 4: Select “Tools” from ADS toolbar -> Compare tools -> Schema compare -> Select above two tables for comparison -> Select checkboxes for “Include table constraints” and  “Include table constraints names” -> Click  “Compare”.(Refer image_1.jpg)

Here you will observe that, table constraints name are not included for comparison.

Moreover I observed that, databases which have system generated  table constraints names(eg. Greenplum, Informix) does not include constraint names for comparison, while databases having user defined constraint names(eg. Netezza, SQL Server 2012) include constraint name for comparison. (Refer image_2.jpg)

2 attachments

Issue #10548

Closed
Won't Fix
Resolved 2013-10-28T22:14:34Z
 
 
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