当调用两次以下代码时,Description:
store = session.read_pandas(dataframe, 'my_store', keys=['id'])我们得到以下例外:
AtotiJavaException: A store with the name my_store already exists!
If you want to recreate this store with a different CSV, you will have to re-create the session.,我正在寻找一种方法来重新创建这样的存储(覆盖前一个存储),而不必重新启动内核并重新运行所有的单元。。
发布于 2021-01-26 11:53:52
免责声明:我是atoti的数据科学家。
我为上述问题找到的一个快速修复方法是:与重新启动整个内核相反,您可以简单地重新创建会话,即再次运行下面的单元格,然后使用相同的CSV文件创建存储。(通常在导入atoti之后执行的步骤。)
# Tell atoti to load the database containing the UI dashboards
config = create_config(metadata_db="./metadata.db")
session = atoti.create_session(config=config)https://stackoverflow.com/questions/65900873
复制相似问题