parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SQLite3 or DB Problem with Multiple Variables (gnuparallel: message


From: Larry Ploetz
Subject: Re: SQLite3 or DB Problem with Multiple Variables (gnuparallel: message 1 of 20) (gnuparallel: message 2 of 20)
Date: Wed, 11 Mar 2020 11:52:45 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

On 3/11/20 11:25 AM, Larry Ploetz - address@hidden wrote:
On 3/11/20 9:52 AM, Larry Ploetz - address@hidden 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

[Prev in Thread] Current Thread [Next in Thread]