You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Desktop (please complete the following information):
OS: Windows 10
Browser: Edge
Version: acryl-datahub-0.13.1.2, duckdb-0.10.1
Additional context
File "c:\users\<user>\documents\gitlab\dth00\bin\python38\lib\site-packages\datahub\lite\lite_server.py", line 32, in lite
lite = _get_datahub_lite()
File "c:\users\<user>\documents\gitlab\dth00\bin\python38\lib\site-packages\datahub\cli\lite_cli.py", line 58, in _get_datahub_lite
duckdb_lite = get_datahub_lite(config_dict=lite_config.dict(), read_only=read_only)
File "c:\users\<user>\documents\gitlab\dth00\bin\python38\lib\site-packages\datahub\lite\lite_util.py", line 107, in get_datahub_lite
lite = lite_class(lite_specific_config)
File "c:\users\<user>\documents\gitlab\dth00\bin\python38\lib\site-packages\datahub\lite\duckdb_lite.py", line 56, in __init__
self._init_db()
File "c:\users\<user>\documents\gitlab\dth00\bin\python38\lib\site-packages\datahub\lite\duckdb_lite.py", line 63, in _init_db
self.duckdb_client.execute(
duckdb.duckdb.CatalogException: Catalog Error: An index with the name aspect_idxalready exists!
The text was updated successfully, but these errors were encountered:
Describe the bug
Using the datahub-lite REST API, any query results in a duckdb.duckdb.CatalogException.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The above should return the list of entities but returns an HTTP 500 (see hereunder exception details).
I observed in code that the pre-existence of the index should be softly handled in DuckDBLite class:
I noticed in DuckDB documentation that "IF NOT EXISTS" syntax is not mentioned though (see https://duckdb.org/docs/sql/statements/create_index.html)
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: