@ShelLuser - I didn’t test this solution yet, but another came to my head based on your answer here:
Scenario of automated DDL pipeline with support for Postgres and Hive:
- I use DatabaseManager interface/or other exisitng in VP to generate from Java DDL for Postgres and store those in GIT repository (as some users work in development on postgres anyway with some objects)
- Once commit arrives in GIT I will trigger Jenkins or other CI/CD pipeline which will take those DDL and populate real Postgres database instance with dummy structures only.
- The I will trigger sqoop --create-hive-table to get Hive DDL syntax from Postgres live instance
Sqoop User Guide (v1.4.2) - Store DDL for Hive in GIT alongside with latest Postgres DDL
Its not big deal, if you have any other idea let me know.
Thx for discussion.
Ladislav