Revision e5b6b5ff6f54b1a0ec59c983ac313dafcc50462b authored by Dušan Tišma on 05 August 2024, 12:18:11 UTC, committed by Wenchen Fan on 05 August 2024, 12:18:11 UTC
### What changes were proposed in this pull request? Introduced a new class `SqlScriptingException`, which is thrown during SQL script parsing/interpreting, and contains information about the line number on which the error occured. ### Why are the changes needed? Users should know which line of their script caused an error. ### Does this PR introduce _any_ user-facing change? Users will now see a line number on some of their error messages. The format of the new error messages is: `{LINE:N} errorMessage` where N is the line number of the error, and errorMessage is the existing error message, before this change. ### How was this patch tested? No new tests required, existing tests are updated. ### Was this patch authored or co-authored using generative AI tooling? No Closes #47553 from dusantism-db/dusantism-db/sql-script-exception. Authored-by: Dušan Tišma <dusan.tisma@databricks.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com>
1 parent d431d40
File | Mode | Size |
---|---|---|
.github | ||
R | ||
assembly | ||
bin | ||
binder | ||
build | ||
common | ||
conf | ||
connector | ||
core | ||
data | ||
dev | ||
docs | ||
examples | ||
graphx | ||
hadoop-cloud | ||
launcher | ||
licenses | ||
licenses-binary | ||
mllib | ||
mllib-local | ||
project | ||
python | ||
repl | ||
resource-managers | ||
sbin | ||
sql | ||
streaming | ||
tools | ||
ui-test | ||
.asf.yaml | -rw-r--r-- | 1.3 KB |
.gitattributes | -rw-r--r-- | 130 bytes |
.gitignore | -rw-r--r-- | 1.9 KB |
CONTRIBUTING.md | -rw-r--r-- | 997 bytes |
LICENSE | -rw-r--r-- | 13.2 KB |
LICENSE-binary | -rw-r--r-- | 21.7 KB |
NOTICE | -rw-r--r-- | 2.0 KB |
NOTICE-binary | -rw-r--r-- | 51.6 KB |
README.md | -rw-r--r-- | 4.3 KB |
pom.xml | -rw-r--r-- | 140.0 KB |
scalastyle-config.xml | -rw-r--r-- | 25.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...