CONSTRAINT_VIOLATION: Query exceeded maximum columns or filters.

0

Hi All
I have encountered a new error after the athena upgrade to V2. this error only happens when we load a columnar file (csv) that contains more than 200+ columns.
the error message is:

  
This query ran against the "<db name>" database, unless qualified by the query. Please post the error message on our forum or contact customer support .....```   
  
We have roll the engine version back to version 1 and it worked, its a pretty large breaking change, limiting column counts (and its not in release notes). does anyone know why v2 limit the column counts and what's the solution?  
  
Regards  
HZ  
  
Edited by: hz-DCS on Jun 14, 2021 7:47 PM
hz-DCS
asked 3 years ago1303 views
1 Answer
0

Any update?

I too have received the same error message. In my case, I have only 1 column-- so I know the problem is likely not the number of columns. That said, seems to me that the error message is misleading.

The failing queries have a modest number of FILTER calls ( <= 20) but a large number of CONTAINS, 1050.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions