Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot change data source using DuckDB in Data Source Settings #300

Closed
cyyeh opened this issue May 22, 2024 · 1 comment
Closed

Cannot change data source using DuckDB in Data Source Settings #300

cyyeh opened this issue May 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cyyeh
Copy link
Member

cyyeh commented May 22, 2024

Describe the bug
Cannot change data source using DuckDB in Data Source Settings.

To Reproduce
Steps to reproduce the behavior:

  1. connect to duckdb with this ini_sql: create table cars as select * from read_csv('https://corgis-edu.github.io//corgis/datasets/csv/cars/cars.csv', header = true);
  2. go to the data source settings and change the init_sql: create table airlines as select * from read_csv('https://corgis-edu.github.io//corgis/datasets/csv/airlines/airlines.csv', header = true);
  3. still cars model is showing in the modeling page, and I can't ask questions

Expected behavior
I can change data source using DuckDB in Data Source Settings.

Desktop (please complete the following information):

  • OS: MacOS 14.4.1 (23E224)
  • Browser: Brave

WrenAI Information

  • Version: 0.3.4
@cyyeh cyyeh added the bug Something isn't working label May 22, 2024
@onlyjackfrost
Copy link
Contributor

It's by design, cause reconstructing your duckdb environment might break your semantic layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants