Replies: 2 comments 12 replies
-
hi @betodealmeida can you support this issue? Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hi, @wakandan. To upload a CSV you need to add a The {"databases/mydatabase.yaml": "XXX"} Or add an attribute |
Beta Was this translation helpful? Give feedback.
-
The document is unclear on how to import csv file into
/api/v1/dataset/import
.From the test code, I can see that we need some metadata in the zip file to specify which database & dataset to upload the csv file, however there's no guiding on how to add the csv in to the zip bundle.
I tried adding a csv file into the zip file, and then set
data=file:///data.csv
in theimported_dataset.yaml
but it says that it's not a valid URL. What is the correct way to refer to the csv file included in the zip bundle.And what is the
passwords
field in the params in the/api/v1/dataset/import
for? Let's say I upload the csv file to a public location with password protected, is thepasswords
field for that purpose?Beta Was this translation helpful? Give feedback.
All reactions