Skip to content

Add HTTP API: Import data#984

Merged
JinHai-CN merged 1 commit intoinfiniflow:mainfrom
JinHai-CN:fix80
Apr 11, 2024
Merged

Add HTTP API: Import data#984
JinHai-CN merged 1 commit intoinfiniflow:mainfrom
JinHai-CN:fix80

Conversation

@JinHai-CN
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

HTTP API: Import data

curl --request PUT --url localhost:23820/databases/default/tables/t1 --header 'accept: application/json' --header 'content-type: application/json' --data ' 
{
    "file_path":"/tmp/infinity/test_data/pysdk_test_commas.csv",
    "file_type":"csv",
    "header":false,
    "delimiter":","
} '

{"error_code":0}

Issue link:#779

Type of change

  • New Feature (non-breaking change which adds functionality)

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
@JinHai-CN JinHai-CN added the ci PR can be test label Apr 11, 2024
@JinHai-CN JinHai-CN mentioned this pull request Apr 11, 2024
23 tasks
@JinHai-CN JinHai-CN merged commit 9d364d1 into infiniflow:main Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci PR can be test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant