-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/75340/
-----------------------------------------------------------
(Updated Jan. 26, 2025, 1:05 p.m.)
Review request for atlas, Jayendra Parab, Mandar Ambawane, Pinal Shah, and
Sheetal Shah.
Bugs: ATLAS-4955
https://issues.apache.org/jira/browse/ATLAS-4955
Repository: atlas
Description (updated)
-------
Currently, on the UI, in Hive database detail page, the tables tab and
relationship tab are designed to only display Hive tables. We trying to have
multiple table types (such as Hive, table_a_type, table_b_type, etc) within the
same hive_db entity.
We are attaching the sample model file showing relation between hive_db and
table_a_type
The current design only supports showing tables of a single typename (e.g.,
hive_table) under the tables tab and relationship tab. This creates a gap where
other types of tables, such as table_a_type,etc, are not displayed, even if
they are within the same hive_db.
The relationship tab and tables tab uses the getRelationshipByName API call,
which takes in only single relationship name as a parameter
For Table Tab, Only UI changes are done, but for relationShip tab section there
is an server side changes needed.
For more details please check the jira ticket.
Diffs (updated)
-----
dashboardv2/public/js/views/search/SearchResultLayoutView.js 6f990f2f7
dashboardv3/public/js/views/search/SearchResultLayoutView.js 7abfd56a3
repository/src/main/java/org/apache/atlas/discovery/AtlasDiscoveryService.java
acab4ce0a
repository/src/main/java/org/apache/atlas/repository/graph/GraphHelper.java
d5112bbf6
repository/src/main/java/org/apache/atlas/repository/store/graph/v2/EntityGraphRetriever.java
b96d5ce30
Diff: https://reviews.apache.org/r/75340/diff/5/
Changes: https://reviews.apache.org/r/75340/diff/4-5/
Testing
-------
Manaully Test creatng different typeDef table and were able to fetch deatils
for relationship and table tab.
Thanks,
Paresh Devalia