bugGNU Parallel - Bugs: bug #49789, --sql* should put the template...

 
 

bug #49789: --sql* should put the template command in the command column and respect it

Submitter:  Ole Tange <tange>
Submitted:  Wed 07 Dec 2016 10:49:32 AM UTC
   
 
Category:  None Severity:  1 - Wish
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  tange
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 14 Jan 2017 09:59:32 PM UTC, comment #2: 

Testsuite in [61be3ff4].

Ole Tange <tange>
Group administrator
Thu 12 Jan 2017 10:41:30 PM UTC, comment #1: 

First implementation in [84f4a85]. No tests.

Ole Tange <tange>
Group administrator
Wed 07 Dec 2016 10:49:32 AM UTC, original submission:  

Currently this does not put anything in the Command column:

parallel --sqlmaster $DBURL echo {} ::: {1..10}

but it only puts data in the Seq and Vn columns.

The commands run by

parallel --sqlworker $DBURL echo {} ::: {1..10}

fetches the Seq and variable from Vn columns, but it get the echo {} from the command line.

The idea of this wish is to change the behaviour so the template command (echo {}) is put in the Command column, and then have --sqlworker get the template command from the column and use it.

Ole Tange <tange>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tange (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-01-14 tange StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2017-01-12 tange StatusConfirmed In Progress
        Assigned toNone tange

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code