You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by "JunWang222 (via GitHub)" <gi...@apache.org> on 2026/07/26 18:23:43 UTC

[PR] Add Presto cost profiling support and default parameters [wayang]

JunWang222 opened a new pull request, #789:
URL: https://github.com/apache/wayang/pull/789

   This PR adds Presto cost profiling support, including:
   
   - A Presto profiling pilot for running operator cost profiling locally
   - Shared profiling documentation that explains how users can rerun profiling on their own machine
   - Presto-specific setup notes and command examples
   - Default Presto cost parameters for users who want to try Wayang with Presto
   
   The default parameters are intended as starting values. For accurate optimization on a specific machine or deployment, users should follow the profiling guide and regenerate parameters locally.


-- 
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: commits-unsubscribe@wayang.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add Presto cost profiling support and default parameters [wayang]

Posted by "zkaoudi (via GitHub)" <gi...@apache.org>.
zkaoudi commented on code in PR #789:
URL: https://github.com/apache/wayang/pull/789#discussion_r3796303297


##########
wayang-tests-integration/src/test/java/org/apache/wayang/tests/FlinkIntegrationIT.java:
##########
@@ -314,12 +314,13 @@ void testReadAndTransformAndWriteWithIllegalConfiguration3() {
         // Build a Wayang plan.
         final WayangPlan wayangPlan = WayangPlans.readTransformWrite(WayangPlans.FILE_SOME_LINES_TXT);
 
-        // Instantiate Wayang and activate the Spark backend.
+        // Instantiate Wayang and activate the Java/Flink backends.
         WayangContext wayangContext = makeContext(FLINK);

Review Comment:
   I think here it has to be BOTH



-- 
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: commits-unsubscribe@wayang.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add Presto cost profiling support and default parameters [wayang]

Posted by "zkaoudi (via GitHub)" <gi...@apache.org>.
zkaoudi merged PR #789:
URL: https://github.com/apache/wayang/pull/789


-- 
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: commits-unsubscribe@wayang.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add Presto cost profiling support and default parameters [wayang]

Posted by "JunWang222 (via GitHub)" <gi...@apache.org>.
JunWang222 commented on code in PR #789:
URL: https://github.com/apache/wayang/pull/789#discussion_r3836505049


##########
presto-setup/README.md:
##########
@@ -0,0 +1,249 @@
+# Presto Local Setup
+
+Local PrestoDB environment using the built-in **memory** connector, completely
+containerised.
+
+The current validation has two parts:
+
+1. Build the Wayang Presto platform and run the shared JDBC SQL-generation tests.
+2. Run the Wayang Presto operator tests against the live local PrestoDB.
+
+Run the commands below from the repository root. Java 17 and Docker with Docker
+Compose are required; Maven is provided by the repository wrapper.
+
+The Presto cost-profiling branch is named `feature/presto-cost-profiling`:
+
+```bash
+git checkout feature/presto-cost-profiling

Review Comment:
   modified, thanks!



-- 
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: commits-unsubscribe@wayang.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add Presto cost profiling support and default parameters [wayang]

Posted by "zkaoudi (via GitHub)" <gi...@apache.org>.
zkaoudi commented on code in PR #789:
URL: https://github.com/apache/wayang/pull/789#discussion_r3829946848


##########
presto-setup/README.md:
##########
@@ -0,0 +1,249 @@
+# Presto Local Setup
+
+Local PrestoDB environment using the built-in **memory** connector, completely
+containerised.
+
+The current validation has two parts:
+
+1. Build the Wayang Presto platform and run the shared JDBC SQL-generation tests.
+2. Run the Wayang Presto operator tests against the live local PrestoDB.
+
+Run the commands below from the repository root. Java 17 and Docker with Docker
+Compose are required; Maven is provided by the repository wrapper.
+
+The Presto cost-profiling branch is named `feature/presto-cost-profiling`:
+
+```bash
+git checkout feature/presto-cost-profiling

Review Comment:
   Same here. No need to checkout



-- 
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: commits-unsubscribe@wayang.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org