Tartarus0zm commented on code in PR #1594:
URL: https://github.com/apache/auron/pull/1594#discussion_r2486284350
##########
spark-extension/src/main/java/org/apache/auron/spark/configuration/SparkAuronConfiguration.java:
##########
@@ -35,6 +35,8 @@
*/
public class SparkAuronConfiguration extends AuronConfiguration {
+ // When using getOptional, the prefix will be automatically completed. If
you only need to print the Option key,
+ // please manually add the prefix.
public static final String SPARK_PREFIX = "spark.";
Review Comment:
@zuston This is a great suggestion. I've also considered similar
approaches, such as adding a `prefix` field to `ConfigOption` and having the
`key()` automatically append the `prefix`. However, this would require adding
this `prefix` to each option, which feels unfriendly. Do you have any better
suggestions?
--
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]