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

Could not import schema error #72

Open
sedulam opened this issue Jul 17, 2019 · 1 comment
Open

Could not import schema error #72

sedulam opened this issue Jul 17, 2019 · 1 comment

Comments

@sedulam
Copy link

sedulam commented Jul 17, 2019

I'm trying to import a simple schema into cqlsh but I'm getting the error:

cqlsh> schema /home/pedro/software/schema.cql
Could not import schema from '/home/pedro/software/schema.cql': line 4:0 mismatched input 'CREATE' expecting EOF (...  AND durable_writes = true;[CREATE]...).

I generated this schema file with "cqlsh -e "describe schema". I'm attaching it to this issue.
schema.txt

@clohfink
Copy link
Collaborator

Just include the create statement for the table of the sstable your reading, not the entire schema.

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

2 participants