pgAdmin 4 commit: Support for external tables in GPDB. Fixes #3168

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin 4 commit: Support for external tables in GPDB. Fixes #3168
Date: 2018-03-02 16:49:29
Message-ID: E1erns9-0004kk-A5@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Support for external tables in GPDB. Fixes #3168

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=427314cfdfeb96c3a7835eab5a4d638903bc6dc3
Author: Joao Pedro De Almeida Pereira <jdealmeidapereira(at)pivotal(dot)io>

Modified Files
--------------
.../servers/databases/external_tables/__init__.py | 275 +++++++++++++
.../databases/external_tables/actions/__init__.py | 0
.../external_tables/actions/get_all_nodes.py | 4 +
.../databases/external_tables/mapping_utils.py | 165 ++++++++
.../databases/external_tables/properties.py | 78 ++++
.../external_tables/reverse_engineer_ddl.py | 69 ++++
.../static/img/coll-external_table.svg | 1 +
.../external_tables/static/img/external_table.svg | 1 +
.../templates/sql/gpdb_5.0_plus/create.sql | 60 +++
.../templates/sql/gpdb_5.0_plus/get_columns.sql | 12 +
.../sql/gpdb_5.0_plus/get_table_information.sql | 22 ++
.../templates/sql/gpdb_5.0_plus/list.sql | 6 +
.../templates/sql/gpdb_5.0_plus/node.sql | 5 +
.../databases/external_tables/tests/__init__.py | 0
.../tests/test_external_tables_module.py | 99 +++++
.../tests/test_external_tables_view.py | 428 +++++++++++++++++++++
.../external_tables/tests/test_mapping_utils.py | 375 ++++++++++++++++++
.../external_tables/tests/test_properties.py | 156 ++++++++
.../tests/test_reverse_engineer_ddl.py | 261 +++++++++++++
.../tests/test_sql_template_create_integration.py | 0
.../templates/table/sql/gpdb_5.0_plus/nodes.sql | 1 +
web/pgadmin/static/bundle/browser.js | 1 +
.../databases/external_tables/external_tables.js | 88 +++++
.../servers/databases/external_tables/index.js | 18 +
web/pgadmin/tools/sqleditor/__init__.py | 1 +
.../external_tables/external_tables_spec.js | 56 +++
web/webpack.config.js | 9 +
web/webpack.shim.js | 3 +
28 files changed, 2194 insertions(+)

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2018-03-02 16:50:21 Re: [pgadmin4][patch] External Tables for GreenPlum #3168
Previous Message Joao De Almeida Pereira 2018-03-02 16:37:10 [pgadmin4][patch] External Tables for GreenPlum #3168