You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a FlowAPI get_query_result request successfully gets result-retrieval SQL from flowmachine, but an error occurs while executing the SQL query, the API will send a 200 response with incomplete content ('{"query_id":"<query_id>", "query_result":['), because the result-streaming begins before the query is actually executed. This results in the following misleading error in flowclient:
JSONDecodeError: Expecting value: line 1 column 65 (char 64)
Product
FlowAPI
Version
1.18.1
Expected behaviour
If the result-retrieval SQL fails to execute, the response code should indicate an error (probably 500).
The text was updated successfully, but these errors were encountered:
Describe the bug
If a FlowAPI
get_query_result
request successfully gets result-retrieval SQL from flowmachine, but an error occurs while executing the SQL query, the API will send a 200 response with incomplete content ('{"query_id":"<query_id>", "query_result":['
), because the result-streaming begins before the query is actually executed. This results in the following misleading error in flowclient:Product
FlowAPI
Version
1.18.1
Expected behaviour
If the result-retrieval SQL fails to execute, the response code should indicate an error (probably 500).
The text was updated successfully, but these errors were encountered: