On 3/11/20 11:25 AM, Larry Ploetz - [email protected] wrote:
> On 3/11/20 9:52 AM, Larry Ploetz - [email protected] wrote:
>>
>> I /think/ this should put a V1 and V2, along with the other joblog
>> columns and stdout/stderr, but I'm getting this error.
>>
>>     $ printf '%s %s\n' {a..d} | gtee >(cat >&2) | parallel -C' ' --sqla 
>> sqlite3:///%2ftmp%2ffoo/bar echo /{1}/{2}/
>>     a b
>>     c d
>>     parallel: Error: called with 6 bind variables when 5 are needed
>>     $ parallel --version
>>     GNU parallel 20200222
>>     Copyright (C) 2007-2020 Ole Tange, http://ole.tange.dk and Free Software
>>     Foundation, Inc.
>>     License GPLv3+: GNU GPL version 3 or later 
>> <http://gnu.org/licenses/gpl.html>
>>     This is free software: you are free to change and redistribute it.
>>     GNU parallel comes with no warranty.
>>
>>     Web site: http://www.gnu.org/software/parallel
>>
>>     When using programs that use GNU Parallel to process data for publication
>>     please cite as described in 'parallel --citation'.
>>     $ uname -a
>>     Darwin larryp-MBP 18.7.0 Darwin Kernel Version 18.7.0: Thu Jan 23 
>> 06:52:12 PST 2020; root:xnu-4903.278.25~1/RELEASE_X86_64 x86_64
>>
>> I'll try with MySQL also.
>>
>> - Larry
>>
> Same with MySQL:
>
>     larryp-MBP:~ larry$ printf '%s %s\n' {a..d} | gtee >(cat >&2) | parallel 
> -C' ' --sqla mysql://<elided>:<elided>@<elided>/foo/bar echo /{1}/{2}/
>     a b
>     c d
>     parallel: Error: called with 6 bind variables when 5 are needed
>
> - Larry
>
I didn't actually expect this to fail also

    $ printf '%s %s\n' {a..d} | gtee >(cat >&2) | parallel -C' ' --sqla
    csv:///%2ftmp%2ffoo.csv/bar echo /{1}/{2}/ a b c d parallel: Error:
    You passed 6 parameters where 5 required

- Larry

Attachment: pEpkey.asc
Description: application/pgp-keys

Reply via email to