prajjwal-mathur opened a new pull request, #7873:
URL: https://github.com/apache/kyuubi/pull/7873

   ### Why are the changes needed?
   
   This is a contained fix for the documentation generator.
   
   The issue occurred due to a missing case check:
   - Earlier, we only had handling for undefined configs as `(none)` and for 
all other cases wrapped the value in backticks. Because of this, if a 
configuration has an empty default, an empty rounded box (` `) appeared in the 
generated table.
   - Now, when an empty default value (`""`) comes, `(empty)` will be displayed 
instead of the empty box.
   
   Closes #7871.
   
   ### How was this patch tested?
   
   1. Tested by regenerating `docs/configuration/settings.md` using the 
configuration doc test generator:
   ```shell
   KYUUBI_UPDATE=1 build/mvn test -pl kyuubi-server -am 
-Pflink-provided,spark-provided,hive-provided -Dtest=none 
-DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration
   ```
   
   2. Verified that the test passes with `KYUUBI_UPDATE=0`:
   ```shell
   KYUUBI_UPDATE=0 build/mvn test -pl kyuubi-server -am 
-Pflink-provided,spark-provided,hive-provided -Dtest=none 
-DwildcardSuites=org.apache.kyuubi.config.AllKyuubiConfiguration
   ```
   
   3. Verified formatting using Spotless:
   ```shell
   dev/reformat
   ```
   
   ### Was this patch assisted by generative AI tooling?
   
   Assisted-by: Gemini:gemini-3.8-flash


-- 
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]

Reply via email to