
Answer-first summary for fast verification
Answer: `["index"]`
The `primary_keys` parameter in the `create_table` method of `FeatureStoreClient` expects a list of column names, even if there's only one primary key. For example, `['customer_id', 'region']` for multiple keys or `["index"]` for a single key. This format is necessary to specify the primary keys correctly, as it allows for both single and multiple keys to be defined in a consistent manner.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
After instantiating FeatureStoreClient as fs, what should be the format of primary_keys in the following blank to correctly create a table?
fs.create_table(name = table_name, primary_keys = ______________, schema = airbnb_df.schema, description = "All Errors are captured in this table")
A
index
B
("index")
C
["index"]
D
"index"
E
None of the above
No comments yet.