Skip to content

Conversation

@MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Aug 30, 2022

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@github-actions github-actions bot added the SQL label Aug 30, 2022
@MaxGekk MaxGekk force-pushed the excep-without-error-classes branch from 068bd06 to 8a87f00 Compare November 17, 2022 09:14
{
"errorClass" : "LEGACY",
"messageParameters" : {
"message" : "requirement failed: concat_ws requires at least one argument.; line 1 pos 7"
Copy link
Member Author

Choose a reason for hiding this comment

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

{
"errorClass" : "LEGACY",
"messageParameters" : {
"message" : "requirement failed: format_string() should take at least 1 argument; line 1 pos 7"
Copy link
Member Author

Choose a reason for hiding this comment

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

{
"errorClass" : "LEGACY",
"messageParameters" : {
"message" : "The 'format' parameter of function 'to_binary' needs to be a string literal.; line 1 pos 7"
Copy link
Member Author

Choose a reason for hiding this comment

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

{
"errorClass" : "LEGACY",
"messageParameters" : {
"message" : "Reference 'b' is ambiguous, could be: x.b, y.b.; line 1 pos 21"
Copy link
Member Author

Choose a reason for hiding this comment

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

{
"errorClass" : "LEGACY",
"messageParameters" : {
"message" : "Reference 'b' is ambiguous, could be: x.b, y.b.; line 3 pos 14"
Copy link
Member Author

Choose a reason for hiding this comment

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

Literals of type 'not_supported' are currently not supported for the string type.; line 1 pos 7
{
"errorClass" : "LEGACY",
"messageParameters" : {
Copy link
Member Author

Choose a reason for hiding this comment

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

Literals of type 'not_supported' are currently not supported for the interval year to month type.; line 1 pos 7
{
"errorClass" : "LEGACY",
"messageParameters" : {
Copy link
Member Author

Choose a reason for hiding this comment

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

Literals of type 'not_supported' are currently not supported for the interval day to second type.; line 1 pos 7
{
"errorClass" : "LEGACY",
"messageParameters" : {
Copy link
Member Author

Choose a reason for hiding this comment

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

{
"errorClass" : "LEGACY",
"messageParameters" : {
"message" : "Literals of type 'DAY' are currently not supported for the interval year to month type.; line 1 pos 7"
Copy link
Member Author

Choose a reason for hiding this comment

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

{
"errorClass" : "LEGACY",
"messageParameters" : {
"message" : "Literals of type 'MONTH' are currently not supported for the interval day to second type.; line 1 pos 7"
Copy link
Member Author

Choose a reason for hiding this comment

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

@MaxGekk
Copy link
Member Author

MaxGekk commented Nov 17, 2022

@panbingkun @LuciferYang @itholic @cloud-fan @srielau @anchovYu @entong I changed the mechanism of generating SQL golden files in this PR to detect the exceptions that haven't been ported on error classes. There are still a few exceptions for which I opened the JIRAs:

@panbingkun
Copy link
Contributor

OK

@LuciferYang
Copy link
Contributor

@LuciferYang
Copy link
Contributor

@MaxGekk Have all the issues mentioned in this pr been solved?

@MaxGekk
Copy link
Member Author

MaxGekk commented Dec 5, 2022

@MaxGekk Have all the issues mentioned in this pr been solved?

Let me rebase it on the recent master and regenerate golden files, then we will see.

@MaxGekk
Copy link
Member Author

MaxGekk commented Dec 5, 2022

All issues have been fixed. At the moment, all sql tests (in *.sql files) raise exception with error classes. I would propose to merge this change to detect exceptions that are not ported on error classes yet. @cloud-fan Are you ok with that?

@github-actions
Copy link

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label Mar 16, 2023
@github-actions github-actions bot closed this Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants