Hi,

In implementing the ThriftHiveMetastore.Iface we have run into some issues 
understanding the 
get_foreign_keys(ForeignKeysRequest<https://hive.apache.org/javadocs/r2.1.1/api/org/apache/hadoop/hive/metastore/api/ForeignKeysRequest.html>
 request) method contract. We are receiving ForeignKeysRequest’s from hive cli( 
query: ‘describe formatted db1.table1’). The table has a FK constraint on 
another table. The ForeignKeysRequest.getParent_db_name() returns null. The 
documentation is sparse on what the `parent_db_name` and `foreign_db_name` 
represent, and after a number of educated guesses we felt it would be best to 
consult the mailing list. If possible could someone please explain these fields?

Thanks,
Courtney Edwards,
Software Engineer
Hotels.com – an Expedia Group Brand




Reply via email to