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
I had searched in the issues and found no similar issues.
Version
2.1.7
What's Wrong?
mysql> set enable_file_cache=true;
Query OK, 0 rows affected (0.00 sec)
mysql> select date_format(cast(left(logtime, 19) as datetime(3)), '%Y-%m-%d') as dateValue from hive_36.streaming.mpaas_data_20230717 where pt_bd = '2025-04-28' group by dateValue limit 100;
ERROR 1105 (HY000): errCode = 2, detailMessage = (xx)[CANCELLED]cur path: hdfs://xx/user/hive/warehouse/streaming.db/mpaas_data_20230717/pt_td=2025-04-28/pt_bd=2025-04-28/compacted-part-c1607f8b-0b89-4aac-8555-9a0cb25dfd12-0-11348. Orc row reader nextBatch failed. reason = Buffer error in ZlibDecompressionStream::NextDecompress
mysql> set enable_file_cache=false;
Query OK, 0 rows affected (0.01 sec)
mysql> select date_format(cast(left(logtime, 19) as datetime(3)), '%Y-%m-%d') as dateValue from hive_36.streaming.mpaas_data_20230717 where pt_bd = '2025-04-28' group by dateValue limit 100;
+------------+
| dateValue |
+------------+
| 2025-04-26 |
| 2025-04-18 |
| 2023-06-20 |
| 2024-09-01 |
+------------+
Query Hive external table through catalog, if file_cache is enabled, the query fails; but if file_cache is disabled, the query succeeds. Aside from setting clear_file_cache = true to clear the file cache, how can this issue be resolved?
Uh oh!
There was an error while loading. Please reload this page.
Search before asking
Version
2.1.7
What's Wrong?
Query Hive external table through catalog, if file_cache is enabled, the query fails; but if file_cache is disabled, the query succeeds. Aside from setting clear_file_cache = true to clear the file cache, how can this issue be resolved?
The following are all the error messages:
What You Expected?
Resolve this issue
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: