Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion .github/workflows/clp-s-generated-code-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name: "Generate parsers"
shell: "bash"
run: "task clp-s-generate-parsers"
run: "task codegen:clp-s-generate-parsers"

- name: "Check if the generated parsers are the latest"
shell: "bash"
Expand Down
2 changes: 2 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
`components/webui/client/sql-parser/SqlBase.g4` was originally authored by the contributors of
https://github.com/prestodb/presto
Comment on lines +1 to +2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

⚠️ Potential issue

Fix path in NOTICE; optionally pin to a commit permalink.

Path should include src. Consider adding a permalink to the exact Presto commit used.

-`components/webui/client/sql-parser/SqlBase.g4` was originally authored by the contributors of
-https://github.com/prestodb/presto
+`components/webui/client/src/sql-parser/SqlBase.g4` was originally authored by the contributors of
+https://github.com/prestodb/presto (permalink to the specific commit).
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
`components/webui/client/sql-parser/SqlBase.g4` was originally authored by the contributors of
https://github.com/prestodb/presto
`components/webui/client/src/sql-parser/SqlBase.g4` was originally authored by the contributors of
https://github.com/prestodb/presto (permalink to the specific commit).
🤖 Prompt for AI Agents
In NOTICE around lines 1-2, the referenced path to the upstream Presto file is
missing the src directory and should point to the exact source path used; update
the path to include src/components/webui/client/sql-parser/SqlBase.g4 and,
optionally, replace the generic repository URL with a commit permalink (e.g.
https://github.com/prestodb/presto/blob/<commit-hash>/src/components/webui/client/sql-parser/SqlBase.g4)
so the NOTICE points to the exact file version.

1 change: 1 addition & 0 deletions components/webui/client/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const EslintConfig = [
ignores: [
"dist/",
"node_modules/",
"src/sql-parser/generated",
],
Comment on lines +12 to 13

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🧹 Nitpick (assertive)

Nit: use a trailing slash in ignore path.

Reduces chance of accidental partial matches on similarly named files.

-            "src/sql-parser/generated",
+            "src/sql-parser/generated/",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"src/sql-parser/generated",
],
"src/sql-parser/generated/",
],
🤖 Prompt for AI Agents
In components/webui/client/eslint.config.mjs around lines 12 to 13, the ignore
path "src/sql-parser/generated" should include a trailing slash to avoid
accidental partial matches; update the entry to "src/sql-parser/generated/" so
the ignore list targets the directory explicitly.

},
CommonConfig,
Expand Down
Loading
Loading