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

Getting error while loading example data in estimating-topn-items #1027

Open
gurkanindibay opened this issue Jan 7, 2022 · 2 comments
Open

Comments

@gurkanindibay
Copy link
Contributor

When exeuting command command below in the address https://docs.citusdata.com/en/v10.2/develop/reference_sql.html#estimating-top-n-items, I'm getting an error

curl -L https://examples.citusdata.com/customer_reviews_2000.csv.gz | \ gunzip > reviews.csv

Error
image

@jonels-msft
Copy link
Member

Thanks for reporting this.

Do you think this is a docs issue, or a problem in https://github.com/citusdata/docker ? Might be worth opening an issue there.

@onderkalaci
Copy link
Member

This works on my local non-docker environment. The table would be 293MB. I wonder if this is somehow disk storage limit or anything related to disk size on your environment?

 \COPY customer_reviews FROM 'reviews.csv' WITH CSV
COPY 1260658
Time: 11938.502 ms (00:11.939)


 onderkalaci@postgres:5432-12824=# select * from citus_tables;
    table_name    | citus_table_type | distribution_column | colocation_id | table_size | shard_count | table_owner | access_method 
------------------+------------------+---------------------+---------------+------------+-------------+-------------+---------------
 customer_reviews | distributed      | product_id          |             3 | 293 MB     |          32 | onderkalaci | heap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants