I am unable to connect to Impala using the datasource connector. I get the error message “expecting list of size 2 for struct args”.

CDH 6.0.1 with Impala 3.0.0-cdh6.0.1
Redash 5.0.1+b4850 (via docker image)

I think it might be a thrift problem, but the bug reports seem to indicate it was fixed. Any ideas?

thanks,
liam

I have the same problem, how to solve it

CDH 5.16.2
impalad version 2.12.0-cdh5.16.2

Try bumping your thrift installation to version >=0.9.3. This appears to be a bug in older versions of the library.

pip install thrift==0.9.3
thrift==0.9.3 can solve this problem,but the HIVE data source is gone

When a data source disappears it usually indicates that the requirements for that data source have not been pip installed. When you upgraded thrift, did you also update the requirements.txt file to reflect the newer version? If not, Redash probably thinks you have the wrong version because the requirements.txt and installed package don’t match one another.