> class T2(Base):
>     __table__ = Table("t2", Base.metadata, autoload_with=session.connection())
>     __mapper_args__ = {
>         "primary_key": [__table__.c.source_file]  # a primary key must
> be determined
>     }

A variant of this software design approach can work also for my data processing
needs to some degree.

Command example:
elfring@Sonne:~/Projekte/Linux/next-patched> time spatch --timeout 9 -D 
database_URL=postgresql+psycopg2:///serial_DVB_duplicates --dir 
drivers/media/dvb-frontends --sp-file 
~/Projekte/Coccinelle/janitor/list_duplicate_statement_pairs_from_if_branches8.cocci
 > 
~/Projekte/Bau/Linux/scripts/Coccinelle/duplicates1/next/20190418/pair-PG-serial-DVB-results.txt
 2> 
~/Projekte/Bau/Linux/scripts/Coccinelle/duplicates1/next/20190418/pair-PG-serial-DVB-errors.txt

real    1m54,399s
user    1m52,667s
sys     0m0,382s


Such a data analysis produces an usable result if it is performed
by a single process.
The applied software combination “Coccinelle 1.0.7-00186-g99e081e9 (OCaml 
4.07.1)”
supports also parallel data processing by using background processes.
I observed that no data were imported then into a specified database table.

See also:
Checking import of code search results into a table by parallel SmPL data 
processing
https://systeme.lip6.fr/pipermail/cocci/2019-April/005774.html
https://lore.kernel.org/cocci/bed744fe-5c5c-cf28-f8b2-40a487709...@web.de/

The main developer for the semantic patch language does not like
to debug anything that involves external tools (including my application
of your class library) at the moment.
https://systeme.lip6.fr/pipermail/cocci/2019-April/005778.html
https://lore.kernel.org/cocci/alpine.DEB.2.21.1904220953540.3142@hadrien/

So I am looking for additional solution ideas from other information sources.
Where would the desired data get lost on the transmission to the database table
during usage of background process?

Regards,
Markus

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to