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

-f and -c don't work with single table to multiple columns #12

Closed
simonw opened this issue Nov 25, 2017 · 0 comments
Closed

-f and -c don't work with single table to multiple columns #12

simonw opened this issue Nov 25, 2017 · 0 comments

Comments

@simonw
Copy link
Owner

simonw commented Nov 25, 2017

Example CSV:

film,actor_1,actor_2
The Rock,Sean Connery,Nicolas Cage
National Treasure,Nicolas Cage,Diane Kruger
Troy,Diane Kruger,Orlando Bloom

This command:

csvs-to-sqlite films.csv films.db \
    -c film -c actor_1:actors:name -c actor_2:actors:name \
    -f film -f actor_1 -f actor_2

Returns this error:

 ambiguous column name: actors.name
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

1 participant