Skip to content

Commit fcdfc8c

Browse files
nchammasHyukjinKwon
authored andcommitted
[SPARK-46437][FOLLOWUP] Update configuration.md to use include_api_gen
### What changes were proposed in this pull request? As part of #44630 I neglected to update some places that still use the following Liquid directive pattern: ```liquid {% for static_file in site.static_files %} {% if static_file.name == 'generated-agg-funcs-table.html' %} {% include_relative generated-agg-funcs-table.html %} {% break %} {% endif %} {% endfor %} ``` This PR replaces all remaining instances of this pattern with the new `include_api_gen` Jekyll tag. ### Why are the changes needed? For consistency in how we build our docs. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Manually building and reviewing the configuration docs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes #44663 from nchammas/configuration-include-api-gen. Authored-by: Nicholas Chammas <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent 6375817 commit fcdfc8c

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

docs/configuration.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3302,35 +3302,22 @@ Spark subsystems.
33023302

33033303
### Spark SQL
33043304

3305-
{% for static_file in site.static_files %}
3306-
{% if static_file.name == 'generated-runtime-sql-config-table.html' %}
3307-
33083305
#### Runtime SQL Configuration
33093306

33103307
Runtime SQL configurations are per-session, mutable Spark SQL configurations. They can be set with initial values by the config file
33113308
and command-line options with `--conf/-c` prefixed, or by setting `SparkConf` that are used to create `SparkSession`.
33123309
Also, they can be set and queried by SET commands and rest to their initial values by RESET command,
33133310
or by `SparkSession.conf`'s setter and getter methods in runtime.
33143311

3315-
{% include_relative generated-runtime-sql-config-table.html %}
3316-
{% break %}
3317-
{% endif %}
3318-
{% endfor %}
3319-
3320-
{% for static_file in site.static_files %}
3321-
{% if static_file.name == 'generated-static-sql-config-table.html' %}
3312+
{% include_api_gen generated-runtime-sql-config-table.html %}
33223313

33233314
#### Static SQL Configuration
33243315

33253316
Static SQL configurations are cross-session, immutable Spark SQL configurations. They can be set with final values by the config file
33263317
and command-line options with `--conf/-c` prefixed, or by setting `SparkConf` that are used to create `SparkSession`.
33273318
External users can query the static sql config values via `SparkSession.conf` or via set command, e.g. `SET spark.sql.extensions;`, but cannot set/unset them.
33283319

3329-
{% include_relative generated-static-sql-config-table.html %}
3330-
{% break %}
3331-
{% endif %}
3332-
{% endfor %}
3333-
3320+
{% include_api_gen generated-static-sql-config-table.html %}
33343321

33353322
### Spark Streaming
33363323

0 commit comments

Comments
 (0)