Skip to main content
Question

creating and building design programmatically

  • April 1, 2020
  • 2 replies
  • 11 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
  • April 1, 2020

dprutean
  • New Participant
  • July 26, 2020

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