Iskander14yo commented on issue #1287: URL: https://github.com/apache/auron/issues/1287#issuecomment-3387217519
When debugging bench, I noticed following: Auron may panic ``` thread 'blaze-native-stage-1-part-0' panicked at native-engine/datafusion-ext-plans/src/common/execution_context.rs:432:35: output_with_sender: send error: channel closed note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace thread 'blaze-native-stage-1-part-0' panicked at native-engine/datafusion-ext-plans/src/common/execution_context.rs:346:21: output_with_sender[Project] canceled due to task finished/killed ``` when running query ```sql SELECT REGEXP_REPLACE(Referer, '^https?://(?:www.)?([^/]+)/.*$', '$1') FROM hits WHERE Referer <> ''; ``` In addition, - Enhanced original query doesn't fail; ```sql SELECT REGEXP_REPLACE(Referer, '^https?://(?:www\.)?([^/]+)/.*$', '$1') AS k, AVG(length(Referer)) AS l, COUNT(*) AS c, MIN(Referer) FROM hits WHERE Referer <> '' GROUP BY k HAVING COUNT(*) > 100000 ORDER BY l DESC LIMIT 25; ``` ``` +-----------+-----------------+------+-------------------+ | k| l| c| min(Referer)| +-----------+-----------------+------+-------------------+ |svpressa.ru|283.7283855401811|242465|http://svpressa.ru/| +-----------+-----------------+------+-------------------+ ``` - Even with panic Auron showed some result and may or may not hang REPL; ``` +--------------------------------------------------------------+ |regexp_replace(Referer, ^https?://(?:www.)?([^/]+)/.*$, $1, 1)| +--------------------------------------------------------------+ | go.mail| +--------------------------------------------------------------+ only showing top 1 row ``` Hardware & OS: 32GB RAM, i5-10400F, WSL. Resources for Auron: 3GB heap, 6GB memoryOverhead. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
