Open thequackdaddy opened 7 years ago
The python language does not support more than 255 arguments to a single function syntactically, though you can *
unpack a large tuple or **
unpack a large dictionary into the function. Were you trying to do something like:
function(
arg_0,
arg_1,
...,
arg_300,
)
Right some pseudocode of what I was doing was this...
import odo
odo.odo(odo.resource('mssql+pyodbc://SQL::Table', schema='dbo'), 'c:/outfile.bcolz', chunksize=100000, expectedlen=22000000)
without the traceback it is hard to say what the error is. There are a lot of places this may be.
Tried to convert a really, really big dataset (45 GB in mssql, around 355 columns and 22 million rows) in through odo and got an error that you can't have more than 255 arguments.
Basically, I was converting the mssql table to a bcolz dataset. I'm not sure where the problem lies.
I'll try to create a toy example later.