Skip to content

How to use infile-list extension? #1645

Answered by jqnatividad
aborruso asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @aborruso ,
.infile-list is an alternate way of providing a list of input files to qsv. Instead of passing the list through the command line (which, if you have hundreds of files, is not only unwieldy but is also relatively slow), you pass an .infile-list text file listing each input file. So your command:

qsv sqlp lista.infile-list --ignore-errors --infer-len 30000 -d ";" 'select * from lista limit 1000'

is basically equivalent to:

qsv sqlp Opendata251.csv Opendata157.csv Opendata139.csv Opendata292.csv Opendata47.csv --ignore-errors --infer-len 30000 -d ";" 'select * from lista limit 1000'

so there is no lista table in the Polars SQLcontext. Instead, the following tables are created …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jqnatividad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants