Skip to main content
Question

creating and building design programmatically

  • Apr 1, 2020 5:41 AM UTC
  • 2 replies
  • 21 views

avoronin
Forum|alt.badge.img+1

Hello, I have some experience of creating and deploying designs on vertica.
But I have a question - is there a way to create and build design programmatically. But this I mean: run a query to collect certain queries from query repository and then run command to build a design from this collection.

2 replies

ybei
Forum|alt.badge.img
  • Participating Frequently
  • Apr 1, 2020 5:56 AM UTC

dprutean
  • New Participant
  • Jul 26, 2020 7:35 AM UTC

There are some tools which can help you for this. Look at DbSchema client and designer for Vertica. It has two features which are interesting for you:

  • They load their own image of the schema, separate from the database. This means you have a model which you can manage local
  • You can use Groovy or JS to modify the model from the SQL Editor. This means you can have a Groovy script running directly in DbSchema, read information from some queries, etc, and use the results to modify the DbSchema design directly

Synchronize Vertica Schema with DbSchema