When running a SELECT
query, we got this error:
426714419284 2019-07-15 07:16:02.061 INFO: Query table_name.'SELECT
column_1, column2
FROM table_name.column_name
WHERE
geography_within_distance(geography_point(@C, @C), location, @C)
AND indexed_column_1 >= @
ORDER BY indexed_column_1 DESC
LIMIT @' submitted for asynchronous compilation
426714423082 2019-07-15 07:16:02.065 ERROR: write() system call (fd=160) failed with errno: 32 (Broken pipe)
426714423128 2019-07-15 07:16:02.065 ERROR: Failed to send file descriptor protocol ack.
426714423154 2019-07-15 07:16:02.065 WARN: Failed to start asynchronous compilation, proceeding with interpreting query: Query table_name.'SELECT
column_1, column2
FROM table_name.column_name
WHERE
geography_within_distance(geography_point(@C, @C), location, @C)
AND indexed_column_1 >= @
ORDER BY indexed_column_1 DESC
LIMIT @'
432006499267 2019-07-15 08:44:14.141 INFO: Evicted 0 plans
MemSQL failed to compile the query and not retrying to compile one more time. This made the query is becoming slow.
When we manually run the query one more time using MemSQL Studio, the query is compiled successfully.
What is the root cause of this error? How to proceed from here?