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

[Bug]: infinity.common.InfinityException #3991

Open
1 task done
adzhua opened this issue Dec 11, 2024 · 2 comments
Open
1 task done

[Bug]: infinity.common.InfinityException #3991

adzhua opened this issue Dec 11, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@adzhua
Copy link

adzhua commented Dec 11, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

RAGFlow workspace code commit ID

no

RAGFlow image version

0.14.1

Other environment information

No response

Actual behavior

If using the dataset from https://huggingface.co/datasets/InfiniFlow/text2sql, what methods should be used to parse the question_to_sql.csv, DDL.txt, and DB Description.txt files respectively?
When I use the Table method to parse question_to_sql.csv, the following error occurs:
Traceback (most recent call last):
File "/ragflow/rag/svr/task_executor.py", line 449, in handle_task
do_handle_task(task)
File "/ragflow/rag/svr/task_executor.py", line 418, in do_handle_task
es_r = settings.docStoreConn.insert(cks[b:b + es_bulk_size], search.index_name(r["tenant_id"]), r["kb_id"])
File "/ragflow/rag/utils/infinity_conn.py", line 362, in insert
table_instance.insert(documents)
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/table.py", line 195, in insert
raise InfinityException(res.error_code, res.error_msg)
infinity.common.InfinityException: (3024, "Column: what are the names of all the cities in canada\tselect geo_name, id\nfrom data_commons_public_data.cybersyn.geo_index\nwhere iso_name ilike '%can%\r_tks doesn't exist@src/storage/meta/entry/table_entry.cpp:1292")

Expected behavior

No response

Steps to reproduce

use the Table method to parse question_to_sql.csv

Additional information

No response

@adzhua adzhua added the bug Something isn't working label Dec 11, 2024
@qiulang
Copy link

qiulang commented Dec 11, 2024

I delete the docker image and pull again but it is the same.

@yuzhichang
Copy link
Member

@qiulang chunk method table requires Elasticsearch. We plan to add table support to Infinity later.

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

3 participants