Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/settings/autogenerate-settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ if [ -f "$FUNCTION_SQL_FILE" ]; then
"Time Series"
"Other"
"Time Window"
"String Replacement"
)

for CATEGORY in "${FUNCTION_CATEGORIES[@]}"; do
Expand Down Expand Up @@ -398,6 +399,7 @@ insert_src_files=(
"time_series-functions.md"
"other-functions.md"
"time_window-functions.md"
"string_replacement-functions.md"
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent naming between source (string_replacement) and destination (string-replace) plus mismatch between 'replacement' vs 'replace'. This likely breaks the expected index-based mapping or results in a missing destination file. Recommend standardizing to either 'string_replacement-functions.md' / 'string-replacement-functions.md' (matching existing pattern of underscore in source, hyphen in dest while keeping the same stem) or 'string_replace-functions.md' / 'string-replace-functions.md', but keep the stem identical in both arrays.

Suggested change
"string_replacement-functions.md"
"string_replace-functions.md"

Copilot uses AI. Check for mistakes.

)

insert_dest_files=(
Expand Down Expand Up @@ -427,6 +429,7 @@ insert_dest_files=(
"docs/sql-reference/functions/time-series-functions.md"
"docs/sql-reference/functions/other-functions.md"
"docs/sql-reference/functions/time-window-functions.md"
"docs/sql-reference/functions/string-replace-functions.md"
Copy link

Copilot AI Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent naming between source (string_replacement) and destination (string-replace) plus mismatch between 'replacement' vs 'replace'. This likely breaks the expected index-based mapping or results in a missing destination file. Recommend standardizing to either 'string_replacement-functions.md' / 'string-replacement-functions.md' (matching existing pattern of underscore in source, hyphen in dest while keeping the same stem) or 'string_replace-functions.md' / 'string-replace-functions.md', but keep the stem identical in both arrays.

Copilot uses AI. Check for mistakes.

)

echo "[$SCRIPT_NAME] Inserting generated markdown content between AUTOGENERATED_START and AUTOGENERATED_END tags"
Expand Down