- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2022 12:18 AM
Hello,
Please suggest how to obtain name of primary key columns in my feature store table in hive metastore.
'describe' gives me the name of the columns but not the indexes
Thanks in advance for your help.
Regards,
- Labels:
-
Databricks Environment
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022 02:06 AM
Hi Vidula,
Yes, I solved the query !
I used the function getTable of class FeatureStoreClient(). You have all datas you need : primary keys, timestamp_keys, features of feature store table.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2022 10:20 AM
In the delta, there are no primary keys (so far). Feature store is just a normal delta table so you can do all operations as for normal tables.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2022 10:02 PM
Hi @SERET Nathalie
Hope you are doing well. Thank you for posting your question and giving us additional information. Do you think you were able to solve the query?
We'd love to hear from you.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2022 02:06 AM
Hi Vidula,
Yes, I solved the query !
I used the function getTable of class FeatureStoreClient(). You have all datas you need : primary keys, timestamp_keys, features of feature store table.
Regards