Mico
Mico

Reputation: 80

clickhouse-client import file not found

I'm trying to import the example data from the link but when I run the below command it can't find the csv file, Error: -bash: full_dataset .csv: No such file or directory and installed with clickhouse docker.

enter image description here

Where do I need to keep the "full_dataset.csv" file?

Upvotes: 0

Views: 701

Answers (3)

Mico
Mico

Reputation: 80

I solved this problem by moving the "full_dataset.csv" file to the "root" directory.

Upvotes: 1

VLBigo
VLBigo

Reputation: 29

you need to download the csv dataset from the link and then only execute the code on the clickhouse documentation page, this is indicated https://recipenlg.cs.put.poznan.pl/dataset

Upvotes: 0

user3412789
user3412789

Reputation: 11

You need to either supply entire path or move the CSV file to clickhouse bin folder where the clickhouse-client resides.

Upvotes: 1

Related Questions