You can use the Hive Macro Editor to define a set of statements that are frequently used or that perform a complex operation in a Hive physical model.
Note: Macros in Hive do not support Reverse Engineering from Database (REDB). Also, by default, the admin role is not in the current roles. While generating a macro, on the Forward Engineer Schema Generation dialog box, under Other Options, ensure that you select Set Admin Role.
To define a Hive macro
An instance of a Macro is created.
The Hive Macro Editor opens.
Note: Click New on the toolbar to create a new macro. Use the Enter filter text text box to filter a very large list of macros to quickly locate the one you want to work with.
Specifies the name of the macro.
Generates DDL for this object during Forward Engineering.
Specifies the parameter name.
Specifies the data type of the parameter.
The Hive Macro Editor closes.
For more information, refer to Hive documentation.
Copyright © 2017 erwin Inc.
All rights reserved.
|
|