-
Notifications
You must be signed in to change notification settings - Fork 314
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
xsv join --cross
shouldn't require columns to match
#339
Comments
Ah…I see I can just supply If it's the latter, I might open a PR to mention that usage note in the CLI doc string. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I assumed based on the help that I could use
xsv join --cross - some-data.csv - (echo new_field\n0 | psub)
(in fish, hence thepsub
for process substitution…same issue if I write to a file) to add an entry of0
fornew_field
to all the rows insome-data.csv
, since a cross join is doing a cartesian product rather than matching up specific columns.xsv
however complains if the number of columns specified don't match or if the columns specified are not the same name, even though that's not required for a cartesian product.The text was updated successfully, but these errors were encountered: