How Do I Resolve Query Errors Caused by Excessive Column Counts in HetuEngine
Question
When querying a wide table (for example, tables with more than 5,000 columns), the system displays the following error:
Compiler failed. Possible reasons include: the query may have too many or too complex expressions, or the underlying tables may have too many columns
Answer
Java code must be compiled into bytecode to run in the Java Virtual Machine (JVM). To optimize memory and performance, the JVM limits the length of a method to be less than 65,536 bytes. This limit is fixed and cannot be changed.
You can optimize the SQL statement to limit the number of columns queried at one time.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot