lgbo-ustc commented on code in PR #11299:
URL:
https://github.com/apache/incubator-gluten/pull/11299#discussion_r2633268183
##########
cpp-ch/local-engine/Parser/RelParsers/JoinRelParser.cpp:
##########
@@ -201,6 +202,19 @@ void JoinRelParser::renamePlanColumns(DB::QueryPlan &
left, DB::QueryPlan & righ
DB::QueryPlanPtr JoinRelParser::parseJoin(const substrait::JoinRel & join,
DB::QueryPlanPtr left, DB::QueryPlanPtr right)
{
+ std::string path = "/tmp/libch"; // 当前目录
+
+ try
+ {
+ for (const auto& entry : std::filesystem::directory_iterator(path))
+ {
+ LOG_ERROR(getLogger("JoinRelParser"), "Find temp files: {}",
entry.path().filename().string());
+ }
+ }
+ catch (const std::filesystem::filesystem_error& e)
+ {
+ LOG_ERROR(getLogger("JoinRelParser"), "Error: {}", e.what());
+ }
Review Comment:
it's for debug
##########
cpp-ch/local-engine/Parser/RelParsers/JoinRelParser.cpp:
##########
@@ -201,6 +202,19 @@ void JoinRelParser::renamePlanColumns(DB::QueryPlan &
left, DB::QueryPlan & righ
DB::QueryPlanPtr JoinRelParser::parseJoin(const substrait::JoinRel & join,
DB::QueryPlanPtr left, DB::QueryPlanPtr right)
{
+ std::string path = "/tmp/libch"; // 当前目录
+
+ try
+ {
+ for (const auto& entry : std::filesystem::directory_iterator(path))
+ {
+ LOG_ERROR(getLogger("JoinRelParser"), "Find temp files: {}",
entry.path().filename().string());
+ }
+ }
+ catch (const std::filesystem::filesystem_error& e)
+ {
+ LOG_ERROR(getLogger("JoinRelParser"), "Error: {}", e.what());
+ }
Review Comment:
delete these codes
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]